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

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.10039d10
push 0xffffffffffffffff
push 0x10058a88
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x10080f6c]
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.10039d40
add esp, 0xc
push 0x100600ea
mov ecx, ebx
call fcn.1001060c
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.10035fb0
pop ecx
cmp dword [ebp + 0x1010], esi
je 0x1002547f
mov edi, 0x20219
push str.___checking_32_bit
jmp 0x10025489
mov edi, 0x20119
push str.___checking_64_bit
call fcn.10035fb0
pop ecx
push edi
push 0x10061dd8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x28]
call fcn.10035fb0
cmp eax, esi
je 0x100254e6
push str.___failed_to_open_SOFTWAREJavaSoftJava_Web_Start
call fcn.10035fb0
pop ecx
lea ecx, [ebp - 0x28]
call fcn.10016b3c
lea ecx, [ebp - 0x28]
call fcn.10016b3c
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.10039bc2
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 0x100254b1
push str.___Processing_key:
lea ecx, [ebp - 0x10]
call fcn.1001060c
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.10001309
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call fcn.10001524
mov ecx, dword [ebp - 0x14]
mov byte [ebp - 4], 2
cmp ecx, esi
je 0x10025545
call fcn.10001441
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x10]
cmp edi, esi
je 0x10025550
mov eax, dword [edi]
jmp 0x10025552
xor eax, eax
push eax
call fcn.10035fb0
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.10021c41
add esp, 0xc
test eax, eax
jne 0x100255a2
lea eax, [ebp + 0x1010]
push eax
lea eax, [ebp]
push eax
call fcn.1002192e
pop ecx
pop ecx
test eax, eax
jne 0x100255a2
push 0x10061ea0
call fcn.10035fb0
lea eax, [ebp]
push eax
call fcn.10035fb0
pop ecx
xor eax, eax
pop ecx
mov word [ebp], ax
jmp 0x100255c9
mov eax, dword [ebx]
cmp eax, esi
je 0x100255ac
mov eax, dword [eax]
jmp 0x100255ae
xor eax, eax
push eax
lea eax, [ebp]
push eax
call fcn.10035fb0
pop ecx
pop ecx
test eax, eax
jle 0x100255c9
lea eax, [ebp]
push eax
mov ecx, ebx
call fcn.100014b2
inc dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x800
mov byte [ebp - 4], 1
cmp edi, esi
je 0x100254e6
mov ecx, edi
call fcn.10001441
mov dword [ebp - 0x10], esi
jmp 0x100254e6
Function at 0x10029531
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x1b4]
sub esp, 0x234
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x1b0], eax
mov eax, dword [ebp + 0x1bc]
push esi
mov esi, dword [ebp + 0x1c0]
push 0x10069148
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.10035fb0
add esp, 0xc
test eax, eax
jne 0x1002969a
push esi
call fcn.10035fb0
pop ecx
test eax, eax
jne 0x1002969a
push edi
xor edi, edi
inc edi
jmp 0x1002966d
cmp dword [ebp - 0x78], 0x4034b50
jne 0x10029690
cmp word [ebp - 0x70], 0
jne 0x10029690
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.10035fb0
add esp, 0x10
cmp eax, esi
jne 0x10029690
xor eax, eax
mov word [ebp + esi*2 - 0x58], ax
lea eax, [ebp - 0x58]
push eax
call fcn.10035fb0
cmp word [ebp - 0x5c], 0
pop ecx
jbe 0x100295f5
movzx eax, word [ebp - 0x5c]
push edi
push eax
push dword [ebp - 0x7c]
call fcn.1003e696
add esp, 0xc
test eax, eax
jne 0x10029690
movzx eax, word [ebp - 0x5e]
cmp word [ebp + eax*2 - 0x5a], 0x2f
je 0x1002966d
push 0x10069150
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.10035fb0
add esp, 0xc
test eax, eax
jne 0x10029690
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.10035fb0
push dword [ebp - 0x7c]
mov esi, eax
push dword [ebp - 0x62]
push edi
push esi
call fcn.10035fb0
add esp, 0x14
cmp eax, dword [ebp - 0x62]
jne 0x10029689
push dword [ebp - 0x80]
push dword [ebp - 0x62]
push edi
push esi
call fcn.1003c319
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x62]
jne 0x1002968a
call fcn.10035fb0
push dword [ebp - 0x80]
call fcn.1003c14e
pop ecx
pop ecx
push dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
push edi
push 0x1e
push eax
call fcn.10035fb0
add esp, 0x10
cmp eax, edi
je 0x1002958b
jmp 0x10029690
push esi
call fcn.10035fb0
pop ecx
push dword [ebp - 0x7c]
call fcn.1003c14e
pop ecx
pop edi
mov ecx, dword [ebp + 0x1b0]
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0x1b4
leave
ret
Function at 0x100296b0
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x21e0]
mov eax, 0x2260
call fcn.10039d10
mov eax, dword [0x10080f6c]
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.10039d40
xor eax, eax
push esi
mov word [ebp + 0x1dc], ax
lea eax, [ebp + 0x1de]
push edi
push eax
call fcn.10039d40
mov esi, 0x800
push str.SOFTWAREMozillaMozilla_Firefox
lea eax, [ebp + 0x11dc]
push esi
push eax
mov dword [ebp - 0x7c], esi
call fcn.10035fb0
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 0x10029754
xor eax, eax
jmp 0x1002984e
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp + 0x1dc]
push eax
push 0
push 0
push 0x1006919c
push dword [ebp - 0x78]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
test eax, eax
je 0x10029780
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1002974d
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 0x1002974d
mov ebx, dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push eax
push ebx
push 0
push 0
push 0x100691bc
push dword [ebp - 0x78]
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
test eax, eax
jne 0x10029778
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 0x100297e3
sub eax, edx
sar eax, 1
cmp word [ebx + eax*2 - 2], 0x5c
je 0x1002980f
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x100297fd
mov esi, 0x10069234
movsd dword es:[edi], dword [esi]
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x10029812
push 5
pop ecx
mov esi, 0x10069238
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 0x10029866
push 0
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x1002974d
xor eax, eax
inc eax
mov ecx, dword [ebp + 0x21dc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x21e0
leave
ret
push eax
call dword [sym.imp.kernel32.dll_FindClose]
test byte [ebp - 0x74], 0x10
jmp 0x10029845
Function at 0x1002a11d
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
mov eax, 0x1078
call fcn.10039d10
mov eax, dword [0x10080f6c]
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 [0x1005d148]
fld qword [0x1005d140]
fdiv st(1), st(0)
fxch st(1)
call fcn.1003aca0
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.1003aca0
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 [0x1005d138]
fadd qword [0x1005d130]
call fcn.1003aca0
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 0x1006962c
push eax
call fcn.10035fb0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
je 0x1002a268
push dword [ebp - 0x78]
jmp 0x1002a26d
push 0x10069638
push 0x20
push eax
call fcn.10035fb0
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.10039bc2
add ebp, 0xff8
leave
ret 0x14
Function at 0x1002b093
Capabilities:
Get geographical location

Disassembly:
push ebp
lea ebp, [esp - 0xff8]
mov eax, 0x1078
call fcn.10039d10
mov eax, dword [0x10080f6c]
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 [0x1005d148]
fld qword [0x1005d140]
fdiv st(1), st(0)
fxch st(1)
call fcn.1003aca0
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.1003aca0
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 [0x1005d138]
fadd qword [0x1005d130]
call fcn.1003aca0
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.10035fb0
add esp, 0xc
test eax, eax
lea eax, [ebp - 0x4c]
jne 0x1002b1d1
push 0x10069830
jmp 0x1002b1d4
push dword [ebp - 0x78]
push 0x20
push eax
call fcn.10035fb0
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.10039bc2
add ebp, 0xff8
leave
ret 0x10
Function at 0x1002d6af
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x2794]
mov eax, 0x2814
call fcn.10039d10
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x2790], eax
push ebx
push esi
mov esi, dword [ebp + 0x279c]
push edi
xor eax, eax
mov edi, 0xffe
xor ebx, ebx
push edi
mov word [ebp - 0x70], ax
lea eax, [ebp - 0x6e]
push ebx
push eax
mov dword [ebp - 0x7c], ebx
call fcn.10039d40
push esi
push 0x1006afe8
push 0x1006afdc
mov esi, 0x800
lea eax, [ebp - 0x70]
push esi
push eax
call fcn.10035fb0
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_RegOpenKeyExW]
test eax, eax
jne 0x1002d815
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp + 0x1f90]
push eax
push ebx
push ebx
push 0x1006b040
push dword [ebp - 0x78]
mov dword [ebp - 0x80], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x78]
mov dword [ebp - 0x74], eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x74], ebx
jne 0x1002d815
xor eax, eax
push edi
mov word [ebp + 0xf90], ax
lea eax, [ebp + 0xf92]
push ebx
push eax
call fcn.10039d40
push 0x1006b054
lea eax, [ebp + 0x1f90]
push eax
push 0x1006b070
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.10035fb0
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x20
lea eax, [ebp + 0xf90]
push eax
call edi
test eax, eax
je 0x1002d815
push 0x1006b07c
lea eax, [ebp + 0x1f90]
push eax
push 0x1006b0a4
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.10035fb0
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
mov dword [ebp - 0x74], eax
push 0x1006b0b0
lea eax, [ebp + 0x1f90]
push eax
push 0x1006b0d8
lea eax, [ebp + 0xf90]
push esi
push eax
call fcn.10035fb0
add esp, 0x14
lea eax, [ebp + 0xf90]
push eax
call edi
cmp dword [ebp - 0x74], ebx
jne 0x1002d80e
cmp eax, ebx
je 0x1002d815
mov dword [ebp - 0x7c], 1
mov ecx, dword [ebp + 0x2790]
mov eax, dword [ebp - 0x7c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0x2794
leave
ret
Function at 0x1002d8ba
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0xf8c]
mov eax, 0x100c
call fcn.10039d10
mov eax, dword [0x10080f6c]
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.10039d40
push edi
push str.SOFTWAREClassesCLSID_sInprocServer32
lea eax, [ebp + 0x788]
push 0x400
push eax
call fcn.10035fb0
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 0x1002d94f
xor ecx, ecx
cmp eax, 2
sete cl
jmp 0x1002d9be
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x78]
push eax
push 0x1006b2b4
push dword [ebp - 0x7c]
mov dword [ebp - 0x80], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
push dword [ebp - 0x7c]
test eax, eax
je 0x1002d97d
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002d9c0
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 0x1002d9b2
test dx, dx
je 0x1002d9ae
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002d9b2
add eax, 4
add ecx, 4
test dx, dx
jne 0x1002d98c
xor eax, eax
jmp 0x1002d9b7
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.10039bc2
add ebp, 0xf8c
leave
ret

Function at 0x1002dbc7
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x1002dbe8
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0x1006b3cc
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x1002dbe8
inc esi
mov eax, esi
pop esi
ret
Function at 0x1002debf
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x7bc]
sub esp, 0x83c
mov eax, dword [0x10080f6c]
xor eax, ebp
mov dword [ebp + 0x7b8], eax
push esi
push edi
xor edi, edi
mov esi, 0x20019
push esi
push 0x1006ae70
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.10035fb0
test eax, eax
je 0x1002df5d
lea ecx, [ebp - 0x74]
call fcn.10016b3c
lea ecx, [ebp - 0x58]
call fcn.10016b3c
lea ecx, [ebp - 0x68]
call fcn.10016b3c
lea ecx, [ebp - 0x80]
call fcn.10016b3c
xor eax, eax
mov ecx, dword [ebp + 0x7b8]
pop edi
xor ecx, ebp
pop esi
call fcn.10039bc2
add ebp, 0x7bc
leave
ret
push esi
push 0x1006ae84
push dword [ebp - 0x80]
lea ecx, [ebp - 0x68]
call fcn.10035fb0
test eax, eax
jne 0x1002df24
push esi
push 0x1006ae98
push dword [ebp - 0x68]
lea ecx, [ebp - 0x58]
call fcn.10035fb0
test eax, eax
je 0x1002dfab
lea ecx, [ebp - 0x74]
call fcn.10016b3c
lea ecx, [ebp - 0x58]
call fcn.10016b3c
lea ecx, [ebp - 0x68]
call fcn.10016b3c
lea ecx, [ebp - 0x80]
call fcn.10016b3c
mov eax, edi
jmp 0x1002df46
push ebx
mov esi, 0x400
push esi
lea eax, [ebp - 0x48]
push edi
push eax
call fcn.10039d40
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
add esp, 0xc
push esi
lea eax, [ebp - 0x48]
push eax
push edi
jmp 0x1002e01e
inc dword [ebp - 0x4c]
mov ecx, dword [ebp + 0x7c4]
lea eax, [ebp - 0x48]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002dfff
cmp dx, di
je 0x1002dffb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002dfff
add eax, 4
add ecx, 4
cmp dx, di
jne 0x1002dfd9
xor eax, eax
jmp 0x1002e004
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, edi
lea eax, [ebp - 0x48]
je 0x1002e029
push esi
push edi
push eax
call fcn.10039d40
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 0x1002dfcd
jmp 0x1002e060
push 0x20019
push eax
push dword [ebp - 0x58]
lea ecx, [ebp - 0x74]
call fcn.10035fb0
test eax, eax
jne 0x1002e060
lea eax, [ebp - 0x4c]
push eax
push 0x1006aeb4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x4c], edi
call fcn.10035fb0
test eax, eax
jne 0x1002e060
cmp dword [ebp - 0x4c], 1
sete al
mov dword [ebp - 0x5c], eax
mov edi, dword [ebp - 0x5c]
pop ebx
jmp 0x1002df87
Function at 0x1002e4c4
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0xfc0]
mov eax, 0x1040
call fcn.10039d10
mov eax, dword [0x10080f6c]
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.10039d40
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 0x1002e62e
call fcn.10035fb0
test eax, eax
lea eax, [ebp - 0x44]
push eax
je 0x1002e5d9
lea ecx, [ebp - 0x78]
call fcn.10001309
push str._system32javaws.exe
lea ecx, [ebp - 0x7c]
call fcn.10001309
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x78]
call fcn.10001524
mov ecx, dword [ebp - 0x7c]
test ecx, ecx
je 0x1002e55b
call fcn.10001441
mov esi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push 0x1006a3d8
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 0x1002e623
test edi, edi
je 0x1002e623
lea eax, [ebp - 0x80]
push eax
call ebx
test eax, eax
je 0x1002e623
test esi, esi
je 0x1002e5ae
mov eax, dword [esi]
jmp 0x1002e5b0
xor eax, eax
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.10035fb0
pop ecx
pop ecx
push dword [ebp - 0x80]
test eax, eax
jne 0x1002e5d5
call edi
test esi, esi
je 0x1002e5d0
mov ecx, esi
call fcn.10001441
xor eax, eax
inc eax
jmp 0x1002e630
call edi
jmp 0x1002e623
lea ecx, [ebp - 0x7c]
call fcn.10001309
push str._sysWow64javaws.exe
lea ecx, [ebp - 0x78]
call fcn.10001309
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x7c]
call fcn.10001524
mov ecx, dword [ebp - 0x78]
test ecx, ecx
je 0x1002e606
call fcn.10001441
mov esi, dword [ebp - 0x7c]
test esi, esi
je 0x1002e611
mov eax, dword [esi]
jmp 0x1002e613
xor eax, eax
lea ecx, [ebp - 0x74]
push ecx
push eax
call fcn.10035fb0
pop ecx
pop ecx
test eax, eax
je 0x1002e5c5
test esi, esi
je 0x1002e62e
mov ecx, esi
call fcn.10001441
xor eax, eax
mov ecx, dword [ebp + 0xfbc]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10039bc2
add ebp, 0xfc0
leave
ret