Function at 0x41c040
Capabilities:
Check http status code

Disassembly:
sub esp, 0x380
cmp dword [0x4bd4e0], 0
push ebx
push esi
push edi
push ebp
je 0x41c05f
mov eax, dword [0x4bd4e0]
push eax
call dword [0x4c2594]
push 0x6cd8
mov edi, dword [0x4c2588]
push 0x42
call edi
mov dword [0x4bd4e0], eax
test eax, eax
jne 0x41c086
mov ax, 0x66
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x380
ret
mov eax, dword [0x4bd4e0]
mov ebp, dword [0x4c258c]
push eax
call ebp
mov ebx, eax
push 0x4bd144
mov ax, word [esp + 0x39c]
push ebx
mov word [ebx + 0x6a7a], 0
mov dword [ebx + 0x6560], 0
mov word [ebx + 0x6a14], 0
mov word [ebx + 0x6a7c], ax
call dword [0x4c2574]
lea eax, [esp + 0x2c]
push 0x77
mov esi, dword [esp + 0x398]
push eax
push 0x642
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c0f1
xor eax, eax
push 0
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x643
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c11a
xor eax, eax
push 2
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x644
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c143
xor eax, eax
push 3
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x645
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c16c
xor eax, eax
push 4
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x648
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c195
xor eax, eax
push 6
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x649
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c1be
xor eax, eax
push 7
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x64a
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c1e7
xor eax, eax
push 8
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x64c
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c210
xor eax, eax
push 0xa
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x64d
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c239
xor eax, eax
push 0xb
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x64e
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c262
xor eax, eax
push 0xc
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x64f
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c28b
xor eax, eax
push 0xd
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x651
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c2b4
xor eax, eax
push 0xe
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x652
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c2dd
xor eax, eax
push 0x6b
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x66b
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c306
xor eax, eax
push 0x71
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x653
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c32f
xor eax, eax
push 0xf
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x654
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c358
xor eax, eax
push 0x10
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x655
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c381
xor eax, eax
push 0x6c
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x656
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c3aa
xor eax, eax
push 0x11
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x669
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c3d3
xor eax, eax
push 0x6e
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x657
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c3fc
xor eax, eax
push 0x6d
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x658
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c425
xor eax, eax
push 0x6a
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x659
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c44e
xor eax, eax
push 0x12
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x65a
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c477
xor eax, eax
push 0x67
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x65b
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c4a0
xor eax, eax
push 0x13
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x65c
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c4c9
xor eax, eax
push 0x14
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x65d
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c4f2
xor eax, eax
push 0x15
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x65f
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c51b
xor eax, eax
push 0x16
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x660
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c544
xor eax, eax
push 0x17
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x66a
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c56d
xor eax, eax
push 0x6f
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x667
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c596
xor eax, eax
push 0x70
push eax
push ebx
call fcn.0041cdf0
lea eax, [esp + 0x38]
add esp, 0xc
push 0x77
push eax
push 0x661
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c5bf
xor eax, eax
push 0x1f4
push eax
push ebx
push esi
call fcn.0041cc10
lea eax, [esp + 0x3c]
add esp, 0x10
push 0x77
push eax
push 0x66c
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c5ec
xor eax, eax
push 0x1fc
push eax
push ebx
push esi
call fcn.0041cc10
lea eax, [esp + 0x3c]
add esp, 0x10
push 0x77
push eax
push 0x663
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c619
xor eax, eax
push 0x1f6
push eax
push ebx
push esi
call fcn.0041cc10
lea eax, [esp + 0x3c]
add esp, 0x10
push 0x77
push eax
push 0x664
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c646
xor eax, eax
push 0x1f7
push eax
push ebx
push esi
call fcn.0041cc10
lea eax, [esp + 0x3c]
add esp, 0x10
push 0x77
push eax
push 0x665
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c673
xor eax, eax
push 0x1f8
push eax
push ebx
push esi
call fcn.0041cc10
lea eax, [esp + 0x3c]
add esp, 0x10
push 0x77
push eax
push 0x666
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c6a0
xor eax, eax
push 0x1f9
push eax
push ebx
push esi
call fcn.0041cc10
lea eax, [esp + 0x3c]
add esp, 0x10
push 0x77
push eax
push 0x668
push esi
call dword [0x4c32b8]
test eax, eax
lea eax, [esp + 0x2c]
jg 0x41c6cd
xor eax, eax
push 0x1fb
push eax
push ebx
push esi
call fcn.0041cc10
add esp, 0x10
test byte [esp + 0x398], 1
je 0x41cb4c
push 0x1388
push 0x42
call edi
mov dword [esp + 0x28], eax
test eax, eax
jne 0x41c723
mov eax, dword [0x4bd4e0]
push eax
call dword [0x4c2590]
mov eax, dword [0x4bd4e0]
push eax
call dword [0x4c2594]
mov ax, 0x66
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x380
ret
mov eax, dword [esp + 0x28]
push eax
call ebp
mov ecx, dword [esp + 0x39c]
push 0x1388
mov dword [esp + 0x20], eax
push eax
push 0x4bd144
push 0
push ecx
call dword [0x4c2544]
mov ecx, dword [esp + 0x1c]
push ecx
call dword [0x4c25a0]
test eax, eax
jle 0x41cb26
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x1c]
mov word [esp + 0x12], 9
cmp byte [eax], 0
je 0x41cb26
mov edi, dword [0x4c2578]
cmp word [esp + 0x12], 0x32
jae 0x41cb26
mov eax, dword [esp + 0x1c]
push 0x78
add eax, dword [esp + 0x28]
lea edx, [esp + 0x168]
mov ecx, dword [esp + 0x3a0]
push edx
mov dword [esp + 0x28], eax
push 0x4bd144
push eax
push ecx
call dword [0x4c2544]
lea ecx, [esp + 0x164]
push ecx
call dword [0x4c25a0]
test eax, eax
jle 0x41cb01
lea eax, [esp + 0x164]
push 0x4bd500
push eax
call dword [0x4c313c]
mov dword [esp + 0x1c], eax
add esp, 8
push 0x4bd500
push 0
call dword [0x4c313c]
mov dword [esp + 0x20], eax
add esp, 8
xor ebp, ebp
push 0x4bd500
push 0
call dword [0x4c313c]
mov dword [esp + 0xb0], eax
add esp, 8
cmp dword [esp + 0x14], ebp
je 0x41c827
mov eax, dword [esp + 0x14]
push eax
call dword [0x4c25a0]
cmp eax, 3
jge 0x41c82c
mov ebp, 1
cmp dword [esp + 0x18], 0
je 0x41c843
mov eax, dword [esp + 0x18]
push eax
call dword [0x4c25a0]
cmp eax, 1
jge 0x41c848
mov ebp, 1
test ebp, ebp
jne 0x41c909
test byte [esp + 0x398], 2
jbe 0x41c872
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d3d0
add esp, 4
cmp ax, 0x3e8
je 0x41c872
mov ebp, 1
mov eax, dword [esp + 0x18]
push eax
call fcn.0041d4e0
add esp, 4
cmp ax, 0x3e8
je 0x41c890
cmp ax, 0x1f4
jb 0x41c890
mov ebp, 1
test ebp, ebp
jne 0x41cb01
lea eax, [esp + 0x308]
push 0x4000
mov ecx, dword [esp + 0x18]
push eax
push ecx
call dword [0x4c2580]
cmp eax, 0xffffffff
jne 0x41c8bc
mov ebp, 1
jmp 0x41c909
push 0x8001
call dword [0x4c254c]
mov eax, dword [esp + 0x14]
push eax
call dword [0x4c2548]
mov dword [esp + 0xa4], eax
push 0
call dword [0x4c254c]
cmp dword [esp + 0xa4], 0
jne 0x41c8f4
mov word [esp + 0x10], 1
jmp 0x41c909
mov word [esp + 0x10], 0
mov eax, dword [esp + 0xa4]
push eax
call dword [0x4c2550]
test ebp, ebp
jne 0x41cb01
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1dc]
push eax
push ecx
call dword [0x4c2574]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0xac]
push ecx
push edx
call dword [0x4c2574]
cmp dword [esp + 0xa8], 0
jne 0x41c950
lea eax, [esp + 0xe0]
push 0x4bd144
push eax
jmp 0x41c960
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0xe0]
push eax
push ecx
call dword [0x4c2574]
lea eax, [esp + 0x1dc]
push eax
call dword [0x4c25a0]
cmp eax, 0xc8
jl 0x41c983
mov byte [esp + 0x2a4], 0
lea eax, [esp + 0xac]
push eax
call dword [0x4c25a0]
cmp eax, 3
jle 0x41c99e
mov byte [esp + 0xaf], 0
lea eax, [esp + 0xe0]
push eax
call dword [0x4c25a0]
cmp eax, 0x1e
jl 0x41c9b9
mov byte [esp + 0xfe], 0
mov ebp, dword [esp + 0x12]
lea eax, [esp + 0x1dc]
and ebp, 0xffff
push eax
lea ecx, [ebp + ebp*4]
lea edx, [ecx + ecx*4]
lea eax, [ebx + edx*8]
add eax, 0x2904
push eax
call dword [0x4c2574]
lea ecx, [esp + 0xe0]
lea edx, [ebp*2]
push ecx
lea eax, [edx + edx*2]
lea eax, [eax + eax*4]
add eax, ebx
add eax, 0x5dc0
push eax
call dword [0x4c2574]
mov ecx, dword [esp + 0x20]
lea eax, [ebp*8]
push ecx
sub eax, ebp
lea ecx, [eax + eax*4]
lea eax, [ebx + ecx*2]
add eax, 0x5014
push eax
call dword [0x4c2574]
mov cx, word [esp + 0x10]
lea edx, [esp + 0xac]
mov word [ebx + ebp*2 + 0x6a16], cx
push edx
xor bp, bp
lea eax, [esp + 0x30]
push eax
call dword [0x4c2574]
lea ecx, [esp + 0x2c]
push ecx
call dword [0x4c25a0]
cmp eax, 3
jge 0x41ca75
inc bp
push 0x4bd110
lea eax, [esp + 0x30]
push eax
call edi
lea eax, [esp + 0x2c]
push eax
call dword [0x4c25a0]
cmp eax, 3
jl 0x41ca57
cmp word [esp + 0x10], 0
jne 0x41ca84
push 0x4bd4f4
jmp 0x41ca89
push 0x4bd4e8
lea eax, [esp + 0x30]
push eax
call edi
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push eax
push ecx
call edi
lea ecx, [esp + 0x2c]
push 0x4bd4e4
push ecx
call edi
lea ecx, [esp + 0x2c]
push 0x4bd0d4
push ecx
call edi
lea ecx, [esp + 0xac]
lea edx, [esp + 0x2c]
push ecx
push edx
call edi
test bp, bp
je 0x41cad8
lea eax, [esp + 0x2c]
push 0x4bd110
push eax
call edi
dec bp
jne 0x41cac8
lea eax, [esp + 0x2c]
push 0x4bd4e4
push eax
call edi
mov ax, word [esp + 0x12]
lea ecx, [esp + 0x2c]
add ax, 0x1f4
push eax
push ecx
push ebx
call fcn.0041cdf0
inc word [esp + 0x1e]
add esp, 0xc
mov eax, dword [esp + 0x20]
push eax
call dword [0x4c25a0]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x1c]
lea eax, [eax + ecx + 1]
mov dword [esp + 0x24], eax
cmp byte [eax + edx], 0
jne 0x41c77e
mov ax, word [esp + 0x12]
mov ecx, dword [esp + 0x28]
sub ax, 0x1fd
push ecx
mov word [ebx + 0x6a14], ax
call dword [0x4c2590]
mov ecx, dword [esp + 0x28]
push ecx
call dword [0x4c2594]
lea eax, [esp + 0x2c]
push 0x77
push eax
push 0x640
push esi
call dword [0x4c32b8]
lea eax, [esp + 0x2c]
push eax
call dword [0x4c25a0]
lea ecx, [eax + ebx]
mov ebp, eax
mov eax, dword [ebx + 0x6560]
mov edi, ebx
push eax
push ebx
push ecx
call dword [0x4c3134]
lea esi, [esp + 0x38]
add esp, 0xc
mov ecx, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor eax, eax
test ebp, ebp
jle 0x41cbab
lea ecx, [eax + ebx]
cmp byte [ecx], 0x7c
jne 0x41cba6
mov byte [ecx], 0
inc eax
cmp eax, ebp
jl 0x41cb9b
xor ax, ax
cmp word [ebx + 0x6a7a], ax
jbe 0x41cbcc
movzx ecx, ax
inc ax
add dword [ebx + ecx*4 + 0x6564], ebp
cmp word [ebx + 0x6a7a], ax
ja 0x41cbb7
mov eax, dword [0x4bd4e0]
push eax
call dword [0x4c2590]
xor ax, ax
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x380
ret