joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41ef28
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x431014]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.00417037
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.00417037
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x41ef9f
cmp word [ecx], dx
je 0x41ef9f
mov eax, dword [0x42a504]
push edi
dec eax
push eax
push 0x42a3f0
call fcn.0041eec7
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x41f012
cmp word [eax], dx
je 0x41f012
mov eax, dword [edi]
test eax, eax
je 0x41efc3
cmp word [eax], dx
je 0x41efc3
lea eax, [ebp - 0x10]
push eax
call fcn.0041e8aa
jmp 0x41efcc
lea eax, [ebp - 0x10]
push eax
call fcn.0041e945
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x41f03c
mov eax, dword [0x42a3ec]
push dword [ebp - 0x14]
dec eax
push eax
push 0x42a0e0
call fcn.0041eec7
add esp, 0xc
test al, al
je 0x41f03c
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x41f007
cmp word [eax], di
je 0x41f007
lea eax, [ebp - 0x10]
push eax
call fcn.0041e8aa
pop ecx
jmp 0x41f03e
lea eax, [ebp - 0x10]
push eax
call fcn.0041e945
jmp 0x41f004
mov eax, dword [edi]
test eax, eax
je 0x41f029
cmp word [eax], dx
je 0x41f029
lea eax, [ebp - 0x10]
push eax
call fcn.0041e85f
pop ecx
jmp 0x41f03c
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x41f107
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.0041ed4c
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x41f107
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x41f107
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x41f107
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x41f094
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00415860
test ebx, ebx
je 0x41f102
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00415860
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41f107
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x41f107
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.004223a7
add esp, 0x10
xor eax, eax
inc eax
jmp 0x41f109
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00408d47
leave
ret
Function at 0x424090
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4240bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4240bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40eceb
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x416048]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0040a854
and dword [ebp - 0x14], 0
cmp dword [0x417cac], 0
mov dword [ebp - 0x18], eax
jne 0x40ed9e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ee46
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ee46
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x417cac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x417cb0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x417cb4], eax
call edi
push eax
call esi
mov dword [0x417cbc], eax
test eax, eax
je 0x40ed9e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x417cb8], eax
mov eax, dword [0x417cb8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40edf7
cmp dword [0x417cbc], ecx
je 0x40edf7
push eax
call esi
push dword [0x417cbc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40edf7
test ebx, ebx
je 0x40edf7
call edi
test eax, eax
je 0x40edee
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40edee
test byte [ebp - 8], 1
jne 0x40edf7
or dword [ebp + 0x10], 0x200000
jmp 0x40ee2a
mov eax, dword [0x417cb0]
cmp eax, dword [ebp - 0x18]
je 0x40ee2a
push eax
call esi
test eax, eax
je 0x40ee2a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ee2a
mov eax, dword [0x417cb4]
cmp eax, dword [ebp - 0x18]
je 0x40ee2a
push eax
call esi
test eax, eax
je 0x40ee2a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x417cac]
call esi
test eax, eax
je 0x40ee46
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ee48
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405392
leave
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x668a6396
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
mov ebx, 0x42f314
nop
nop
mov ecx, 0x6e466ef7
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x10004102
Capabilities:
Create thread

Disassembly:
push 0x30
mov eax, 0x1001bf44
call fcn.1001a118
mov ebx, ecx
mov eax, dword [ebx + 0xcc]
cmp eax, 1
jne 0x100041c7
mov eax, dword [ebp + 8]
cmp dword [eax], 7
jne 0x1000429f
cmp dword [ebx + 0x238], 0
je 0x1000429f
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
xor eax, eax
push 0x10021020
mov word [ebp - 0x3c], ax
call fcn.100070d8
xor eax, eax
mov byte [ebp - 4], 1
push str._self
lea ecx, [ebp - 0x2c]
mov word [ebp - 0x2c], ax
call fcn.100070d8
mov ecx, dword [ebx + 0x238]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x100042a7
mov eax, dword [ecx]
lea edx, [ebp - 0x1c]
push edx
push edx
lea edx, [ebp - 0x2c]
push edx
lea edx, [ebp - 0x1c]
push edx
lea edx, [ebp - 0x3c]
push edx
push ecx
call dword [eax + 0xd0]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x2c]
push eax
call esi
lea eax, [ebp - 0x3c]
push eax
call esi
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x1c]
push eax
call esi
mov eax, dword [ebx + 0xcc]
cmp eax, 2
je 0x1000429f
cmp eax, 1
je 0x1000429f
mov eax, dword [ebx + 0x234]
lea ecx, [ebp - 0x18]
and dword [ebp - 0x14], 0
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x18], eax
call fcn.100087c1
mov esi, dword [ebp + 8]
lea ecx, [ebx + 0xe0]
push esi
push dword [ecx]
mov dword [ebp - 4], 3
call fcn.1000648b
push dword [ebx + 0xbc]
lea edi, [ebx + 0x230]
mov eax, dword [edi]
mov dword [ebp + 8], eax
call dword [sym.imp.kernel32.dll_SetEvent]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14], 0
je 0x10004234
push dword [ebp - 0x18]
call dword [sym.imp.kernel32.dll_ReleaseMutex]
cmp dword [esi], 1
jne 0x1000425e
xor eax, eax
cmp dword [ebx + 0x22c], eax
jne 0x10004292
push edi
push eax
push ebx
push 0x10003bf6
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebx + 0x22c], eax
jmp 0x1000429f
cmp dword [esi], 0xa
jne 0x10004292
lea esi, [ebx + 0x22c]
xor edi, edi
cmp dword [esi], edi
je 0x10004292
lea eax, [ebp + 8]
mov dword [ebp + 8], edi
push eax
push esi
push 1
push 0xffffffffffffffff
push edi
call dword [sym.imp.ole32.dll_CoWaitForMultipleHandles]
test eax, eax
jne 0x1000429f
push dword [esi]
call dword [sym.imp.kernel32.dll_CloseHandle]
mov dword [esi], edi
jmp 0x1000429f
cmp dword [ebp + 8], 0
jne 0x1000429f
mov ecx, ebx
call fcn.100042b2
call fcn.1001a0e1
ret 4
push 0x80004003
call fcn.1001ba36
int3
Function at 0x1000d4ea
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, 0x84
test esi, esi
lea edx, [esi + 0xc]
cmove edx, eax
push edx
mov eax, dword [edx]
call dword [eax + 0x18]
push 0x50
test esi, esi
lea eax, [esi - 0x28]
pop ecx
cmove eax, ecx
pop esi
cmp dword [eax], 0
je 0x1000d51b
push 0
push dword [eax]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
ret 8

Function at 0x1000fd3c
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x1003e4c0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
mov ebx, dword [esp + 0x124]
push ebp
push esi
push edi
mov edi, ecx
xor ebp, ebp
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x1c], ebp
mov eax, dword [edi + 4]
or eax, 0x2001f
push eax
push ebx
push dword [edi]
call fcn.1001ba36
mov esi, eax
test esi, esi
jne 0x1000fdeb
lea eax, [esp + 0x20]
push eax
push ebp
push ebp
push ebp
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
jmp 0x1000fdc6
lea eax, [esp + 0x28]
push eax
call fcn.1000fd3c
mov esi, eax
test esi, esi
jne 0x1000fdeb
lea eax, [esp + 0x20]
xor ecx, ecx
push eax
push ecx
push ecx
push ecx
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x3c]
push eax
push ecx
push dword [esp + 0x30]
mov dword [esp + 0x30], 0x100
call ebp
lea ecx, [esp + 0x14]
test eax, eax
je 0x1000fda1
call fcn.1000ce21
push ebx
mov ecx, edi
call fcn.1000d242
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.1000ce21
mov ecx, dword [esp + 0x128]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019a3d
add esp, 0x11c
ret 4
Function at 0x1001378d
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001cb47
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1003e4c0]
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 edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x1a
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x1001387a
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10006c78
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100072f5
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x10013850
call fcn.100089ba
jmp 0x10013850
xor eax, eax
test esi, esi
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.10019a3d
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__szPath_
call fcn.10017717
pop ecx
pop ecx
push ebx
push esi
call fcn.1001ba36
int3

Function at 0x1001388f
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xffffffffffffffff
push 0x1001cb77
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x1003e4c0]
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 edi, dword [ebp + 0x214]
lea eax, [ebp]
xor ebx, ebx
push eax
push ebx
push ebx
push 0x23
push ebx
mov byte [edi], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
js 0x1001397c
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x14]
call fcn.10006c78
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.100072f5
push 0x104
push eax
push dword [ebp + 0x218]
push edi
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbsnbcpy_s]
mov ecx, dword [ebp - 0x14]
add esp, 0x10
test ecx, ecx
je 0x10013952
call fcn.100089ba
jmp 0x10013952
xor eax, eax
test esi, esi
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.10019a3d
add ebp, 0x20c
leave
ret
push esi
push str.Error:_08x_in_::SHGetFolderPathW_0__CSIDL_COMMON_APPDATA__NULL__SHGFP_TYPE_CURRENT__szPath_
call fcn.10017717
pop ecx
pop ecx
push ebx
push esi
call fcn.1001ba36
int3
Function at 0x10013af5
Capabilities:
Get common file path

Disassembly:
push 0x14
mov eax, 0x1001cb9f
call fcn.1001a183
mov ebx, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [ebp - 4], edi
mov esi, edi
mov dword [ebp - 0x14], esi
mov word [ebx], ax
call fcn.10013a0b
test eax, eax
je 0x10013b26
call fcn.100139fd
mov esi, eax
mov dword [ebp - 0x14], eax
push 0x104
push ebx
push esi
push edi
push 0x1001e560
call dword [sym.imp.SHELL32.dll_SHGetFolderPathEx]
mov esi, eax
test esi, esi
js 0x10013c3c
jmp 0x10013b76
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10013b84
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x10013c34
push ebx
push edi
push edi
push 0x1a
push edi
mov dword [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov esi, eax
test esi, esi
jns 0x10013be5
push esi
push str.Error:_08x_in_SHGetFolderPathW_NULL__CSIDL_APPDATA__NULL__0__pPath_
jmp 0x10013c42
or dword [ebp - 4], 0xffffffff
test esi, esi
jns 0x10013c34
push 1
push 0x1a
push ebx
push edi
mov dword [ebp - 4], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, eax
test esi, esi
jns 0x10013c34
push esi
push str.Error:_08x_in_SHGetSpecialFolderPathW_NULL__pPath__CSIDL_APPDATA__TRUE_
jmp 0x10013c42
mov eax, esi
call fcn.1001a0e1
ret
push esi
push str.Error:_08x_in_SHGetFolderPathEx_FOLDERID_LocalAppDataLow__0__hToken__pPath__MAX_PATH_
call fcn.10017717
pop ecx
pop ecx
push edi
push esi
call fcn.1001ba36
int3

Function at 0x1001455d
Capabilities:
Query environment variable

Disassembly:
push esi
xor esi, esi
cmp dword [esp + 8], esi
je 0x10014581
push dword [esp + 0xc]
push dword [esp + 0xc]
push str.USER_JPI_PROFILE
call dword [sym.imp.kernel32.dll_GetEnvironmentVariableA]
xor ecx, ecx
inc ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
ret
Function at 0x10015e01
Capabilities:
Query environment variable
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1010
call fcn.1001a290
mov eax, dword [0x1003e4c0]
xor eax, esp
mov dword [esp + 0x100c], eax
push ebx
mov ebx, dword [esp + 0x1018]
lea eax, [esp + 0x10]
push ebp
push esi
push edi
mov edi, dword [esp + 0x1028]
mov ebp, 0x800
xor esi, esi
mov dword [esp + 0x18], 1
push ebp
push esi
push eax
mov dword [esp + 0x1c], esi
call sub.VCRUNTIME140.dll_memset
push ebp
lea eax, [esp + 0x82c]
push esi
push eax
call sub.VCRUNTIME140.dll_memset
push ebx
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 0x1c
test eax, eax
je 0x10015e9c
push eax
push dword [esp + 0x1030]
push edi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
add esp, 0xc
test eax, eax
je 0x10016014
xor eax, eax
mov ecx, dword [esp + 0x101c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019a3d
add esp, 0x1010
ret
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push dword [0x1003d7f0]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10015e81
lea eax, [esp + 0x102c]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x10015ff8
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push 0x1002db84
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x10015f17
xor esi, esi
inc esi
jmp 0x10015ff8
push dword [esp + 0x10]
call ebp
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push str.SOFTWAREOracleJavaDeploy
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10015f0f
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
lea eax, [esp + 0x20]
push eax
push esi
push str.deployment.modified.timestamp
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10015f0f
lea eax, [esp + 0x1c]
mov dword [esp + 0x14], 0x800
push eax
lea eax, [esp + 0x820]
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
js 0x10016014
lea eax, [esp + 0x14]
push eax
push edi
lea eax, [esp + 0x20]
push eax
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10015f0f
push dword [esp + 0x10]
call ebp
call fcn.1001ba36
test eax, eax
jne 0x10016014
lea eax, [esp + 0x10]
push eax
push 0x20006
push esi
push dword [0x1003d7f0]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10015e81
push dword [esp + 0x14]
push edi
push 1
push esi
push ebx
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x10016005
push dword [esp + 0x10]
call ebp
mov eax, esi
jmp 0x10015e83
push dword [esp + 0x10]
call ebp
push edi
push ebx
call fcn.1001ba36
pop ecx
pop ecx
xor eax, eax
inc eax
jmp 0x10015e83
Function at 0x10016389
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x12c]
sub esp, 0x1ac
mov eax, dword [0x1003e4c0]
xor eax, ebp
mov dword [ebp + 0x128], eax
push ebx
push 0x104
xor ebx, ebx
lea eax, [ebp + 0x24]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp + 0x24]
push eax
push ebx
push ebx
push 0x2c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
je 0x100163d3
xor eax, eax
jmp 0x100164f5
lea ecx, [ebp + 0x24]
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x20], 0xf
lea edx, [ecx + 1]
mov byte [ebp + 0xc], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100163e6
push esi
push edi
sub ecx, edx
lea eax, [ebp + 0x24]
push ecx
push eax
lea ecx, [ebp + 0xc]
call fcn.1001ba36
push 0x1d
push str.JavaJava_Updatejucheck.exe
lea ecx, [ebp + 0xc]
call fcn.1001ba36
push eax
lea ecx, [ebp - 0x24]
call fcn.100169eb
lea ecx, [ebp + 0xc]
call fcn.1000945e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp + 0xc]
push 0x22
push eax
call fcn.10016649
add esp, 0xc
mov esi, eax
mov ecx, esi
push 0x22
call fcn.1001ba36
push esi
lea ecx, [ebp - 0xc]
call fcn.100169eb
lea ecx, [ebp + 0xc]
call fcn.1000945e
push 0x44
pop esi
push esi
lea eax, [ebp - 0x80]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov dword [ebp - 0x80], esi
lea edi, [ebp - 0x3c]
mov dword [ebp + 0x18], ebx
stosd dword es:[edi], eax
lea ecx, [ebp - 0xc]
add esp, 0xc
mov dword [ebp + 0x1c], ebx
cmp dword [ebp + 8], 0x10
mov dword [ebp + 0x20], ebx
cmovae ecx, dword [ebp - 0xc]
push dword [ebp - 0x29]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebp + 4]
add eax, ecx
cmp dword [ebp + 8], 0x10
lea ecx, [ebp - 0xc]
cmovae ecx, dword [ebp - 0xc]
push eax
push ecx
lea ecx, [ebp + 0x18]
call fcn.10016733
lea eax, [ebp - 0x25]
mov byte [ebp - 0x25], bl
push eax
lea ecx, [ebp + 0x18]
call fcn.100169c9
cmp dword [ebp - 0x10], 0x10
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x80]
push ecx
push ebx
push ebx
push 0x8000000
lea eax, [ebp - 0x24]
cmovae eax, dword [ebp - 0x24]
push 1
push ebx
push ebx
push dword [ebp + 0x18]
push eax
call fcn.1001ba36
add esp, 0x28
lea ecx, [ebp + 0x18]
neg eax
sbb esi, esi
neg esi
call fcn.10016b10
lea ecx, [ebp - 0xc]
call fcn.1000945e
lea ecx, [ebp - 0x24]
call fcn.1000945e
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp + 0x128]
xor ecx, ebp
pop ebx
call fcn.10019a3d
add ebp, 0x12c
leave
ret
Function at 0x10017593
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x824
mov eax, dword [0x1003e4c0]
xor eax, esp
mov dword [esp + 0x820], eax
push ebx
push ebp
mov ebp, dword [esp + 0x830]
lea eax, [esp + 0x428]
push esi
mov esi, dword [esp + 0x838]
xor ebx, ebx
push edi
mov edi, 0x400
push edi
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
push esi
push ebx
push ebp
push 0xffffffffffffffff
lea eax, [esp + 0x44c]
push edi
push eax
call fcn.1001ba36
movzx ecx, byte [esp + 0x853]
lea edi, [esp + 0x34]
xor edx, edx
test eax, eax
push 8
cmovs ecx, edx
xor eax, eax
mov byte [esp + 0x857], cl
pop ecx
rep stosd dword es:[edi], eax
lea eax, [esp + 0x34]
push 0x20
push eax
call fcn.1001ba36
push 0x10032204
lea eax, [esp + 0x40]
push 0x20
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
push 0x400
lea eax, [esp + 0x6c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, ebp
add esp, 0x44
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10017639
sub ecx, edx
cmp ecx, 6
jbe 0x10017661
lea eax, [ebp - 6]
add eax, ecx
push str.__08x_
push eax
call dword [sym.imp.api_ms_win_crt_multibyte_l1_1_0.dll__mbscmp]
pop ecx
pop ecx
test eax, eax
jne 0x10017661
xor ebx, ebx
inc ebx
lea esi, [esp + 0x10]
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10017668
sub esi, ecx
lea eax, [esp + 0x430]
push eax
mov ecx, 0x10030b4f
test ebx, ebx
mov eax, str.Error:
cmove eax, ecx
push eax
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
call dword [sym.imp.kernel32.dll_GetCurrentProcessId]
push eax
push str.P:_04d_T:_04d__s_s
mov eax, 0x3ff
sub eax, esi
push 0xffffffffffffffff
push eax
lea eax, [esp + 0x4c]
add eax, esi
push eax
call fcn.1001ba36
mov ecx, dword [esp + 0x44b]
test eax, eax
push esi
lea eax, [esp + 0x34]
mov edx, 0x2e2e2e
push eax
lea eax, [esp + 0x58]
cmovs ecx, edx
push eax
mov dword [esp + 0x457], ecx
call sub.VCRUNTIME140.dll_memcpy
lea edi, [esp + 0x5c]
add esp, 0x2c
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x100176e2
mov ax, word [0x10032230]
mov word [edi], ax
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
mov ecx, dword [esp + 0x830]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019a3d
add esp, 0x824
ret