Function at 0x41da40
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d626
mov eax, dword fs:[0]
push eax
mov eax, 0x11c8
call fcn.00422750
mov eax, dword [0x45604c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x106c]
mov dword [ebp - 0x1190], eax
mov dword [ebp - 0x11a0], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1188], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1198], eax
mov dword [ebp - 0x11a8], 0
call fcn.00412730
xorps xmm0, xmm0
mov dword [ebp - 4], 0
push 0xc
push str.UploadHeader
lea ecx, [ebp - 0x1028]
movq qword [ebp - 0x11b4], xmm0
movups xmmword [ebp - 0x11d4], xmm0
mov dword [ebp - 0x1018], 0
movups xmmword [ebp - 0x11c4], xmm0
mov dword [ebp - 0x1014], 0
movups xmmword [ebp - 0x1028], xmm0
call fcn.00405860
xor eax, eax
mov dword [ebp - 0x1184], 0
push 0x2004
mov word [ebp - 0x1072], ax
mov byte [ebp - 0x1070], al
call fcn.00429f92
add esp, 4
mov dword [ebp - 0x1184], eax
cmp byte [ebp - 0x1070], 0
lea ecx, [ebp - 0x1180]
cmove ecx, eax
mov dword [ecx], 0x2000
mov cl, byte [ebp - 0x1070]
lea eax, [ebp - 0x1180]
mov edx, dword [ebp - 0x1184]
test cl, cl
mov esi, 0x2000
mov byte [ebp - 4], 2
cmove eax, edx
mov eax, dword [eax]
cmp eax, esi
jae 0x41dc16
lea eax, [eax*2 + 0x10]
and eax, 0xfff0
cmp eax, esi
cmova esi, eax
test cl, cl
mov dword [ebp - 0x1194], esi
lea esi, [ebp - 0x1180]
mov eax, dword [ebp - 0x1194]
cmove esi, edx
add eax, 4
test cl, cl
jne 0x41dbae
push eax
push esi
call fcn.0042a3d4
mov cl, byte [ebp - 0x1070]
add esp, 8
mov esi, eax
jmp 0x41dbf1
cmp eax, 0x10e
jbe 0x41dbe4
push eax
mov byte [ebp - 0x1070], 0
call fcn.00429f92
mov esi, eax
movsx eax, word [ebp - 0x1072]
push eax
lea eax, [ebp - 0x1180]
push eax
push esi
call fcn.00423a60
mov cl, byte [ebp - 0x1070]
add esp, 0x10
jmp 0x41dbf1
mov word [ebp - 0x1072], ax
lea esi, [ebp - 0x1180]
test cl, cl
mov dword [ebp - 0x1184], esi
mov ecx, dword [ebp - 0x1194]
lea eax, [ebp - 0x1180]
cmove eax, esi
mov dword [eax], ecx
mov cl, byte [ebp - 0x1070]
mov edx, dword [ebp - 0x1184]
test cl, cl
lea eax, [ebp - 0x1180]
push 0
push dword [ebp - 0x118c]
cmove eax, edx
add eax, 4
test cl, cl
mov dword [ebp - 0x11a4], eax
lea ecx, [ebp - 0x106c]
lea eax, [ebp - 0x1180]
cmove eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x1194], eax
call fcn.00412860
test eax, eax
je 0x41dc63
or esi, 0xffffffff
mov dword [edi + 0x28], 0xe
jmp 0x41e149
lea ecx, [ebp - 0x106c]
call fcn.00412a60
mov dword [ebp - 0x119c], eax
test eax, eax
jne 0x41dc87
lea esi, [eax - 2]
mov dword [edi + 0x28], 0xe
jmp 0x41e149
mov esi, dword [ebp - 0x1188]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41dc90
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00422513
push dword [ebp - 0x1188]
mov dword [ebp - 0x118c], eax
push esi
push eax
call fcn.004126c0
add esp, 0x10
test al, al
jne 0x41dcca
mov esi, 0xfffffffd
jmp 0x41e149
mov esi, dword [ebp - 0x1198]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41dcd3
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00422513
push dword [ebp - 0x1198]
mov dword [ebp - 0x1188], eax
push esi
push eax
call fcn.004126c0
add esp, 0x10
test al, al
jne 0x41dd0d
mov esi, 0xfffffffc
jmp 0x41e149
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00424350
push 0x43f38c
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a317
push dword [ebp - 0x1188]
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a371
push 0x4506c0
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a371
push str.Content_Disposition:_form_data__name_file__
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a371
push str.filename_
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a371
add esp, 0x48
lea eax, [ebp - 0x410]
push dword [ebp - 0x118c]
push 0x400
push eax
call fcn.0042a371
push str.__r_n_r_n
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a371
lea esi, [ebp - 0x410]
add esp, 0x18
lea ecx, [esi + 1]
nop dword [eax + eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x41ddd0
push 0x400
lea eax, [ebp - 0x810]
sub esi, ecx
push 0
push eax
call fcn.00424350
push str._r_n__
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a317
push dword [ebp - 0x1188]
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a371
push str.___r_n
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a371
lea ecx, [ebp - 0x810]
add esp, 0x30
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41de40
push dword [ebp - 0x1188]
sub ecx, edx
mov dword [ebp - 0x1198], ecx
call fcn.0042251c
push dword [ebp - 0x118c]
call fcn.0042251c
mov eax, dword [ebp - 0x1198]
add esp, 8
add eax, esi
mov dword [ebp - 0x11d4], 0x28
add eax, dword [ebp - 0x119c]
mov dword [ebp - 0x11b8], eax
lea eax, [ebp - 0x11d4]
push 0
push 0
push 0
push eax
push dword [ebp - 0x1190]
mov dword [ebp - 0x118c], 5
mov dword [ebp - 0x11ac], 4
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
jne 0x41df4f
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xffffd11e
cmp eax, 0xa1
ja case.0x41ded9.12003
movzx eax, byte [eax + 0x41e1f0]
jmp dword [eax*4 + 0x41e1e4]
lea eax, [ebp - 0x11ac]
push eax
lea eax, [ebp - 0x1188]
push eax
push 0x1f
push dword [ebp - 0x1190]
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x1188], 0x100
lea eax, [ebp - 0x1188]
push 4
push eax
push 0x1f
push dword [ebp - 0x1190]
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x118c]
dec eax
mov dword [ebp - 0x118c], eax
test eax, eax
jle case.0x41ded9.12002
push 0
push 0
push 0
lea eax, [ebp - 0x11d4]
push eax
push dword [ebp - 0x1190]
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x41dec0
push esi
mov esi, dword [ebp - 0x1190]
lea eax, [ebp - 0x410]
push eax
push esi
mov ecx, edi
call fcn.0041f420
test eax, eax
je 0x41dfa0
lea eax, [ebp - 0x11a0]
mov dword [edi + 0x28], 4
push eax
mov ecx, edi
mov esi, 0xfffffffa
call fcn.0041e2a0
jmp 0x41e149
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffffffb
mov dword [edi + 0x28], 4
jmp 0x41e149
lea ecx, [ebp - 0x106c]
call fcn.00412aa0
cmp eax, dword [ebp - 0x1194]
jae 0x41dfc6
lea ecx, [ebp - 0x106c]
call fcn.00412aa0
mov dword [ebp - 0x1194], eax
jmp 0x41dfcc
mov eax, dword [ebp - 0x1194]
lea ecx, [ebp - 0x118c]
push ecx
push eax
push dword [ebp - 0x11a4]
lea ecx, [ebp - 0x106c]
call fcn.004129d0
mov ecx, edi
test eax, eax
je 0x41e023
push dword [ebp - 0x118c]
push dword [ebp - 0x11a4]
push esi
call fcn.0041f420
test eax, eax
jne 0x41e017
mov eax, dword [ebp - 0x119c]
sub eax, dword [ebp - 0x118c]
mov dword [ebp - 0x119c], eax
jne 0x41dfa0
jmp 0x41e06a
mov esi, 0xfffffff8
mov ecx, edi
lea eax, [esi + 0xc]
jmp 0x41e02d
mov esi, 0xfffffff9
mov eax, 0xe
cmp dword [ebp - 0x119c], 0
mov edx, 0x28
mov dword [ebp - 0x11a8], esi
mov dword [ecx + edx], eax
jbe 0x41e064
lea eax, [ebp - 0x11a0]
mov ecx, edi
push eax
call fcn.0041e2a0
test eax, eax
je 0x41e149
mov esi, 0xfffffff7
jmp 0x41e149
mov esi, dword [ebp - 0x1190]
push dword [ebp - 0x1198]
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
push esi
call fcn.0041f420
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x11a0]
push eax
je 0x41e0a2
call fcn.0041e2a0
mov esi, 0xfffffff6
mov dword [edi + 0x28], 4
jmp 0x41e149
call fcn.0041e2a0
test eax, eax
je 0x41e0bc
mov esi, 0xfffffff5
mov dword [edi + 0x28], 4
jmp 0x41e149
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00424350
add esp, 0xc
mov dword [ebp - 0x11a4], 0x800
lea eax, [ebp - 0x11ac]
mov dword [ebp - 0x11ac], 0
push eax
lea eax, [ebp - 0x11a4]
push eax
lea eax, [ebp - 0x1010]
push eax
push 0x13
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x41e114
lea esi, [eax - 0xc]
mov dword [edi + 0x28], 4
jmp 0x41e149
lea eax, [ebp - 0x1010]
push eax
call fcn.0042a9ed
add esp, 4
cmp eax, 0xc8
je 0x41e143
cmp eax, 0x19d
je 0x41e13c
cmp eax, 0x19c
jne 0x41e13c
mov byte [edi + 0x2c], 1
mov esi, 0xfffffff3
jmp 0x41e149
mov esi, dword [ebp - 0x11a8]
lea ecx, [ebp - 0x106c]
call fcn.00412980
cmp byte [ebp - 0x1070], 0
jne 0x41e176
mov eax, dword [ebp - 0x1184]
lea ecx, [ebp - 0x1180]
cmp eax, ecx
je 0x41e176
push eax
call fcn.00429f77
add esp, 4
mov ecx, dword [ebp - 0x1014]
cmp ecx, 8
jb 0x41e1b2
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e1a8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e1dc
push ecx
push edx
call fcn.004222a6
add esp, 8
lea ecx, [ebp - 0x106c]
call fcn.004127f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00422505
mov esp, ebp
pop ebp
ret 0x10
call fcn.00425eae
nop dword [eax]
mov bh, bl
inc ecx
add al, ah
fiadd word [ecx]
sbb eax, 0x41df
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add byte [eax], al
add byte [edx], al
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add dword [edx], eax
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add al, byte [edx]
add ah, cl
int3