Function at 0x44adcc
Capabilities:
Get common file path
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x528
mov eax, dword [0x56afe8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, 0x208
lea eax, [ebp - 0x310]
xor esi, esi
mov edi, ecx
push ebx
push esi
push eax
mov dword [ebp - 0x51c], esi
call sub.msvcrt.dll_memset
push 0x104
lea eax, [ebp - 0x108]
push esi
push eax
call sub.msvcrt.dll_memset
push ebx
lea eax, [ebp - 0x518]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x24
lea eax, [edi + 0x10]
push esi
push 0x80
push 3
push esi
push 3
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x44b04c
lea eax, [ebp - 0x524]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push ebx
test eax, eax
je 0x44b046
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x520], esi
jl 0x44b04c
jg 0x44ae7e
cmp dword [ebp - 0x524], esi
jbe 0x44b04c
lea eax, [ebp - 0x518]
push 0x104
push eax
call fcn.0044a22f
pop ecx
pop ecx
test eax, eax
je 0x44b04c
lea eax, [ebp - 0x518]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x44b04c
push str.DebugCreate
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x44b04c
lea ebx, [edi + 0x610]
push ebx
push 0x53336c
call eax
test eax, eax
js 0x44b04c
mov ecx, dword [ebx]
lea edx, [edi + 0x614]
push edx
push 0x53337c
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x44b04c
mov ecx, dword [ebx]
lea edx, [edi + 0x618]
push edx
push 0x53338c
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x44b04c
mov ecx, dword [ebx]
lea eax, [edi + 0x61c]
push eax
push 0x53339c
push ecx
mov edx, dword [ecx]
call dword [edx]
test eax, eax
js 0x44b04c
mov ecx, edi
call fcn.0044b05f
test eax, eax
je 0x44b04c
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
ja 0x44b04c
test eax, eax
je 0x44b04c
lea eax, [ebp - 0x310]
push str.srv
push eax
call sub.msvcrt.dll_strcpy
lea eax, [ebp - 0x108]
push 0x5333c0
push eax
call sub.msvcrt.dll_strcat
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x310]
push eax
call sub.msvcrt.dll_strcat
lea eax, [ebp - 0x310]
push str.http:__msdl.microsoft.com_download_symbols
push eax
call sub.msvcrt.dll_strcat
mov eax, dword [edi + 0x618]
lea edx, [ebp - 0x310]
add esp, 0x20
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xa4]
test eax, eax
js 0x44b04c
mov eax, dword [ebx]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0xb8]
test eax, eax
js 0x44b04c
mov eax, dword [ebx]
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x88]
test eax, eax
js 0x44b04c
mov eax, dword [ebx]
lea edx, [edi + 0x10]
push esi
push esi
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0xf0]
test eax, eax
js 0x44b04c
lea ebx, [edi + 0x614]
mov eax, dword [ebx]
push 0xffffffffffffffff
push esi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x174]
test eax, eax
js 0x44b04c
cmp dword [edi + 0xc], esi
jne 0x44b04c
mov eax, dword [ebx]
lea edx, [ebp - 0x528]
push edx
lea edx, [ebp - 0x51c]
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x88]
test eax, eax
js 0x44b04c
mov eax, dword [ebp - 0x51c]
mov dword [edi + 4], eax
cmp eax, dword [ebp + 0xc]
jne 0x44b04c
xor esi, esi
inc esi
jmp 0x44b04c
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00522d04
leave
ret 8