joyce8/EMBER2024-capa huggingface dataset:
Function at 0x489300
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6190
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x4c4008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0xc
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x28]
push str.wintrust.dll
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00402760
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
call fcn.00472a60
mov ecx, eax
call fcn.00472b20
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x4893b7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4893ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4893ad
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
push 0xb
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], eax
push str.crypt32.dll
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.00402760
mov dword [ebp - 4], 1
lea eax, [ebp - 0x40]
push eax
call fcn.00472a60
mov ecx, eax
call fcn.00472b20
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48944e
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x489441
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x489441
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00495a94
mov eax, dword [ebp - 0x10]
add esp, 8
xor ecx, ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], cx
test edi, edi
je 0x4894e0
test eax, eax
je 0x4894e0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.CryptCATAdminCalcHashFromFileHandle
push edi
call esi
push str.CryptCATAdminAcquireContext
push edi
mov dword [ebx + 4], eax
call esi
push str.CryptCATAdminEnumCatalogFromHash
push edi
mov dword [ebx + 8], eax
call esi
push str.CryptCATCatalogInfoFromContext
push edi
mov dword [ebx + 0xc], eax
call esi
push str.CryptCATAdminReleaseCatalogContext
push edi
mov dword [ebx + 0x10], eax
call esi
push str.CryptCATAdminReleaseContext
push edi
mov dword [ebx + 0x14], eax
call esi
push str.WTHelperProvDataFromStateData
push edi
mov dword [ebx + 0x18], eax
call esi
push str.WTHelperGetProvSignerFromChain
push edi
mov dword [ebx + 0x1c], eax
call esi
push str.WinVerifyTrust
push edi
mov dword [ebx + 0x20], eax
call esi
push str.CertNameToStrW
push dword [ebp - 0x10]
mov dword [ebx + 0x24], eax
call esi
mov dword [ebx + 0x28], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4938d0
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4938db
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.004938f0
Function at 0x4018d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov edx, 0x7b
mov cl, byte [eax]
inc eax
nop
xor cl, byte [eax]
lea eax, [eax + 1]
sub edx, 1
jne 0x4018e0
xor eax, eax
cmp cl, byte [ebp + 0xc]
sete al
dec eax
pop ebp
ret

Function at 0x401900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [ebp + 0xc]
mov esi, 0x7b
mov dl, byte [eax]
inc eax
mov byte [edi], dl
mov cl, byte [eax]
lea eax, [eax + 1]
xor cl, dl
mov byte [edi], cl
mov dl, cl
sub esi, 1
jne 0x401915
pop edi
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4040e8
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x404127
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x404127
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x404127
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x404127
cmp dword [ecx + 0x74], 0xe
jbe 0x404127
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40bb04
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b8d0
push 0x41b8c8
push str.FlsAlloc
push 0x1e
call fcn.0040b9c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bb38
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a188]
call esi
jmp 0x40bb3e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x40bb82
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41b8e0
push 0x41b8d8
push str.FlsGetValue
push 0x20
call fcn.0040b9c5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40bbb9
push dword [ebp + 8]
mov ecx, esi
call dword [0x41a188]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40ffd6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x410073
push ebx
push esi
call fcn.0040ff9f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0040fee8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x410020
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x410072
push edi
push eax
call fcn.0040c2b7
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x410040
call fcn.0040b858
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x410071
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0040fee8
add esp, 0x20
test eax, eax
jne 0x41005f
push edi
call fcn.0040b858
jmp 0x410067
push ebx
call fcn.0040b858
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x410076
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x410087
pop esi
ret
push ebx
push edi
push esi
call fcn.0040ff9f
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040c2b7
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4100af
push ebx
push esi
push edi
call fcn.00404580
add esp, 0xc
push 0
call fcn.0040b858
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4107fb
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00410322
Function at 0x418750
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41877d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41877d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x66f81bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x66f81c1b
cmp byte [esi + ebx - 1], 0xa
je 0x66f81bef
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x66f87124], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x408298
Capabilities:
Encode data using xor
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push dword [esi]
call fcn.00409e30
push dword [esi + 4]
mov edi, eax
call fcn.00409e30
mov ebx, dword [ebp + 0xc]
and dword [ebp + 8], 0
mov esi, eax
lea eax, [ebp - 0x10]
sub ebx, eax
mov eax, dword [ebp + 8]
lea eax, [ebx + eax*4]
push dword [ebp + eax - 0x10]
call fcn.00409e30
mov ecx, dword [ebp + 8]
inc dword [ebp + 8]
cmp dword [ebp + 8], 4
mov dword [ebp + ecx*4 - 0x10], eax
jl 0x4082c3
push 0x10
mov eax, 0xe3779b90
pop ecx
mov edx, edi
shr edx, 5
add edx, dword [ebp - 4]
mov ebx, edi
shl ebx, 4
add ebx, dword [ebp - 8]
xor edx, ebx
lea ebx, [eax + edi]
xor edx, ebx
sub esi, edx
mov edx, esi
shr edx, 5
add edx, dword [ebp - 0xc]
mov ebx, esi
shl ebx, 4
add ebx, dword [ebp - 0x10]
xor edx, ebx
lea ebx, [eax + esi]
xor edx, ebx
sub edi, edx
add eax, 0x61c88647
dec ecx
jne 0x4082ea
push edi
call fcn.00409e2a
mov edi, dword [ebp + 0x10]
push esi
mov dword [edi], eax
call fcn.00409e2a
mov dword [edi + 4], eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4085d3
Capabilities:
Parse pe header

Disassembly:
push esi
push edi
xor edi, edi
push edi
push 0x80
push 3
push edi
push 1
mov esi, ecx
mov ecx, dword [esp + 0x20]
push 0x80000000
call dword [0x40a1cc]
push eax
call dword [0x40a01c]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x408670
push edi
push edi
push edi
push 2
push edi
push eax
call dword [0x40a088]
mov dword [esi + 8], eax
cmp eax, edi
je 0x408670
push edi
push edi
push edi
push 4
push eax
call dword [0x40a084]
mov dword [esi + 0xc], eax
cmp eax, edi
je 0x408670
mov ecx, 0x5a4d
mov dword [esi + 0x14], eax
cmp cx, word [eax]
jne 0x408670
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esi + 0x18], eax
cmp eax, edi
je 0x408670
cmp dword [eax], 0x4550
jne 0x408670
movzx eax, word [eax + 6]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x18]
add eax, 0x18
mov dword [esi + 0x1c], eax
mov eax, dword [eax + 0x10]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x1c]
add eax, 0xe0
mov dword [esi + 0x24], eax
xor eax, eax
inc eax
jmp 0x408672
xor eax, eax
pop edi
pop esi
ret 4

Function at 0x40873f
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.00409300
and dword [esi + 0x10], 0
and dword [esi + 0x14], 0
and dword [esi + 0x58], 0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
pop esi
ret
Function at 0x4010c0
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x654
push ebx
push esi
push edi
xor esi, esi
mov ecx, 0xe
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], esi
rep stosd dword es:[edi], eax
lea eax, [esp + 0x458]
push 0x104
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
lea ecx, [esp + 0x358]
push esi
lea edx, [esp + 0x154]
push ecx
lea eax, [esp + 0x464]
push edx
push eax
call fcn.00401439
push esi
lea ecx, [esp + 0x36c]
push esi
lea edx, [esp + 0x168]
push ecx
lea eax, [esp + 0x270]
push edx
push eax
call fcn.004013a8
push 0x4080f0
lea ecx, [esp + 0x380]
push str.devcon
lea edx, [esp + 0x17c]
push ecx
lea eax, [esp + 0x590]
push edx
push eax
call fcn.004013a8
add esp, 0x3c
lea ecx, [esp + 0x48]
mov dword [esp + 0xc], 0x3c
mov dword [esp + 0x10], 0x40
push str._c_devcon.exe_install_VmtkmHid_0.inf__8FBC4165_480D_4230_B1DF_7B86F3E5A3CCHID_DEVICE_
push ecx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str.open
mov dword [esp + 0x24], 0x408080
call fcn.00401356
mov edi, dword [sym.imp.SHELL32.dll_ShellExecuteExA]
add esp, 8
lea ecx, [esp + 0xc]
lea edx, [esp + 0x48]
lea eax, [esp + 0x250]
push ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
call edi
mov edx, dword [esp + 0x44]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edx
call ebx
lea eax, [esp + 0x48]
push str._c_devcon.exe_update_VmtkmMouFiltr_0.inf__HIDVid_1bcfPid_05e3Col02_
push eax
mov dword [esp + 0x14], 0x3c
mov dword [esp + 0x18], 0x40
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], str.open
mov dword [esp + 0x24], 0x408080
call fcn.00401356
lea ecx, [esp + 0x50]
lea edx, [esp + 0x258]
add esp, 8
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
lea eax, [esp + 0xc]
mov dword [esp + 0x28], esi
push eax
mov dword [esp + 0x30], esi
call edi
mov ecx, dword [esp + 0x44]
push 0xffffffffffffffff
push ecx
call ebx
pop edi
pop esi
pop ebx
add esp, 0x654
ret
Function at 0x4019e7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov ebx, ecx
mov esi, dword [ebx]
push edi
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 4], esi
add esi, 3
mov dword [ebp - 8], eax
lea eax, [esi*4 + 4]
push eax
call sub.jli.dll_JLI_MemAlloc
pop ecx
mov dword [ebx], esi
mov esi, 0x408010
push 4
mov dword [edi], eax
mov edx, esi
pop ebx
mov edi, 0x40801c
mov ecx, dword [edx]
cmp byte [ecx], 0x2d
jne 0x401a35
cmp byte [ecx + 1], 0x4a
jne 0x401a35
add ecx, 2
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp edx, edi
jl 0x401a21
xor edx, edx
cmp dword [ebp - 4], edx
jle 0x401a65
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + edx*4]
cmp byte [ecx], 0x2d
jne 0x401a5f
cmp byte [ecx + 1], 0x4a
jne 0x401a5f
add ecx, 2
cmp byte [ecx], 0
je 0x401aa8
mov dword [eax], ecx
add eax, ebx
inc edx
cmp edx, dword [ebp - 4]
jl 0x401a42
mov edx, esi
mov ecx, dword [edx]
cmp byte [ecx], 0x2d
jne 0x401a74
cmp byte [ecx + 1], 0x4a
je 0x401a78
mov dword [eax], ecx
add eax, ebx
add edx, ebx
cmp edx, edi
jl 0x401a67
xor edx, edx
cmp dword [ebp - 4], edx
jle 0x401aa0
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + edx*4]
cmp byte [ecx], 0x2d
jne 0x401a96
cmp byte [ecx + 1], 0x4a
je 0x401a9a
mov dword [eax], ecx
add eax, ebx
inc edx
cmp edx, dword [ebp - 4]
jl 0x401a85
and dword [eax], 0
pop edi
pop esi
pop ebx
leave
ret
push 1
push str.Error:_the__J_option_should_not_be_followed_by_a_space.
call fcn.0040346b
pop ecx
pop ecx
push 1
call dword [sym.imp.MSVCR71.dll_exit]
int3
Function at 0x401abf
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
push ebx
push esi
push edi
push str.CLASSPATH
mov byte [ebp - 4], 0x3b
mov byte [ebp - 3], 0
call dword [sym.imp.MSVCR71.dll_getenv]
mov esi, dword [sym.imp.MSVCR71.dll_sprintf]
mov edi, eax
test edi, edi
pop ecx
je 0x401b10
push edi
call sub.MSVCR71.dll_strlen
add eax, 0x28
push eax
call sub.jli.dll_JLI_MemAlloc
push edi
mov ebx, eax
push str._Denv.class.path_s
push ebx
call esi
push 0
push ebx
call fcn.004010bd
add esp, 0x1c
lea eax, [ebp - 0x110]
push 0x104
push eax
call fcn.004031c5
test al, al
pop ecx
pop ecx
jne 0x401b3c
push 1
push str.Cant_determine_application_home
call fcn.0040346b
pop ecx
pop ecx
xor al, al
jmp 0x401c00
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR71.dll_strlen
add eax, 0x28
push eax
call sub.jli.dll_JLI_MemAlloc
mov edi, eax
lea eax, [ebp - 0x110]
push eax
push str._Dapplication.home_s
push edi
call esi
push 0
push edi
call fcn.004010bd
push 0x28
lea eax, [ebp - 0x110]
pop esi
push eax
call sub.MSVCR71.dll_strlen
mov edi, 0x40801c
add esp, 0x20
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], edi
mov ebx, 0x408024
mov eax, dword [ebp - 8]
push dword [eax]
call sub.MSVCR71.dll_strlen
add eax, dword [ebp - 0xc]
add dword [ebp - 8], 4
cmp dword [ebp - 8], ebx
pop ecx
lea esi, [esi + eax + 1]
jl 0x401b8c
inc esi
push esi
call sub.jli.dll_JLI_MemAlloc
mov esi, eax
mov dword [esp], str._Djava.class.path
push esi
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
lea eax, [ebp - 0x110]
push eax
push esi
call sub.MSVCR71.dll_strcat
push dword [edi]
push esi
call sub.MSVCR71.dll_strcat
lea eax, [ebp - 4]
push eax
push esi
call sub.MSVCR71.dll_strcat
add edi, 4
add esp, 0x18
cmp edi, ebx
jl 0x401bbf
push esi
call sub.MSVCR71.dll_strlen
push 0
push esi
mov byte [eax + esi - 1], 0
call fcn.004010bd
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x1a4]
push eax
call sub.MSVCR71.dll_strcpy
pop ecx
pop ecx
push str._Xusage.txt
lea eax, [ebp - 0x1a4]
push 0x5c
push eax
call dword [sym.imp.MSVCR71.dll_strrchr]
pop ecx
pop ecx
push eax
call sub.MSVCR71.dll_strcpy
lea eax, [ebp - 0x1a4]
push 0x405f48
push eax
call dword [sym.imp.MSVCR71.dll_fopen]
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x401e95
lea eax, [ebp - 0x1a4]
push eax
mov eax, dword [sym.imp.MSVCR71.dll__iob]
add eax, 0x40
push str.Cant_open__s_n
push eax
call dword [sym.imp.MSVCR71.dll_fprintf]
xor eax, eax
add esp, 0xc
inc eax
jmp 0x401ee5
push esi
mov esi, dword [sym.imp.MSVCR71.dll_fread]
push edi
push ebx
mov edi, 0x80
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x10
jmp 0x401ed5
mov ecx, dword [sym.imp.MSVCR71.dll__iob]
add ecx, 0x20
push ecx
push eax
lea eax, [ebp - 0x80]
push 1
push eax
call dword [sym.imp.MSVCR71.dll_fwrite]
push ebx
push edi
lea eax, [ebp - 0x80]
push 1
push eax
call esi
add esp, 0x20
test eax, eax
jne 0x401eb1
push ebx
call dword [sym.imp.MSVCR71.dll_fclose]
pop ecx
pop edi
xor eax, eax
pop esi
pop ebx
leave
ret
Function at 0x403bfe
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push esi
mov esi, dword [sym.imp.MSVCR71.dll__beginthreadex]
push edi
lea eax, [ebp - 8]
push eax
push 0x10000
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0
call esi
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x403c48
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp + 0x14]
push dword [ebp + 8]
push dword [ebp + 0xc]
push edi
call esi
mov edi, eax
add esp, 0x18
test edi, edi
je 0x403c65
push 0xffffffffffffffff
push edi
call dword [0x405030]
lea eax, [ebp - 4]
push eax
push edi
call dword [0x405018]
push edi
call dword [0x40502c]
jmp 0x403c6e
push dword [ebp + 0x14]
call dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x403ea1
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0x10]
push edi
push dword [ebp + 0x14]
call fcn.00403c75
test al, al
pop ecx
jne 0x403ecc
push 1
push str.Error:_could_not_find_Java_2_Runtime_Environment.
call fcn.0040346b
pop ecx
pop ecx
push 2
jmp 0x403f5b
push 0
push str.i386
push dword [ebp + 0x10]
call fcn.00402a76
add esp, 0xc
cmp eax, 1
jge 0x403ef5
push 1
push str.Error:_no_known_VMs.__check_for_corrupt_jvm.cfg_file_
call fcn.0040346b
pop ecx
pop ecx
push 1
jmp 0x403f5b
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004023ac
mov ebx, dword [ebp + 0x18]
push ebx
push dword [ebp + 0x10]
mov edi, eax
mov dword [ebp - 4], edi
mov byte [ebx], 0
call fcn.00403161
add esp, 0x14
test al, al
jne 0x403f61
push edi
call sub.MSVCR71.dll_strlen
push ebx
mov edi, eax
call sub.MSVCR71.dll_strlen
mov esi, str.Error:_no___s_JVM_at___s.
push esi
add edi, eax
call sub.MSVCR71.dll_strlen
add edi, eax
push edi
call sub.jli.dll_JLI_MemAlloc
push ebx
push dword [ebp - 4]
mov edi, eax
push esi
push edi
call dword [sym.imp.MSVCR71.dll_sprintf]
push 1
push edi
call fcn.0040346b
add esp, 0x28
push 4
call dword [sym.imp.MSVCR71.dll_exit]
pop edi
pop ebx
leave
ret
Function at 0x4059fc
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 0x405a62
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.00404114
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402b24
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405a4c
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405a69
lea eax, [ebp - 0x10]
call fcn.00403ea4
ret

Function at 0x40aa4c
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 0x40aa85
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403f94
jmp 0x40aa8e
mov eax, ebx
mov edx, esi
call fcn.00403ef8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40aa98
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 0x40aab9
mov al, byte [esp]
jmp 0x40aabb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b140
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40afb8
mov eax, dword [0x45e7e0]
cmp byte [eax], 0
je 0x40b1bc
mov eax, dword [0x45e510]
call fcn.00402990
call fcn.00402834
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.004082c0
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 0x40b204
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b1f2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x45e4a0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45f664]
call fcn.00404f10
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