joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4446f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x70
mov esi, dword [ebp + 8]
mov eax, dword [0x521014]
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 0x27e
push str..._.._base_files_file_util_win.cc
push str.CreateDirectoryAndGetError
push ebx
call fcn.0046ea80
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.00474400
cmp byte [esi + 0xb], 0
mov edi, esi
jns 0x444755
mov esi, dword [edi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x444789
mov bl, 1
test al, 0x10
je 0x44482e
lea ecx, [esp + 0x20]
call fcn.00474460
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
dec eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov ecx, edi
push ebx
call fcn.0046dc00
movzx ecx, byte [esp + 0x1b]
mov dword [esp + 8], ecx
test cl, cl
jns 0x4447b5
mov eax, dword [esp + 0x14]
mov dword [esp + 8], eax
movzx edx, byte [edi + 0xb]
mov eax, edx
test dl, dl
jns 0x4447c2
mov eax, dword [edi + 4]
cmp dword [esp + 8], eax
jne 0x44484c
cmp dword [esp + 8], 0
je 0x444802
mov dword [esp + 0xc], ebx
test cl, cl
jns 0x4447e3
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov ecx, edi
test dl, dl
jns 0x4447eb
mov ecx, dword [edi]
xor eax, eax
mov edx, dword [esp + 0xc]
movzx edx, word [edx + eax*2]
cmp dx, word [ecx + eax*2]
jne 0x44484c
inc eax
cmp dword [esp + 8], eax
jne 0x4447ed
mov eax, 0xfffffffc
mov esi, 2
cmp dword [ebp + 0xc], 0
je 0x444817
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
lea ecx, [esp + 0x10]
call fcn.0046dbe0
jmp 0x44476b
cmp dword [ebp + 0xc], 0
je 0x44483d
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xfffffff7
push 0x50
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x44476b
push dword [ebp + 0xc]
push ebx
call fcn.004446f0
add esp, 8
test al, al
je 0x44481e
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x444820
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp eax, 0xb7
jne 0x444887
push edi
call fcn.00444350
add esp, 4
test al, al
jne 0x444820
cmp dword [ebp + 0xc], 0
je 0x444817
push esi
call fcn.00444c80
add esp, 4
jmp 0x444812
Function at 0x444ab0
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 [0x521014]
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.0046ea80
add esp, 0x10
mov ecx, edi
push 0
push ebx
call fcn.00474400
cmp dword [ebp + 0xc], 0
js 0x444b77
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x10], 0
call fcn.00473f40
test al, al
jne 0x444b7c
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.00473f60
lea ecx, [esp + 0x20]
call fcn.00474460
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
xor esi, esi
dec esi
jmp 0x444b57
lea ecx, [esp + 0x10]
push 0
push dword [ebp + 0xc]
push esi
push str.File::WriteAtCurrentPos
call fcn.004db1f0
jmp 0x444b2c

Function at 0x444ba0
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 [0x521014]
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.0046ea80
add esp, 0x10
xor esi, esi
mov ecx, ebx
push esi
push edi
call fcn.00474400
mov dword [edi + 4], 0xffffffff
mov dword [edi], esi
call fcn.00473f40
test al, al
jne 0x444c5d
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.00473f60
lea ecx, [esp + 0x20]
call fcn.00474460
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
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.004db1f0
jmp 0x444c0f
Function at 0x444dc0
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 [0x521014]
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.0046ea80
add esp, 0x10
mov ecx, edi
push 0
push esi
call fcn.00474400
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 0x444fda
mov ecx, ebx
and ecx, 0x40
shl ecx, 0x18
test bl, bl
cmovns 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 0x444efe
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 0x444f8e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
mov ebx, dword [ebp + 0xc]
jae 0x444fb8
mov ecx, edi
inc ecx
cmp ecx, 2
jb 0x444f42
mov dword [esi], edi
mov edi, eax
call fcn.0046eab0
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [esi]
inc edi
cmp edi, 2
jb 0x444f93
mov eax, dword [esp + 0xc]
shr eax, 0xa
mov dword [esi + 0x14], 0
mov byte [esi + 0x19], al
test bl, 4
jne 0x444fa7
test bl, 0xa
je 0x444f70
mov byte [esi + 0x18], 1
lea ecx, [esp + 0x20]
call fcn.00474460
mov ecx, dword [esp + 0x68]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov ebx, dword [ebp + 0xc]
jmp 0x444f4b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00444c80
add esp, 4
mov dword [esi + 0x14], eax
jmp 0x444f70
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
setne byte [esi + 0x18]
jmp 0x444f70
mov dword [esp + 4], eax
call fcn.0046eab0
push dword [esi]
call fcn.00471760
mov eax, dword [esp + 8]
add esp, 4
mov dword [esi], 0
jmp 0x444f2f
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esp + 8]
mov dword [eax + 0x14], 0xffffffff
jmp 0x444f70
Function at 0x444ff0
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 0x445025
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x44502c
lea eax, [ebx + 1]
cmp eax, 2
jb 0x44501e
mov dword [esi], ebx
call fcn.0046eab0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.0046eab0
push dword [esi]
call fcn.00471760
add esp, 4
mov dword [esi], 0
jmp 0x44500f

Function at 0x445090
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x234
mov eax, dword [ebp + 8]
mov ecx, dword [0x521014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor edi, edi
mov esi, 0
test eax, eax
je 0x4450c6
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessId]
mov esi, eax
test eax, eax
je 0x445185
lea ebx, [ebp - 0x238]
push 0x228
push 0xff
push ebx
call fcn.0048ef90
add esp, 0xc
mov dword [ebx - 4], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
test eax, eax
je 0x445119
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x240], eax
cmp ebx, 0xffffffff
je 0x44517d
call fcn.0046eab0
mov edi, ebx
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_SetLastError]
lea eax, [edi + 1]
mov dword [ebp - 0x240], eax
cmp eax, 2
jb 0x445181
lea ebx, [ebp - 0x23c]
push ebx
push edi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x445181
cmp dword [ebp - 0x234], esi
je 0x445149
push ebx
push edi
call sub.KERNEL32.dll_Process32NextW
jmp 0x445134
mov esi, dword [ebp - 0x224]
cmp dword [ebp - 0x240], 2
jb 0x445166
call fcn.0046eab0
push edi
call fcn.00471760
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
add esp, 0x234
pop esi
pop edi
pop ebx
pop ebp
ret
xor edi, edi
jmp 0x44510d
xor esi, esi
jmp 0x44514f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0
cmp eax, 6
jne 0x4450c6
int3
Function at 0x4455b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, edx
mov ebx, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x4455e3
mov eax, dword [0x522bc4]
cmp eax, 0xffffffff
je 0x445644
mov ebx, 0x100000
test eax, eax
jne 0x4455e3
mov ebx, 0x80000
push 0xc
call fcn.0048b346
add esp, 4
mov edi, eax
mov dword [eax], esi
mov esi, dword [ebp + 8]
test esi, esi
setne byte [eax + 4]
mov eax, dword [ebp + 0xc]
mov dword [edi + 8], eax
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
push ecx
push 0x10000
push edi
push 0x4459c0
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x445668
test esi, esi
je 0x4456a2
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov dword [esi + 4], ecx
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x522bc4
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x44570a
mov eax, dword [0x522bc4]
jmp 0x4455d5
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x445684
mov esi, eax
cmp eax, 0x5af
je 0x445684
cmp esi, 0xe
jne 0x4456b2
push ebx
call fcn.004e0cf0
add esp, 4
test edi, edi
mov eax, dword [ebp - 0x24]
je 0x44562b
push edi
call fcn.0048b376
mov eax, dword [ebp - 0x24]
add esp, 4
jmp 0x44562b
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x44562b
mov eax, dword [0x527af4]
mov ecx, dword [0x5251d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x445719
lea ebx, [ebp - 0x20]
push esi
push ebx
call fcn.004cec60
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
jns 0x4456ea
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
push eax
push ebx
push dword [0x527af0]
call fcn.00476ec0
add esp, 0xc
cmp byte [ebp - 0x15], 0
jns 0x44568d
push dword [ebp - 0x20]
call fcn.0048b376
jmp 0x44568a
mov dword [0x522bc4], 0
jmp 0x4455de
push 0x527af4
call fcn.0048b3e7
add esp, 4
cmp dword [0x527af4], 0xffffffff
jne 0x4456cf
push 0x20
push str.create_thread_last_error
call fcn.00452520
add esp, 8
mov dword [0x527af0], eax
push 0x527af4
call fcn.0048b45d
add esp, 4
jmp 0x4456cf
Function at 0x445be0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x521014]
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
je 0x445c35
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffd
mov esi, 0x3f4
cmp eax, 1
ja 0x445c1f
cmp dword [ebp - 0x18], 4
jne 0x445c1f
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
xor esi, esi
jmp 0x445c1f

Function at 0x445c60
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.0048c1b0
mov esi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, 0x800
lea ebx, [ebp - 0x810]
push edi
push 0xff
push ebx
call fcn.0048ef90
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 0x445cef
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp - 0x1014]
cmp eax, 1
jne 0x445cf3
mov ecx, esi
push ebx
call fcn.0043fdf0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, edi
add esp, 0x100c
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov edi, eax
jmp 0x445cd6
mov edi, 0x3f4
cmp eax, 2
jne 0x445cd6
lea edi, [ebp - 0x1010]
push 0x800
push 0xff
push edi
call fcn.0048ef90
add esp, 0xc
push 0x400
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x1018], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x445cd6
mov ecx, esi
lea eax, [ebp - 0x1010]
push eax
call fcn.00437900
jmp 0x445cd4
Function at 0x445d50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x521014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x527afc]
mov ecx, dword [0x5251d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x445d9d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048b980
mov eax, 0x527af8
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x527afc
call fcn.0048b3e7
add esp, 4
cmp dword [0x527afc], 0xffffffff
jne 0x445d83
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.0048ef90
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 0x58
call fcn.0048b346
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x527b2c]
mov ecx, dword [0x5251d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x445e69
push 0x527b2c
call fcn.0048b3e7
add esp, 4
cmp dword [0x527b2c], 0xffffffff
jne 0x445e69
xorps xmm0, xmm0
movups xmmword [0x527b18], xmm0
movups xmmword [0x527b08], xmm0
mov dword [0x527b28], 0
push 0x527b08
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x527b2c
call fcn.0048b45d
add esp, 4
mov ecx, esi
push ebx
push 0x527b08
push edi
call fcn.00445f50
mov dword [0x527af8], esi
push 0x527afc
call fcn.0048b45d
add esp, 4
jmp 0x445d83

Function at 0x445ea0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x527b2c]
mov ecx, dword [0x5251d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jle 0x445f09
push 0x527b2c
call fcn.0048b3e7
add esp, 4
cmp dword [0x527b2c], 0xffffffff
jne 0x445f09
xorps xmm0, xmm0
movups xmmword [0x527b18], xmm0
movups xmmword [0x527b08], xmm0
mov dword [0x527b28], 0
push 0x527b08
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x527b2c
call fcn.0048b45d
add esp, 4
movzx ecx, word [0x527b08]
cmp cx, 9
jne 0x445f1b
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
test cx, cx
je 0x445f19
cmp cx, 6
jne 0x445f2f
mov eax, 2
jmp 0x445f19
cmp cx, 0xc
jne 0x445f3c
mov eax, 3
jmp 0x445f19
mov eax, 4
jmp 0x445f19
Function at 0x448c60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x80
mov esi, ecx
mov eax, dword [0x521014]
xor eax, ebp
mov dword [esp + 0x78], eax
mov ecx, dword [0x527b94]
test ecx, ecx
je 0x448c9f
push dword [ebp + 8]
call fcn.00448c60
mov ebx, eax
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
jmp 0x448cf7
movzx eax, byte [esi + 0x1b]
test al, al
jns 0x448caa
mov eax, dword [esi + 0x14]
xor ebx, ebx
test eax, eax
jne 0x448cea
lea edi, [esp + 0x68]
mov dword [edi], ebx
lea eax, [esp + 0x64]
mov dword [eax], 4
push ebx
push eax
push edi
push 0x20000013
push dword [esi + 0x58]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
sete cl
mov eax, dword [edi]
cmp eax, 0xc8
setne bl
or bl, cl
cmp bl, 1
je 0x448d01
xor bl, 1
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048b980
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea edi, [esi + 0x10]
xor ecx, ecx
dec ecx
lea edx, [esp + 0x6c]
mov dword [edx + 4], ecx
mov dword [edx], ecx
mov word [edx + 8], 0xffff
push 0xa
push edx
push eax
call fcn.0049d7b1
add esp, 0xc
push 0x20
call fcn.0048b346
add esp, 4
lea ecx, [esp + 0x58]
mov dword [ecx], eax
mov dword [ecx + 8], 0x80000020
mov dword [ecx + 4], 0x11
movups xmm0, xmmword [str.final_query_info_]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0x2d
mov byte [eax + 0x11], 0
lea eax, [esp + 0x6c]
push eax
call fcn.0046cfd0
mov ecx, eax
push 0x50976d
call fcn.0046cfd0
cmp byte [eax + 0xb], 0
jns 0x448d70
mov eax, dword [eax]
mov ecx, esp
mov edx, eax
call fcn.004d3cc0
cmp byte [edi + 0xb], 0
jns 0x448d89
push dword [edi]
call fcn.0048b376
add esp, 4
mov eax, dword [esp + 8]
mov dword [edi + 8], eax
movsd xmm0, qword [esp]
movsd qword [edi], xmm0
mov byte [esp + 0xb], 0
mov word [esp], 0
cmp byte [esp + 0x63], 0
jns 0x448db7
push dword [esp + 0x58]
call fcn.0048b376
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edi, [esp + 0x5c]
push edi
call fcn.004b9e70
add esp, 8
mov ecx, esp
push edi
push 0x13a
push str.FinalizeDownload
push 1
call fcn.004b9c70
lea edi, [esp + 8]
lea ecx, [esp + 0x3c]
push 0x50d72c
push str.Unsuccessful_download:
call fcn.004b5d50
add esi, 4
mov ecx, edi
push esi
call fcn.004b5c70
mov ecx, esp
call fcn.004b9cb0
cmp byte [esp + 0x63], 0
jns 0x448e1b
push dword [esp + 0x58]
call fcn.0048b376
add esp, 4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x448ce7
mov eax, dword [esp + 0x68]
mov dword [ecx], eax
jmp 0x448ce7
Function at 0x450f30
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 [0x521014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x45101e
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.00471b70
mov eax, dword [0x527dd8]
mov ecx, dword [0x5251d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x451031
mov dword [esp], str.__metadata
call fcn.0044fa90
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 [0x504c60]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00457ca0
sub esp, 0x44
cmp byte [edi], 0
jne 0x45106f
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x527dd8
call fcn.0048b3e7
cmp dword [0x527dd8], 0xffffffff
jne 0x450fb8
mov dword [esp], 0
mov ecx, 0x527be8
call fcn.0044f810
sub esp, 4
mov dword [esp], 0x527dd8
call fcn.0048b45d
jmp 0x450fb8
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x451087
cmp al, 9
je 0x4510a3
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x45101e
jmp 0x45106f
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x45107b
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x451077
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x45107b
lea ecx, [esi + 0x5c]
call fcn.00468dd0
lea ecx, [esi + 0x28]
call fcn.00466670
mov ecx, esi
call fcn.00469300
mov dword [esp], esi
call fcn.0048b376
jmp 0x45107b
Function at 0x4510d0
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 [0x521014]
xor eax, ebp
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x4511bd
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 0x45111f
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.00471b70
mov eax, dword [0x527dd8]
mov ecx, dword [0x5251d0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4511d0
mov dword [esp], str.__metadata
call fcn.0044fa90
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 [0x504c60]
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x1c], 0x4d
mov ecx, esi
call fcn.00457ca0
sub esp, 0x44
cmp byte [edi], 0
jne 0x45120e
mov ecx, dword [esp + 0x78]
xor ecx, ebp
call fcn.0048b980
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp], 0x527dd8
call fcn.0048b3e7
cmp dword [0x527dd8], 0xffffffff
jne 0x451157
mov dword [esp], 0
mov ecx, 0x527be8
call fcn.0044f810
sub esp, 4
mov dword [esp], 0x527dd8
call fcn.0048b45d
jmp 0x451157
mov al, byte [esp + ebx + 0x51]
cmp al, 8
je 0x451226
cmp al, 9
je 0x451242
inc ebx
movzx eax, byte [esp + 0x50]
cmp ebx, eax
jae 0x4511bd
jmp 0x45120e
mov ecx, dword [esp + ebx*8 + 0x60]
test ecx, ecx
je 0x45121a
mov eax, dword [ecx]
mov dword [esp], 1
call dword [eax]
sub esp, 4
mov al, byte [esp + ebx + 0x51]
jmp 0x451216
mov esi, dword [esp + ebx*8 + 0x60]
test esi, esi
je 0x45121a
lea ecx, [esi + 0x5c]
call fcn.00468dd0
lea ecx, [esi + 0x28]
call fcn.00466670
mov ecx, esi
call fcn.00469300
mov dword [esp], esi
call fcn.0048b376
jmp 0x45121a