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

Disassembly:
sub esp, 0x538
mov eax, dword [0x4bd450]
xor eax, esp
mov dword [esp + 0x534], eax
push ebx
mov ebx, dword [esp + 0x540]
push ebp
push esi
push edi
xor edi, edi
push 0x207
lea eax, [esp + 0x135]
push edi
push eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov byte [esp + 0x13c], 0
call fcn.00476ef0
add esp, 0xc
push 0x103
lea ecx, [esp + 0x2d]
push edi
push ecx
mov byte [esp + 0x34], 0
call fcn.00476ef0
add esp, 0xc
push 0x206
lea eax, [esp + 0x33e]
xor edx, edx
push edi
push eax
mov word [esp + 0x344], dx
call fcn.00476ef0
mov edx, dword [esp + 0x55c]
add esp, 0xc
mov eax, ebx
call fcn.0044f090
test eax, eax
je 0x44f6b2
push edi
push 0x80
push 3
push edi
push 3
lea eax, [ebx + 4]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44f6b2
lea ecx, [esp + 0x20]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
push esi
test eax, eax
je 0x44f6ac
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x24], edi
jl 0x44f6b2
jg 0x44f43f
cmp dword [esp + 0x20], edi
jbe 0x44f6b2
lea edx, [esp + 0x338]
push edx
call fcn.0044f100
add esp, 4
test eax, eax
je 0x44f6b2
mov eax, dword [0x5185d4]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, edi
jne 0x44f486
push str.AddDllDirectory
push str.Kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call esi
neg eax
sbb eax, eax
and eax, 2
dec eax
mov dword [0x5185d4], eax
dec eax
neg eax
sbb eax, eax
and eax, 0xfffff800
add eax, 0x800
push eax
push edi
lea eax, [esp + 0x340]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, edi
je 0x44f6b2
push str.DebugCreate
push eax
call esi
cmp eax, edi
je 0x44f6b2
lea ebp, [ebx + 0x610]
push ebp
push 0x4aa51c
call eax
test eax, eax
jl 0x44f6b2
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [ebx + 0x614]
push esi
push 0x4aa52c
push eax
call edx
test eax, eax
jl 0x44f6b2
mov eax, dword [ebp]
mov edx, dword [eax]
lea ecx, [ebx + 0x618]
push ecx
push 0x4aa53c
push eax
mov eax, dword [edx]
call eax
test eax, eax
jl 0x44f6b2
mov eax, dword [ebp]
mov ecx, dword [eax]
lea edx, [ebx + 0x61c]
push edx
push 0x4aa54c
push eax
mov eax, dword [ecx]
call eax
test eax, eax
jl 0x44f6b2
mov dword [0x514dd8], 0x30
mov eax, dword [esi]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x140]
push 0x514dd8
push eax
call edx
test eax, eax
jl 0x44f6b2
lea eax, [esp + 0x28]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
cmp eax, 0x104
ja 0x44f6b2
cmp eax, edi
je 0x44f6b2
mov ecx, dword [str.srv]
mov dl, byte [0x4aa230]
lea edi, [esp + 0x28]
mov dword [esp + 0x130], ecx
mov byte [esp + 0x134], dl
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44f593
mov eax, dword [0x4aa234]
mov dword [edi], eax
lea eax, [esp + 0x28]
mov edx, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x44f5a8
lea edi, [esp + 0x130]
sub eax, edx
dec edi
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x44f5c0
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x130]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x44f5e0
mov eax, dword [ebx + 0x618]
lea edx, [esp + 0x130]
mov ecx, 0xb
mov esi, str.http:__msdl.microsoft.com_download_symbols
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xa4]
call eax
test eax, eax
jl 0x44f6b2
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xb8]
push 0
push eax
call edx
test eax, eax
jl 0x44f6b2
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x88]
push 0
push eax
call edx
test eax, eax
jl 0x44f6b2
mov eax, dword [ebp]
mov edx, dword [eax]
push 0
push 0
lea ecx, [ebx + 4]
push ecx
push eax
mov eax, dword [edx + 0xf0]
call eax
test eax, eax
jl 0x44f6b2
mov eax, dword [ebx + 0x614]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x174]
push 0xffffffffffffffff
push 0
push eax
call edx
test eax, eax
jl 0x44f6b2
mov eax, dword [ebx + 0x614]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x88]
call eax
test eax, eax
jl 0x44f6b2
mov eax, dword [esp + 0x18]
mov dword [ebx], eax
cmp eax, dword [esp + 0x554]
jne 0x44f6b2
mov dword [esp + 0x14], 1
jmp 0x44f6b2
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x544]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00471eba
add esp, 0x538
ret 0xc