joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4499a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 8], ecx
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x526014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea edi, [esp + 0x20]
movdqa xmmword [edi + 0x30], xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
lea esi, [esp + 0x10]
push 0x160
push str..._.._base_files_file_win.cc
push str.DoInitialize
push esi
call fcn.004712d0
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.00478af0
mov eax, ebx
and eax, 1
neg eax
and eax, 3
xor ecx, ecx
inc ecx
test bl, 2
cmove ecx, eax
test bl, 4
mov edx, 4
cmovne ecx, edx
test bl, 8
mov esi, 2
cmove esi, ecx
test bl, 0x10
mov eax, 5
cmove eax, esi
mov dword [esp + 4], eax
test eax, eax
je 0x449bbb
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, 0x80
cmove edx, ecx
mov ecx, ebx
rol ecx, 0x1a
mov esi, ebx
shl esi, 0xb
and esi, 0x20000000
mov edi, ebx
shr edi, 4
and edi, 0x10000
and ecx, 0x80000100
or ecx, esi
or ecx, edi
or ecx, edx
mov esi, ebx
shr esi, 8
and esi, 3
mov edx, ebx
shr edx, 0xd
and edx, 4
or edx, esi
mov esi, ebx
and esi, 0x400
mov eax, ebx
mov dword [esp + 0xc], esi
mov ebx, esi
shl ebx, 0x14
mov esi, eax
shr esi, 3
and esi, 0x100
or esi, ebx
mov edi, eax
shr edi, 0xb
and edi, 2
or edi, esi
mov esi, eax
shl esi, 0xd
and esi, 0x4000000
or esi, edi
shl eax, 8
mov ebx, eax
and ebx, 0x2000000
or ebx, esi
and eax, 0x8000000
or eax, ebx
mov esi, dword [ebp + 8]
xor edx, 3
cmp byte [esi + 0xb], 0
jns 0x449adf
mov esi, dword [esi]
xor ebx, ebx
push ebx
push eax
push dword [esp + 0xc]
push ebx
push edx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov esi, dword [esp + 8]
cmp dword [esi], eax
je 0x449b6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
mov ebx, dword [ebp + 0xc]
jae 0x449b99
mov ecx, edi
inc ecx
cmp ecx, 2
jb 0x449b23
mov dword [esi], edi
mov edi, eax
call fcn.00471300
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
inc edi
cmp edi, 2
jb 0x449b74
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
test bl, 4
jne 0x449b88
test bl, 0xa
je 0x449b51
mov byte [esi + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.00478b50
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.004948c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
jmp 0x449b2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00449860
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x449b51
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [esi + 0x18]
jmp 0x449b51
mov dword [esp + 4], eax
call fcn.00471300
push dword [esi]
call fcn.00474440
mov eax, dword [esp + 8]
add esp, 4
mov dword [esi], 0
jmp 0x449b10
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
mov dword [eax + 0x14], 0xffffffff
jmp 0x449b51
Function at 0x449bd0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x449c05
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x449c0c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x449bfe
mov dword [esi], ebx
call fcn.00471300
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00471300
push dword [esi]
call fcn.00474440
add esp, 4
mov dword [esi], 0
jmp 0x449bef
Function at 0x44ac30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov edi, edx
mov ebx, ecx
mov eax, dword [0x526014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x44ac67
mov eax, dword [0x527bd4]
cmp eax, 0xffffffff
je 0x44acf8
mov ebx, 0x100000
test eax, eax
jne 0x44ac67
mov ebx, 0x80000
push 0xc
call fcn.00493d3d
add esp, 4
mov esi, eax
mov dword [eax], 0
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x52eec4]
bt ecx, eax
jb 0x44ad1c
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x536ec4], 1
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
push ecx
push 0x10000
push esi
push 0x44b0b0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x44ad2a
test edi, edi
je 0x44ad88
mov ecx, dword [ebp - 0x14]
mov dword [edi], eax
mov dword [edi + 4], ecx
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948c8
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x527bd4
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x44adf7
mov eax, dword [0x527bd4]
jmp 0x44ac59
push edi
call fcn.004e8660
add esp, 4
jmp 0x44ac9f
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x44ad46
mov edi, eax
cmp eax, 0x5af
je 0x44ad46
cmp edi, 0xe
jne 0x44ad98
push ebx
call fcn.004e8650
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x24]
je 0x44acdf
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x52eec4]
bt edx, ecx
jae 0x44ad77
push eax
call fcn.004e8750
add esp, 4
push esi
call fcn.00493d6d
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x44acdf
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x44acdf
mov eax, dword [0x52cb38]
mov ecx, dword [0x52a234]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44ae06
lea ebx, [ebp - 0x20]
push edi
push ebx
call fcn.00447910
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x44add0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push dword [0x52cb34]
call fcn.0047c490
add esp, 0xc
cmp byte [ebp - 0x15], 0
jns 0x44ad4f
push dword [ebp - 0x20]
call fcn.00493d6d
jmp 0x44ad4c
mov dword [0x527bd4], 0
jmp 0x44ac62
push 0x52cb38
call fcn.00493de7
add esp, 4
cmp dword [0x52cb38], 0xffffffff
jne 0x44adb5
push 0x20
push str.create_thread_last_error
call fcn.004560d0
add esp, 8
mov dword [0x52cb34], eax
push 0x52cb38
call fcn.00493e5d
add esp, 4
jmp 0x44adb5

Function at 0x44b300
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
xorps xmm0, xmm0
movups xmmword [esp + 8], xmm0
mov dword [esp + 4], eax
mov dword [esp], ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
sub esp, 0x18
test eax, eax
sete al
add esp, 0x18
pop ebp
ret 4
Function at 0x44b330
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x526014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, 4
lea edx, [ebp - 0x14]
mov dword [edx], eax
lea esi, [ebp - 0x18]
mov dword [esi], eax
xor eax, eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov ebx, dword [ebp + 8]
push esi
push edi
push edx
push eax
push ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x44b38f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x44b38f
cmp dword [ebp - 0x18], 4
jne 0x44b38f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948c8
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x44b3b0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00495240
mov esi, ecx
mov eax, dword [0x526014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.00497b10
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x44b43f
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x44b443
mov ecx, esi
push ebx
call fcn.004448a0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948c8
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x44b426
mov edi, 0x3f4
cmp eax, 2
jne 0x44b426
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00497b10
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x44b426
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x44b41f

Function at 0x44b4a0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x526014]
xor edx, ebp
mov dword [ebp - 8], edx
mov edx, 4
lea esi, [ebp + 0xc]
push edx
push esi
push edx
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004948c8
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8
Function at 0x44b590
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x526014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x52cb40]
mov ecx, dword [0x52a234]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44b5dd
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948c8
mov eax, 0x52cb3c
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x52cb40
call fcn.00493de7
add esp, 4
cmp dword [0x52cb40], 0xffffffff
jne 0x44b5c3
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00497b10
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.00493d3d
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x52cb70]
mov ecx, dword [0x52a234]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44b686
mov ecx, esi
push ebx
push 0x52cb4c
push edi
call fcn.0044b7a0
mov dword [0x52cb3c], esi
push 0x52cb40
call fcn.00493e5d
add esp, 4
jmp 0x44b5c3
push 0x52cb70
call fcn.00493de7
add esp, 4
cmp dword [0x52cb70], 0xffffffff
jne 0x44b660
xorps xmm0, xmm0
movups xmmword [0x52cb5c], xmm0
movups xmmword [0x52cb4c], xmm0
mov dword [0x52cb6c], 0
push 0x52cb4c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x52cb70
call fcn.00493e5d
add esp, 4
jmp 0x44b660

Function at 0x44b6f0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x52cb70]
mov ecx, dword [0x52a234]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44b722
movzx ecx, word [0x52cb4c]
cmp cx, 9
jne 0x44b76d
xor eax, eax
inc eax
pop ebp
ret
push 0x52cb70
call fcn.00493de7
add esp, 4
cmp dword [0x52cb70], 0xffffffff
jne 0x44b710
xorps xmm0, xmm0
movups xmmword [0x52cb5c], xmm0
movups xmmword [0x52cb4c], xmm0
mov dword [0x52cb6c], 0
push 0x52cb4c
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x52cb70
call fcn.00493e5d
add esp, 4
jmp 0x44b710
xor eax, eax
test cx, cx
je 0x44b720
cmp cx, 6
jne 0x44b781
mov eax, 2
jmp 0x44b720
cmp cx, 0xc
jne 0x44b78e
mov eax, 3
jmp 0x44b720
mov eax, 4
jmp 0x44b720
Function at 0x451030
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x451099
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x451099
mov eax, dword [esi + 0x3c]
cmp dword [esi + eax], 0x4550
jne 0x451099
mov edx, dword [esi + eax + 0x98]
xor eax, eax
test edx, edx
je 0x45109b
add edx, esi
je 0x45109b
cmp byte [edx + 8], 0x30
jne 0x451099
cmp byte [edx + 9], 0x82
jne 0x451099
movzx eax, word [edx + 0xa]
shl eax, 0x10
bswap eax
add eax, 0x13
and eax, 0x1fff8
je 0x451099
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
add edx, eax
add esi, dword [ecx + 0x10]
cmp edx, esi
jae 0x451099
cmp dword [edx], 0x74636159
je 0x4510a1
xor eax, eax
pop esi
pop edi
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
movzx esi, word [edx + 4]
shl esi, 0x10
bswap esi
test edi, edi
je 0x4510cc
cmp dword [eax], esi
jle 0x451099
add edx, 6
push esi
push edx
push edi
call fcn.00497010
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x4510cf
inc esi
mov dword [eax], esi
mov al, 1
jmp 0x45109b
Function at 0x454950
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x526014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x454a3e
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x301
mov dword [esp + 0x54], ecx
mov eax, dword [eax]
mov dword [esp + 0x60], eax
sar eax, 0x1f
mov dword [esp + 0x64], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.00474a10
mov eax, dword [0x52ce20]
mov ecx, dword [0x52a234]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x454a51
mov dword [esp], str.__metadata
call fcn.0047ac00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x509c90]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.0045a1e0
sub esp, 0x44
cmp byte [edi], 0
jne 0x454a8f
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004948c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x52ce20
call fcn.00493de7
cmp dword [0x52ce20], 0xffffffff
jne 0x4549d8
mov dword [esp], 0
mov ecx, 0x52cc28
call fcn.00453170
sub esp, 4
mov dword [esp], 0x52ce20
call fcn.00493e5d
jmp 0x4549d8
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x454aa7
cmp al, 9
je 0x454ac4
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x454a3e
jmp 0x454a8f
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x454a9b
mov dword [esp], 1
call fcn.004fc240
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x454a97
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x454a9b
lea ecx, [esi + 0x5c]
call fcn.00469580
lea ecx, [esi + 0x28]
call fcn.00466ab0
mov ecx, esi
call fcn.00469ab0
mov dword [esp], esi
call fcn.00493d6d
jmp 0x454a9b
Function at 0x454af0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov eax, dword [0x526014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x454bdd
mov edi, edx
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
pcmpeqd xmm0, xmm0
movdqa xmmword [esp + 0x50], xmm0
movdqa xmmword [esp + 0x60], xmm0
mov word [esp + 0x50], 0x701
mov dword [esp + 0x54], ecx
cmp byte [eax + 0xb], 0
jns 0x454b3f
mov eax, dword [eax]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x60], eax
xor eax, eax
dec eax
lea ecx, [esp + 0x48]
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [esp], ecx
call fcn.00474a10
mov eax, dword [0x52ce20]
mov ecx, dword [0x52a234]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x454bf0
mov dword [esp], str.__metadata
call fcn.0047ac00
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
mov dword [esp + 8], edx
mov dword [esp + 4], ecx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp], edi
lea edi, [esp + 0x50]
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
pxor xmm0, xmm0
movdqu xmmword [esp + 0x28], xmm0
movaps xmm0, xmmword [0x509c90]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.0045a1e0
sub esp, 0x44
cmp byte [edi], 0
jne 0x454c2e
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004948c8
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x52ce20
call fcn.00493de7
cmp dword [0x52ce20], 0xffffffff
jne 0x454b77
mov dword [esp], 0
mov ecx, 0x52cc28
call fcn.00453170
sub esp, 4
mov dword [esp], 0x52ce20
call fcn.00493e5d
jmp 0x454b77
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x454c46
cmp al, 9
je 0x454c63
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x454bdd
jmp 0x454c2e
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x454c3a
mov dword [esp], 1
call fcn.004fc240
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x454c36
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x454c3a
lea ecx, [esi + 0x5c]
call fcn.00469580
lea ecx, [esi + 0x28]
call fcn.00466ab0
mov ecx, esi
call fcn.00469ab0
mov dword [esp], esi
call fcn.00493d6d
jmp 0x454c3a
Function at 0x455290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
jne 0x455369
cmp dword [esi], 0
jne 0x455369
cmp dword [esi + 0xc], 0
jne 0x455369
xor eax, eax
cmp dword [esi + 4], 0
jne 0x455369
mov ebx, dword [edi]
cmp eax, ebx
je 0x4552f3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x455339
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4552e9
mov dword [esi], ebx
call fcn.00471300
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x455326
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x455350
lea eax, [ebx + 1]
cmp eax, 2
jb 0x45531c
mov dword [esi + 4], ebx
call fcn.00471300
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.00471300
push dword [esi]
call fcn.00474440
add esp, 4
mov dword [esi], 0
jmp 0x4552da
call fcn.00471300
push dword [esi + 4]
call fcn.00474440
add esp, 4
mov dword [esi + 4], 0
jmp 0x45530c
mov ecx, esi
call fcn.004e84b0
mov eax, dword [esi]
jmp 0x4552c4
Function at 0x4569e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x80
mov ebx, dword [ebp + 0xc]
mov eax, dword [0x526014]
xor eax, ebp
mov dword [esp + 0x78], eax
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x30]
movdqa xmmword [esi + 0x30], xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x18]
push 0x4c
push str..._.._base_file_version_info_win.cc
push str.CreateFileVersionInfoWin
push edi
call fcn.004712d0
add esp, 0x10
mov ecx, esi
mov esi, ebx
push 0
push edi
call fcn.00478af0
mov dword [esp + 0x14], 0xffffffff
cmp byte [ebx + 0xb], 0
jns 0x456a4d
mov esi, dword [esi]
lea eax, [esp + 0x14]
push eax
push esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
je 0x456bb9
mov ebx, eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
test ebx, ebx
js 0x456bc4
push ebx
call fcn.00493d3d
add esp, 4
mov edi, eax
push ebx
push 0
push eax
call fcn.00497b10
add esp, 0xc
push edi
push ebx
push dword [esp + 0x1c]
push esi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x456ba1
lea eax, [esp + 0x2c]
mov dword [eax], 0
lea ecx, [esp + 0x28]
mov dword [ecx], 0xffffffff
push ecx
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x456ba1
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
test eax, eax
je 0x456ba1
add ebx, edi
push 0x1c
call fcn.00493d3d
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x52eec4]
xor edx, edx
bt ecx, eax
mov eax, dword [esp + 0x10]
movzx ecx, word [eax]
mov word [esp + 0xe], cx
movzx ecx, word [eax + 2]
mov dword [esi], fcn.00457090
mov dword [esi + 4], edi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], edx
jb 0x456bd0
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x536ec4], 1
mov dword [esi + 0x10], edi
movzx eax, word [esp + 0xe]
mov word [esi + 0x14], ax
mov word [esi + 0x16], cx
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0xffffffff
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x30]
push eax
push 0x519346
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x456bcd
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 8]
mov dword [eax], esi
lea ecx, [esp + 0x30]
call fcn.00478b50
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.004948c8
mov eax, dword [ebp + 8]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
mov dword [eax], 0
test edi, edi
je 0x456b82
push edi
call fcn.00493d6d
add esp, 4
jmp 0x456b82
mov eax, dword [ebp + 8]
mov dword [eax], 0
jmp 0x456b82
lea ecx, [esp + 0x18]
call fcn.004be670
int3
push edi
mov ebx, ecx
call fcn.004e8660
mov ecx, ebx
add esp, 4
jmp 0x456b3d
Function at 0x459520
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x100c
call fcn.00495240
mov esi, ecx
mov eax, dword [0x526014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.00497b10
add esp, 0xc
lea eax, [ebp - 0x1014]
mov dword [eax], 1
lea ecx, [ebp - 0x1018]
mov dword [ecx], edi
push ecx
push ebx
push eax
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x459599
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004948c8
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 2
je 0x4595bd
mov edi, 0x3f4
cmp eax, 1
jne 0x459580
mov ecx, esi
push ebx
call fcn.004448a0
xor edi, edi
jmp 0x459580
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.00497b10
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
add eax, 0xfffffbff
mov edi, 0xea
cmp eax, 0xfffffc00
jb 0x459580
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x4595b4