Function at 0x41dc60
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43d3a6
mov eax, dword fs:[0]
push eax
mov eax, 0x11c8
call fcn.004224d0
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.004124b0
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.00429d12
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 0x41d996
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 0x41d92e
push eax
push esi
call fcn.0042a154
mov cl, byte [ebp - 0x1070]
add esp, 8
mov esi, eax
jmp 0x41d971
cmp eax, 0x10e
jbe 0x41d964
push eax
mov byte [ebp - 0x1070], 0
call fcn.00429d12
mov esi, eax
movsx eax, word [ebp - 0x1072]
push eax
lea eax, [ebp - 0x1180]
push eax
push esi
call fcn.004237e0
mov cl, byte [ebp - 0x1070]
add esp, 0x10
jmp 0x41d971
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.004125e0
test eax, eax
je 0x41d9e3
or esi, 0xffffffff
mov dword [edi + 0x28], 0xe
jmp 0x41dec9
lea ecx, [ebp - 0x106c]
call fcn.004127e0
mov dword [ebp - 0x119c], eax
test eax, eax
jne 0x41da07
lea esi, [eax - 2]
mov dword [edi + 0x28], 0xe
jmp 0x41dec9
mov esi, dword [ebp - 0x1188]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41da10
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00422293
push dword [ebp - 0x1188]
mov dword [ebp - 0x118c], eax
push esi
push eax
call fcn.00412440
add esp, 0x10
test al, al
jne 0x41da4a
mov esi, 0xfffffffd
jmp 0x41dec9
mov esi, dword [ebp - 0x1198]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41da53
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00422293
push dword [ebp - 0x1198]
mov dword [ebp - 0x1188], eax
push esi
push eax
call fcn.00412440
add esp, 0x10
test al, al
jne 0x41da8d
mov esi, 0xfffffffc
jmp 0x41dec9
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.004240d0
push 0x43f38c
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a097
push dword [ebp - 0x1188]
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a0f1
push 0x4506b0
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a0f1
push str.Content_Disposition:_form_data__name_file__
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a0f1
push str.filename_
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a0f1
add esp, 0x48
lea eax, [ebp - 0x410]
push dword [ebp - 0x118c]
push 0x400
push eax
call fcn.0042a0f1
push str.__r_n_r_n
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0042a0f1
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 0x41db50
push 0x400
lea eax, [ebp - 0x810]
sub esi, ecx
push 0
push eax
call fcn.004240d0
push str._r_n__
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a097
push dword [ebp - 0x1188]
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a0f1
push str.___r_n
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.0042a0f1
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 0x41dbc0
push dword [ebp - 0x1188]
sub ecx, edx
mov dword [ebp - 0x1198], ecx
call fcn.0042229c
push dword [ebp - 0x118c]
call fcn.0042229c
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 0x41dccf
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xffffd11e
cmp eax, 0xa1
ja case.0x41dc59.12003
movzx eax, byte [eax + 0x41df70]
jmp dword [eax*4 + 0x41df64]
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.0x41dc59.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 0x41dc40
push esi
mov esi, dword [ebp - 0x1190]
lea eax, [ebp - 0x410]
push eax
push esi
mov ecx, edi
call fcn.0041f1a0
test eax, eax
je 0x41dd20
lea eax, [ebp - 0x11a0]
mov dword [edi + 0x28], 4
push eax
mov ecx, edi
mov esi, 0xfffffffa
call fcn.0041e020
jmp 0x41dec9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffffffb
mov dword [edi + 0x28], 4
jmp 0x41dec9
lea ecx, [ebp - 0x106c]
call fcn.00412820
cmp eax, dword [ebp - 0x1194]
jae 0x41dd46
lea ecx, [ebp - 0x106c]
call fcn.00412820
mov dword [ebp - 0x1194], eax
jmp 0x41dd4c
mov eax, dword [ebp - 0x1194]
lea ecx, [ebp - 0x118c]
push ecx
push eax
push dword [ebp - 0x11a4]
lea ecx, [ebp - 0x106c]
call fcn.00412750
mov ecx, edi
test eax, eax
je 0x41dda3
push dword [ebp - 0x118c]
push dword [ebp - 0x11a4]
push esi
call fcn.0041f1a0
test eax, eax
jne 0x41dd97
mov eax, dword [ebp - 0x119c]
sub eax, dword [ebp - 0x118c]
mov dword [ebp - 0x119c], eax
jne 0x41dd20
jmp 0x41ddea
mov esi, 0xfffffff8
mov ecx, edi
lea eax, [esi + 0xc]
jmp 0x41ddad
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 0x41dde4
lea eax, [ebp - 0x11a0]
mov ecx, edi
push eax
call fcn.0041e020
test eax, eax
je 0x41dec9
mov esi, 0xfffffff7
jmp 0x41dec9
mov esi, dword [ebp - 0x1190]
push dword [ebp - 0x1198]
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
push esi
call fcn.0041f1a0
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x11a0]
push eax
je 0x41de22
call fcn.0041e020
mov esi, 0xfffffff6
mov dword [edi + 0x28], 4
jmp 0x41dec9
call fcn.0041e020
test eax, eax
je 0x41de3c
mov esi, 0xfffffff5
mov dword [edi + 0x28], 4
jmp 0x41dec9
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.004240d0
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 0x41de94
lea esi, [eax - 0xc]
mov dword [edi + 0x28], 4
jmp 0x41dec9
lea eax, [ebp - 0x1010]
push eax
call fcn.0042a76d
add esp, 4
cmp eax, 0xc8
je 0x41dec3
cmp eax, 0x19d
je 0x41debc
cmp eax, 0x19c
jne 0x41debc
mov byte [edi + 0x2c], 1
mov esi, 0xfffffff3
jmp 0x41dec9
mov esi, dword [ebp - 0x11a8]
lea ecx, [ebp - 0x106c]
call fcn.00412700
cmp byte [ebp - 0x1070], 0
jne 0x41def6
mov eax, dword [ebp - 0x1184]
lea ecx, [ebp - 0x1180]
cmp eax, ecx
je 0x41def6
push eax
call fcn.00429cf7
add esp, 4
mov ecx, dword [ebp - 0x1014]
cmp ecx, 8
jb 0x41df32
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41df28
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41df5c
push ecx
push edx
call fcn.00422026
add esp, 8
lea ecx, [ebp - 0x106c]
call fcn.00412570
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.00422285
mov esp, ebp
pop ebp
ret 0x10
call fcn.00425c2e
nop dword [eax]
or ch, bl
inc ecx
add byte [eax - 0x24], ah
inc ecx
add byte [ebp + 0x41dc], bl
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