Function at 0x420830
Capabilities:
Check http status code

Disassembly:
sub esp, 0x80
mov ecx, dword [0x9a8064]
xor eax, eax
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
mov dword [esp + 0x1c], eax
push ebp
push esi
mov dword [esp + 0x28], eax
or esi, 0xffffffff
mov word [esp + 0x2c], ax
mov dword [0xa4de30], esi
mov dx, word [ecx + 0x22068]
lea eax, [esp + 0x24]
mov word [esp + 0x24], dx
push eax
call ebx
mov edx, dword [0x9a8064]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
add edx, 0x22051
mov dword [esp + 0x20], ecx
mov ebp, eax
mov word [esp + 0x24], cx
mov ax, word [edx]
mov word [esp + 0x1c], ax
mov dword [esp + 0x14], esi
mov cl, byte [edx + 2]
lea edx, [esp + 0x1c]
push edx
mov byte [esp + 0x22], cl
call ebx
mov esi, eax
add esp, 8
cmp si, 1
je 0x420a29
cmp si, 2
je 0x420a29
cmp si, 3
je 0x420a29
cmp si, 4
je 0x420a29
cmp si, 5
je 0x420a29
cmp si, 6
je 0x420a29
cmp si, 7
je 0x420a29
cmp si, 8
je 0x420a29
cmp si, 9
je 0x420a29
cmp si, 0xa
je 0x420a29
cmp si, 0xb
je 0x420a29
cmp si, 0xc
je 0x420a29
cmp si, 0xd
je 0x420a29
cmp si, 0xe
je 0x420a29
cmp si, 0xf
je 0x420a29
cmp si, 0x11
je 0x420a29
cmp si, 0x12
je 0x420a29
cmp si, 0x13
je 0x420a29
cmp si, 0x14
je 0x420a29
cmp si, 0x15
je 0x420a29
cmp si, 0x16
je 0x420a29
cmp si, 0x17
je 0x420a29
cmp si, 0x19
je 0x420a29
cmp si, 0x1a
je 0x420a29
cmp si, 0x1b
je 0x420a29
cmp si, 0x1d
je 0x420a29
cmp si, 0x21
je 0x420a29
cmp si, 0x22
je 0x420a29
cmp si, 0x23
je 0x420a29
cmp si, 0x24
je 0x420a29
cmp si, 0x28
je 0x420a29
cmp si, 0x29
je 0x420a29
cmp si, 0x2a
je 0x420a29
cmp si, 0x2c
je 0x420a29
cmp si, 0x2d
je 0x420a29
cmp si, 0x51
je 0x420a29
cmp si, 0x52
je 0x420a29
cmp si, 0x53
je 0x420a29
cmp si, 0x54
je 0x420a29
cmp si, 0x55
je 0x420a29
cmp si, 0x56
je 0x420a29
cmp si, 0x57
je 0x420a29
cmp si, 0xc8
jge 0x420a29
pop esi
pop ebp
mov dword [0xa4de30], 0
xor eax, eax
pop ebx
add esp, 0x80
ret
movsx eax, bp
push edi
xor edi, edi
lea ebp, [eax + eax*4]
shl ebp, 2
xor eax, eax
mov ecx, dword [0x9a8064]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov word [esp + 0x24], ax
movsx eax, di
add eax, ebp
lea edx, [ecx + eax*2]
lea eax, [eax + edx + 0x21ad0]
mov cx, word [eax]
mov word [esp + 0x1c], cx
mov dl, byte [eax + 2]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x22], dl
call ebx
add esp, 4
cmp si, ax
je 0x420a80
inc edi
cmp di, 0x14
jl 0x420a35
jmp 0x420a88
mov dword [esp + 0x14], 0
mov eax, dword [0x9a8064]
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], 0xffffffff
mov dword [esp + 0x20], ecx
mov word [esp + 0x24], cx
mov edx, dword [eax + 0x22049]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], ecx
mov word [esp + 0x3c], cx
mov edx, dword [eax + 0x22041]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ecx
mov word [esp + 0x30], cx
mov edx, dword [eax + 0x22045]
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], edx
push eax
call ebx
lea ecx, [esp + 0x38]
mov esi, eax
push ecx
call ebx
lea edx, [esp + 0x30]
mov ebp, eax
push edx
call ebx
mov dword [esp + 0x24], eax
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x4c]
rep stosd dword es:[edi], eax
mov eax, dword [0x9a8064]
lea edx, [esp + 0x4c]
push edx
mov cl, byte [eax + 0x22034]
mov byte [esp + 0x50], cl
call ebx
mov ecx, dword [0x9a7d80]
add esp, 0x10
xor edx, edx
mov edi, dword [ecx + 0x3dbb4]
cmp edi, edx
pop edi
jne 0x420b39
cmp ax, 1
jne 0x420b39
dec esi
movsx eax, si
movsx ecx, bp
inc eax
cmp ecx, eax
jg 0x420b51
movsx ecx, word [esp + 0x14]
cmp eax, ecx
jg 0x420b51
mov dword [esp + 0xc], edx
mov eax, dword [0x9a8064]
mov cl, 0x31
cmp byte [eax + 0x221a9], cl
je 0x420b68
cmp byte [eax + 0x221aa], cl
jne 0x420b70
mov dword [esp + 0xc], 0xffffffff
cmp word [esp + 0x10], dx
jne 0x420b84
cmp word [esp + 0xc], dx
mov dword [0xa4de30], edx
je 0x420b8e
mov dword [0xa4de30], 0xffffffff
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x80
ret