Function at 0x5972f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xc8
ja case.0x597313.20
mov ecx, dword [ebp - 0x18]
movzx edx, byte [ecx + 0x597a84]
jmp dword [edx*4 + 0x5979e0]
push 0
call fcn.00596380
add esp, 4
jmp case.0x597313.20
cmp dword [ebp + 0x18], 0xffffffff
je 0x597339
mov eax, dword [ebp + 0x18]
mov dword [0x1210978], eax
jmp 0x597343
mov dword [0x1210978], 0x64
mov ecx, dword [0x121bbbc]
mov edx, dword [0x1210978]
mov dword [ecx + 0x284], edx
push 1
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 2
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 3
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 4
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
push 5
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 6
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
push 7
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov edx, dword [ebp + 0x10]
push edx
call fcn.00596350
add esp, 4
push 8
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
push 9
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
push 0xa
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov edx, dword [ebp + 0x10]
push edx
call fcn.00596350
add esp, 4
push 0xb
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
push 0xc
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
push 0xd
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov edx, dword [ebp + 0x10]
push edx
call fcn.00596350
add esp, 4
push 0xe
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
push 0xf
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
push 0x10
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 0x11
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 0x12
call fcn.00596380
add esp, 4
jmp case.0x597313.20
push 0x13
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov edx, dword [ebp + 0x10]
push edx
call fcn.00596350
add esp, 4
push 1
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
push 0
call fcn.00596380
add esp, 4
jmp case.0x597313.20
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00596180
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
call fcn.004948e0
jmp case.0x597313.20
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00596180
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
call fcn.004948e0
cmp dword [ebp + 0x18], 1
jne 0x597580
call fcn.00596ea0
jmp 0x597585
call fcn.00596ec0
jmp case.0x597313.20
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00596180
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
call fcn.004948e0
cmp dword [ebp + 0x18], 1
jne 0x5975b8
call fcn.00596f50
jmp 0x5975bd
call fcn.00596f70
jmp case.0x597313.20
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00596180
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
call fcn.004948e0
cmp dword [ebp + 0x18], 1
jne 0x5975f5
call fcn.00596f90
jmp 0x5975fa
call fcn.00596fb0
jmp case.0x597313.20
cmp dword [ebp + 0x18], 1
jne 0x59760c
call fcn.00599240
jmp 0x597611
call fcn.00599260
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
jmp case.0x597313.20
cmp dword [ebp + 0x18], 0
je 0x597636
mov edx, dword [ebp + 0x18]
push edx
call fcn.00599280
add esp, 4
jmp 0x59763b
call fcn.005992a0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
jmp case.0x597313.20
call fcn.005992c0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
jmp case.0x597313.20
cmp dword [ebp + 0x18], 1
jne 0x59766f
call fcn.005992e0
jmp 0x597674
call fcn.00599300
mov edx, dword [ebp + 0x10]
push edx
call fcn.00596350
add esp, 4
jmp case.0x597313.20
call fcn.00599320
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
jmp case.0x597313.20
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
jmp case.0x597313.20
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00496ea0
add esp, 8
test eax, eax
jne 0x5976d0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00596180
add esp, 8
call fcn.005961a0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
push 0
call fcn.00596380
add esp, 4
call fcn.004948e0
jmp case.0x597313.20
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00598840
add esp, 4
mov dword [0x1210980], eax
mov edx, dword [ebp + 0x18]
push edx
call fcn.00598840
add esp, 4
mov ecx, dword [0x121bbbc]
mov dword [ecx + 0x2a8], eax
cmp dword [ebp + 0x1c], 0
je 0x59776e
mov edx, dword [0x121bbbc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x34], 0
jne 0x59774b
mov edx, dword [ebp + 0x1c]
push edx
call fcn.0044e470
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x34], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x34], 0
je 0x59776c
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00598840
add esp, 4
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x34]
mov dword [edx + 0x2a8], eax
jmp 0x59779b
mov eax, dword [0x121bbbc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp dword [edx + 0x34], 0
je 0x59779b
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x34]
push ecx
call fcn.004013e0
add esp, 4
mov edx, dword [ebp - 8]
mov dword [edx + 0x34], 0
jmp case.0x597313.20
mov eax, dword [ebp + 0x18]
push eax
call fcn.00599280
add esp, 4
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00596350
add esp, 4
jmp case.0x597313.20
call fcn.005992a0
mov edx, dword [ebp + 0x10]
push edx
call fcn.00596350
add esp, 4
jmp case.0x597313.20
cmp dword [ebp + 0x18], 0
jl 0x5978db
mov eax, dword [0x121bbbc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x38], 0
jne 0x597858
push 0
push 2
call fcn.004010b0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x38]
mov dword [eax + 8], 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
mov dword [edx + 0x2b0], 0
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x38]
mov byte [ecx + 0x15], 0xa
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x38]
mov dword [eax + 0x24], 0x34
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
mov eax, dword [edx + 0x24]
or eax, 0x200
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
mov dword [edx + 0x24], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00598840
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x38]
mov dword [edx + 0x2a8], eax
mov eax, dword [0x1210980]
push eax
call fcn.005995c0
add esp, 4
mov ecx, dword [0x121bbbc]
mov dword [ecx + 0x2a8], eax
mov edx, dword [0x121bbbc]
mov dword [edx + 0x2c], 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x3c], 0
mov ecx, dword [ebp + 0x1c]
mov dword [0x121097c], ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x38]
mov dword [eax + 0x2b0], 0
mov ecx, dword [0x121bbbc]
cmp dword [ecx + 0x2b0], 1
jne 0x5978d9
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x38]
mov dword [eax + 0x2b0], 1
jmp 0x59794b
mov ecx, dword [0x121bbbc]
cmp dword [ecx + 0x2c], 2
je 0x59794b
mov edx, dword [0x121bbbc]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x121bbbc]
mov dword [ecx + 0x2c], 2
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x3c], 0
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x597941
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
mov dword [edx + 0x2b0], 0
mov eax, dword [0x121bbbc]
cmp dword [eax + 0x2b0], 1
jne 0x597941
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x38]
mov dword [edx + 0x2b0], 1
mov dword [0x121097c], 0
jmp case.0x597313.20
mov eax, dword [0x121bbbc]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x121bbbc]
mov dword [edx + 0x2c], 3
mov eax, dword [ebp + 0x18]
push eax
call fcn.00598840
add esp, 4
mov ecx, dword [0x121bbbc]
mov dword [ecx + 0x2a8], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x3c], 0
jmp case.0x597313.20
call fcn.005997e0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00596350
add esp, 4
mov ecx, dword [0x121bbbc]
mov edx, dword [ebp + 0x18]
mov dword [ecx + 0x31c], edx
jmp case.0x597313.20
cmp dword [ebp + 0x18], 0
je 0x5979c8
movzx eax, word [0x1210996]
or eax, 0x1000
mov word [0x1210996], ax
jmp case.0x597313.20
movzx ecx, word [0x1210996]
and ecx, 0xffffefff
mov word [0x1210996], cx
mov esp, ebp
pop ebp
ret