Function at 0x45c030
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push ebx
xor ebx, ebx
mov dword [ebp - 0x2c], ecx
push esi
mov esi, edx
mov dword [ebp - 0x28], ebx
push edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
call fcn.00402cbd
push eax
lea ecx, [ebp - 8]
call fcn.0041d1db
mov edi, ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call fcn.00402cbd
push eax
lea ecx, [ebp - 0x10]
call fcn.0041d1db
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, eax
mov dword [ebp - 0xc], edx
cmp dword [esi + 4], ebx
je 0x45c19d
cmp dword [esi + 8], ebx
jbe 0x45c19a
mov ecx, dword [esi]
mov eax, ecx
cmp dword [eax], ebx
jne 0x45c0af
inc edi
add eax, 4
cmp edi, dword [esi + 8]
jb 0x45c09d
jmp 0x45c19a
mov edi, dword [ecx + edi*4]
test edi, edi
je 0x45c19a
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, dword [edi + 4]
cmp eax, 0xffffffff
je 0x45c152
push edx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [ebp - 0x18]
call fcn.00401f21
mov esi, dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
mov edx, esi
push dword [esi - 0xc]
call fcn.0043b0be
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push dword [edi]
push dword [ebp - 0xc]
push str.______Boundary_08X_r_nContent_Disposition:_form_data__name__s___filename__s__r_nContent_Type:_application_octet_stream_r_n_r_n
push eax
call fcn.0045c6fa
add esp, 0x1c
lea edx, [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.0045bfdc
mov ecx, dword [edi + 4]
lea edx, [ebp - 0x3c]
call fcn.0043e004
lea eax, [ebp - 0x3c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0045c717
push 2
push 0x529e8c
lea ecx, [ebp - 8]
call fcn.0041da80
lea edx, [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.0045bfdc
lea ecx, [esi - 0x10]
call fcn.004033d1
mov esi, dword [ebp - 0x14]
jmp 0x45c182
lea eax, [ebp - 0x10]
push eax
push dword [edx - 0xc]
call fcn.0043b0be
push dword [ebp - 0x10]
lea eax, [ebp - 8]
push dword [edi]
push dword [ebp - 0xc]
push str.______Boundary_08X_r_nContent_Disposition:_form_data__name__s__r_n_r_n_s_r_n
push eax
call fcn.0045c6fa
add esp, 0x1c
lea edx, [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.0045bfdc
mov eax, dword [edi + 8]
test eax, eax
je 0x45c2d1
mov edi, eax
test edi, edi
jne 0x45c0ba
mov edx, dword [ebp - 0xc]
mov edi, dword [ebp - 0x3c]
push edx
lea eax, [ebp - 8]
push str.______Boundary_08X___r_n
push eax
call fcn.0045c6fa
add esp, 0xc
lea edx, [ebp - 8]
lea ecx, [ebp - 0x28]
call fcn.0045bfdc
call fcn.00402cbd
push eax
lea ecx, [ebp - 0x14]
call fcn.00402161
push dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push str.Content_Type:_multipart_form_data__boundary____Boundary_08X_r_n
push eax
call fcn.004023f1
add esp, 0xc
call fcn.00402cbd
push eax
lea ecx, [ebp - 0xc]
call fcn.00402161
push dword [ebp - 0x24]
lea eax, [ebp - 0xc]
push str.Content_Length:__u
push eax
call fcn.004023f1
add esp, 0xc
lea eax, [ebp - 0xc]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041b766
pop ecx
lea ecx, [ebp - 0xec]
call fcn.004a933c
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push ebx
push dword [ebp - 0x24]
lea ecx, [ebp - 0x48]
push esi
push dword [0x549444]
push eax
push dword [ebp - 0x2c]
call fcn.00442d92
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0xec]
call fcn.004a964f
test al, al
je 0x45c26a
push dword [ebp + 8]
lea ecx, [ebp - 0xec]
call fcn.004a974c
lea ecx, [ebp - 0xec]
call fcn.004a972f
cmp eax, 0xc8
sete bl
lea ecx, [ebp - 0x48]
call fcn.004437da
lea ecx, [ebp - 0xec]
call fcn.004a93f8
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 0xc]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0x10]
call fcn.004033d1
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.004033d1
test edi, edi
je 0x45c2b4
push edi
call fcn.004c0774
pop ecx
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.004033d1
test esi, esi
je 0x45c2ca
push esi
call fcn.004c0774
pop ecx
pop edi
pop esi
mov al, bl
pop ebx
leave
ret
mov eax, dword [edi + 0xc]
xor edx, edx
div dword [esi + 8]
inc edx
mov edi, ebx
cmp edx, dword [esi + 8]
jae 0x45c18f
mov eax, dword [esi]
mov edi, dword [eax + edx*4]
test edi, edi
jne 0x45c0ba
jmp 0x45c2d9