Function at 0x43ce1a
Capabilities:
Check if file exists
Get file size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46df95
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4977b8]
xor eax, esp
mov dword [esp + 0x258], eax
push ebx
push esi
push edi
mov eax, dword [0x4977b8]
xor eax, esp
push eax
lea eax, [esp + 0x270]
mov dword fs:[0], eax
mov dword [esp + 0x18], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
mov ebx, dword [ebp + 0x18]
mov esi, dword [ebp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x10], eax
mov al, byte [ebp + 0x14]
mov byte [esp + 0x24], al
mov eax, dword [ecx]
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x34], ebx
call dword [eax + 0x1c]
push eax
mov ecx, ebx
call fcn.0040827d
xor edi, edi
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00409522
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x43cec2
push eax
call fcn.004010b3
pop ecx
push eax
mov eax, dword [esp + 0x20]
push eax
mov ecx, ebx
call fcn.0040b278
mov ebx, dword [esp + 0x18]
push dword [esp + 0x14]
mov ecx, dword [ebx]
push str.deployVersionedFile__S
mov eax, dword [ecx]
call dword [eax + 0xc]
push eax
call fcn.00408d80
add esp, 0xc
lea eax, [esp + 0x34]
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x14]
push dword [esp + 0x1c]
push eax
call fcn.0043c471
push eax
mov ecx, esi
call fcn.0040827d
push edi
push 1
lea ecx, [esp + 0x3c]
call fcn.00409522
cmp dword [esi + 0x14], 8
jb 0x43cf15
mov eax, dword [esi]
jmp 0x43cf17
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x43cf5d
cmp dword [esi + 0x14], 8
jb 0x43cf2a
mov esi, dword [esi]
push esi
lea eax, [esp + 0x38]
push str.File_doesnt_exist:__s
push eax
call fcn.0042a994
add esp, 0xc
push eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x27c], edi
call fcn.00401208
push 0x48a8c0
lea eax, [esp + 0x28]
push eax
call fcn.0044fb93
mov ebx, edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x278], 1
cmp dword [esi + 0x14], 8
jb 0x43cf7c
mov eax, dword [esi]
jmp 0x43cf7e
mov eax, esi
push eax
lea eax, [esp + 0x38]
push str.Failed_to_open__S
push eax
call fcn.0042a994
add esp, 0xc
mov dword [esp + 0x10], eax
mov byte [esp + 0x278], 2
cmp dword [esi + 0x14], 8
jb 0x43cfa7
mov eax, dword [esi]
jmp 0x43cfa9
mov eax, esi
push edi
push 0x80
push 3
push edi
push 1
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x43cfce
call fcn.00426631
mov edi, eax
jmp 0x43cfd4
mov ebx, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x10]
cmp dword [eax + 0x14], 0x10
jb 0x43cfe0
mov eax, dword [eax]
mov edx, eax
mov ecx, edi
call fcn.00427e28
lea ecx, [esp + 0x34]
mov byte [esp + 0x278], 1
call fcn.00407d52
lea eax, [esp + 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x43d03a
cmp dword [esi + 0x14], 8
jb 0x43d014
mov eax, dword [esi]
jmp 0x43d016
mov eax, esi
push dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push eax
mov ecx, dword [edi]
push dword [esp + 0x24]
mov eax, dword [ecx]
push str.File_size_is__d_for__S_from__S
call dword [eax + 0xc]
push eax
call fcn.00408d80
add esp, 0x14
jmp 0x43d081
lea ecx, [esp + 0x10]
call fcn.00427ea6
mov byte [esp + 0x278], 3
cmp dword [esi + 0x14], 8
mov edx, dword [eax]
jb 0x43d057
mov eax, dword [esi]
jmp 0x43d059
mov eax, esi
push dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
push edx
mov ecx, dword [edi]
push eax
mov eax, dword [ecx]
push str.Failed_to_get_file_size_for__S:__S_from__S
call dword [eax + 0xc]
push eax
call fcn.00408d80
add esp, 0x14
lea ecx, [esp + 0x10]
call fcn.0040e8ff
or dword [esp + 0x278], 0xffffffff
test ebx, ebx
je 0x43d094
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
cmp byte [ebp + 0x20], 0
je 0x43d0f3
cmp dword [esi + 0x14], 8
jb 0x43d0a9
mov esi, dword [esi]
push esi
lea ecx, [esp + 0x50]
call fcn.00442360
mov eax, dword [esp + 0x30]
mov dword [esp + 0x278], 4
cmp dword [eax + 0x14], 8
mov byte [esp + 0x50], 1
jb 0x43d0cf
mov eax, dword [eax]
push ecx
push eax
lea ecx, [esp + 0x54]
call fcn.004424e4
or dword [esp + 0x278], 0xffffffff
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], vtable.CUnzipper.0
call fcn.0044249a
mov ecx, dword [esp + 0x270]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x258]
xor ecx, esp
call fcn.0044a9a4
mov esp, ebp
pop ebp
ret 0x1c