joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10025a83
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x100709f1
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x100c]
xor esi, esi
xor eax, eax
mov dword [ebp - 0x2c], esi
push 0xffe
mov word [ebp], ax
lea eax, [ebp + 2]
push esi
push eax
mov dword [ebp - 4], esi
mov dword [ebp - 0x30], ebx
call fcn.1003c260
add esp, 0xc
push 0x10075dfa
mov ecx, ebx
call fcn.1000b23a
xor eax, eax
inc eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push str.GetLatestJavawsVersion__:
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x1c], 0x800
call fcn.10042f0f
pop ecx
cmp dword [ebp + 0x1010], esi
je 0x10025b30
mov edi, 0x20219
push str.___checking_32_bit
jmp 0x10025b3a
mov edi, 0x20119
push str.___checking_64_bit
call fcn.10042f0f
pop ecx
push edi
push 0x10077ae8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
call fcn.10042f0f
cmp eax, esi
je 0x10025b97
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.10042f0f
pop ecx
lea ecx, [ebp - 0x28]
call fcn.100159e6
lea ecx, [ebp - 0x28]
call fcn.100159e6
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x1004
leave
ret
lea eax, [ebp - 0x38]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x10025b62
push str.___Processing_key:
lea ecx, [ebp - 0x10]
call fcn.1000b23a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.100010b1
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.1000132e
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x10025bf6
call fcn.10001238
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x10]
cmp edi, esi
je 0x10025c01
mov eax, dword [edi]
jmp 0x10025c03
xor eax, eax
push eax
call fcn.10042f0f
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.10022208
add esp, 0xc
test eax, eax
jne 0x10025c53
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.10021ef5
pop ecx
pop ecx
test eax, eax
jne 0x10025c53
push 0x10077bb0
call fcn.10042f0f
lea eax, [ebp]
push eax
call fcn.10042f0f
pop ecx
xor eax, eax
pop ecx
mov word [ebp], ax
jmp 0x10025c7a
mov eax, dword [ebx]
cmp eax, esi
je 0x10025c5d
mov eax, dword [eax]
jmp 0x10025c5f
xor eax, eax
push eax
lea eax, [ebp]
push eax
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
jle 0x10025c7a
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.100012bc
inc dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x800
mov byte [ebp - 4], 1
cmp edi, esi
je 0x10025b97
mov ecx, edi
call fcn.10001238
mov dword [ebp - 0x10], esi
jmp 0x10025b97
Function at 0x100292a2
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1bc]
push esi
mov esi, dword [ebp + 0x1c0]
push 0x1007ee58
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10042f0f
add esp, 0xc
test eax, eax
jne 0x1002940b
push esi
call fcn.10042f0f
pop ecx
test eax, eax
jne 0x1002940b
push edi
xor edi, edi
inc edi
jmp 0x100293de
cmp dword [ebp - 0x78], 0x4034b50
jne 0x10029401
cmp word [ebp - 0x70], 0
jne 0x10029401
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.10042f0f
add esp, 0x10
cmp eax, esi
jne 0x10029401
xor eax, eax
mov word [ebp + esi*2 - 0x58], ax
lea eax, [ebp - 0x58]
push eax
call fcn.10042f0f
cmp word [ebp - 0x5c], 0
pop ecx
jbe 0x10029366
movzx eax, word [ebp - 0x5c]
push edi
push eax
push dword [ebp - 0x7c]
call fcn.10041526
add esp, 0xc
test eax, eax
jne 0x10029401
movzx eax, word [ebp - 0x5e]
cmp word [ebp + eax*2 - 0x5a], 0x2f
je 0x100293de
push 0x1007ee60
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10042f0f
add esp, 0xc
test eax, eax
jne 0x10029401
mov eax, dword [ebp - 0x62]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10042f0f
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x62]
push edi
push esi
call fcn.10042f0f
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x100293fa
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push edi
push esi
call fcn.1003e7a9
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x62]
jne 0x100293fb
call fcn.10042f0f
push dword [ebp - 0x80]
call fcn.1003e5de
pop ecx
pop ecx
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push edi
push 0x1e
push eax
call fcn.10042f0f
add esp, 0x10
cmp eax, edi
je 0x100292fc
jmp 0x10029401
push esi
call fcn.10042f0f
pop ecx
push dword [ebp - 0x7c]
call fcn.1003e5de
pop ecx
pop edi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
pop esi
call fcn.1003c09c
add ebp, 0x1b4
leave
ret
Function at 0x10029421
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x21e0]
mov eax, 0x2260
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x21dc], eax
mov eax, dword [ebp + 0x21e8]
push ebx
push esi
push edi
mov dword [ebp - 0x80], eax
xor eax, eax
mov esi, 0xffe
xor edi, edi
push esi
mov word [ebp + 0x11dc], ax
lea eax, [ebp + 0x11de]
push edi
push eax
mov dword [ebp - 0x78], edi
call fcn.1003c260
xor eax, eax
push esi
mov word [ebp + 0x1dc], ax
lea eax, [ebp + 0x1de]
push edi
push eax
call fcn.1003c260
mov esi, 0x800
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [ebp + 0x11dc]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.10042f0f
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
add esp, 0x24
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x11dc]
push eax
mov ebx, reloc.OLEAUT32.dll_SysReAllocString
push ebx
call edi
test eax, eax
je 0x100294c5
xor eax, eax
jmp 0x100295bf
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1dc]
push eax
push 0
push 0
push 0x1007eeac
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
test eax, eax
je 0x100294f1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100294be
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp + 0x1dc]
push eax
lea eax, [ebp + 0x11dc]
push str.SOFTWAREMozillaMozilla_Firefox_sMain
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp + 0x11dc]
push eax
push ebx
call edi
test eax, eax
jne 0x100294be
mov ebx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0
push 0
push 0x1007eecc
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
test eax, eax
jne 0x100294e9
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x10029554
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], 0x5c
je 0x10029580
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1002956e
mov esi, 0x1007ef44
movsd dword es:[edi], dword [esi]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10029583
push 5
pop ecx
mov esi, 0x1007ef48
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x74]
push eax
push ebx
movsw word es:[edi], word [esi]
call dword [sym.imp.kernel32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x100295d7
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x100294be
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x21dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0x21e0
leave
ret
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [ebp - 0x74], 0x10
jmp 0x100295b6
Function at 0x10029a27
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
mov eax, 0x1078
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0xff4], eax
mov eax, dword [ebp + 0x1004]
push ebx
push esi
mov esi, dword [ebp + 0x1000]
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 [0x10072e40]
fld qword [0x10072e38]
fdiv st(1), st(0)
fxch st(1)
call fcn.1003ca30
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1008]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.1003ca30
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 [0x10072e30]
fadd qword [0x10072e28]
call fcn.1003ca30
neg eax
cmp dword [ebp + 0x100c], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, dword [ebp + 0x1010]
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
mov eax, 0x800
push eax
lea ecx, [ebp - 0xc]
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
lea eax, [ebp - 0xc]
push 0x1007f1e0
push eax
call fcn.10042f0f
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x10029b72
push dword [ebp - 0x78]
jmp 0x10029b77
push 0x1007f1ec
push 0x20
push eax
call fcn.10042f0f
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0xff4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0xff8
leave
ret 0x14
Function at 0x1002debd
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
mov eax, 0x1078
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0xff4], eax
mov eax, dword [ebp + 0x1004]
push ebx
push esi
mov esi, dword [ebp + 0x1000]
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 [0x10072e40]
fld qword [0x10072e38]
fdiv st(1), st(0)
fxch st(1)
call fcn.1003ca30
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1008]
imul eax, eax, 0xa
mov dword [ebp - 0x70], eax
fild dword [ebp - 0x70]
fmul dword [ebp - 0x6c]
fdivrp st(1)
call fcn.1003ca30
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 [0x10072e30]
fadd qword [0x10072e28]
call fcn.1003ca30
neg eax
cmp dword [ebp + 0x100c], ebx
mov dword [ebp - 0x68], eax
setne al
mov byte [ebp - 0x53], al
mov eax, 0x800
push eax
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x54], bl
mov dword [ebp - 0x52], ebx
mov word [ebp - 0x4e], bx
push ecx
push 0x1002
push eax
call dword [sym.imp.kernel32.dll_GetLocaleInfoW]
push 5
lea eax, [ebp - 0xc]
push str.Japan
push eax
call fcn.10042f0f
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x1002dffb
push 0x1007fd48
jmp 0x1002dffe
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.10042f0f
add esp, 0xc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push dword [ebp - 0x74]
mov edi, eax
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
mov ecx, dword [ebp + 0xff4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0xff8
leave
ret 0x10
Function at 0x1002fdf9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1003c230
push 0xffffffffffffffff
push 0x100714a5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
call fcn.10042f0f
mov edi, eax
pop ecx
mov dword [ebp - 0x18], edi
xor esi, esi
mov dword [ebp - 4], esi
cmp edi, esi
je 0x1002fe5f
push ecx
mov dword [ebp - 0x10], esp
mov ecx, edi
mov dword [ebp - 0x10], esp
call fcn.10042f0f
mov dword [ebp - 0x18], edi
jmp 0x1002fe62
mov dword [ebp - 0x18], esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x10]
push eax
call fcn.1002fbd5
pop ecx
lea eax, [ebp - 0x20]
push eax
push 0x20019
push esi
push 0x10080418
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1002ffdf
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push esi
push dword [ebp - 0x20]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], 0x800
call ebx
cmp eax, esi
jne 0x1002ffd6
xor ecx, ecx
xor eax, eax
cmp dword [ebp - 0x14], esi
jbe 0x1002ffb0
cmp word [ebp + eax*2], 0x2e
jne 0x1002fede
inc ecx
cmp ecx, 1
jg 0x1002feed
inc eax
cmp eax, dword [ebp - 0x14]
jb 0x1002fed0
cmp ecx, 1
jle 0x1002ffb0
lea eax, [ebp]
push 0x1008034c
push eax
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
js 0x1002ffb0
lea eax, [ebp]
push eax
call fcn.10037a39
pop ecx
test al, al
je 0x1002ffb0
push 0x10
call fcn.10042f0f
pop ecx
mov ecx, eax
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x1002ff3a
push esi
lea eax, [ebp]
push eax
call fcn.1002f88d
mov edi, eax
jmp 0x1002ff3c
xor edi, edi
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1002a959
test al, al
je 0x1002ffb0
lea ecx, [ebp - 0x10]
call fcn.1000110a
test eax, eax
je 0x1002ffa4
mov eax, dword [edi + 8]
cmp eax, esi
je 0x1002ff62
mov ecx, dword [eax]
jmp 0x1002ff64
xor ecx, ecx
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x1002ff6f
mov eax, dword [eax]
jmp 0x1002ff71
xor eax, eax
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002ff97
cmp dx, si
je 0x1002ff93
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002ff97
add eax, 4
add ecx, 4
cmp dx, si
jne 0x1002ff71
xor eax, eax
jmp 0x1002ff9c
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0x1002ffa4
mov byte [edi + 0xc], 1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
push edi
push eax
call fcn.1002fdba
inc dword [ebp - 0x1c]
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
mov dword [ebp - 0x14], 0x800
push dword [ebp - 0x20]
call ebx
test eax, eax
je 0x1002fec3
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x10]
cmp ecx, esi
je 0x1002ffeb
call fcn.10001238
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x1004
leave
ret
Function at 0x100309b8
Capabilities:
Get memory capacity

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

Function at 0x10030b79
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x1009752c], 0
je 0x10030ba4
mov eax, dword [0x10097528]
jmp 0x10030be8
push 0x114
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.1003c260
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x80], 0x114
call dword [sym.imp.kernel32.dll_GetVersionExW]
xor ecx, ecx
inc ecx
cmp dword [ebp - 0x70], 2
jne 0x10030bdb
cmp dword [ebp - 0x7c], 6
jb 0x10030bdb
mov eax, ecx
jmp 0x10030bdd
xor eax, eax
mov dword [0x10097528], eax
mov dword [0x1009752c], ecx
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0x98
leave
ret

Function at 0x10030fc5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
jne 0x10030fd2
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_CreateProcessW]
pop ebp
ret

Function at 0x100312d8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0xf88], eax
push esi
mov esi, dword [ebp + 0xf9c]
push edi
mov edi, dword [ebp + 0xf94]
xor eax, eax
push 0x7fe
push eax
mov word [ebp + 0x788], ax
lea eax, [ebp + 0x78a]
push eax
call fcn.1003c260
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
lea eax, [ebp + 0x788]
push 0x400
push eax
call fcn.10042f0f
add esp, 0x1c
lea eax, [ebp - 0x7c]
push eax
push 0x20019
neg esi
push 0
lea eax, [ebp + 0x788]
sbb esi, esi
push eax
add esi, reloc.OLEAUT32.dll_SysReAllocString
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop edi
pop esi
test eax, eax
je 0x1003136d
xor ecx, ecx
cmp eax, 2
sete cl
jmp 0x100313dc
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x100817cc
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp - 0x7c]
test eax, eax
je 0x1003139b
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100313de
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0xf98]
lea ecx, [ebp - 0x78]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x100313d0
test dx, dx
je 0x100313cc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x100313d0
add eax, 4
add ecx, 4
test dx, dx
jne 0x100313aa
xor eax, eax
jmp 0x100313d5
sbb eax, eax
sbb eax, 0xffffffff
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
mov ecx, dword [ebp + 0xf88]
xor ecx, ebp
call fcn.1003c09c
add ebp, 0xf8c
leave
ret
Function at 0x100315e5
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10031606
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x100818e4
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x10031606
inc esi
mov eax, esi
pop esi
ret

Function at 0x100319af
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7bc]
sub esp, 0x83c
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0x7b8], eax
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x10081388
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x68], edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x60], edi
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x54], edi
mov dword [ebp - 0x50], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x5c], edi
call fcn.10042f0f
test eax, eax
je 0x10031a4d
lea ecx, [ebp - 0x74]
call fcn.100159e6
lea ecx, [ebp - 0x58]
call fcn.100159e6
lea ecx, [ebp - 0x68]
call fcn.100159e6
lea ecx, [ebp - 0x80]
call fcn.100159e6
xor eax, eax
mov ecx, dword [ebp + 0x7b8]
pop edi
xor ecx, ebp
pop esi
call fcn.1003c09c
add ebp, 0x7bc
leave
ret
push esi
push 0x1008139c
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.10042f0f
test eax, eax
jne 0x10031a14
push esi
push 0x100813b0
push dword [ebp - 0x68]
lea ecx, [ebp - 0x58]
call fcn.10042f0f
test eax, eax
je 0x10031a9b
lea ecx, [ebp - 0x74]
call fcn.100159e6
lea ecx, [ebp - 0x58]
call fcn.100159e6
lea ecx, [ebp - 0x68]
call fcn.100159e6
lea ecx, [ebp - 0x80]
call fcn.100159e6
mov eax, edi
jmp 0x10031a36
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.1003c260
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push esi
lea eax, [ebp - 0x48]
push eax
push edi
jmp 0x10031b0e
inc dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x7c4]
lea eax, [ebp - 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10031aef
cmp dx, di
je 0x10031aeb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10031aef
add eax, 4
add ecx, 4
cmp dx, di
jne 0x10031ac9
xor eax, eax
jmp 0x10031af4
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x48]
je 0x10031b19
push esi
push edi
push eax
call fcn.1003c260
add esp, 0xc
push esi
lea eax, [ebp - 0x48]
push eax
push dword [ebp - 0x4c]
push dword [ebp - 0x58]
call ebx
test eax, eax
je 0x10031abd
jmp 0x10031b50
push 0x20019
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
call fcn.10042f0f
test eax, eax
jne 0x10031b50
lea eax, [ebp - 0x4c]
push eax
push 0x100813cc
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x4c], edi
call fcn.10042f0f
test eax, eax
jne 0x10031b50
cmp dword [ebp - 0x4c], 1
sete al
mov dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x5c]
pop ebx
jmp 0x10031a77
Function at 0x10031fb7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfc0]
mov eax, 0x1040
call fcn.1003c230
mov eax, dword [0x10095dec]
xor eax, ebp
mov dword [ebp + 0xfbc], eax
push ebx
push esi
push edi
xor eax, eax
push 0xffe
push eax
mov word [ebp - 0x44], ax
lea eax, [ebp - 0x42]
push eax
call fcn.1003c260
and dword [ebp - 0x80], 0
add esp, 0xc
push 0x800
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x7fe
ja 0x10032121
call fcn.10042f0f
test eax, eax
lea eax, [ebp - 0x44]
push eax
je 0x100320cc
lea ecx, [ebp - 0x78]
call fcn.100010b1
push str._system32javaws.exe
lea ecx, [ebp - 0x7c]
call fcn.100010b1
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.1000132e
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x1003204e
call fcn.10001238
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push 0x100808f0
call esi
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call edi
push str.Wow64RevertWow64FsRedirection
push str.kernel32
mov ebx, eax
call esi
push eax
call edi
mov esi, dword [ebp - 0x78]
mov edi, eax
test ebx, ebx
je 0x10032116
test edi, edi
je 0x10032116
lea eax, [ebp - 0x80]
push eax
call ebx
test eax, eax
je 0x10032116
test esi, esi
je 0x100320a1
mov eax, dword [esi]
jmp 0x100320a3
xor eax, eax
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.10042f0f
pop ecx
pop ecx
push dword [ebp - 0x80]
test eax, eax
jne 0x100320c8
call edi
test esi, esi
je 0x100320c3
mov ecx, esi
call fcn.10001238
xor eax, eax
inc eax
jmp 0x10032123
call edi
jmp 0x10032116
lea ecx, [ebp - 0x7c]
call fcn.100010b1
push str._sysWow64javaws.exe
lea ecx, [ebp - 0x78]
call fcn.100010b1
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.1000132e
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x100320f9
call fcn.10001238
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x10032104
mov eax, dword [esi]
jmp 0x10032106
xor eax, eax
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.10042f0f
pop ecx
pop ecx
test eax, eax
je 0x100320b8
test esi, esi
je 0x10032121
mov ecx, esi
call fcn.10001238
xor eax, eax
mov ecx, dword [ebp + 0xfbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1003c09c
add ebp, 0xfc0
leave
ret