joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40bd70
Capabilities:
Accept command line arguments
Create thread

Disassembly:
sub esp, 0x1c
mov ecx, 0x4104a0
call fcn.00404ab0
mov ecx, 0x4104a0
call fcn.00404dc0
push 0xe74
mov dword [0x4106bc], 0x4104a0
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x40bdab
mov ecx, eax
call fcn.0040a610
jmp 0x40bdad
xor eax, eax
push esi
mov esi, eax
test eax, eax
jne 0x40bdd6
push 0xe74
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x40bdce
mov ecx, eax
call fcn.0040a610
jmp 0x40bdd0
xor eax, eax
test eax, eax
mov esi, eax
je 0x40bdb4
mov ecx, esi
mov dword [0x4107e4], esi
call fcn.0040a860
mov ecx, esi
call fcn.0040af10
test eax, eax
je 0x40be01
mov ecx, esi
call fcn.0040b090
mov eax, 1
pop esi
add esp, 0x1c
ret 0x10
mov eax, dword [0x4106bc]
push edi
push 0
push 0
push 0
push 0x40afc0
push 0
push 0
lea edi, [eax + 0xf4]
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [edi]
mov ecx, esi
call fcn.0040b180
test eax, eax
pop edi
je 0x40bea0
mov ecx, esi
call fcn.0040bc70
test eax, eax
je 0x40be48
mov eax, 1
pop esi
add esp, 0x1c
ret 0x10
lea ecx, [esp + 4]
mov al, 0x65
push ecx
mov ecx, esi
mov byte [esp + 8], 0x4e
mov byte [esp + 9], al
mov byte [esp + 0xa], 0x77
mov byte [esp + 0xb], 0x44
mov byte [esp + 0xc], al
mov byte [esp + 0xd], 0x73
mov byte [esp + 0xe], 0x6b
mov byte [esp + 0xf], 0x74
mov byte [esp + 0x10], 0x6f
mov byte [esp + 0x11], 0x70
mov byte [esp + 0x12], 0
call fcn.0040a6d0
mov ecx, esi
call fcn.0040a6f0
mov ecx, esi
call fcn.0040b580
mov ecx, esi
call fcn.0040b6b0
mov eax, dword [0x40f8c8]
test eax, eax
je 0x40bef7
mov ecx, esi
call fcn.0040b1a0
test eax, eax
je 0x40bec7
mov ecx, esi
call fcn.0040b340
mov eax, 1
pop esi
add esp, 0x1c
ret 0x10
mov eax, dword [0x4106bc]
lea edx, [esp + 0x10]
push edx
mov dword [esp + 0x14], str.Mqnibttev_jKvxtrlzv__lv_Egago
mov dword [esp + 0x18], 0x40b8e0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call dword [eax + 0x158]
xor eax, eax
pop esi
add esp, 0x1c
ret 0x10

Function at 0x40bf00
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret
Function at 0x40d2f0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0x65
mov edx, dword [0x4106bc]
mov byte [esp + 5], al
mov byte [esp + 6], al
mov byte [esp + 9], al
xor al, al
mov byte [esp + 0xd], al
mov byte [esp + 0x10], al
xor eax, eax
push esi
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
push edi
mov edi, ecx
mov dword [esp + 0x21], eax
mov dword [esp + 0x25], eax
lea ecx, [esp + 0x18]
push 0x14
mov word [esp + 0x2d], ax
push ecx
push esi
mov byte [esp + 0x14], 0x53
mov byte [esp + 0x15], 0x79
mov byte [esp + 0x16], 0x73
mov byte [esp + 0x17], 0x54
mov byte [esp + 0x18], 0x72
mov byte [esp + 0x1b], 0x56
mov byte [esp + 0x1c], 0x69
mov byte [esp + 0x1e], 0x77
mov byte [esp + 0x1f], 0x33
mov byte [esp + 0x20], 0x32
mov byte [esp + 0x37], al
call dword [edx + 0x60]
lea eax, [esp + 0x18]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x40d3a3
mov edx, dword [0x4106bc]
push esi
call dword [edx + 0x5c]
test eax, eax
je 0x40d3a3
mov dword [edi + 4], esi
pop edi
xor eax, eax
pop esi
add esp, 0x24
ret 4
pop edi
mov eax, 1
pop esi
add esp, 0x24
ret 4
Function at 0x40d640
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x24
mov al, 0xd3
push ebp
mov ebp, ecx
mov byte [esp + 0x20], al
mov byte [esp + 0x23], al
lea eax, [esp + 0x14]
mov cl, 0xb0
push eax
mov byte [esp + 0x1e], cl
mov byte [esp + 0x25], cl
mov ecx, dword [0x4106bc]
push 0
push 0
push 0
mov byte [esp + 0x24], 0xd2
mov byte [esp + 0x25], 0xbb
mov byte [esp + 0x26], 0xc6
mov byte [esp + 0x27], pe_nt_image_headers32
mov byte [esp + 0x28], 0xbf
mov byte [esp + 0x29], 0xb4
mov byte [esp + 0x2b], 0xc9
mov byte [esp + 0x2c], 0xb8
mov byte [esp + 0x2d], 0xdf
mov byte [esp + 0x2e], 0xc7
mov byte [esp + 0x2f], 0xe5
mov byte [esp + 0x32], 0xca
mov byte [esp + 0x34], 0
call dword [ecx + 0x6c]
mov cl, 0x79
mov dword [ebp], eax
test eax, eax
mov byte [esp + 4], 0x46
mov byte [esp + 5], 0x69
mov byte [esp + 6], 0x6c
mov byte [esp + 7], 0x6d
mov byte [esp + 8], 0x45
mov byte [esp + 9], 0x76
mov byte [esp + 0xa], 0x65
mov byte [esp + 0xb], 0x72
mov byte [esp + 0xc], cl
mov byte [esp + 0xd], 0x64
mov byte [esp + 0xe], 0x61
mov byte [esp + 0xf], cl
mov byte [esp + 0x10], 0
jne 0x40d70a
lea edx, [esp + 4]
push eax
push edx
push eax
push eax
mov eax, dword [0x4106bc]
call dword [eax + 0x6c]
mov dword [ebp], eax
cmp dword [ebp], 0
jne 0x40d717
xor eax, eax
pop ebp
add esp, 0x24
ret
push esi
mov esi, dword [sym.imp.MSVCRT.dll_rand]
call esi
cdq
mov ecx, 5
idiv ecx
add edx, 0xa
test edx, edx
jle 0x40d776
push ebx
push edi
mov ebx, edx
mov edx, dword [0x4106bc]
push 1
push 0
push 0
lea edi, [edx + 0x80]
call esi
xor edx, edx
mov ecx, 0x312
div ecx
push edx
call esi
mov edx, dword [ebp]
and eax, 0x3ff
push eax
push 0xfffffffffffffffe
push edx
call dword [edi]
mov eax, dword [0x4106bc]
push 0x1f4
call dword [eax + 0x100]
dec ebx
jne 0x40d733
pop edi
pop ebx
mov ecx, dword [ebp]
mov edx, dword [0x4106bc]
push 2
push 0x2b0
push 0x3e4
push 0
push 0
push 0xfffffffffffffffe
push ecx
call dword [edx + 0x80]
mov eax, dword [ebp]
mov ecx, dword [0x4106bc]
push 1
push 0
push 0
push 0
push 0
push 0xfffffffffffffffe
push eax
call dword [ecx + 0x80]
pop esi
mov eax, 1
pop ebp
add esp, 0x24
ret
Function at 0x40d7c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x80
push esi
mov esi, ecx
push edi
mov ecx, 0x18
xor eax, eax
lea edi, [esp + 0x25]
mov byte [esp + 0x24], 0
push 0x64
rep stosd dword es:[edi], eax
mov ecx, dword [0x4106bc]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edi, dword [esp + 0x90]
lea eax, [esp + 0x28]
push eax
push edi
call dword [ecx + 0x60]
mov dl, 0x74
mov al, 0x72
mov byte [esp + 0xa], dl
mov byte [esp + 0xf], dl
mov byte [esp + 0xc], al
mov byte [esp + 0x16], al
mov byte [esp + 0x18], al
mov byte [esp + 0x1c], al
mov byte [esp + 0x1f], al
lea edx, [esp + 8]
lea eax, [esp + 0x24]
mov cl, 0x65
push edx
push eax
mov byte [esp + 0x10], 0x49
mov byte [esp + 0x11], 0x6e
mov byte [esp + 0x13], cl
mov byte [esp + 0x15], 0x6e
mov byte [esp + 0x16], cl
mov byte [esp + 0x18], 0x20
mov byte [esp + 0x19], 0x45
mov byte [esp + 0x1a], 0x78
mov byte [esp + 0x1b], 0x70
mov byte [esp + 0x1c], 0x6c
mov byte [esp + 0x1d], 0x6f
mov byte [esp + 0x1f], cl
mov byte [esp + 0x21], 0x5f
mov byte [esp + 0x22], 0x53
mov byte [esp + 0x23], cl
mov byte [esp + 0x25], 0x76
mov byte [esp + 0x26], cl
mov byte [esp + 0x28], 0
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x40d893
mov dword [esi + 4], edi
pop edi
pop esi
add esp, 0x80
ret 4
pop edi
mov eax, 1
pop esi
add esp, 0x80
ret 4
Function at 0x5db63c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
test eax, eax
je 0x5db6da
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x5db6da
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5db6da
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5db6da
mov ebx, dword [eax + 0x34]
mov dword [ebp - 0xc], ebx
mov ebx, dword [eax + 0x50]
mov dword [ebp - 8], ebx
push edi
push 4
push 0x2000
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x122d1ccd]
pop edi
test eax, eax
jne 0x5db6cd
push edi
push 4
push 0x2000
push dword [ebp - 8]
push 0
call dword [edi + 0x122d1ccd]
pop edi
test eax, eax
je 0x5db6da
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x14], eax
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5db75f
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov eax, dword [ebp + 8]
mov ebx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5db80b
push ecx
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jae 0x5db7a0
mov ecx, edx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
push ecx
push edi
push 4
push 0x1000
push dword [ebp - 4]
push eax
call dword [edi + 0x122d1ccd]
pop edi
pop ecx
test eax, eax
je 0x5db7fe
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5db7de
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 0xc]
lea eax, [ebx + 0x10]
cmp dword [eax + 4], 0
je 0x5db7f3
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5db787
pop ecx
mov dword [ebp - 0x10], 0
jmp 0x5db812
mov dword [ebp - 0x10], 1
popal
mov eax, dword [ebp - 0x10]
leave
ret 4

Function at 0x5dba2c
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
mov dword [ebp - 0x18], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x14], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5dbaa6
push ecx
mov ecx, dword [ebx + 0xc]
add ecx, dword [ebp - 0x14]
mov edx, dword [ebx + 0x24]
push edx
call fcn.005db9d1
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
push edi
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [edi + 0x1246f259]
pop edi
test eax, eax
jne 0x5dba9c
pop ecx
jmp 0x5dbaad
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5dba55
mov dword [ebp - 0x18], 1
popal
mov eax, dword [ebp - 0x18]
leave
ret 4
Function at 0x5dbc53
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
cmp dword [ebp + 0x18], 0
jne 0x5dbda7
cmp dword [ebp + 0xc], 0
jne 0x5dbda7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 8]
cmp eax, 0xffffffff
je 0x5dbc9a
sub eax, dword [ebp + 0x10]
js 0x5dbda7
je 0x5dbda7
cmp eax, dword [ebp + 0x14]
jl 0x5dbda7
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
cmp word [eax], 0x5a4d
jne 0x5dbda7
mov ebx, dword [eax + 0x3c]
add eax, ebx
cmp dword [eax], 0x4550
jne 0x5dbda7
mov ebx, dword [eax + 0x50]
push edi
push 4
push 0x1000
push ebx
push 0
call dword [edi + 0x122d1ccd]
pop edi
test eax, eax
je 0x5dbda7
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], ebx
pop ebx
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a000a]
push eax
call fcn.005dacbb
pop edi
test eax, eax
je 0x5dbda7
lea eax, [ebp - 0x18]
push edi
push eax
lea eax, [edi + 0x124a000e]
push eax
call fcn.005dacbb
pop edi
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0x3c]
add eax, ebx
mov eax, dword [eax + 0x54]
mov dword [ebp - 0xc], eax
push edi
mov ecx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x10]
mov esi, dword [ebp - 0x1c]
mov esi, dword [esi + 4]
rep movsb byte es:[edi], byte [esi]
pop edi
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dword [ebp - 4], eax
mov ebx, dword [eax + 0x3c]
add eax, ebx
lea ebx, [eax + 0x18]
movzx ecx, word [eax + 0x14]
add ebx, ecx
movzx ecx, word [eax + 6]
test ecx, ecx
je 0x5dbd9a
push ecx
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
add eax, dword [ebp - 8]
test eax, eax
je 0x5dbda7
push edi
mov edi, eax
xor eax, eax
push ecx
push edi
rep stosb byte es:[edi], al
pop edi
pop ecx
mov edx, dword [ebx + 0x10]
cmp ecx, edx
jl 0x5dbd87
mov ecx, edx
mov esi, dword [ebx + 0x14]
add esi, dword [ebp - 4]
rep movsb byte es:[edi], byte [esi]
pop edi
add ebx, 0x28
pop ecx
dec ecx
jmp 0x5dbd55
push dword [ebp + 8]
call fcn.005dcb49
jmp 0x5dbdae
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x18]
leave
ret 0x14
Function at 0x5dc139
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
pushal
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x5dc228
mov ecx, eax
mov ebx, dword [ecx + 0x3c]
add ecx, ebx
mov ecx, dword [ecx + 0x7c]
test ecx, ecx
je 0x5dc228
mov dword [ebp - 4], ecx
mov ebx, eax
mov ecx, dword [ebx + 0x3c]
add ebx, ecx
mov ebx, dword [ebx + 0x78]
add ebx, eax
mov dword [ebp - 8], ebx
mov eax, dword [ebp + 0xc]
test eax, 0xffff0000
je 0x5dc1d4
mov ecx, dword [ebx + 0x18]
test ecx, ecx
je 0x5dc228
dec ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
add eax, dword [ebp - 0xc]
push ecx
shl ecx, 2
add eax, ecx
mov eax, dword [eax]
add eax, dword [ebp - 0xc]
push edi
push dword [ebp + 0xc]
push eax
call dword [edi + 0x124a016a]
pop edi
pop ecx
test eax, eax
jne 0x5dc18d
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x24]
add eax, dword [ebp - 0xc]
shl ecx, 1
add eax, ecx
movzx ecx, word [eax]
jmp 0x5dc1da
mov ecx, dword [ebp + 0xc]
sub ecx, dword [ebx + 0x10]
mov ebx, dword [ebp - 8]
mov eax, dword [ebx + 0x14]
cmp ecx, eax
jge 0x5dc228
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx + 0x1c]
add edx, eax
shl ecx, 2
add edx, ecx
cmp dword [edx], 0
je 0x5dc228
mov ebx, dword [edx]
add eax, ebx
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 8]
jle 0x5dc228
sub eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
jge 0x5dc228
push dword [ebp - 0x10]
push dword [ebp + 8]
call fcn.005dc082
mov dword [ebp - 0x10], eax
popal
mov eax, dword [ebp - 0x10]
leave
ret 8
Function at 0x402a04
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004040a8
test esi, esi
jne 0x402a3a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404198
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x40314c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x482020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4031e4
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4031c4
xor eax, eax
push ebp
push 0x4031bd
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x403200
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4031c4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x482020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x482020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403ea8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x485048], 0
je 0x403f09
cmp word [0x48521c], 0xd7b2
jne 0x403ed1
cmp dword [0x485224], 0
jbe 0x403ed1
mov eax, 0x485218
call dword [0x485234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48206c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x403f30
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x482030], 0
jne 0x403f25
push 0
push 0x482064
push 0x48206c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40405c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x485049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404024
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40546c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40569c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4054ef
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40569c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x4054ef
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4056b8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405578
xor eax, eax
push ebp
push 0x405571
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004052b4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405556
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4056d8
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405556
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405578
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405692
cmp byte [ebp - 0xd], 0
jne 0x4055bf
cmp byte [ebp - 0x12], 0
je 0x405692
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4055d8
dec ebx
cmp byte [ebx], 0x2e
je 0x4055e7
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4055d7
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405692
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405624
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405692
cmp byte [ebp - 0xd], 0
je 0x405692
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405692
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405d64
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405dca
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404318
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402ce0
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405db4
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405dd1
lea eax, [ebp - 0x10]
call fcn.004040a8
ret

Function at 0x40b51c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b555
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404198
jmp 0x40b55e
mov eax, ebx
mov edx, esi
call fcn.004040fc
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b568
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b589
mov al, byte [esp]
jmp 0x40b58b
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bc10
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40ba88
mov eax, dword [0x484698]
cmp byte [eax], 0
je 0x40bc8c
mov eax, dword [0x484388]
call fcn.00402b10
call fcn.00402844
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408c60
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bcd4
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bcc2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x484314]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x485664]
call fcn.00405278
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c528
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c5fe
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404140
lea eax, [ebp - 8]
call fcn.004045b8
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404568
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c5e8
mov eax, ebx
call fcn.004026dc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c5e1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404568
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c5cb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c610
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c5cb
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c5e8
mov eax, dword [ebp - 0x10]
call fcn.004026fc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c605
lea eax, [ebp - 8]
call fcn.004040a8
ret

Function at 0x40cb7c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40cbe0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404318
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408624
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cbe7
lea eax, [ebp - 0xc]
call fcn.004040a8
ret

Function at 0x41b27c
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041b0d4
dec esi
jne 0x41b29e
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret