joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000dd47
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x10d0]
mov eax, 0x1150
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x10cc], eax
mov eax, dword [ebp + 0x10d8]
push ebx
push esi
push edi
mov esi, 0x7ff
xor edi, edi
push esi
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x8cd]
push edi
push eax
mov dword [ebp - 0x78], edi
mov byte [ebp + 0x8cc], 0
call fcn.1001d760
push esi
lea eax, [ebp + 0xcd]
push edi
push eax
mov byte [ebp + 0xcc], 0
call fcn.1001d760
inc esi
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [ebp + 0x8cc]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.1001fa50
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
add esp, 0x24
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x8cc]
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call edi
test eax, eax
je 0x1000dde3
xor eax, eax
jmp 0x1000decd
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0xcc]
push eax
push 0
push 0
push 0x10039f14
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
test eax, eax
je 0x1000de0f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1000dddc
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0xcc]
push eax
lea eax, [ebp + 0x8cc]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x8cc]
push eax
push ebx
call edi
test eax, eax
jne 0x1000dddc
mov ebx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0
push 0
push 0x10039f50
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
test eax, eax
jne 0x1000de07
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x1000de72
sub eax, esi
cmp byte [eax + ebx - 1], 0x5c
je 0x1000de94
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000de85
mov esi, 0x10039f64
movsw word es:[edi], word [esi]
lea edi, [ebx - 1]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x1000de97
mov esi, str.extensions
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x74]
push eax
push ebx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.kernel32.dll_FindFirstFileA]
cmp eax, 0xffffffff
jne 0x1000dee5
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
je 0x1000dddc
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10cc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x10d0
leave
ret
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [ebp - 0x74], 0x10
jmp 0x1000dec4
Function at 0x1000dfba
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
lea ebp, [esp - 0x10c4]
mov eax, 0x1144
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x10c0], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10cc]
push 0x140
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.1001d760
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
lea eax, [ebp + 0xc0]
push str._s.
push eax
call esi
add esp, 0x18
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0xc0]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x1000e0d9
lea eax, [ebp - 0x54]
push 0x10039f94
push eax
call fcn.1001fa50
pop ecx
pop ecx
test eax, eax
je 0x1000e0a5
lea eax, [ebp - 0x54]
push 0x10039f98
push eax
call fcn.1001fa50
pop ecx
pop ecx
test eax, eax
je 0x1000e0a5
lea eax, [ebp - 0x54]
push eax
push edi
lea eax, [ebp + 0x8c0]
push 0x10039f9c
push eax
call esi
mov eax, dword [ebp - 0x80]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea eax, [ebp + 0x8c0]
push eax
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
test byte [ebp - 0x80], 0x10
lea eax, [ebp + 0x8c0]
push eax
jne 0x1000e09f
call dword [sym.imp.kernel32.dll_DeleteFileA]
test eax, eax
jne 0x1000e0a5
push eax
lea eax, [ebp + 0x8c0]
push eax
call fcn.10009eaf
pop ecx
jmp 0x1000e0a4
call fcn.1000dfba
pop ecx
lea eax, [ebp - 0x80]
push eax
push ebx
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x1000e026
push ebx
call dword [sym.imp.kernel32.dll_FindClose]
push edi
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
mov esi, eax
test esi, esi
jne 0x1000e0d5
push eax
push edi
call fcn.10009eaf
pop ecx
pop ecx
mov eax, esi
jmp 0x1000e0dc
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x10c0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x10c4
leave
ret

Function at 0x100114ad
Capabilities:
Hide graphical window

Disassembly:
push esi
test ecx, ecx
je 0x100114b7
lea esi, [ecx - 0x80]
jmp 0x100114b9
xor esi, esi
lea eax, [esi + 0x8c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x18]
mov esi, dword [esi + 0x58]
test esi, esi
je 0x100114d5
push 0
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x10014572
Capabilities:
Create process on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8f4]
sub esp, 0x974
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x8f0], eax
push ebx
mov ebx, dword [ebp + 0x914]
push esi
mov esi, dword [ebp + 0x8fc]
push edi
mov edi, 0x400
test ebx, ebx
jne 0x100145c4
push edi
lea eax, [ebp - 0x14]
push eax
push 1
push esi
call fcn.1001fa50
add esp, 0x10
test eax, eax
je 0x100145c4
lea eax, [ebp - 0x14]
push eax
push str._s_ssvagent.exe
jmp 0x100145da
test esi, esi
jne 0x10014712
test ebx, ebx
je 0x10014712
push ebx
push str._s_bin_ssvagent.exe
lea eax, [ebp + 0x3ec]
push edi
push eax
call fcn.1001fa50
add esp, 0x10
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp + 0x3ec]
push eax
call fcn.1001fa50
pop ecx
pop ecx
test eax, eax
jne 0x10014712
xor edi, edi
mov byte [ebp + 0x7ec], al
mov esi, 0x104
lea eax, [ebp + 0x7ec]
cmp dword [ebp + 0x900], edi
je 0x10014626
push str.__new
jmp 0x1001462b
push str.__old
push esi
push eax
call fcn.1001fa50
add esp, 0xc
cmp dword [ebp + 0x904], edi
jne 0x10014645
cmp dword [ebp + 0x910], edi
je 0x1001465a
push str.__high
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1001fa50
add esp, 0xc
cmp dword [ebp + 0x90c], edi
je 0x10014677
push str.__settreatas
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1001fa50
add esp, 0xc
cmp dword [ebp + 0x910], edi
je 0x10014694
push str.__regdeploy
lea eax, [ebp + 0x7ec]
push esi
push eax
call fcn.1001fa50
add esp, 0xc
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x80]
push edi
push eax
call fcn.1001d760
add esp, 0xc
lea eax, [ebp + 0x7ec]
mov dword [ebp - 0x80], esi
mov dword [ebp - 0x6c], eax
cmp dword [ebp + 0x904], edi
je 0x100146c9
call fcn.1001fa50
test eax, eax
je 0x100146c9
mov dword [ebp - 0x74], str.runas
cmp dword [ebp + 0x908], edi
je 0x100146d8
mov dword [ebp - 0x7c], 0x40
lea eax, [ebp + 0x3ec]
mov dword [ebp - 0x70], eax
xor esi, esi
lea eax, [ebp - 0x80]
inc esi
push eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x10014712
cmp dword [ebp - 0x48], edi
je 0x1001470e
push 0xffffffffffffffff
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
push dword [ebp - 0x48]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov eax, esi
jmp 0x10014714
xor eax, eax
mov ecx, dword [ebp + 0x8f0]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x8f4
leave
ret
Function at 0x10014829
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x8d0]
sub esp, 0x950
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x8cc], eax
mov eax, dword [ebp + 0x8d8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3ff
mov dword [ebp - 0x80], eax
lea eax, [ebp + 0x4cd]
push ebx
push eax
mov byte [ebp + 0x4cc], bl
call fcn.1001d760
add esp, 0xc
mov dword [ebp - 0x78], ebx
mov edi, 0x10047480
mov esi, 0x400
cmp dword [ebp - 0x78], ebx
jne 0x1001494b
push dword [ebp - 0x80]
lea eax, [ebp + 0xcc]
push esi
push eax
mov byte [ebp + 0xcc], bl
call fcn.1001fa50
push 0x1003b230
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.1001fa50
push dword [edi]
lea eax, [ebp + 0xcc]
push esi
push eax
call fcn.1001fa50
add esp, 0x24
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp + 0xcc]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x7c], eax
cmp eax, 0xffffffff
je 0x1001493c
push dword [ebp - 0x80]
lea eax, [ebp + 0x4cc]
push esi
push eax
mov byte [ebp + 0x4cc], bl
call fcn.1001fa50
push 0x1003b234
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.1001fa50
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp + 0x4cc]
push esi
push eax
call fcn.1001fa50
lea eax, [ebp + 0x4cc]
push eax
call fcn.10019988
add esp, 0x28
test eax, eax
je 0x10014935
lea eax, [ebp - 0x74]
push eax
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x100148d6
jmp 0x1001493c
mov dword [ebp - 0x78], 1
add edi, 4
cmp edi, 0x1004748c
jl 0x1001487a
push dword [ebp - 0x7c]
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp + 0x8cc]
mov eax, dword [ebp - 0x78]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x8d0
leave
ret
Function at 0x1001496f
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x944]
sub esp, 0x944
push 0xfffffffffffffffe
push 0x10042dc8
push 0x1001e2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x10047578]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x940], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x94c]
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 0x20], edi
mov byte [ebp + 0x540], 0
push 0x3ff
push edi
lea eax, [ebp + 0x541]
push eax
call fcn.1001d760
add esp, 0xc
mov dword [ebp - 4], edi
mov dword [ebp - 0x24], edi
mov esi, 0x400
cmp dword [ebp - 0x24], 3
jge 0x10014b1f
mov byte [ebp + 0x140], 0
push dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.1001fa50
push 0x1003b238
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.1001fa50
mov eax, dword [ebp - 0x24]
push dword [eax*4 + 0x10047480]
push esi
lea eax, [ebp + 0x140]
push eax
call fcn.1001fa50
add esp, 0x24
lea eax, [ebp]
push eax
lea eax, [ebp + 0x140]
push eax
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x10014af8
mov byte [ebp + 0x540], 0
push dword [ebp - 0x1c]
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.1001fa50
push 0x1003b23c
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.1001fa50
lea eax, [ebp + 0x2c]
push eax
push esi
lea eax, [ebp + 0x540]
push eax
call fcn.1001fa50
lea eax, [ebp + 0x540]
push eax
call fcn.10019988
add esp, 0x28
test eax, eax
jne 0x10014ae3
push 0x404
call fcn.1001fa50
pop ecx
mov ebx, eax
test ebx, ebx
jne 0x10014ac4
push 0xfffffffffffffffe
lea eax, [ebp - 0x10]
push eax
push 0x10047578
call fcn.1001f000
add esp, 0xc
xor eax, eax
jmp 0x10014b2e
mov byte [ebx], 0
lea eax, [ebp + 0x540]
push eax
push esi
push ebx
call fcn.1001fa50
add esp, 0xc
mov dword [ebx + 0x400], edi
mov edi, ebx
mov dword [ebp - 0x20], edi
lea eax, [ebp]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x10014a4f
test edi, edi
je 0x10014b17
push edi
call dword [sym.imp.kernel32.dll_DeleteFileA]
mov ebx, dword [edi + 0x400]
push edi
call fcn.1001fa50
pop ecx
mov edi, ebx
mov dword [ebp - 0x20], edi
jmp 0x10014af8
inc dword [ebp - 0x24]
jmp 0x100149e5
mov dword [ebp - 4], 0xfffffffe
call fcn.10014b54
xor eax, eax
inc eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x940]
xor ecx, ebp
call fcn.1001d742
add ebp, 0x944
leave
ret
Function at 0x10014d87
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x3a0]
sub esp, 0x420
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x39c], eax
push ebx
xor ebx, ebx
push 0x3ff
lea eax, [ebp - 0x63]
push ebx
push eax
mov dword [ebp - 0x68], ebx
mov byte [ebp - 0x64], bl
call fcn.1001d760
add esp, 0xc
push 0x20019
push 0x1003b140
push SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x78], ebx
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
call fcn.1001fa50
lea ecx, [ebp - 0x74]
test eax, eax
je 0x10014dff
call fcn.1000135a
lea ecx, [ebp - 0x80]
call fcn.1000135a
jmp 0x10014e8a
push 0x2001f
push str.Classes
push dword [ebp - 0x80]
call fcn.1001fa50
test eax, eax
je 0x10014e1a
lea ecx, [ebp - 0x74]
jmp 0x10014ded
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, 0x400
push esi
lea eax, [ebp - 0x64]
push eax
push ebx
jmp 0x10014e6f
push 0xa
lea eax, [ebp - 0x64]
push str.JavaPlugin
push eax
call fcn.1001fa50
add esp, 0xc
test eax, eax
jne 0x10014e56
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x74]
call fcn.1000c26f
test eax, eax
je 0x10014e59
inc dword [ebp - 0x68]
push esi
lea eax, [ebp - 0x64]
push ebx
push eax
call fcn.1001d760
add esp, 0xc
push esi
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x68]
push dword [ebp - 0x74]
call edi
test eax, eax
je 0x10014e2f
lea ecx, [ebp - 0x74]
call fcn.1000135a
lea ecx, [ebp - 0x80]
call fcn.1000135a
pop edi
pop esi
mov ecx, dword [ebp + 0x39c]
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x3a0
leave
ret
Function at 0x100165f3
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x394]
sub esp, 0x414
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x390], eax
push esi
lea eax, [ebp - 0x78]
push eax
push 0x20019
xor esi, esi
push esi
push 0x1003b240
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100166f3
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x7c], esi
push esi
jmp 0x100166d5
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x74], esi
jbe 0x100166c3
cmp byte [ebp + eax - 0x70], 0x2e
jne 0x10016665
inc ecx
cmp ecx, 1
jg 0x10016670
inc eax
cmp eax, dword [ebp - 0x74]
jb 0x10016658
cmp ecx, 1
jle 0x100166c3
push 0x1003b26c
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.kernel32.dll_lstrcmpiA]
test eax, eax
js 0x100166c3
lea eax, [ebp - 0x70]
push eax
call fcn.10019c82
pop ecx
test eax, eax
je 0x100166c3
mov eax, dword [ebp - 0x74]
inc eax
push eax
call fcn.1001fa50
lea ecx, [ebp - 0x70]
push ecx
mov ecx, dword [ebp - 0x74]
push 0x1003b274
inc ecx
push ecx
push eax
mov dword [ebp - 0x80], eax
call fcn.1001fa50
add esp, 0x14
lea eax, [ebp - 0x80]
push eax
mov ecx, 0x10048a28
call fcn.10017253
inc dword [ebp - 0x7c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x7c]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], 0x400
call edi
test eax, eax
je 0x1001664f
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov ecx, dword [ebp + 0x390]
xor ecx, ebp
pop esi
call fcn.1001d742
add ebp, 0x394
leave
ret
Function at 0x10018737
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0x3d8]
sub esp, 0x458
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x3d4], eax
mov eax, dword [ebp + 0x3e4]
push ebx
push esi
mov esi, dword [ebp + 0x3e0]
push edi
push esi
mov dword [ebp - 0x78], eax
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [ebp - 0x74], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
xor ebx, ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
push ebx
push ebx
push ebx
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push esi
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
push 0x5a
push esi
fstp dword [ebp - 0x70]
call edi
mov dword [ebp - 0x6c], eax
fild dword [ebp - 0x6c]
fstp dword [ebp - 0x6c]
fld dword [ebp - 0x70]
fmul qword [0x10038a48]
fld qword [0x10038a40]
fdiv st(1), st(0)
fxch st(1)
call fcn.1001d980
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x3e8]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.1001d980
mov dword [ebp - 0x7c], eax
push 1
lea eax, [ebp - 0x80]
push eax
push esi
call dword [sym.imp.GDI32.dll_DPtoLP]
fild dword [ebp - 0x7c]
fabs
fdiv qword [0x10038a38]
fadd qword [0x10038a30]
call fcn.1001d980
neg eax
cmp dword [ebp + 0x3ec], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x3f0]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
mov dword [ebp - 0x58], eax
push 0x400
lea eax, [ebp - 0x2c]
push eax
push 0x1002
push 0x800
call dword [sym.imp.kernel32.dll_GetLocaleInfoA]
push 5
lea eax, [ebp - 0x2c]
push str.Japan
push eax
call fcn.1001fa50
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x10018881
push dword [ebp - 0x78]
jmp 0x10018886
push 0x1003bbc8
push 0x20
push eax
call fcn.1001fa50
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0x3d4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x3d8
leave
ret 0x14

Function at 0x10019b7a
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x10019b87
xor eax, eax
pop ebp
ret
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.kernel32.dll_CreateProcessA]
pop ebp
ret
Function at 0x10019c82
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1794]
mov eax, 0x1814
call fcn.1001e5c0
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x1790], eax
push ebx
push esi
mov esi, dword [ebp + 0x179c]
push edi
xor ebx, ebx
mov edi, 0x7ff
push edi
lea eax, [ebp - 0x6f]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
mov byte [ebp - 0x70], bl
call fcn.1001d760
push esi
push 0x1003c4fc
push 0x1003c528
lea esi, [edi + 1]
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.1001fa50
add esp, 0x20
lea eax, [ebp - 0x78]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x70]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10019de0
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x790]
push eax
push ebx
push ebx
push 0x1003c530
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x10019de0
push edi
lea eax, [ebp + 0xf91]
push ebx
push eax
mov byte [ebp + 0xf90], bl
call fcn.1001d760
push str.binjava.exe
lea eax, [ebp + 0x790]
push eax
push 0x1003c54c
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1001fa50
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call edi
test eax, eax
je 0x10019de0
push str.binclientjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x1003c568
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1001fa50
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
mov dword [ebp - 0x74], eax
push str.bin_serverjvm.dll
lea eax, [ebp + 0x790]
push eax
push 0x1003c584
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.1001fa50
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x10019dd9
cmp eax, ebx
je 0x10019de0
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0x1790]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x1794
leave
ret
Function at 0x10019e85
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x78c]
sub esp, 0x80c
mov eax, dword [0x10047578]
xor eax, ebp
mov dword [ebp + 0x788], eax
push ebx
mov ebx, dword [ebp + 0x798]
push esi
mov esi, dword [ebp + 0x79c]
push edi
mov edi, dword [ebp + 0x794]
push 0x3ff
lea eax, [ebp + 0x389]
push 0
push eax
mov byte [ebp + 0x388], 0
call fcn.1001d760
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
mov edi, 0x400
lea eax, [ebp + 0x388]
push edi
push eax
call fcn.1001fa50
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x388]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x10019f1d
xor ecx, ecx
cmp eax, 2
sete cl
mov eax, ecx
jmp 0x10019f5f
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x1003bcca
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
push dword [ebp - 0x7c]
test eax, eax
je 0x10019f47
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10019f5f
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x78]
push eax
push ebx
call fcn.1001fa50
neg eax
pop ecx
sbb eax, eax
pop ecx
neg eax
mov ecx, dword [ebp + 0x788]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1001d742
add ebp, 0x78c
leave
ret

Function at 0x1001a154
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x1001a175
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x1001a175
inc esi
mov eax, esi
pop esi
ret