Function at 0x41d820
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43cf06
mov eax, dword fs:[0]
push eax
mov eax, 0x11c8
call fcn.00422020
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.004120e0
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.00405810
xor eax, eax
mov dword [ebp - 0x1184], 0
push 0x2004
mov word [ebp - 0x1072], ax
mov byte [ebp - 0x1070], al
call fcn.00429862
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 0x41d556
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 0x41d4ee
push eax
push esi
call fcn.00429ca4
mov cl, byte [ebp - 0x1070]
add esp, 8
mov esi, eax
jmp 0x41d531
cmp eax, 0x10e
jbe 0x41d524
push eax
mov byte [ebp - 0x1070], 0
call fcn.00429862
mov esi, eax
movsx eax, word [ebp - 0x1072]
push eax
lea eax, [ebp - 0x1180]
push eax
push esi
call fcn.00423330
mov cl, byte [ebp - 0x1070]
add esp, 0x10
jmp 0x41d531
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.00412210
test eax, eax
je 0x41d5a3
or esi, 0xffffffff
mov dword [edi + 0x28], 0xe
jmp 0x41da89
lea ecx, [ebp - 0x106c]
call fcn.00412410
mov dword [ebp - 0x119c], eax
test eax, eax
jne 0x41d5c7
lea esi, [eax - 2]
mov dword [edi + 0x28], 0xe
jmp 0x41da89
mov esi, dword [ebp - 0x1188]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41d5d0
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00421de3
push dword [ebp - 0x1188]
mov dword [ebp - 0x118c], eax
push esi
push eax
call fcn.00412070
add esp, 0x10
test al, al
jne 0x41d60a
mov esi, 0xfffffffd
jmp 0x41da89
mov esi, dword [ebp - 0x1198]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x41d613
sub esi, ecx
sar esi, 1
inc esi
push esi
call fcn.00421de3
push dword [ebp - 0x1198]
mov dword [ebp - 0x1188], eax
push esi
push eax
call fcn.00412070
add esp, 0x10
test al, al
jne 0x41d64d
mov esi, 0xfffffffc
jmp 0x41da89
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call fcn.00423c20
push 0x43f364
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.00429be7
push dword [ebp - 0x1188]
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.00429c41
push 0x45061c
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.00429c41
push str.Content_Disposition:_form_data__name_file__
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.00429c41
push str.filename_
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.00429c41
add esp, 0x48
lea eax, [ebp - 0x410]
push dword [ebp - 0x118c]
push 0x400
push eax
call fcn.00429c41
push str.__r_n_r_n
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.00429c41
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 0x41d710
push 0x400
lea eax, [ebp - 0x810]
sub esi, ecx
push 0
push eax
call fcn.00423c20
push str._r_n__
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00429be7
push dword [ebp - 0x1188]
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00429c41
push str.___r_n
lea eax, [ebp - 0x810]
push 0x400
push eax
call fcn.00429c41
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 0x41d780
push dword [ebp - 0x1188]
sub ecx, edx
mov dword [ebp - 0x1198], ecx
call fcn.00421dec
push dword [ebp - 0x118c]
call fcn.00421dec
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 0x41d88f
nop dword [eax + eax]
call dword [sym.imp.KERNEL32.dll_GetLastError]
add eax, 0xffffd11e
cmp eax, 0xa1
ja case.0x41d819.12003
movzx eax, byte [eax + 0x41db30]
jmp dword [eax*4 + 0x41db24]
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.0x41d819.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 0x41d800
push esi
mov esi, dword [ebp - 0x1190]
lea eax, [ebp - 0x410]
push eax
push esi
mov ecx, edi
call fcn.0041ecf0
test eax, eax
je 0x41d8e0
lea eax, [ebp - 0x11a0]
mov dword [edi + 0x28], 4
push eax
mov ecx, edi
mov esi, 0xfffffffa
call fcn.0041dbe0
jmp 0x41da89
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xfffffffb
mov dword [edi + 0x28], 4
jmp 0x41da89
lea ecx, [ebp - 0x106c]
call fcn.00412450
cmp eax, dword [ebp - 0x1194]
jae 0x41d906
lea ecx, [ebp - 0x106c]
call fcn.00412450
mov dword [ebp - 0x1194], eax
jmp 0x41d90c
mov eax, dword [ebp - 0x1194]
lea ecx, [ebp - 0x118c]
push ecx
push eax
push dword [ebp - 0x11a4]
lea ecx, [ebp - 0x106c]
call fcn.00412380
mov ecx, edi
test eax, eax
je 0x41d963
push dword [ebp - 0x118c]
push dword [ebp - 0x11a4]
push esi
call fcn.0041ecf0
test eax, eax
jne 0x41d957
mov eax, dword [ebp - 0x119c]
sub eax, dword [ebp - 0x118c]
mov dword [ebp - 0x119c], eax
jne 0x41d8e0
jmp 0x41d9aa
mov esi, 0xfffffff8
mov ecx, edi
lea eax, [esi + 0xc]
jmp 0x41d96d
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 0x41d9a4
lea eax, [ebp - 0x11a0]
mov ecx, edi
push eax
call fcn.0041dbe0
test eax, eax
je 0x41da89
mov esi, 0xfffffff7
jmp 0x41da89
mov esi, dword [ebp - 0x1190]
push dword [ebp - 0x1198]
lea eax, [ebp - 0x810]
mov ecx, edi
push eax
push esi
call fcn.0041ecf0
test eax, eax
mov ecx, edi
lea eax, [ebp - 0x11a0]
push eax
je 0x41d9e2
call fcn.0041dbe0
mov esi, 0xfffffff6
mov dword [edi + 0x28], 4
jmp 0x41da89
call fcn.0041dbe0
test eax, eax
je 0x41d9fc
mov esi, 0xfffffff5
mov dword [edi + 0x28], 4
jmp 0x41da89
push 0x800
lea eax, [ebp - 0x1010]
push 0
push eax
call fcn.00423c20
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 0x41da54
lea esi, [eax - 0xc]
mov dword [edi + 0x28], 4
jmp 0x41da89
lea eax, [ebp - 0x1010]
push eax
call fcn.0042a2bd
add esp, 4
cmp eax, 0xc8
je 0x41da83
cmp eax, 0x19d
je 0x41da7c
cmp eax, 0x19c
jne 0x41da7c
mov byte [edi + 0x2c], 1
mov esi, 0xfffffff3
jmp 0x41da89
mov esi, dword [ebp - 0x11a8]
lea ecx, [ebp - 0x106c]
call fcn.00412330
cmp byte [ebp - 0x1070], 0
jne 0x41dab6
mov eax, dword [ebp - 0x1184]
lea ecx, [ebp - 0x1180]
cmp eax, ecx
je 0x41dab6
push eax
call fcn.00429847
add esp, 4
mov ecx, dword [ebp - 0x1014]
cmp ecx, 8
jb 0x41daf2
mov edx, dword [ebp - 0x1028]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41dae8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41db1c
push ecx
push edx
call fcn.00421b76
add esp, 8
lea ecx, [ebp - 0x106c]
call fcn.004121a0
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.00421dd5
mov esp, ebp
pop ebp
ret 0x10
call fcn.0042577e
nop dword [eax]
enter 0x41d8, 0
and al, bl
inc ecx
add byte [ebp - 0x28], bl
inc ecx
add byte [eax], 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 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