Function at 0x437e40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a0b80
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4c9890]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
lea esi, [ebx + 0x8c]
mov ecx, esi
call fcn.00436520
test eax, eax
jne 0x437e88
push 0x68
call fcn.00436d80
cmp dword [ebx + 0xd4], 0
jne 0x437e9d
push 0
push str.CHttpClientT::_ProceedUploadContext:_m_hInternet_can_not_be_NULL.
call fcn.00436e60
cmp dword [ebx + 0xdc], 0
jne 0x437eb2
push 0
push str.CHttpClientT::_ProceedUploadContext:_m_hConnection_can_not_be_NULL.
call fcn.00436e60
cmp dword [ebx + 0xe4], 0
jne 0x437ec7
push 0
push str.CHttpClientT::_ProceedUploadContext:_m_hRequest_can_not_be_NULL.
call fcn.00436e60
mov edi, dword [ebp + 8]
test edi, edi
jne 0x437ed9
push edi
push str.CHttpClientT::_ProceedUploadContext:_nDesired_can_not_be_zero.
call fcn.00436e60
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.004379c0
test eax, eax
je 0x437f14
push dword [ebx + 0xe4]
call fcn.00435fc0
add esp, 4
mov ecx, ebx
call fcn.00438400
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, ebx
call fcn.00437870
mov ecx, esi
mov dword [ebp - 0x14], eax
call fcn.004370d0
test eax, eax
jne 0x437f66
push eax
push str._r_n__
mov ecx, ebx
call fcn.004391a0
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.004391a0
push 0
push str.___r_n
mov ecx, ebx
call fcn.004391a0
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, esi
call fcn.00435ee0
mov ecx, esi
test eax, eax
je 0x438171
call fcn.004370d0
mov ecx, esi
mov edi, eax
call fcn.00436a90
cmp edi, eax
jne 0x437f92
push 0
push 0x4b2d74
jmp 0x437f2f
mov ecx, esi
call fcn.00436a90
mov ecx, esi
mov edi, eax
call fcn.00436ab0
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebx + 0x2c]
mov dword [ebp + 8], 0
xor esi, esi
call fcn.00435b60
test edi, edi
je 0x437fcb
mov edi, edi
lea ecx, [ebp - 0x18]
call fcn.004314f0
dec edi
jne 0x437fc0
mov edi, dword [ebp - 0x18]
test byte [edi + 0x18], 1
je 0x438096
mov eax, dword [ebp - 0x20]
mov edx, dword [edi + 0x14]
lea ecx, [eax*4]
mov eax, dword [ebx + 0xc4]
mov dword [ebp + 8], edx
mov eax, dword [ecx + eax]
mov dword [ebp - 0x20], ecx
cmp eax, 0xffffffff
je 0x438005
push edx
push eax
call fcn.00436180
add esp, 8
mov esi, eax
push 0
push 0x4b2d74
mov ecx, ebx
call fcn.004391a0
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.004391a0
push 0
push 0x4b1fb4
mov ecx, ebx
call fcn.004391a0
push 0
push str.Content_Disposition:_form_data__name_
mov ecx, ebx
call fcn.004391a0
push 0
push dword [edi + 0x10]
mov ecx, ebx
push dword [ebx + 0x18]
call fcn.004390d0
push 0
push str.___filename_
mov ecx, ebx
call fcn.004391a0
push 0
push dword [ebp + 8]
mov ecx, ebx
push dword [ebx + 0x18]
call fcn.004390d0
push 0
push str.__r_nContent_Type:
mov ecx, ebx
call fcn.004391a0
mov eax, dword [ebx + 0xc8]
mov ecx, dword [ebp - 0x20]
push 0
push dword [eax + ecx]
mov ecx, ebx
call fcn.004391a0
push 0
push str._r_n_r_n
jmp 0x43813e
mov eax, dword [edi + 0x14]
test eax, eax
je 0x4380e5
cmp byte [eax], 0
je 0x4380e5
mov ecx, ebx
cmp dword [ebx + 0x18], esi
je 0x4380b6
push eax
call fcn.00438fd0
mov ecx, 1
jmp 0x4380c5
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x14]
call fcn.00438d90
mov ecx, dword [ebp - 0x20]
mov edx, eax
mov esi, edx
lea eax, [esi + 1]
mov dword [ebp - 0x20], eax
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x4380d0
sub esi, dword [ebp - 0x20]
push ecx
push edx
mov ecx, ebx
call fcn.004384f0
jmp 0x4380f2
push 0
push 0
mov ecx, ebx
call fcn.004384f0
xor esi, esi
push 0
push 0x4b2d74
mov ecx, ebx
call fcn.004391a0
push 0
push dword [ebp - 0x14]
mov ecx, ebx
call fcn.004391a0
push 0
push 0x4b1fb4
mov ecx, ebx
call fcn.004391a0
push 0
push str.Content_Disposition:_form_data__name_
mov ecx, ebx
call fcn.004391a0
push 0
push dword [edi + 0x10]
mov ecx, ebx
push dword [ebx + 0x18]
call fcn.004390d0
push 0
push str.__r_n_r_n
mov ecx, ebx
call fcn.004391a0
push dword [ebp + 8]
mov eax, dword [edi + 0x18]
and eax, 1
push eax
push esi
push dword [edi + 0x10]
lea ecx, [ebx + 0x8c]
call fcn.00438600
test esi, esi
jne 0x437f50
push esi
push 0x4b1fb4
jmp 0x437f49
call fcn.00435f60
cmp edi, eax
jbe 0x438184
mov ecx, esi
call fcn.00435f60
mov dword [ebp + 8], eax
mov ecx, esi
xor edi, edi
call fcn.00435f20
test eax, eax
je 0x438213
mov ecx, ebx
call fcn.004378f0
mov ecx, esi
call fcn.00436ab0
lea ecx, [eax - 1]
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp + 8]
mov edx, 0xe000
cmp edi, eax
jae 0x43822f
mov esi, eax
push 0
sub esi, edi
cmp esi, edx
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0xc4]
cmova esi, edx
push esi
push dword [ebx + 0xec]
push dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4381f0
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x25a
call fcn.00436db0
cmp esi, dword [ebp - 0x20]
je 0x4381fc
push 0x69
call fcn.00436d80
push 1
push esi
push dword [ebx + 0xec]
mov ecx, ebx
call fcn.004391f0
mov ecx, dword [ebp - 0x18]
add edi, esi
jmp 0x4381a9
mov ecx, esi
call fcn.00435f40
mov ecx, dword [ebx + 0xcc]
push 1
push dword [ebp + 8]
add ecx, eax
push ecx
mov ecx, ebx
call fcn.004391f0
lea ecx, [ebx + 0x8c]
call fcn.00435f60
test eax, eax
jne 0x437f50
push eax
push 0x4b1fb4
jmp 0x437f49