Function at 0x4020b0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18c
push edi
cmp dword [0x46c930], 0xd4f
jne 0x4020cd
mov byte [0x47046f], 0x74
call fcn.004010c0
mov dword [ebp - 0x18], 0xfffff1f6
cmp dword [0x46c930], 0x451d
jne 0x4020ec
mov byte [0x4703d7], 0x4d
mov dword [ebp - 0x50], 0x288a
mov dword [ebp - 0x30], 0
jmp 0x402105
mov eax, dword [ebp - 0x30]
add eax, 1
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x61a80
jge 0x4021d6
mov eax, dword [0x46db4c]
cdq
mov ecx, 0x4a0c
idiv ecx
mov eax, dword [0x40ae00]
imul eax, edx
mov dword [0x46db4c], eax
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx + 0x40aea4]
cmp edx, 0x6d
jle 0x402158
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 0x40aea4]
cmp ecx, 0x6f
jge 0x402158
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0x40aea4]
mov byte [0x4704b7], al
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx + 0x40aea4]
cmp edx, 0x64
jle 0x402184
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 0x40aea4]
cmp ecx, 0x66
jge 0x402184
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0x40aea4]
mov byte [0x4704b8], al
mov byte [0x470444], 0xec
mov ecx, dword [ebp - 0x30]
movsx edx, byte [ecx + 0x40aea4]
cmp edx, 0x6b
jle 0x4021b7
mov eax, dword [ebp - 0x30]
movsx ecx, byte [eax + 0x40aea4]
cmp ecx, 0x6d
jge 0x4021b7
mov edx, dword [ebp - 0x30]
mov al, byte [edx + 0x40aea4]
mov byte [0x4704b9], al
mov eax, dword [0x46db4c]
cdq
mov ecx, 0x32a8
idiv ecx
mov eax, dword [0x40ae00]
imul eax, edx
mov dword [0x46db4c], eax
jmp 0x4020fc
mov byte [0x4704ca], 0x32
mov dword [ebp - 0x24], 0xfffff28a
mov byte [0x4704cb], 0x33
mov dword [ebp - 0x20], 0x1671df4e
movsx ecx, byte [0x4704ca]
add ecx, 1
mov byte [0x4704ca], cl
mov dword [ebp - 0x48], 0xffffd606
movsx edx, byte [0x4704cb]
sub edx, 1
mov byte [0x4704cb], dl
mov dword [ebp - 0x2c], 0xb8e
push 0x4084e0
mov eax, dword [0x408030]
push eax
call fcn.004030ce
add esp, 8
mov dword [ebp - 0x28], eax
movsx ecx, byte [0x4704c8]
add ecx, 1
mov byte [0x4704c8], cl
cmp dword [0x46c930], 0xf9b
jne 0x402259
mov byte [0x470470], 0x47
movsx edx, byte [0x4704c6]
sub edx, 1
mov byte [0x4704c6], dl
mov dword [ebp - 0x10], 4
movsx eax, byte [0x4704c9]
add eax, 1
mov byte [0x4704c9], al
mov dword [ebp - 0xc], 0xffffdcea
movsx ecx, byte [0x4704c4]
sub ecx, 1
mov byte [0x4704c4], cl
mov dword [ebp - 0x44], 0xa027475
mov dl, byte [0x4706ec]
mov byte [ebp - 0x38], dl
xor eax, eax
mov dword [ebp - 0x37], eax
mov byte [ebp - 0x33], al
mov cl, byte [0x4706ec]
mov byte [ebp - 0x154], cl
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x153]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x40], 0x59
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0x6e
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x1c], 0xd
mov dword [ebp - 0x4c], 0
jmp 0x402301
mov edx, dword [ebp - 0x40]
add edx, 1
mov dword [ebp - 0x40], edx
cmp dword [ebp - 0x40], 0xc8
jge 0x40231d
cmp dword [ebp - 8], 0x15
jne 0x402312
jmp 0x40231d
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4022f8
mov ecx, dword [ebp - 0x40]
sub ecx, dword [ebp - 0x14]
add ecx, 3
mov byte [ebp - 0x154], cl
mov byte [ebp - 0x153], 0x65
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
add edx, 0xb
mov byte [ebp - 0x152], dl
jmp 0x402350
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x145
jge 0x40236c
cmp dword [ebp - 0x4c], 0x15
jne 0x402361
jmp 0x40236c
mov ecx, dword [ebp - 0x4c]
add ecx, 1
mov dword [ebp - 0x4c], ecx
jmp 0x402347
mov edx, dword [ebp - 4]
sub edx, 0x2a
mov byte [ebp - 0x151], dl
mov byte [ebp - 0x150], 0x65
mov dword [ebp - 0x3c], 1
jmp 0x402391
mov eax, dword [ebp - 0x3c]
add eax, 1
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xb
jge 0x4023a2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
jmp 0x402388
mov edx, dword [ebp - 4]
sub edx, 0x36
mov byte [ebp - 0x14f], dl
mov dword [ebp - 0x3c], 0
jmp 0x4023c0
mov eax, dword [ebp - 0x3c]
add eax, 4
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0x11
jge 0x4023d1
mov ecx, dword [ebp - 0x14]
add ecx, 0xc
mov dword [ebp - 0x14], ecx
jmp 0x4023b7
mov edx, dword [ebp - 0x14]
sub edx, dword [ebp - 0x1c]
sub edx, 2
mov byte [ebp - 0x14e], dl
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov byte [ebp - 0x14d], al
mov dword [ebp - 0x3c], 0
cmp dword [ebp - 0x28], 0
je 0x4026e2
mov dword [ebp - 0x18c], 2
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x10
jne 0x40242b
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x40ae9c], eax
mov dword [ebp - 0x184], 0x171f
cmp dword [ebp - 0x3c], 6
jne 0x402451
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x46c934], eax
mov dword [ebp - 0x188], 0x134cb752
cmp dword [ebp - 0x3c], 3
jne 0x402477
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40ae2c], eax
mov dword [ebp - 0x180], 0xf196dca
cmp dword [ebp - 0x3c], 0x12
jne 0x40249c
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x40adfc], eax
mov dword [ebp - 0x178], 0xd9e
cmp dword [ebp - 0x3c], 1
jne 0x4024be
lea ecx, [ebp - 0x154]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x40a9a0], eax
mov dword [ebp - 0x15c], 0x13123fb0
cmp dword [ebp - 0x3c], 0x13
jne 0x4024e8
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x40adac], eax
call fcn.00402030
mov dword [ebp - 0x16c], 3
cmp dword [ebp - 0x3c], 0xa
jne 0x40250e
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40ae48], eax
cmp dword [ebp - 0x3c], 0xe
jne 0x40252a
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40a9c4], eax
mov dword [ebp - 0x158], 0x69b6238
cmp dword [ebp - 0x3c], 0x11
jne 0x40254f
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x47035c], eax
mov dword [ebp - 0x170], 0xc2f1461
cmp dword [ebp - 0x3c], 9
jne 0x402575
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40adec], eax
mov dword [ebp - 0x160], 0x72c9608
cmp dword [ebp - 0x3c], 0xb
jne 0x40259b
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40a9c8], eax
cmp dword [ebp - 0x3c], 8
jne 0x4025b6
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x40ae94], eax
cmp dword [ebp - 0x3c], 0xf
jne 0x4025d2
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x40adf0]
push edx
call dword [0x46c92c]
mov dword [0x40adb0], eax
mov dword [ebp - 0x168], 0x29e1
cmp dword [ebp - 0x3c], 0xc
jne 0x4025f8
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x46db54], eax
mov dword [ebp - 0x164], 0x118a3217
cmp dword [ebp - 0x3c], 7
jne 0x40261d
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x46c93c], eax
cmp dword [ebp - 0x3c], 5
jne 0x402639
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40ae30], eax
mov eax, dword [0x46db4c]
cdq
mov ecx, 0x2dbd
idiv ecx
mov dword [0x40ae00], eax
cmp dword [ebp - 0x3c], 4
jne 0x402660
mov edx, dword [ebp - 0x28]
push edx
call dword [0x40ae2c]
mov dword [0x40adf0], eax
cmp dword [ebp - 0x3c], 0xd
jne 0x40267c
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40ae98], eax
mov dword [ebp - 0x174], 0x36f
cmp dword [ebp - 0x3c], 2
jne 0x4026c1
mov edi, dword [ebp - 0x28]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
cmp ecx, 9
jae 0x4026ab
mov edx, dword [ebp - 0x3c]
sub edx, 1
mov dword [ebp - 0x3c], edx
jmp 0x4026c1
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46c92c], eax
mov dword [ebp - 0x17c], 0x1c4e
push 0x4084e0
push 0
call fcn.004030ce
add esp, 8
mov dword [ebp - 0x28], eax
jmp 0x4023f3
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret