Function at 0x41c7c0
Capabilities:
Check http status code
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x4c
mov ebp, dword [esp + 0x64]
mov ebx, dword [ebp + 4]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
cmp word [ebx + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41c7e0
mov eax, dword [esp + 0x68]
mov edi, dword [eax + 4]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
mov eax, edx
cmp word [edi + edx + 2], 0
lea edx, [edx + 2]
jne 0x41c800
sar ecx, 1
sar edx, 1
lea eax, [ecx + edx]
add eax, 0x1b
test eax, eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edx
jns 0x41c82a
mov eax, 0xffffffff
jmp 0x41c834
lea eax, [ecx + edx]
lea eax, [eax*2 + 0x36]
push eax
call fcn.0040cc40
add esp, 4
mov dword [esp + 0x40], eax
mov dword [esp + 4], 0x51824f90
mov dword [esp + 8], 0x55b753a1
mov dword [esp + 0xc], 0x59ba57b7
mov dword [esp + 0x10], 0x5d9d5b78
mov dword [esp + 0x14], 0x61aa5fa4
mov dword [esp + 0x18], 0x658c6387
mov dword [esp + 0x1c], 0x698d6791
mov dword [esp + 0x20], 0x6d846b99
mov dword [esp + 0x24], 0x71bb6f4c
mov dword [esp + 0x28], 0x75867397
mov dword [esp + 0x2c], 0x799d7780
mov dword [esp + 0x30], 0x7d937b96
mov dword [esp + 0x34], 0x1a27f89
mov word [esp + 0x38], 0x300
mov dword [esp + 0x3a], 0
mov byte [esp + 0x3e], 0
mov eax, 0x8d
mov ecx, 0x72
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov esi, ecx
and esi, 0x5a
mov edx, eax
and edx, 0xa5
or edx, esi
xor dl, byte [esp + eax - 0x89]
xor dl, 0x5a
add dl, 0x3f
mov byte [esp + eax - 0x89], dl
inc eax
dec ecx
cmp eax, 0xc8
jne 0x41c8d0
movzx ecx, word [ebx]
mov edx, dword [esp + 0x40]
mov eax, edx
test cx, cx
je 0x41c921
add ebx, 2
mov eax, edx
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [ebx]
add ebx, 2
test cx, cx
jne 0x41c910
mov word [eax], 0
movzx ecx, word [esp + 4]
test cx, cx
je 0x41c951
lea edx, [esp + 6]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edx]
add edx, 2
test cx, cx
jne 0x41c940
mov word [eax], 0
movzx ecx, word [edi]
test cx, cx
je 0x41c981
add edi, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [eax], cx
add eax, 2
movzx ecx, word [edi]
add edi, 2
test cx, cx
jne 0x41c970
mov word [eax], 0
mov esi, dword [ebp]
mov eax, 0xfffffffe
nop
nop
cmp word [esi + eax + 2], 0
lea eax, [eax + 2]
jne 0x41c990
mov ebp, dword [ebp + 8]
mov ecx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebp + ecx + 2], 0
lea ecx, [ecx + 2]
jne 0x41c9b0
mov edx, dword [esp + 0x68]
mov ebx, dword [edx]
mov edx, 0xfffffffe
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp word [ebx + edx + 2], 0
lea edx, [edx + 2]
jne 0x41c9d0
sar eax, 1
sar ecx, 1
sar edx, 1
add ecx, eax
lea eax, [edx + ecx]
add eax, 0x13
test eax, eax
jns 0x41c9f4
mov eax, 0xffffffff
jmp 0x41c9fd
add ecx, edx
lea eax, [ecx*2 + 0x26]
push eax
call fcn.0040cc40
add esp, 4
mov edi, eax
movzx eax, word [esi]
mov dword [esp], edi
test ax, ax
je 0x41ca31
add esi, 2
mov edi, dword [esp]
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [esi]
add esi, 2
test ax, ax
jne 0x41ca20
mov word [edi], 0x2f
mov dword [esp + 4], 0x49f14b1d
mov dword [esp + 8], 0x45ca47c0
mov dword [esp + 0xc], 0x41d043df
mov dword [esp + 0x10], 0xbd29bfcd
mov dword [esp + 0x14], 0xb928bb2d
mov dword [esp + 0x18], 0xb5e7b735
mov dword [esp + 0x1c], 0xb3b4
mov byte [esp + 0x20], 0
mov eax, 0x73
mov ecx, 0x8c
nop
nop
nop
mov esi, ecx
and esi, 0x81
mov edx, eax
and edx, 0x7e
or edx, esi
xor dl, byte [esp + eax - 0x6f]
xor dl, 0x81
add dl, 0xc1
mov byte [esp + eax - 0x6f], dl
inc eax
dec ecx
cmp eax, 0x90
jne 0x41ca80
add edi, 2
movzx eax, word [ebp]
test ax, ax
je 0x41cad2
add ebp, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ebp]
add ebp, 2
test ax, ax
jne 0x41cac0
mov word [edi], 0
movzx eax, word [esp + 4]
test ax, ax
je 0x41cb01
lea ecx, [esp + 6]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41caf0
mov word [edi], 0
movzx eax, word [ebx]
test ax, ax
je 0x41cb31
add ebx, 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov word [edi], ax
add edi, 2
movzx eax, word [ebx]
add ebx, 2
test ax, ax
jne 0x41cb20
mov word [edi], 0
mov dword [esp + 4], 0x90a0b3a
mov byte [esp + 8], 0
mov eax, 0x1ec6fd83
mov ecx, 0xe139027e
nop
nop
nop
movzx edx, byte [esp + eax - 0x1ec6fd7f]
mov esi, eax
and esi, edx
mov ebp, ecx
sub ebp, edx
sub edx, esi
sub edx, esi
add edx, eax
and edx, 1
lea esi, [esi*2 + 0x8e]
add esi, ebp
and ebp, 1
and esi, 0xfe
or esi, ebp
xor esi, 0xfe
lea edx, [esi + edx*2]
mov byte [esp + eax - 0x1ec6fd7f], dl
inc eax
dec ecx
cmp eax, 0x1ec6fd88
jne 0x41cb50
lea eax, [esp + 4]
push 0
push 0
push 0xc00000
push eax
mov esi, dword [esp + 0x50]
push esi
push dword [esp + 0x14]
push dword [esp + 0x78]
call fcn.00420510
add esp, 0x1c
mov ebx, eax
jmp dword [0x446d94]