joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ca0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421248
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push str.1.exe
lea ecx, [ebp - 0x28]
call fcn.004029c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00401ed0
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x30], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x401d17
mov byte [ebp - 0x2b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ef0
mov al, byte [ebp - 0x2b]
jmp 0x401d51
call fcn.00403c30
movzx eax, al
test eax, eax
je 0x401d3b
mov byte [ebp - 0x2a], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ef0
mov al, byte [ebp - 0x2a]
jmp 0x401d51
mov byte [ebp - 0x29], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00401ef0
mov al, byte [ebp - 0x29]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00409240
mov esp, ebp
pop ebp
ret

Function at 0x4036f0
Capabilities:
Create process on windows
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.0040fa30
add esp, 0xc
push 0x208
push 0
lea edx, [ebp - 0x20c]
push edx
call fcn.0040fa30
add esp, 0xc
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x5c
lea ecx, [ebp - 0x20c]
push ecx
call fcn.00403880
add esp, 8
xor edx, edx
mov word [eax + 2], dx
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x214]
mov dx, word [ecx + 2]
mov word [ebp - 0x216], dx
add dword [ebp - 0x214], 2
cmp word [ebp - 0x216], 0
jne 0x403773
mov edi, dword [ebp - 0x214]
mov eax, dword [0x42b0f4]
mov dword [edi], eax
mov ecx, dword [0x42b0f8]
mov dword [edi + 4], ecx
mov edx, dword [0x42b0fc]
mov dword [edi + 8], edx
mov eax, dword [0x42b100]
mov dword [edi + 0xc], eax
mov cx, word [0x42b104]
mov word [edi + 0x10], cx
push 0
push 0x80
push 2
push 0
push 3
push 0xc0000000
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 0xffffffff
jne 0x4037f9
xor eax, eax
jmp 0x403865
push 0
lea eax, [ebp - 0x220]
push eax
push 0x67104
push 0x42f410
mov ecx, dword [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jne 0x403839
mov edx, dword [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x403865
mov eax, dword [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
push 0
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0x42b2b4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, 1
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409240
mov esp, ebp
pop ebp
ret
Function at 0x4038a0
Capabilities:
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0
push 0
push 0
push 0
mov esi, 1
mov dword [ebp - 0x408], 0
push str.Mozilla_4.0__compatible_
mov edi, ecx
mov dword [ebp - 0x40c], esi
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x410], eax
test eax, eax
jne 0x4038fb
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409240
mov esp, ebp
pop ebp
ret
push 0
push closesocket
push 0
push 0
push edi
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
test edi, edi
je 0x4038e9
push ebx
mov ebx, dword [sym.imp.WININET.dll_InternetReadFile]
jmp 0x403920
push 0x400
lea eax, [ebp - 0x404]
push 0
push eax
call fcn.0040fa30
add esp, 0xc
lea eax, [ebp - 0x408]
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
push edi
call ebx
test esi, esi
je 0x40395e
mov eax, 0x5a4d
cmp word [ebp - 0x404], ax
jne 0x40396a
xor esi, esi
cmp dword [ebp - 0x408], esi
ja 0x403920
jmp 0x403974
mov dword [ebp - 0x40c], 0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x410]
call esi
cmp dword [ebp - 0x40c], 0
mov ecx, dword [ebp - 4]
pop ebx
setne al
xor ecx, ebp
pop edi
pop esi
call fcn.00409240
mov esp, ebp
pop ebp
ret
Function at 0x4039a0
Capabilities:
Contain obfuscated stackstrings
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b4
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0
push 2
mov dword [ebp - 0x2b4], 0x22c
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
lea eax, [ebp - 0x2b4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ecx, ecx
mov dword [ebp - 0x4c], 0x510051
xor bl, bl
mov dword [ebp - 0x48], 0x430050
mov dword [ebp - 0x44], 0x540052
mov dword [ebp - 0x40], 0x2e0050
mov dword [ebp - 0x3c], 0x780065
mov dword [ebp - 0x38], 0x65
mov dword [ebp - 0x34], 0x360033
mov dword [ebp - 0x30], 0x740030
mov dword [ebp - 0x2c], 0x610072
mov dword [ebp - 0x28], 0x2e0079
mov dword [ebp - 0x24], 0x780065
mov dword [ebp - 0x20], 0x65
mov dword [ebp - 0x88], 0x610042
mov dword [ebp - 0x84], 0x640069
mov dword [ebp - 0x80], 0x530075
mov dword [ebp - 0x7c], 0x530064
mov dword [ebp - 0x78], 0x630076
mov dword [ebp - 0x74], 0x65002e
mov dword [ebp - 0x70], 0x650078
mov word [ebp - 0x6c], cx
mov dword [ebp - 0x68], 0x78006b
mov dword [ebp - 0x64], 0x730065
mov dword [ebp - 0x60], 0x6f0063
mov dword [ebp - 0x5c], 0x650072
mov dword [ebp - 0x58], 0x65002e
mov dword [ebp - 0x54], 0x650078
mov word [ebp - 0x50], cx
mov dword [ebp - 0x1c], 0x610072
mov dword [ebp - 0x18], 0x6d0076
mov dword [ebp - 0x14], 0x6e006f
mov dword [ebp - 0x10], 0x2e0064
mov dword [ebp - 0xc], 0x780065
mov dword [ebp - 8], 0x65
test eax, eax
je 0x403b5f
mov edi, dword [sym.imp.KERNEL32.dll_Process32NextW]
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a260
add esp, 8
test eax, eax
je 0x403b5d
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a260
add esp, 8
test eax, eax
je 0x403b5d
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a260
add esp, 8
test eax, eax
je 0x403b5d
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a260
add esp, 8
test eax, eax
je 0x403b5d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.0040a260
add esp, 8
test eax, eax
je 0x403b5d
lea eax, [ebp - 0x2b4]
push eax
push esi
call edi
test eax, eax
jne 0x403ad3
jmp 0x403b5f
mov bl, 1
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409240
mov esp, ebp
pop ebp
ret
Function at 0x4070c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x94
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edx, ecx
lea esi, [ecx + 1]
jmp 0x4070e0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4070e0
sub ecx, esi
mov dword [ebp - 0x7c], 0
push ecx
lea ecx, [ebp - 0x90]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x90], 0x67452301
mov dword [ebp - 0x8c], 0xefcdab89
mov dword [ebp - 0x88], 0x98badcfe
mov dword [ebp - 0x84], 0x10325476
call fcn.004067f0
add esp, 4
lea edx, [ebp - 0x90]
lea ecx, [ebp - 0x14]
call fcn.004068c0
xor esi, esi
lea edi, [ebp - 0x37]
mov bl, byte [ebp + esi - 0x14]
movzx eax, bl
push eax
lea eax, [edi - 1]
push str._02x
push eax
call fcn.004096c7
shl bl, 4
movzx eax, bl
push eax
push str._02x
push edi
call fcn.004096c7
inc esi
add esp, 0x18
add edi, 2
cmp esi, 0x10
jl 0x407141
push 0x20
lea eax, [ebp - 0x38]
push eax
push 0x497610
call fcn.0040a960
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 0x497610
pop edi
pop esi
pop ebx
call fcn.00409240
mov esp, ebp
pop ebp
ret
Function at 0x408c80
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x42c1f4
push ecx
lea eax, [ebp - 0x14]
mov edi, edx
push eax
xor esi, esi
call fcn.0041e854
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x408d2c
push esi
push 0x64
push eax
call fcn.0041e928
add esp, 0xc
cmp eax, 0xffffffff
je 0x408d0f
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 1
push 0xa
push eax
call fcn.0041ed4b
add esp, 0x10
cmp eax, 1
jne 0x408d0f
lea eax, [ebp - 0x10]
push eax
call fcn.00416d55
push 0
push 0x73
push dword [ebp - 0x14]
mov esi, eax
call fcn.0041e928
add esp, 0x10
cmp eax, 0xffffffff
je 0x408d0f
push dword [ebp - 0x14]
push 1
push 0x4f
push edi
call fcn.0041ed4b
xor ecx, ecx
add esp, 0x10
cmp eax, 1
cmovne esi, ecx
push dword [ebp - 0x14]
call fcn.00416431
add esp, 4
mov eax, esi
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409240
mov esp, ebp
pop ebp
ret
push str.fopen_error
call fcn.00409264
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.00409240
mov esp, ebp
pop ebp
ret

Function at 0x408f50
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x1c], eax
mov bl, 1
mov eax, dword [ebp + 0xc]
push 0x42c218
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], ecx
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call fcn.0041e854
add esp, 0xc
test eax, eax
je 0x408fa9
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00409240
mov esp, ebp
pop ebp
ret 0xc
push esi
push edi
push dword [ebp - 8]
call fcn.0041f187
push 2
push 0
push dword [ebp - 8]
mov esi, eax
call fcn.0041e928
push dword [ebp - 8]
call fcn.0041f187
push 0
push esi
push dword [ebp - 8]
mov edi, eax
call fcn.0041e928
push edi
call fcn.00409237
push dword [ebp - 8]
mov dword [ebp - 0x14], eax
push 1
push edi
push eax
call fcn.0041ed4b
lea eax, [edi + edi*2]
push eax
mov dword [ebp - 0x10], eax
call fcn.00409237
mov esi, eax
mov eax, dword [ebp - 0x18]
sub edi, eax
push edi
mov edi, dword [ebp - 0x14]
add eax, edi
push eax
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.004195c0
add esp, 0x48
test eax, eax
je 0x40901a
xor bl, bl
jmp 0x409047
push 0x42c21c
push dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.0041e854
add esp, 0xc
test eax, eax
je 0x409036
xor bl, bl
jmp 0x409047
push dword [ebp - 0xc]
push 1
push dword [ebp - 0x10]
push esi
call fcn.0041eb04
add esp, 0x10
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x409057
push eax
call fcn.00416431
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x409067
push eax
call fcn.00416431
add esp, 4
test edi, edi
je 0x409074
push edi
call fcn.00409767
add esp, 4
test esi, esi
je 0x409081
push esi
call fcn.00409767
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409240
mov esp, ebp
pop ebp
ret 0xc
Function at 0x414e4e
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42e008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040eb80
mov dword [ebp - 0x14], eax
cmp dword [0x4975bc], esi
jne 0x414f41
push 0x800
push esi
push 0x426ce0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x414ece
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x415021
push esi
push esi
push 0x426ce0
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x415021
push 0x426cf8
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x415021
push eax
call ebx
push 0x426d04
push edi
mov dword [0x4975bc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x426d14
push edi
mov dword [0x4975c0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x426d28
push edi
mov dword [0x4975c4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4975cc], eax
test eax, eax
je 0x414f3e
push 0x426d44
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4975c8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x414f66
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x414f59
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x414f7b
push 4
pop eax
jmp 0x415023
cmp dword [ebp - 0x14], esi
je 0x414f7b
push dword [0x4975bc]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x414f60
mov eax, dword [0x4975c8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x414fd9
cmp dword [0x4975cc], edi
je 0x414fd9
push eax
call ebx
push dword [0x4975cc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x414fd9
test eax, eax
je 0x414fd9
call ecx
test eax, eax
je 0x414fce
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x414fce
test byte [ebp - 8], 1
jne 0x414fd9
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x415009
mov eax, dword [0x4975c0]
cmp eax, edi
je 0x415006
push eax
call ebx
test eax, eax
je 0x415006
call eax
mov esi, eax
test esi, esi
je 0x415006
mov eax, dword [0x4975c4]
cmp eax, edi
je 0x415006
push eax
call ebx
test eax, eax
je 0x415006
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4975bc]
call ebx
test eax, eax
je 0x415021
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x415023
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00409240
mov esp, ebp
pop ebp
ret
Function at 0x41bf20
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x41bf2c
pop ebp
ret
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.0041bf40

Function at 0x41da40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x24
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov eax, dword [edx + 0x78]
mov ebx, dword [edx + 0x8c]
cmp eax, ebx
mov eax, dword [edx + 0x34]
mov ebx, dword [edx + 0x7c]
jl 0x41da65
shr ebx, 2
dec ebx
shl ebx, 0x10
or ebx, eax
mov dword [esp], ebx
mov eax, dword [edx + 0x90]
mov ebx, dword [edx + 0x74]
cmp ebx, eax
jl 0x41da7d
mov ebx, eax
mov dword [esp + 0x18], ebx
mov esi, dword [edx + 0x38]
mov dword [esp + 4], esi
mov ebp, dword [edx + 0x6c]
lea edi, [ebp + esi]
mov dword [esp + 0x20], edi
mov eax, edi
neg eax
and eax, 3
mov dword [esp + 0x14], eax
mov eax, dword [edx + 0x2c]
sub eax, 0x106
sub ebp, eax
jg 0x41daac
xor ebp, ebp
mov eax, dword [edx + 0x78]
mov dword [esp + 0x1c], eax
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [edi]
mov dword [esp + 0x10], ebx
movzx ebx, word [eax + edi - 1]
mov dword [esp + 0xc], ebx
mov edi, dword [edx + 0x40]
mov edx, dword [esp]
jmp 0x41daee
and ecx, edx
movzx ecx, word [edi + ecx*2]
cmp ecx, ebp
jbe 0x41dbc2
sub edx, 0x10000
js 0x41dbc2
movzx eax, word [ecx + esi - 1]
cmp eax, ebx
jne 0x41dad4
mov eax, dword [esp + 4]
movzx eax, word [ecx + eax]
cmp eax, dword [esp + 0x10]
jne 0x41dad4
mov dword [esp], edx
mov esi, dword [esp + 4]
mov edi, dword [esp + 0x20]
add esi, ecx
mov eax, dword [esp + 0x14]
mov edx, 0xfffffef8
lea edi, [eax + edi + 0x108]
lea esi, [eax + esi + 0x108]
mov eax, dword [edx + esi]
xor eax, dword [edx + edi]
jne 0x41db45
mov eax, dword [edx + esi + 4]
xor eax, dword [edx + edi + 4]
jne 0x41db42
add edx, 8
jne 0x41db29
jmp 0x41dbb3
add edx, 4
test eax, 0xffff
jne 0x41db52
add edx, 2
shr eax, 0x10
sub al, 1
adc edx, 0
lea eax, [edx + edi]
mov edi, dword [esp + 0x20]
sub eax, edi
cmp eax, 0x102
jge 0x41dbb3
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
cmp eax, ebx
jg 0x41db86
mov esi, dword [esp + 8]
mov edi, dword [edx + 0x40]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp]
jmp 0x41dad4
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov dword [edx + 0x70], ecx
cmp eax, ebx
jge 0x41dbc2
mov esi, dword [esp + 4]
add esi, eax
mov dword [esp + 8], esi
movzx ebx, word [eax + edi - 1]
mov edi, dword [edx + 0x40]
mov dword [esp + 0xc], ebx
mov edx, dword [esp]
jmp 0x41dad4
mov edx, dword [esp + 0x38]
mov dword [esp + 0x1c], 0x102
mov dword [edx + 0x70], ecx
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edx + 0x74]
cmp ebx, eax
jg 0x41dbd3
mov eax, ebx
add esp, 0x24
pop ebx
pop esi
pop edi
pop ebp
ret
Function at 0x4cf73c
Capabilities:
Encode data using xor

Disassembly:
lea ecx, [ebx + 9]
cmc
mov edx, 0x9d4510a7
push 0xffffffffffffffff
inc dl
push dword [ecx + 0x33]
pop edx
jmp 0x4cf8fd
add ecx, dword [edx + ebx + 0x78]
mov esi, ebx
dec esi
pop edx
mov edi, dword [ecx + 0x17]
nop
add esi, edi
mov eax, dword [edi + ebx]
inc edx
stc
add edi, 4
lea esi, [eax + ebx - 3]
not eax
cmp edx, dword [ecx + 0xf]
jae 0x4cf9e7
push ebx
not bh
xor eax, eax
mov bl, 0x65
lea ebx, [edx - 0x780e80d]
xchg ebx, ebx
mov bh, 0xc6
mov bl, ah
push ecx
imul eax, eax, 0xf
add bl, al
or ebx, edx
movzx ecx, byte [esi + 3]
sub esi, 0xffffffee
adc bl, ch
sub eax, ecx
xor bh, 0x56
or ebx, ecx
not ebx
test ebx, edi
mov ebx, 0x3bf79077
lea esi, [esi - 0x11]
lea ecx, [0xd00ffab0]
setne bl
xchg ebx, ecx
cmp byte [esi + 3], 0xa
nop
jae 0x4cf936
lea ebx, [eax]
sub al, 0
and bh, 0x59
xor eax, dword [esp + 0xc]
pop ecx
pop ebx
mov eax, eax
xor eax, 0x6f5fcd6a
jne 0x4cf90b
stc
xchg ah, ah
dec edi
xchg esi, esi
sub ecx, 0xffffffef
add esp, 8
push dword [ecx + 2]
inc al
test al, ah
pop edi
dec eax
nop
add edi, ebx
dec eax
add edx, edx
add edx, ebx
mov eax, 0x430d57d6
mov esi, dword [ecx + 0xa]
mov ax, word [edx + esi]
shl eax, 0x10
shr eax, 0xe
push dword [eax + edi]
add dword [esp], ebx
jmp 0x4cf9cc
or ch, bh
mov eax, dword [esp - 4]
pop esi
jmp eax
ret
Function at 0x1005632
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push 0
mov esi, ecx
push 0x1001838
lea ecx, [ebp - 8]
call fcn.010108a6
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetParent]
pop esi
test eax, eax
je 0x1005662
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ebp - 8]
call fcn.010108ed
leave
ret

Function at 0x1006c8b
Capabilities:
Get geographical location

Disassembly:
push 0x14
mov eax, 0x1019064
call fcn.0100f404
mov esi, ecx
mov dword [ebp - 0x18], esi
call fcn.01005fdb
xor edi, edi
lea ecx, [esi + 0x54]
mov dword [ebp - 4], edi
mov dword [esi], 0x1001e24
call fcn.01013065
lea eax, [ebp - 0x10]
push eax
push 0x1001df0
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], edi
call fcn.010108a6
mov ebx, dword [ebp + 8]
mov dword [esi + 0x94], edi
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
mov dword [esi + 0xa0], edi
cmp ebx, edi
jne 0x1006d18
mov ecx, 0x80004003
mov dword [ebp - 0x10], ecx
mov eax, dword [section..data]
cmp eax, section..data
je 0x1006d18
test byte [eax + 0x1c], 4
je 0x1006d18
push ecx
push 0x1001de0
push 0xa
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010049d7
push 0x34
mov dword [esi + 0x38], ebx
mov dword [esi + 0x50], edi
mov dword [esi + 0xa4], edi
mov dword [esi + 0x4c], edi
call dword [sym.imp.msvcrt.dll_malloc]
or dword [esi + 0x90], 0xffffffff
pop ecx
push 2
mov dword [esi + 0x44], eax
lea eax, [ebp - 0x14]
push eax
push 0x2000000d
push edi
mov dword [esi + 0x2a8], edi
mov dword [esi + 0x48], edi
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
xor eax, eax
cmp dword [ebp - 0x14], edi
lea ecx, [ebp - 0x20]
sete al
mov dword [esi + 0x2ac], eax
call fcn.010108ed
mov eax, esi
call fcn.0100f4f0
ret 4

Function at 0x10089e3
Capabilities:
Hide graphical window

Disassembly:
push 0xc
mov eax, 0x1019827
call fcn.0100f404
mov esi, ecx
lea eax, [ebp - 0x10]
push eax
xor edi, edi
push 0x1002104
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
call fcn.010108a6
push edi
push 0x3ef
push dword [esi + 0x34]
mov dword [ebp - 4], edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push eax
call ebx
push 0
push 0x3f3
push dword [esi + 0x34]
call edi
push eax
call ebx
push 0
push 0x3f0
push dword [esi + 0x34]
call edi
push eax
call ebx
push 0
push 0x3f4
push dword [esi + 0x34]
call edi
push eax
call ebx
push 0
push 0x3f1
push dword [esi + 0x34]
call edi
push eax
call ebx
push 0
push 0x3f5
push dword [esi + 0x34]
call edi
push eax
call ebx
lea eax, [ebp - 0x10]
push eax
push 0
push 0x64
push 0x3ea
push dword [esi + 0x34]
call fcn.0101122a
cmp dword [ebp - 0x10], 0
mov dword [esi + 0x98], eax
jge 0x1008a9f
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.01007db5
mov esi, dword [ebp - 0x10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.010108ed
mov eax, esi
call fcn.0100f4f0
ret
Function at 0x100a14b
Capabilities:
Create process on windows
Get common file path

Disassembly:
push 0x634
mov eax, 0x10193ca
call fcn.0100f477
lea eax, [ebp - 0x62c]
mov ebx, ecx
push eax
push 0x10023e0
lea ecx, [ebp - 0x640]
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x62c], 0x80004005
call fcn.010108a6
xor esi, esi
push esi
push 0x25
lea eax, [ebp - 0x218]
push eax
push dword [ebx + 0x34]
mov dword [ebp - 4], esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, esi
je 0x100a2af
push esi
push 0x10023c4
mov edi, 0x104
push edi
lea eax, [ebp - 0x218]
push eax
call fcn.0101238a
cmp eax, esi
mov dword [ebp - 0x62c], eax
jl 0x100a2c2
mov eax, dword [section..data]
mov ebx, section..data
mov edi, 0x1002210
cmp eax, ebx
je 0x100a1fd
test dword [eax + 0x1c], 0x2000
je 0x100a1fd
push 0xfb6
push esi
push esi
push esi
push 6
push edi
push 0x16
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006165
push 5
push esi
push 0x10023b0
lea eax, [ebp - 0x218]
push eax
push esi
push esi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x100a252
cmp eax, esi
jle 0x100a227
and eax, 0xffff
or eax, 0x80070000
mov dword [ebp - 0x62c], eax
mov eax, dword [section..data]
cmp eax, ebx
je 0x100a2af
test byte [eax + 0x1c], 4
je 0x100a2af
push dword [ebp - 0x62c]
push edi
push 0x17
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010049d7
jmp 0x100a2af
mov eax, dword [section..data]
mov edx, dword [eax + 0x10]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x634], edx
or edx, ecx
je 0x100a284
push 2
push ecx
push dword [ebp - 0x634]
push 0x410
push 0x10015f0
call fcn.010060e2
mov eax, dword [section..data]
cmp eax, ebx
je 0x100a2a9
test dword [eax + 0x1c], 0x2000
je 0x100a2a9
push 0xfb7
push esi
push esi
push esi
push 6
push edi
push 0x18
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01006165
mov dword [ebp - 0x62c], esi
cmp dword [ebp - 0x62c], esi
jge 0x100a333
mov ebx, dword [ebp - 0x638]
mov edi, 0x104
mov ecx, dword [ebx + 0x38]
lea eax, [ebp - 0x630]
push eax
push edi
lea eax, [ebp - 0x628]
push eax
push 0x8a
mov dword [ebp - 0x630], esi
call fcn.01004b98
push eax
call fcn.01011593
cmp dword [ebp - 0x630], esi
jl 0x100a333
mov ecx, dword [ebx + 0x38]
lea eax, [ebp - 0x630]
push eax
push edi
lea eax, [ebp - 0x420]
push eax
push 0x8b
call fcn.01004b98
push eax
call fcn.01011593
cmp dword [ebp - 0x630], esi
jl 0x100a333
push 0x10
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push eax
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
mov esi, dword [ebp - 0x62c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x640]
call fcn.010108ed
mov eax, esi
call fcn.0100f509
ret