Function at 0x41da30
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d616
mov eax, dword fs:[0]
push eax
mov eax, 0x11c8
call fcn.00422740
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.00412880
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.00429f82
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 0x41dc06
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 0x41db9e
push eax
push esi
call fcn.0042a3c4
mov cl, byte [ebp - 0x1070]
add esp, 8
mov esi, eax
jmp 0x41dbe1
cmp eax, 0x10e
jbe 0x41dbd4
push eax
mov byte [ebp - 0x1070], 0
call fcn.00429f82
mov esi, eax
movsx eax, word [ebp - 0x1072]
push eax
lea eax, [ebp - 0x1180]
push eax
push esi
call fcn.00423a50
mov cl, byte [ebp - 0x1070]
add esp, 0x10
jmp 0x41dbe1
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.004129b0
test eax, eax
je 0x41dc53
or esi, 0xffffffff
mov dword [edi + 0x28], 0xe
jmp 0x41e139
lea ecx, [ebp - 0x106c]
call fcn.00412bb0
mov dword [ebp - 0x119c], eax
test eax, eax
jne 0x41dc77
lea esi, [eax - 2]
mov dword [edi + 0x28], 0xe
jmp 0x41e139
mov esi, dword [ebp - 0x1188]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41dc80
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00422504
push dword [ebp - 0x1188]
mov dword [ebp - 0x118c], eax
push esi
push eax
call fcn.00412810
add esp, 0x10
test al, al
jne 0x41dcba
mov esi, 0xfffffffd
jmp 0x41e139
mov esi, dword [ebp - 0x1198]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41dcc3
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00422504
push dword [ebp - 0x1198]
mov dword [ebp - 0x1188], eax
push esi
push eax
call fcn.00412810
add esp, 0x10
test al, al
jne 0x41dcfd
mov esi, 0xfffffffc
jmp 0x41e139
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00424340
push 0x43f38c
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a307
push dword [ebp - 0x1188]
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a361
push 0x450740
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a361
push str.Content_Disposition:_form_data__name_file__
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a361
push str.filename_
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a361
add esp, 0x48
lea eax, [ebp - 0x410]
push dword [ebp - 0x118c]
push 0x400
push eax
call fcn.0042a361
push str.__r_n_r_n
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a361
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 0x41ddc0
push 0x400
lea eax, [ebp - 0x810]
sub esi, ecx
push 0
push eax
call fcn.00424340
push str._r_n__
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a307
push dword [ebp - 0x1188]
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a361
push str.___r_n
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a361
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 0x41de30
push dword [ebp - 0x1188]
sub ecx, edx
mov dword [ebp - 0x1198], ecx
call fcn.0042250d
push dword [ebp - 0x118c]
call fcn.0042250d
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 0x41df3f
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xffffd11e
cmp eax, 0xa1
ja case.0x41dec9.12003
movzx eax, byte [eax + 0x41e1e0]
jmp dword [eax*4 + 0x41e1d4]
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.0x41dec9.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 0x41deb0
push esi
mov esi, dword [ebp - 0x1190]
lea eax, [ebp - 0x410]
push eax
push esi
mov ecx, edi
call fcn.0041f410
test eax, eax
je 0x41df90
lea eax, [ebp - 0x11a0]
mov dword [edi + 0x28], 4
push eax
mov ecx, edi
mov esi, 0xfffffffa
call fcn.0041e290
jmp 0x41e139
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffffffb
mov dword [edi + 0x28], 4
jmp 0x41e139
lea ecx, [ebp - 0x106c]
call fcn.00412bf0
cmp eax, dword [ebp - 0x1194]
jae 0x41dfb6
lea ecx, [ebp - 0x106c]
call fcn.00412bf0
mov dword [ebp - 0x1194], eax
jmp 0x41dfbc
mov eax, dword [ebp - 0x1194]
lea ecx, [ebp - 0x118c]
push ecx
push eax
push dword [ebp - 0x11a4]
lea ecx, [ebp - 0x106c]
call fcn.00412b20
mov ecx, edi
test eax, eax
je 0x41e013
push dword [ebp - 0x118c]
push dword [ebp - 0x11a4]
push esi
call fcn.0041f410
test eax, eax
jne 0x41e007
mov eax, dword [ebp - 0x119c]
sub eax, dword [ebp - 0x118c]
mov dword [ebp - 0x119c], eax
jne 0x41df90
jmp 0x41e05a
mov esi, 0xfffffff8
mov ecx, edi
lea eax, [esi + 0xc]
jmp 0x41e01d
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 0x41e054
lea eax, [ebp - 0x11a0]
mov ecx, edi
push eax
call fcn.0041e290
test eax, eax
je 0x41e139
mov esi, 0xfffffff7
jmp 0x41e139
mov esi, dword [ebp - 0x1190]
push dword [ebp - 0x1198]
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
push esi
call fcn.0041f410
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x11a0]
push eax
je 0x41e092
call fcn.0041e290
mov esi, 0xfffffff6
mov dword [edi + 0x28], 4
jmp 0x41e139
call fcn.0041e290
test eax, eax
je 0x41e0ac
mov esi, 0xfffffff5
mov dword [edi + 0x28], 4
jmp 0x41e139
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00424340
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 0x41e104
lea esi, [eax - 0xc]
mov dword [edi + 0x28], 4
jmp 0x41e139
lea eax, [ebp - 0x1010]
push eax
call fcn.0042a9dd
add esp, 4
cmp eax, 0xc8
je 0x41e133
cmp eax, 0x19d
je 0x41e12c
cmp eax, 0x19c
jne 0x41e12c
mov byte [edi + 0x2c], 1
mov esi, 0xfffffff3
jmp 0x41e139
mov esi, dword [ebp - 0x11a8]
lea ecx, [ebp - 0x106c]
call fcn.00412ad0
cmp byte [ebp - 0x1070], 0
jne 0x41e166
mov eax, dword [ebp - 0x1184]
lea ecx, [ebp - 0x1180]
cmp eax, ecx
je 0x41e166
push eax
call fcn.00429f67
add esp, 4
mov ecx, dword [ebp - 0x1014]
cmp ecx, 8
jb 0x41e1a2
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41e198
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41e1cc
push ecx
push edx
call fcn.00422297
add esp, 8
lea ecx, [ebp - 0x106c]
call fcn.00412940
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
add byte [eax], al
add byte [eax], al
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004224f6
mov esp, ebp
pop ebp
ret 0x10
call fcn.00425e9e
nop dword [eax]
js 0x41e1b5
inc ecx
add al, dl
fiadd word [ecx]
or 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