Function at 0x402030
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
push edi
mov dword [ebp - 8], 0x1dde228c
call fcn.004010c0
mov byte [0x47045e], 0x8c
mov dword [ebp - 0x4c], 0x10db4ad0
mov dword [ebp - 0x50], 0x17906a02
mov dword [ebp - 0x28], 0
jmp 0x40206d
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x61a80
jge 0x402135
mov dword [ebp - 0x15c], 0x457bddc
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 0x40aea4]
cmp edx, 0x6d
jle 0x4020b0
mov eax, dword [ebp - 0x28]
movsx ecx, byte [eax + 0x40aea4]
cmp ecx, 0x6f
jge 0x4020b0
mov edx, dword [ebp - 0x28]
mov al, byte [edx + 0x40aea4]
mov byte [0x4704b7], al
mov eax, dword [0x46db4c]
cdq
mov ecx, 0x6ac
idiv ecx
mov dword [0x40ae00], eax
mov edx, dword [ebp - 0x28]
movsx eax, byte [edx + 0x40aea4]
cmp eax, 0x64
jle 0x4020ef
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 0x40aea4]
cmp edx, 0x66
jge 0x4020ef
mov eax, dword [ebp - 0x28]
mov cl, byte [eax + 0x40aea4]
mov byte [0x4704b8], cl
mov dword [ebp - 0x158], 0x4396
mov edx, dword [ebp - 0x28]
movsx eax, byte [edx + 0x40aea4]
cmp eax, 0x6b
jle 0x402126
mov ecx, dword [ebp - 0x28]
movsx edx, byte [ecx + 0x40aea4]
cmp edx, 0x6d
jge 0x402126
mov eax, dword [ebp - 0x28]
mov cl, byte [eax + 0x40aea4]
mov byte [0x4704b9], cl
mov dword [ebp - 0x160], 0xffffe027
jmp 0x402064
mov byte [0x4704ca], 0x32
mov dword [ebp - 0x48], 7
mov byte [0x4704cb], 0x33
mov dword [ebp - 0x44], 0xb22c4e4
movsx edx, byte [0x4704ca]
add edx, 1
mov byte [0x4704ca], dl
mov eax, dword [0x46db4c]
cdq
mov ecx, 0x483e
idiv ecx
mov eax, dword [0x40ae00]
imul eax, edx
mov dword [0x46db4c], eax
movsx ecx, byte [0x4704cb]
sub ecx, 1
mov byte [0x4704cb], cl
mov dword [ebp - 0x24], 0xc61e1e
push 0x4084e0
mov edx, dword [0x408030]
push edx
call fcn.0040303e
add esp, 8
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0x17ac77f6
movsx eax, byte [0x4704c8]
add eax, 1
mov byte [0x4704c8], al
mov byte [0x47046f], 0xec
movsx ecx, byte [0x4704c6]
sub ecx, 1
mov byte [0x4704c6], cl
movsx edx, byte [0x4704c9]
add edx, 1
mov byte [0x4704c9], dl
mov dword [ebp - 0x20], 0xffffc1f0
movsx eax, byte [0x4704c4]
sub eax, 1
mov byte [0x4704c4], al
mov dword [ebp - 0x3c], 0x661b
mov cl, byte [0x4706ec]
mov byte [ebp - 0x30], cl
xor edx, edx
mov dword [ebp - 0x2f], edx
mov byte [ebp - 0x2b], dl
mov al, byte [0x4706ec]
mov byte [ebp - 0x154], al
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 - 0x38], 0x59
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0x6e
mov dword [ebp - 0x14], 6
mov dword [ebp - 0x18], 0xd
mov dword [ebp - 0x40], 0
jmp 0x402266
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0xc8
jge 0x402282
cmp dword [ebp - 0x10], 0x15
jne 0x402277
jmp 0x402282
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
jmp 0x40225d
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x14]
add eax, 3
mov byte [ebp - 0x154], al
mov byte [ebp - 0x153], 0x65
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
add ecx, 0xb
mov byte [ebp - 0x152], cl
jmp 0x4022b5
mov edx, dword [ebp - 0xc]
add edx, 2
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0x145
jge 0x4022d1
cmp dword [ebp - 0x40], 0x15
jne 0x4022c6
jmp 0x4022d1
mov eax, dword [ebp - 0x40]
add eax, 1
mov dword [ebp - 0x40], eax
jmp 0x4022ac
mov ecx, dword [ebp - 0xc]
sub ecx, 0x2a
mov byte [ebp - 0x151], cl
mov byte [ebp - 0x150], 0x65
mov dword [ebp - 0x34], 1
jmp 0x4022f6
mov edx, dword [ebp - 0x34]
add edx, 1
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0xb
jge 0x402307
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
jmp 0x4022ed
mov ecx, dword [ebp - 0xc]
sub ecx, 0x36
mov byte [ebp - 0x14f], cl
mov dword [ebp - 0x34], 0
jmp 0x402325
mov edx, dword [ebp - 0x34]
add edx, 4
mov dword [ebp - 0x34], edx
cmp dword [ebp - 0x34], 0x11
jge 0x402336
mov eax, dword [ebp - 0x14]
add eax, 0xc
mov dword [ebp - 0x14], eax
jmp 0x40231c
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x18]
sub ecx, 2
mov byte [ebp - 0x14e], cl
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov byte [ebp - 0x14d], dl
mov dword [ebp - 0x34], 0
cmp dword [ebp - 0x1c], 0
je 0x40265c
mov dword [ebp - 0x1a4], 0x44b31af
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0xb
jne 0x402391
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40a9c8], eax
mov byte [0x470396], 0x94
cmp dword [ebp - 0x34], 9
jne 0x4023b4
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40adec], eax
mov dword [ebp - 0x17c], 0x9afa6ca
cmp dword [ebp - 0x34], 1
jne 0x4023d6
lea edx, [ebp - 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x40a9a0], eax
mov dword [ebp - 0x198], 0x3108
cmp dword [ebp - 0x34], 4
jne 0x4023f5
mov eax, dword [ebp - 0x1c]
push eax
call dword [0x40ae2c]
mov dword [0x40adf0], eax
mov dword [ebp - 0x190], 0xdaa
cmp dword [ebp - 0x34], 5
jne 0x40241b
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40ae30], eax
mov dword [ebp - 0x178], 0xb
cmp dword [ebp - 0x34], 0xe
jne 0x402441
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40a9c4], eax
mov dword [ebp - 0x170], 0xffffd5dd
cmp dword [ebp - 0x34], 7
jne 0x402466
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x46c93c], eax
mov dword [ebp - 0x18c], 0xaeb8b18
cmp dword [ebp - 0x34], 6
jne 0x40248c
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x46c934], eax
mov dword [ebp - 0x168], 0x20339217
cmp dword [ebp - 0x34], 0x12
jne 0x4024b2
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40adfc], eax
mov dword [ebp - 0x184], 1
cmp dword [ebp - 0x34], 0xa
jne 0x4024d7
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x40ae48], eax
cmp dword [ebp - 0x34], 0xc
jne 0x4024f3
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x46db54], eax
mov dword [ebp - 0x164], 0x50cd0
cmp dword [ebp - 0x34], 0xd
jne 0x402519
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40ae98], eax
cmp dword [ebp - 0x34], 0x10
jne 0x402534
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x40a9a0]
push eax
call dword [0x46c92c]
mov dword [0x40ae9c], eax
mov dword [ebp - 0x1a0], 0xfffffd18
cmp dword [ebp - 0x34], 0x13
jne 0x40255f
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40adac], eax
call fcn.00401fc0
mov dword [ebp - 0x16c], 0x364c
cmp dword [ebp - 0x34], 0x11
jne 0x402585
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x47035c], eax
mov dword [ebp - 0x188], 0x1c45b487
cmp dword [ebp - 0x34], 0xf
jne 0x4025aa
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [0x40adf0]
push eax
call dword [0x46c92c]
mov dword [0x40adb0], eax
mov dword [ebp - 0x194], 1
cmp dword [ebp - 0x34], 8
jne 0x4025d0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [0x40a9a0]
push edx
call dword [0x46c92c]
mov dword [0x40ae94], eax
mov dword [ebp - 0x19c], 0x8410
cmp dword [ebp - 0x34], 3
jne 0x4025f6
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [0x46c92c]
mov dword [0x40ae2c], eax
mov dword [ebp - 0x180], 0xfffffa62
cmp dword [ebp - 0x34], 2
jne 0x40263b
mov edi, dword [ebp - 0x1c]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xffffffff
cmp ecx, 7
jae 0x402625
mov edx, dword [ebp - 0x34]
sub edx, 1
mov dword [ebp - 0x34], edx
jmp 0x40263b
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [0x40a9a0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x46c92c], eax
mov dword [ebp - 0x174], 0x5ba5
push 0x4084e0
push 0
call fcn.0040303e
add esp, 8
mov dword [ebp - 0x1c], eax
jmp 0x402358
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret