joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10029dfe
Capabilities:
Delete registry value

Disassembly:
push 0x28
mov eax, 0x1006a9a4
call fcn.1003b136
xor esi, esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
mov edi, 0x20019
mov byte [ebp - 4], 1
push edi
push 0x10088404
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
call fcn.1001b2cc
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10029f13
push edi
push 0x100884b8
push dword [ebp - 0x28]
lea ecx, [ebp - 0x1c]
call fcn.1001b2cc
test eax, eax
jne 0x10029ef8
lea eax, [ebp - 0x1c]
push 0x100884cc
push eax
call fcn.10020250
pop ecx
pop ecx
test eax, eax
je 0x10029ed9
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
push 0x20006
push 0x100884e8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.1001b2cc
mov edi, dword [ebp - 0x34]
test eax, eax
je 0x10029eaf
push str.DeleteEmptyDeploymentKeysInHLKM:_failed_to_open_JRE_key
call fcn.100300e1
jmp 0x10029ed1
push str.BrowserJavaVersion
push edi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push ecx
mov ecx, esp
mov esi, eax
push str.DeleteEmptyDeploymentKeysInHLKM:_Remove_BrowserJavaVersion_value
call fcn.1000154d
push esi
call fcn.10029f24
pop ecx
pop ecx
test edi, edi
je 0x10029ed9
push edi
call ebx
lea eax, [ebp - 0x1c]
push str.Java_Web_Start
push eax
call fcn.10020250
lea eax, [ebp - 0x1c]
push str.Java_Web_Start_Caps
push eax
call fcn.10020250
add esp, 0x10
lea eax, [ebp - 0x28]
push 0x100886a4
push eax
call fcn.10020250
cmp dword [ebp - 0x1c], 0
pop ecx
pop ecx
je 0x10029f13
push dword [ebp - 0x1c]
call ebx
cmp dword [ebp - 0x28], 0
je 0x10029f1e
push dword [ebp - 0x28]
call ebx
call fcn.1003b113
ret

Function at 0x1002a9d4
Capabilities:
Create directory

Disassembly:
sub esp, 0x414
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x410], eax
mov eax, dword [esp + 0x418]
push ebx
push ebp
push edi
push eax
mov ebp, 0x104
lea eax, [esp + 0x10]
push ebp
push eax
call fcn.1004a3c0
mov ax, word [esp + 0x18]
lea ecx, [esp + 0x18]
add esp, 0xc
push 0x2f
pop ebx
test ax, ax
je 0x1002aa30
movzx edx, ax
cmp dx, 0x5c
jne 0x1002aa23
mov word [ecx], bx
add ecx, 2
movzx eax, word [ecx]
mov edx, eax
test ax, ax
jne 0x1002aa1a
lea eax, [esp + 0xc]
push ebx
push eax
call fcn.1003f8ab
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1002aa96
push esi
lea eax, [esp + 0x10]
mov esi, edi
sub esi, eax
sar esi, 1
push esi
push eax
lea eax, [esp + 0x220]
push ebp
push eax
call fcn.100412dd
add esi, esi
add esp, 0x10
cmp esi, 0x208
jae 0x1002aaae
xor eax, eax
mov word [esp + esi + 0x218], ax
lea eax, [esp + 0x218]
push eax
call fcn.1004e663
lea eax, [edi + 2]
push ebx
push eax
call fcn.1003f8ab
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1002aa44
pop esi
mov ecx, dword [esp + 0x41c]
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x414
ret
call fcn.1003b8ee
int3
Function at 0x1002ac36
Capabilities:
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1bc]
push esi
mov esi, dword [ebp + 0x1c0]
push 0x1008b460
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.1004b341
add esp, 0xc
test eax, eax
jne 0x1002adbe
push esi
call fcn.1004e658
pop ecx
test eax, eax
jne 0x1002adbe
push edi
push dword [ebp - 0x7c]
xor edi, edi
lea eax, [ebp - 0x78]
inc edi
push edi
push 0x1e
push eax
call fcn.1004c4a6
add esp, 0x10
cmp eax, edi
jne 0x1002adb4
push ebx
push 2
pop ebx
cmp dword [ebp - 0x78], 0x4034b50
jne 0x1002adb3
cmp word [ebp - 0x70], 0
jne 0x1002adb3
push dword [ebp - 0x7c]
movzx eax, word [ebp - 0x5e]
movzx esi, word [ebp - 0x5e]
push eax
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.1004c4a6
add esp, 0x10
cmp eax, esi
jne 0x1002adb3
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x1002addf
xor ecx, ecx
mov word [ebp + eax - 0x58], cx
lea eax, [ebp - 0x58]
push eax
call fcn.1002a9d4
mov ax, word [ebp - 0x5c]
pop ecx
test ax, ax
je 0x1002ad22
push edi
movzx eax, ax
push eax
push dword [ebp - 0x7c]
call fcn.1004c8be
add esp, 0xc
test eax, eax
jne 0x1002adb3
movzx eax, word [ebp - 0x5e]
cmp word [ebp + eax*2 - 0x5a], 0x2f
je 0x1002ad99
push 0x1008b468
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.1004b341
add esp, 0xc
test eax, eax
jne 0x1002adb3
mov eax, dword [ebp - 0x62]
xor ecx, ecx
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003b394
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x62]
push edi
push esi
call fcn.1004c4a6
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x1002add4
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push edi
push esi
call fcn.1004cbbd
add esp, 0x10
cmp eax, dword [ebp - 0x62]
jne 0x1002add4
push ebx
push esi
call fcn.1003b0f2
push dword [ebp - 0x80]
call fcn.1004bd7f
add esp, 0xc
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push edi
push 0x1e
push eax
call fcn.1004c4a6
add esp, 0x10
cmp eax, edi
je 0x1002aca9
pop ebx
push dword [ebp - 0x7c]
call fcn.1004bd7f
pop ecx
pop edi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
pop esi
call fcn.1003b105
add ebp, 0x1b4
leave
ret
push ebx
push esi
call fcn.1003b0f2
pop ecx
pop ecx
jmp 0x1002adb3
call fcn.1003b8ee
int3
Function at 0x1002ade5
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x225c
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x2258], eax
push ebx
mov ebx, dword [esp + 0x2264]
lea eax, [esp + 0x25c]
push ebp
push esi
push edi
mov esi, 0x1000
xor edi, edi
push esi
push edi
push eax
mov dword [esp + 0x1c], edi
call fcn.1003d660
push esi
lea eax, [esp + 0x1278]
push edi
push eax
call fcn.1003d660
mov eax, 0x800
push str.SOFTWAREMozillaMozilla_Firefox
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x288]
push eax
call fcn.1004a3c0
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
lea eax, [esp + 0x34]
add esp, 0x24
push eax
lea eax, [esp + 0x26c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1002ae9c
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x126c]
push eax
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 0x1008b4b4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1002aeb7
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [esp + 0x2268]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x225c
ret
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
lea eax, [esp + 0x1268]
push eax
lea eax, [esp + 0x26c]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x26c]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x1002ae9c
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x1008b4d4
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1002af21
call esi
jmp 0x1002ae9c
call esi
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x1002af28
sub ecx, edx
sar ecx, 1
cmp word [ebx + ecx*2 - 2], 0x5c
je 0x1002af55
lea edi, [ebx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bp
jne 0x1002af42
mov eax, dword [0x1008b54c]
mov dword [edi], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x1002af58
push 5
pop ecx
mov esi, 0x1008b550
lea eax, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
push eax
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x1002af99
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1002ae9c
xor eax, eax
inc eax
jmp 0x1002ae9e
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
shr eax, 4
and eax, 1
jmp 0x1002ae9e
Function at 0x1002afaf
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2254
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x2254]
push 0x250
push 0
push eax
call fcn.1003d660
push edi
lea eax, [ebp - 0x2004]
push str._s.
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x2254]
push eax
lea eax, [ebp - 0x2004]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002b126
mov ecx, 0x1008b5c4
lea eax, [ebp - 0x2228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002b044
test dx, dx
je 0x1002b040
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002b044
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002b01e
xor eax, eax
jmp 0x1002b049
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002b0ef
mov ecx, 0x1008b5c8
lea eax, [ebp - 0x2228]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002b082
test dx, dx
je 0x1002b07e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002b082
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002b05c
xor eax, eax
jmp 0x1002b087
sbb eax, eax
or eax, 1
test eax, eax
je 0x1002b0ef
lea eax, [ebp - 0x2228]
push eax
push edi
lea eax, [ebp - 0x1004]
push 0x1008b5d0
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 0x2254]
add esp, 0x10
and eax, 0xfffffffe
push eax
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test byte [ebp - 0x2254], 0x10
lea eax, [ebp - 0x1004]
push eax
jne 0x1002b0e9
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1002b0ef
push eax
lea eax, [ebp - 0x1004]
push eax
call fcn.10019e05
pop ecx
jmp 0x1002b0ee
call fcn.1002afaf
pop ecx
lea eax, [ebp - 0x2254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1002b013
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, eax
test esi, esi
jne 0x1002b122
push eax
push edi
call fcn.10019e05
pop ecx
pop ecx
mov eax, esi
jmp 0x1002b129
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1003b105
leave
ret
Function at 0x1002c02b
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10073e04]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10073e28]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10073e28]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x10073e40]
divsd xmm0, qword [0x10073e10]
addsd xmm0, qword [0x10073e08]
cvttsd2si eax, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x1090], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
setne byte [esp + 0x35]
mov dword [esp + 0x2c], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
mov word [esp + 0x3a], ax
mov eax, dword [esp + 0x1094]
neg eax
sbb eax, eax
and eax, 0x2bc
mov dword [esp + 0x30], eax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 5
lea eax, [esp + 0x7c]
push 0x1008e4c8
push eax
call fcn.1004a424
test eax, eax
mov ecx, 0x1008e4d4
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.1004a3c0
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1003b105
add esp, 0x1074
ret 0x14
Function at 0x1002cab6
Capabilities:
Parse url

Disassembly:
mov eax, 0x4040
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x403c], eax
push ebx
push ebp
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, ecx
push esi
push edi
xor eax, eax
push 0xd7
push dword [ebx + 4]
mov dword [ebx + 0x48], eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x74], eax
call ebp
push dword [ebx + 0x28]
mov edi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call edi
push 0x3c
pop esi
push esi
lea eax, [esp + 0x14]
push 0
push eax
call fcn.1003d660
mov ecx, 0x800
mov dword [esp + 0x1c], esi
lea eax, [esp + 0x2058]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x30], ecx
add esp, 0xc
mov ecx, dword [ebx + 0x2c]
xor esi, esi
mov dword [esp + 0x14], eax
lea eax, [esp + 0x104c]
mov dword [esp + 0x20], eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x1002cb43
lea eax, [esp + 0x10]
sub ecx, edx
push eax
push esi
sar ecx, 1
push ecx
push dword [ebx + 0x2c]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
lea eax, [esp + 0x104c]
push eax
lea eax, [esp + 0x2050]
push eax
push str._s:___s
lea eax, [esp + 0x3058]
push 0x800
push eax
call fcn.10006c5f
add esp, 0x14
push 0xd2
push dword [ebx + 4]
call ebp
lea ecx, [esp + 0x304c]
push ecx
push eax
call edi
push 0xd0
push dword [ebx + 4]
call ebp
push dword [ebx + 0x30]
mov esi, eax
lea eax, [esp + 0x50]
push 0x800
push eax
call fcn.10006c5f
add esp, 0xc
lea eax, [esp + 0x4c]
push eax
push esi
call edi
push 0xd3
push dword [ebx + 4]
call ebp
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
mov esi, eax
push 0x800
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x40]
push dword [0x100c12a4]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xd4
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x44]
push dword [0x100c12a4]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xd5
push dword [ebx + 4]
call ebp
mov esi, eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x100
push eax
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0xcb
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x38]
push dword [0x100c12a4]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0xcc
push dword [ebx + 4]
call ebp
push 0x800
mov esi, eax
lea eax, [esp + 0x50]
push eax
push dword [ebx + 0x3c]
push dword [0x100c12a4]
call edi
lea eax, [esp + 0x4c]
push eax
push esi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, dword [esp + 0x404c]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
inc eax
call fcn.1003b105
add esp, 0x4040
ret 0x10
Function at 0x1002cf5b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0xd5
cmp word [ebp + 0xc], ax
jne 0x1002cf81
xor edx, edx
lea eax, [ebp + 0xc]
push eax
push edx
push ecx
push 0x1002cfae
push edx
push edx
mov dword [ebp + 0xc], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
xor eax, eax
pop ebp
ret 0x10

Function at 0x1002cfc4
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x1070], eax
push esi
mov esi, dword [esp + 0x107c]
push edi
mov edi, dword [esp + 0x1084]
push esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.GDI32.dll_SaveDC]
push 2
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SetGraphicsMode]
push 1
push 0
push esi
call dword [sym.imp.GDI32.dll_ModifyWorldTransform]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetViewportOrgEx]
xor eax, eax
push eax
push eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push 0x58
push esi
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
call esi
push 0x5a
push dword [esp + 0x1c]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x1c], xmm0
call esi
movss xmm0, dword [esp + 0x14]
mulss xmm0, dword [0x10073e04]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x10073e28]
cvttss2si eax, xmm0
mov dword [esp + 0xc], eax
imul eax, dword [esp + 0x108c], 0xa
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm2
divss xmm0, dword [0x10073e28]
cvttss2si eax, xmm0
mov dword [esp + 0x10], eax
lea eax, [esp + 0xc]
push eax
push dword [esp + 0x20]
call dword [sym.imp.GDI32.dll_DPtoLP]
movd xmm0, dword [esp + 0xc]
mov ecx, 0x800
cvtdq2pd xmm0, xmm0
push ecx
andps xmm0, xmmword [0x10073e40]
divsd xmm0, qword [0x10073e10]
addsd xmm0, qword [0x10073e08]
cvttsd2si eax, xmm0
xorps xmm0, xmm0
neg eax
mov dword [esp + 0x20], eax
xor eax, eax
cmp dword [esp + 0x1090], eax
mov byte [esp + 0x34], al
mov dword [esp + 0x36], eax
setne byte [esp + 0x35]
mov word [esp + 0x3a], ax
lea eax, [esp + 0x7c]
push eax
push 0x1002
push ecx
movups xmmword [esp + 0x30], xmm0
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
push 5
push str.Japan
lea eax, [esp + 0x80]
push eax
call fcn.1004a424
test eax, eax
mov ecx, 0x10090154
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.1004a3c0
add esp, 0x18
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [esp + 0x10]
mov esi, eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [esp + 0x1078]
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.1003b105
add esp, 0x1074
ret 0x10
Function at 0x1002e5d5
Capabilities:
Get memory capacity

Disassembly:
push esi
push 0x40
mov esi, ecx
push 0
push esi
call fcn.1003d660
add esp, 0xc
mov dword [esi], 0x40
push esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov eax, esi
pop esi
ret

Function at 0x1002e714
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x100be114]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x100c0cc0], 0
je 0x1002e73f
mov eax, dword [0x100c0cc4]
jmp 0x1002e784
push esi
push pe_nt_image_headers32
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.1003d660
add esp, 0xc
mov dword [ebp - 0x80], 0x114
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
xor eax, eax
inc eax
cmp dword [ebp - 0x70], 2
jne 0x1002e776
cmp dword [ebp - 0x7c], 6
jb 0x1002e776
mov esi, eax
mov dword [0x100c0cc0], eax
mov eax, esi
mov dword [0x100c0cc4], esi
pop esi
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.1003b105
add ebp, 0x98
leave
ret
Function at 0x1002e903
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1040
call fcn.1003b1e0
mov eax, dword [0x100be114]
xor eax, esp
mov dword [esp + 0x103c], eax
push ebx
push ebp
push esi
push edi
push 0x1000
xor ebx, ebx
lea eax, [esp + 0x50]
push ebx
push eax
call fcn.1003d660
add esp, 0xc
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x4c]
push 0x800
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x1002eab0
call fcn.1002e8ca
test eax, eax
lea eax, [esp + 0x4c]
push eax
je 0x1002ea33
lea ecx, [esp + 0x14]
call fcn.1000154d
push str._system32javaws.exe
lea ecx, [esp + 0x18]
call fcn.1000154d
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.10001683
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1002e998
call fcn.100016dc
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push 0x10097d0c
call edi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call esi
push str.Wow64RevertWow64FsRedirection
push 0x10097d40
mov ebp, eax
call edi
push eax
call esi
mov esi, dword [esp + 0x10]
mov edi, eax
test ebp, ebp
je 0x1002ea22
test edi, edi
je 0x1002ea22
lea eax, [esp + 0x18]
push eax
call ebp
test eax, eax
je 0x1002ea22
test esi, esi
je 0x1002e9e3
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.1004bc4f
pop ecx
pop ecx
push dword [esp + 0x18]
test eax, eax
jne 0x1002ea20
call edi
test esi, esi
je 0x1002ea8b
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002ea8b
mov ecx, esi
call fcn.10001703
push 0xc
push esi
call fcn.1003b0f2
pop ecx
pop ecx
jmp 0x1002ea8b
call edi
test esi, esi
je 0x1002eab0
mov ecx, esi
call fcn.100016dc
jmp 0x1002eab0
lea ecx, [esp + 0x18]
call fcn.1000154d
push str._sysWow64javaws.exe
lea ecx, [esp + 0x14]
call fcn.1000154d
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.10001683
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x1002ea65
call fcn.100016dc
mov esi, dword [esp + 0x14]
test esi, esi
je 0x1002ea6f
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.1004bc4f
pop ecx
pop ecx
test eax, eax
jne 0x1002ea90
test esi, esi
je 0x1002ea8b
mov ecx, esi
call fcn.100016dc
xor eax, eax
inc eax
jmp 0x1002eab2
test esi, esi
je 0x1002eab0
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1002eab0
mov ecx, esi
call fcn.10001703
push 0xc
push esi
call fcn.1003b0f2
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x104c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1003b105
add esp, 0x1040
ret

Function at 0x1002eacb
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push esi
push edi
push 9
pop esi
xor eax, eax
lea edi, [ebp - 0x24]
mov ecx, esi
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], si
pop edi
sete al
pop esi
leave
ret