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

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100ce6b1
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x1000], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
push 0x1000
push eax
mov dword [ebp - 4], eax
lea eax, [ebp]
push eax
call fcn.100621d0
call fcn.100c0f6c
push edx
push eax
push 0x100e4684
lea eax, [ebp]
push 0x800
push eax
call fcn.1000af1e
add esp, 0x20
lea ecx, [ebp - 0x1c]
mov ebx, 0x2001f
push ebx
push 0x100e4690
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.100c0f6c
mov esi, eax
cmp esi, 2
jne 0x1002a054
push str._setSystemWebJavaEnabled:_OK_regkey_does_not_exists
call fcn.100c0f6c
pop ecx
jmp 0x1002a071
push ecx
mov ecx, esp
push str._setSystemWebJavaEnabled:_open_JavaDeploy_subkey
call fcn.10001719
push esi
call fcn.1001cae2
pop ecx
pop ecx
test eax, eax
je 0x1002a13a
push 0x100e4794
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
xor eax, eax
push ecx
cmp esi, 2
mov ecx, esp
push str._setSystemWebJavaEnabled:_delete_WebDeployJava
cmove esi, eax
call fcn.10001719
push esi
call fcn.1001cae2
pop ecx
pop ecx
test eax, eax
je 0x1002a13a
push ebx
lea eax, [ebp]
push eax
push 0x100e4810
push 0x100e484c
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001db54
add esp, 0x14
lea ecx, [ebp - 0x10]
mov esi, eax
push 0x100e4890
call fcn.10001719
push ecx
mov ecx, dword [ebp - 0x10]
mov edx, esp
mov byte [ebp - 4], 1
mov dword [edx], ecx
test ecx, ecx
je 0x1002a0e5
lock inc dword [ecx + 8]
push esi
call fcn.1001cae2
push ebx
push 0x100e4884
push 0x100e48e8
push 0x100e4920
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001db54
add esp, 0x1c
lea ecx, [ebp - 0x10]
mov ebx, eax
push str.___Create_HKLM_webjavaswitch_status_enabled
call fcn.100017b4
mov esi, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ecx], esi
test esi, esi
je 0x1002a127
lock inc dword [esi + 8]
push ebx
call fcn.1001cae2
pop ecx
pop ecx
test esi, esi
je 0x1002a13a
mov ecx, esi
call fcn.10001b13
cmp dword [ebp - 0x1c], 0
je 0x1002a149
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp + 0x1000]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x1004
leave
ret
Function at 0x1002b498
Capabilities:
Create directory
Query or enumerate registry value

Disassembly:
mov eax, 0x225c
call fcn.1005e2a0
mov eax, dword [0x10130aa4]
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.100621d0
push esi
lea eax, [esp + 0x1278]
push edi
push eax
call fcn.100621d0
mov eax, 0x800
push str.SOFTWAREMozillaMozilla_Firefox
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x288]
push eax
call fcn.100c0f6c
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 0x1002b54f
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 0x100eef3c
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1002b56a
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.1005e187
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 0x1002b54f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
push ebx
xor ebp, ebp
push ebp
push ebp
push 0x100eef5c
push dword [esp + 0x24]
call edi
push dword [esp + 0x10]
test eax, eax
je 0x1002b5d4
call esi
jmp 0x1002b54f
call esi
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, bp
jne 0x1002b5db
sub ecx, edx
sar ecx, 1
cmp word [ebx + ecx*2 - 2], 0x5c
je 0x1002b608
lea edi, [ebx - 2]
mov ax, word [edi + 2]
lea edi, [edi + 2]
cmp ax, bp
jne 0x1002b5f5
mov eax, dword [0x100eefd4]
mov dword [edi], eax
lea edi, [ebx - 2]
mov ax, word [edi + 2]
add edi, 2
cmp ax, bp
jne 0x1002b60b
push 5
pop ecx
mov esi, 0x100eefd8
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 0x1002b64c
push ebp
push ebx
call dword [sym.imp.kernel32.dll_CreateDirectoryW]
test eax, eax
je 0x1002b54f
xor eax, eax
inc eax
jmp 0x1002b551
push eax
call dword [sym.imp.kernel32.dll_FindClose]
mov eax, dword [esp + 0x18]
shr eax, 4
and eax, 1
jmp 0x1002b551
Function at 0x1002c3ae
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1005e2a0
mov eax, dword [0x10130aa4]
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 [0x100d8f04]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x100d8f28]
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 [0x100d8f28]
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 [0x100d8f40]
divsd xmm0, qword [0x100d8f10]
addsd xmm0, qword [0x100d8f08]
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 0x100f06ac
push eax
call fcn.100c0f6c
test eax, eax
mov ecx, 0x100f06b8
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.100c0f6c
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.1005e187
add esp, 0x1074
ret 0x14
Function at 0x1003045c
Capabilities:
Get geographical location

Disassembly:
mov eax, 0x1074
call fcn.1005e2a0
mov eax, dword [0x10130aa4]
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 [0x100d8f04]
push 1
movd xmm2, eax
cvtdq2ps xmm2, xmm2
divss xmm0, dword [0x100d8f28]
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 [0x100d8f28]
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 [0x100d8f40]
divsd xmm0, qword [0x100d8f10]
addsd xmm0, qword [0x100d8f08]
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.100c0f6c
test eax, eax
mov ecx, 0x100f89d0
lea eax, [esp + 0x44]
cmovne ecx, edi
push ecx
push 0x20
push eax
call fcn.100c0f6c
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.1005e187
add esp, 0x1074
ret 0x10
Function at 0x10030a83
Capabilities:
Parse url

Disassembly:
mov eax, 0x4040
call fcn.1005e2a0
mov eax, dword [0x10130aa4]
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.100621d0
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 0x10030b10
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.10011ecc
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.10011ecc
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 [0x10133c3c]
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 [0x10133c3c]
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 [0x10133c3c]
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 [0x10133c3c]
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.1005e187
add esp, 0x4040
ret 0x10
Function at 0x10031ba9
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x1004]
mov eax, 0x1004
call fcn.1005e2a0
push 0xffffffffffffffff
push 0x100cf264
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x10130aa4]
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 8
call fcn.100c0f6c
pop ecx
mov dword [ebp - 0x1c], eax
xor edi, edi
mov dword [ebp - 4], edi
test eax, eax
je 0x10031c05
mov ecx, eax
call fcn.10031445
mov ebx, eax
jmp 0x10031c07
mov ebx, edi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
call fcn.10031a66
pop ecx
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 1
push eax
push 0x20019
push edi
push 0x100fbc58
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, dword [ebp - 0x1c]
test eax, eax
jne 0x10031d7f
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x18], edi
push eax
lea eax, [ebp]
push eax
push edi
jmp 0x10031d5e
cmp dword [ebp - 0x10], 0
mov eax, edi
mov ecx, edi
jbe 0x10031d4a
cmp word [ebp + ecx*2], 0x2e
jne 0x10031c72
inc eax
cmp eax, 1
jg 0x10031c81
inc ecx
cmp ecx, dword [ebp - 0x10]
jb 0x10031c64
cmp eax, 1
jle 0x10031d4a
lea eax, [ebp]
push 0x100fbc4c
push eax
call fcn.100c0f6c
pop ecx
pop ecx
test eax, eax
js 0x10031d4a
lea eax, [ebp]
push eax
call fcn.10039eff
pop ecx
test al, al
je 0x10031d4a
push 0x10
call fcn.100c0f6c
pop ecx
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x10031ccc
push edi
lea ecx, [ebp]
push ecx
mov ecx, eax
call fcn.10031462
mov edi, eax
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.1002d275
test al, al
je 0x10031d48
test esi, esi
je 0x10031d3e
cmp dword [esi], 0
je 0x10031cee
push dword [esi]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
jmp 0x10031cf0
xor eax, eax
test eax, eax
je 0x10031d3e
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x10031cff
mov ecx, dword [ecx]
jmp 0x10031d01
xor ecx, ecx
test esi, esi
je 0x10031d09
mov eax, dword [esi]
jmp 0x10031d0b
xor eax, eax
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10031d31
test dx, dx
je 0x10031d2d
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10031d31
add eax, 4
add ecx, 4
test dx, dx
jne 0x10031d0b
xor eax, eax
jmp 0x10031d36
sbb eax, eax
or eax, 1
test eax, eax
jne 0x10031d3e
mov byte [edi + 0xc], 1
push edi
push dword [ebx]
mov ecx, ebx
call fcn.100c0f6c
xor edi, edi
mov eax, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
push edi
push edi
push edi
push edi
push ecx
lea ecx, [ebp]
inc eax
push ecx
mov dword [ebp - 0x18], eax
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x800
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x10031c56
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10031d8a
mov ecx, esi
call fcn.10001b13
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.1005e187
add ebp, 0x1004
leave
ret
Function at 0x10032a19
Capabilities:
Get memory capacity

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

Function at 0x10032f48
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x100cf341
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x208], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x10100044
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.100c0f6c
add esp, 0xc
test eax, eax
jne 0x10033039
push dword [ebp - 0x18]
call fcn.100c0f6c
cmp dword [0x101335a8], 0
pop ecx
je 0x10032fb7
xor eax, eax
inc eax
jmp 0x1003303b
lea eax, [ebp]
mov esi, 0x104
push eax
push esi
call dword [sym.imp.kernel32.dll_GetTempPathW]
cmp eax, esi
ja 0x10033039
test eax, eax
je 0x10033039
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001719
xor edi, edi
lea ecx, [ebp - 0x10]
push str.JavaDeployReg.log
mov dword [ebp - 4], edi
call fcn.10001719
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x14]
call fcn.1000186b
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x10033009
call fcn.10001b13
mov esi, dword [ebp - 0x14]
test esi, esi
je 0x10033012
mov edi, dword [esi]
push 0x101000f0
push edi
push 0x101335a8
call fcn.100c0f6c
add esp, 0xc
neg eax
sbb edi, edi
test esi, esi
je 0x10033034
mov ecx, esi
call fcn.10001b13
lea eax, [edi + 1]
jmp 0x1003303b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x20c
leave
ret

Function at 0x1003369d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x100cf395
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x214]
xor eax, eax
xor esi, esi
mov dword [ebp - 4], esi
mov word [ebx], ax
lea eax, [ebp]
push eax
push esi
push esi
push 0x23
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x10033789
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001719
mov eax, dword [eax]
test eax, eax
je 0x10033716
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call fcn.100c0f6c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x1003375f
call fcn.10001b13
jmp 0x1003375f
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.1003856f
pop ecx
pop ecx
push esi
push edi
call fcn.100c0f6c
int3
Function at 0x10033a75
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x100cf3bf
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x214]
xor eax, eax
xor esi, esi
mov dword [ebp - 4], esi
mov word [ebx], ax
lea eax, [ebp]
push eax
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x10033b61
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10001719
mov eax, dword [eax]
test eax, eax
je 0x10033aee
mov esi, dword [eax]
push 0x104
push esi
push dword [ebp + 0x218]
push ebx
call fcn.100c0f6c
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x10033b37
call fcn.10001b13
jmp 0x10033b37
xor eax, eax
test edi, edi
setns al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x20c
leave
ret
push edi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.1003856f
pop ecx
pop ecx
push esi
push edi
call fcn.100c0f6c
int3
Function at 0x10033fe7
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1040
call fcn.1005e2a0
mov eax, dword [0x10130aa4]
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.100621d0
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 0x10034194
call fcn.100c0f6c
test eax, eax
lea eax, [esp + 0x4c]
push eax
je 0x10034117
lea ecx, [esp + 0x14]
call fcn.10001719
push str._system32javaws.exe
lea ecx, [esp + 0x18]
call fcn.10001719
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.1000186b
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x1003407c
call fcn.10001b13
mov edi, dword [sym.imp.kernel32.dll_GetModuleHandleW]
push str.Wow64DisableWow64FsRedirection
push 0x100fef9c
call edi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push eax
call esi
push str.Wow64RevertWow64FsRedirection
push 0x100fefd0
mov ebp, eax
call edi
push eax
call esi
mov esi, dword [esp + 0x10]
mov edi, eax
test ebp, ebp
je 0x10034106
test edi, edi
je 0x10034106
lea eax, [esp + 0x18]
push eax
call ebp
test eax, eax
je 0x10034106
test esi, esi
je 0x100340c7
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.100c0f6c
pop ecx
pop ecx
push dword [esp + 0x18]
test eax, eax
jne 0x10034104
call edi
test esi, esi
je 0x1003416f
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x1003416f
mov ecx, esi
call fcn.10001b86
push 0xc
push esi
call fcn.100c0f6c
pop ecx
pop ecx
jmp 0x1003416f
call edi
test esi, esi
je 0x10034194
mov ecx, esi
call fcn.10001b13
jmp 0x10034194
lea ecx, [esp + 0x18]
call fcn.10001719
push str._sysWow64javaws.exe
lea ecx, [esp + 0x14]
call fcn.10001719
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x18]
call fcn.1000186b
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10034149
call fcn.10001b13
mov esi, dword [esp + 0x14]
test esi, esi
je 0x10034153
mov ebx, dword [esi]
lea eax, [esp + 0x1c]
push eax
push ebx
call fcn.100c0f6c
pop ecx
pop ecx
test eax, eax
jne 0x10034174
test esi, esi
je 0x1003416f
mov ecx, esi
call fcn.10001b13
xor eax, eax
inc eax
jmp 0x10034196
test esi, esi
je 0x10034194
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x10034194
mov ecx, esi
call fcn.10001b86
push 0xc
push esi
call fcn.100c0f6c
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.1005e187
add esp, 0x1040
ret
Function at 0x100342ee
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x10130aa4]
xor eax, ebp
mov dword [ebp + 0x94], eax
cmp dword [0x101335bc], 0
je 0x10034319
mov eax, dword [0x101335c0]
jmp 0x1003435e
push esi
push 0x110
xor esi, esi
lea eax, [ebp - 0x7c]
push esi
push eax
call fcn.100621d0
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 0x10034350
cmp dword [ebp - 0x7c], 6
jb 0x10034350
mov esi, eax
mov dword [0x101335bc], eax
mov eax, esi
mov dword [0x101335c0], esi
pop esi
mov ecx, dword [ebp + 0x94]
xor ecx, ebp
call fcn.1005e187
add ebp, 0x98
leave
ret

Function at 0x10034c29
Capabilities:
Query environment variable

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