joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4483d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, ecx
mov eax, dword [0x520014]
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 ebx, [esp + 0x10]
push 0x88
push str..._.._base_files_file_win.cc
push str.WriteAtCurrentPos
push ebx
call fcn.0046dd60
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.004745e0
cmp dword [ebp + 0xc], 0
js 0x448497
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.00473e40
test al, al
jne 0x44849c
lea ebx, [esp + 0xc]
mov dword [ebx], 0xffffffff
push 0
push ebx
push dword [ebp + 0xc]
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WriteFile]
xor esi, esi
cmp eax, 1
sbb esi, esi
or esi, dword [ebx]
lea ecx, [esp + 0x10]
call fcn.00473ee0
lea ecx, [esp + 0x20]
call fcn.00474640
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048f468
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
dec esi
jmp 0x448477
lea ecx, [esp + 0x10]
push 0
push dword [ebp + 0xc]
push esi
push str.File::WriteAtCurrentPos
call fcn.004de920
jmp 0x44844c

Function at 0x4484c0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov dword [esp + 4], ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [esp + 0x68], eax
pcmpeqd xmm0, xmm0
lea ebx, [esp + 0x20]
movdqa xmmword [ebx + 0x30], xmm0
movdqa xmmword [ebx + 0x20], xmm0
movdqa xmmword [ebx + 0x10], xmm0
movdqa xmmword [ebx], xmm0
lea edi, [esp + 0x10]
push 0x9c
push str..._.._base_files_file_win.cc
push str.GetLength
push edi
call fcn.0046dd60
add esp, 0x10
xor esi, esi
mov ecx, ebx
push esi
push edi
call fcn.004745e0
mov dword [edi + 4], 0xffffffff
mov dword [edi], esi
call fcn.00473e40
test al, al
jne 0x44857d
xor eax, eax
dec eax
lea ebx, [esp + 8]
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
mov eax, dword [esp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
cmp eax, 1
sbb esi, esi
mov edi, dword [ebx + 4]
or edi, esi
or esi, dword [ebx]
lea ecx, [esp + 0x10]
call fcn.00473ee0
lea ecx, [esp + 0x20]
call fcn.00474640
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048f468
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
lea ecx, [esp + 0x10]
push esi
push esi
push dword [esp + 0xc]
push str.File::GetLength
call fcn.004de920
jmp 0x44852f
Function at 0x4486e0
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 [0x520014]
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.0046dd60
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.004745e0
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 0x4488fb
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 0x44881f
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 0x4488af
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
mov ebx, dword [ebp + 0xc]
jae 0x4488d9
mov ecx, edi
inc ecx
cmp ecx, 2
jb 0x448863
mov dword [esi], edi
mov edi, eax
call fcn.0046dd90
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
inc edi
cmp edi, 2
jb 0x4488b4
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
test bl, 4
jne 0x4488c8
test bl, 0xa
je 0x448891
mov byte [esi + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.00474640
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048f468
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
jmp 0x44886c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004485a0
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x448891
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [esi + 0x18]
jmp 0x448891
mov dword [esp + 4], eax
call fcn.0046dd90
push dword [esi]
call fcn.00470d70
mov eax, dword [esp + 8]
add esp, 4
mov dword [esi], 0
jmp 0x448850
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
mov dword [eax + 0x14], 0xffffffff
jmp 0x448891
Function at 0x448910
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 0x448945
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x44894c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x44893e
mov dword [esi], ebx
call fcn.0046dd90
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0046dd90
push dword [esi]
call fcn.00470d70
add esp, 4
mov dword [esi], 0
jmp 0x44892f
Function at 0x449900
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 [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x449937
mov eax, dword [0x521bd4]
cmp eax, 0xffffffff
je 0x4499c8
mov ebx, 0x100000
test eax, eax
jne 0x449937
mov ebx, 0x80000
push 0xc
call fcn.0048e8dd
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 + 0x528e6c]
bt ecx, eax
jb 0x4499ec
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x530e6c], 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 0x449d80
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4499fa
test edi, edi
je 0x449a58
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.0048f468
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x521bd4
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x449ac7
mov eax, dword [0x521bd4]
jmp 0x449929
push edi
call fcn.004e3120
add esp, 4
jmp 0x44996f
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x449a16
mov edi, eax
cmp eax, 0x5af
je 0x449a16
cmp edi, 0xe
jne 0x449a68
push ebx
call fcn.004e3110
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x24]
je 0x4499af
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x528e6c]
bt edx, ecx
jae 0x449a47
push eax
call fcn.004e3210
add esp, 4
push esi
call fcn.0048e90d
add esp, 4
mov eax, dword [ebp - 0x24]
jmp 0x4499af
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x4499af
mov eax, dword [0x526ae8]
mov ecx, dword [0x52420c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x449ad6
lea ebx, [ebp - 0x20]
push edi
push ebx
call fcn.004464e0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x449aa0
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push dword [0x526ae4]
call fcn.00477b60
add esp, 0xc
cmp byte [ebp - 0x15], 0
jns 0x449a1f
push dword [ebp - 0x20]
call fcn.0048e90d
jmp 0x449a1c
mov dword [0x521bd4], 0
jmp 0x449932
push 0x526ae8
call fcn.0048e987
add esp, 4
cmp dword [0x526ae8], 0xffffffff
jne 0x449a85
push 0x20
push str.create_thread_last_error
call fcn.00454940
add esp, 8
mov dword [0x526ae4], eax
push 0x526ae8
call fcn.0048e9fd
add esp, 4
jmp 0x449a85

Function at 0x449fd0
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 0x44a000
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x520014]
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 0x44a05f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x44a05f
cmp dword [ebp - 0x18], 4
jne 0x44a05f
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.0048f468
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x44a080
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.0048fde0
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.004926b0
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
jne 0x44a0f8
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x44a111
mov ecx, esi
push ebx
call fcn.00442db0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f468
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, 0x3f4
cmp eax, 2
jne 0x44a0f8
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.004926b0
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 0x44a0f8
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x44a0f1

Function at 0x44a170
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
push eax
mov eax, dword [ebp + 8]
mov edx, dword [0x520014]
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.0048f468
mov eax, esi
add esp, 4
pop esi
pop ebp
ret 8
Function at 0x44a260
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x526af0]
mov ecx, dword [0x52420c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44a2ad
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f468
mov eax, 0x526aec
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x526af0
call fcn.0048e987
add esp, 4
cmp dword [0x526af0], 0xffffffff
jne 0x44a293
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.004926b0
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.0048e8dd
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x526b20]
mov ecx, dword [0x52420c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44a356
mov ecx, esi
push ebx
push 0x526afc
push edi
call fcn.0044a470
mov dword [0x526aec], esi
push 0x526af0
call fcn.0048e9fd
add esp, 4
jmp 0x44a293
push 0x526b20
call fcn.0048e987
add esp, 4
cmp dword [0x526b20], 0xffffffff
jne 0x44a330
xorps xmm0, xmm0
movups xmmword [0x526b0c], xmm0
movups xmmword [0x526afc], xmm0
mov dword [0x526b1c], 0
push 0x526afc
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x526b20
call fcn.0048e9fd
add esp, 4
jmp 0x44a330

Function at 0x44a3c0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x526b20]
mov ecx, dword [0x52420c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x44a3f2
movzx ecx, word [0x526afc]
cmp cx, 9
jne 0x44a43d
xor eax, eax
inc eax
pop ebp
ret
push 0x526b20
call fcn.0048e987
add esp, 4
cmp dword [0x526b20], 0xffffffff
jne 0x44a3e0
xorps xmm0, xmm0
movups xmmword [0x526b0c], xmm0
movups xmmword [0x526afc], xmm0
mov dword [0x526b1c], 0
push 0x526afc
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x526b20
call fcn.0048e9fd
add esp, 4
jmp 0x44a3e0
xor eax, eax
test cx, cx
je 0x44a3f0
cmp cx, 6
jne 0x44a451
mov eax, 2
jmp 0x44a3f0
cmp cx, 0xc
jne 0x44a45e
mov eax, 3
jmp 0x44a3f0
mov eax, 4
jmp 0x44a3f0
Function at 0x44f580
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x44f5e9
movzx eax, word [esi]
cmp eax, 0x5a4d
jne 0x44f5e9
mov eax, dword [esi + 0x3c]
cmp dword [esi + eax], 0x4550
jne 0x44f5e9
mov edx, dword [esi + eax + 0x98]
xor eax, eax
test edx, edx
je 0x44f5eb
add edx, esi
je 0x44f5eb
cmp byte [edx + 8], 0x30
jne 0x44f5e9
cmp byte [edx + 9], 0x82
jne 0x44f5e9
movzx eax, word [edx + 0xa]
shl eax, 0x10
bswap eax
add eax, 0x13
and eax, 0x1fff8
je 0x44f5e9
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x18], edx
add edx, eax
add esi, dword [ecx + 0x10]
cmp edx, esi
jae 0x44f5e9
cmp dword [edx], 0x74636159
je 0x44f5f1
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 0x44f61c
cmp dword [eax], esi
jle 0x44f5e9
add edx, 6
push esi
push edx
push edi
call fcn.00491bb0
add esp, 0xc
mov byte [edi + esi], 0
jmp 0x44f61f
inc esi
mov dword [eax], esi
mov al, 1
jmp 0x44f5eb
Function at 0x4531b0
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 [0x520014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x45329e
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.00471340
mov eax, dword [0x526dc8]
mov ecx, dword [0x52420c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4532b1
mov dword [esp], str.__metadata
call fcn.00476310
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 [0x503c60]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00457c10
sub esp, 0x44
cmp byte [edi], 0
jne 0x4532ef
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048f468
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x526dc8
call fcn.0048e987
cmp dword [0x526dc8], 0xffffffff
jne 0x453238
mov dword [esp], 0
mov ecx, 0x526bd0
call fcn.004519a0
sub esp, 4
mov dword [esp], 0x526dc8
call fcn.0048e9fd
jmp 0x453238
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x453307
cmp al, 9
je 0x453324
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x45329e
jmp 0x4532ef
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x4532fb
mov dword [esp], 1
call fcn.004f6730
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x4532f7
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x4532fb
lea ecx, [esi + 0x5c]
call fcn.00466d50
lea ecx, [esi + 0x28]
call fcn.004640e0
mov ecx, esi
call fcn.00467280
mov dword [esp], esi
call fcn.0048e90d
jmp 0x4532fb
Function at 0x453350
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 [0x520014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x45343d
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 0x45339f
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.00471340
mov eax, dword [0x526dc8]
mov ecx, dword [0x52420c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x453450
mov dword [esp], str.__metadata
call fcn.00476310
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 [0x503c60]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00457c10
sub esp, 0x44
cmp byte [edi], 0
jne 0x45348e
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048f468
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x526dc8
call fcn.0048e987
cmp dword [0x526dc8], 0xffffffff
jne 0x4533d7
mov dword [esp], 0
mov ecx, 0x526bd0
call fcn.004519a0
sub esp, 4
mov dword [esp], 0x526dc8
call fcn.0048e9fd
jmp 0x4533d7
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x4534a6
cmp al, 9
je 0x4534c3
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x45343d
jmp 0x45348e
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x45349a
mov dword [esp], 1
call fcn.004f6730
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x453496
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x45349a
lea ecx, [esi + 0x5c]
call fcn.00466d50
lea ecx, [esi + 0x28]
call fcn.004640e0
mov ecx, esi
call fcn.00467280
mov dword [esp], esi
call fcn.0048e90d
jmp 0x45349a
Function at 0x453af0
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 0x453bc9
cmp dword [esi], 0
jne 0x453bc9
cmp dword [esi + 0xc], 0
jne 0x453bc9
xor eax, eax
cmp dword [esi + 4], 0
jne 0x453bc9
mov ebx, dword [edi]
cmp eax, ebx
je 0x453b53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x453b99
lea eax, [ebx + 1]
cmp eax, 2
jb 0x453b49
mov dword [esi], ebx
call fcn.0046dd90
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 0x453b86
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x453bb0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x453b7c
mov dword [esi + 4], ebx
call fcn.0046dd90
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.0046dd90
push dword [esi]
call fcn.00470d70
add esp, 4
mov dword [esi], 0
jmp 0x453b3a
call fcn.0046dd90
push dword [esi + 4]
call fcn.00470d70
add esp, 4
mov dword [esi + 4], 0
jmp 0x453b6c
mov ecx, esi
call fcn.004e2f70
mov eax, dword [esi]
jmp 0x453b24
Function at 0x457210
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.0048fde0
mov esi, ecx
mov eax, dword [0x520014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.004926b0
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 0x457289
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048f468
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 0x4572ad
mov edi, 0x3f4
cmp eax, 1
jne 0x457270
mov ecx, esi
push ebx
call fcn.00442db0
xor edi, edi
jmp 0x457270
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.004926b0
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 0x457270
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
jmp 0x4572a4