Function at 0x4068a0
Capabilities:
Check http status code

Disassembly:
push 0xffffffffffffffff
push 0x4df044
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x517050]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov edi, edx
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
test byte [0x532734], 1
jne 0x406918
or dword [0x532734], 1
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4068fa
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e05d0
mov dword [0x532730], eax
call fcn.0043d441
add esp, 4
cmp ebp, 0x103
ja case.0x40693f.4
je 0x40810b
lea eax, [ebp - 2]
cmp eax, 0xfe
ja case.0x40693f.4
movzx ecx, byte [eax + 0x4082b0]
jmp dword [ecx*4 + 0x4081b8]
cmp ebx, 0xffff
je 0x407286
cmp ebx, dword [0x51b980]
jae 0x406971
mov edx, ebx
imul edx, edx, 0x1a
add edx, 0x5296e0
jmp 0x540000
cmp ebx, 0x400
jne 0x406983
mov eax, 0x4f9e9c
jmp 0x4081a2
cmp ebx, 0x401
jne 0x406995
mov eax, 0x4f9ea8
jmp 0x4081a2
cmp ebx, 0x402
je 0x4070ae
cmp ebx, 0x403
jne 0x4069b3
mov eax, 0x4f9eb4
jmp 0x4081a2
test ebx, 0x8000
je case.default.0x407bfd
mov eax, 0xfffe
sub eax, ebx
push eax
push 0x4f9dc8
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
mov edi, dword [0x51b9f4]
push 1
push 7
push 0x51b9dc
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x406a54
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406a2e
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 6
ja 0x406a65
mov eax, dword [ebx*4 + 0x51e9bc]
jmp 0x4081a2
push ebx
push 0x4f961c
push 0x532728
call fcn.0040c060
mov eax, dword [0x532728]
add esp, 0xc
jmp 0x4081a2
cmp ebx, 0xff
je 0x407286
cmp ebx, dword [0x51b9a8]
jae case.default.0x407bfd
add ebx, 2
push ebx
push 0x4f9ec4
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
cmp ebx, 0xffff
je 0x407286
cmp ebx, dword [0x51b9bc]
jae case.default.0x407bfd
add ebx, 1
push ebx
push 0x4f9ed4
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
test byte [0x53272c], 1
jne 0x406b40
mov eax, 1
or dword [0x53272c], eax
mov dword [esp + 0x1c], eax
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406b1a
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0xffff
je 0x407286
cmp ebx, 0x12
ja 0x406a65
mov eax, dword [ebx*4 + 0x51ff20]
jmp 0x4081a2
test ebx, ebx
jne 0x406b6f
mov eax, 0x4f9ee4
jmp 0x4081a2
cmp ebx, 1
jne 0x406b7e
mov eax, 0x4f9ef4
jmp 0x4081a2
cmp ebx, 0xff
jne case.default.0x407bfd
mov eax, 0x4f9f00
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x406bec
or dword [0x53272c], 1
mov dword [esp + 0x1c], 2
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406bc6
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 1
ja 0x406a65
mov eax, dword [ebx*4 + 0x51ff6c]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x406c59
or dword [0x53272c], 1
mov dword [esp + 0x1c], 3
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406c33
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x51fdb4]
jmp 0x4081a2
mov ecx, dword [0x51b9cc]
add ecx, 0xffffffff
cmp ebx, ecx
ja case.default.0x407bfd
lea edx, [ebx + ebx + 1]
push edx
push 0x4f9f08
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
cmp ebx, 0xffff
je 0x407286
cmp ebx, dword [0x51b9a0]
jae case.default.0x407bfd
push ebx
push 0x4f9f20
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
cmp ebx, 0xffff
je 0x407286
cmp ebx, dword [0x51b984]
jae case.default.0x407bfd
mov eax, ebx
shl eax, 4
add eax, ebx
lea eax, [eax*2 + 0x5274e0]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x406d4e
or dword [0x53272c], 1
mov dword [esp + 0x1c], 4
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406d28
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0xffff
je 0x407286
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x51ff74]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407286
test ebx, ebx
jne case.default.0x407bfd
mov eax, 0x4f8c08
jmp 0x4081a2
cmp ebx, 3
ja 0x406dee
test byte [0x53272c], 1
jne 0x406de2
or dword [0x53272c], 1
mov dword [esp + 0x1c], 5
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406dc4
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov eax, dword [ebx*4 + 0x51ff80]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407286
add ebx, 0xfffffffd
push ebx
push 0x4f9f30
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
cmp ebx, 0xffff
je 0x407286
cmp ebx, dword [0x51b9c0]
jae case.default.0x407bfd
mov ecx, dword [0x51b9bc]
lea edx, [ecx + ebx + 1]
push edx
jmp 0x406ad1
cmp ebx, 0x64
jae 0x406e5a
push ebx
push 0x4f9f4c
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
cmp ebx, 0xc8
jae 0x406e7d
add ebx, 0xffffff9c
push ebx
push 0x4f9f64
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
add ebx, 0xffffff38
push ebx
push 0x4f9f80
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
mov edi, dword [0x51ff94]
push 1
push 6
push 0x51ff90
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x406f11
or dword [0x53272c], 1
mov dword [esp + 0x1c], 6
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406eeb
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0xf
ja 0x406a65
mov eax, dword [ebx*4 + 0x51ffa8]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x406f7e
or dword [0x53272c], 1
mov dword [esp + 0x1c], 7
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x406f58
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x51ffe8]
jmp 0x4081a2
lea eax, [edi - 4]
cmp eax, 0x70
ja case.0x406fa6.5
movzx ecx, byte [eax + 0x408404]
jmp dword [ecx*4 + 0x4083b0]
cmp ebx, 1
mov eax, 0x4f9f9c
je 0x4081a2
mov eax, 0x4f9fa4
jmp 0x4081a2
cmp esi, 2
je case.0x406fa6.107
cmp esi, 3
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4f9fac
je 0x4081a2
mov eax, 0x4f9fb4
jmp 0x4081a2
cmp esi, 1
jne 0x407007
cmp ebx, esi
mov eax, 0x4f9fbc
je 0x4081a2
mov eax, 0x4f9fc4
jmp 0x4081a2
cmp esi, 2
jne 0x407024
cmp ebx, 1
mov eax, 0x4f9fcc
je 0x4081a2
mov eax, 0x4f9fd4
jmp 0x4081a2
cmp esi, 3
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4f9fdc
je 0x4081a2
mov eax, 0x4f9fe4
jmp 0x4081a2
test ebx, ebx
mov eax, 0x4f9fec
je 0x4081a2
mov eax, 0x4f9ffc
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4fa004
je 0x4081a2
mov eax, 0x4fa010
jmp 0x4081a2
test esi, esi
je case.0x406fa6.107
cmp esi, 1
jne case.default.0x407bfd
cmp ebx, esi
mov eax, 0x4f9fac
je 0x4081a2
mov eax, 0x4f9fb4
jmp 0x4081a2
cmp esi, 1
jne 0x4070b8
cmp ebx, esi
mov eax, 0x4f8a50
je 0x4081a2
mov eax, 0x4f8a58
jmp 0x4081a2
cmp esi, 2
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4fa01c
je 0x4081a2
mov eax, 0x4fa024
jmp 0x4081a2
cmp esi, 3
jne 0x4070f6
cmp ebx, 1
mov eax, 0x4fa02c
je 0x4081a2
mov eax, 0x4fa034
jmp 0x4081a2
cmp esi, 4
jne 0x407113
cmp ebx, 1
mov eax, 0x4fa03c
je 0x4081a2
mov eax, 0x4fa048
jmp 0x4081a2
cmp esi, 5
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4fa050
je 0x4081a2
mov eax, 0x4fa048
jmp 0x4081a2
cmp esi, 2
je 0x4070fb
cmp esi, 3
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4fa050
je 0x4081a2
mov eax, 0x4fa048
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4fa05c
je 0x4081a2
mov eax, 0x4f95ec
jmp 0x4081a2
cmp esi, 4
je case.0x406fa6.107
cmp esi, 5
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4f9fac
je 0x4081a2
mov eax, 0x4f9fb4
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4f8c3c
je 0x4081a2
mov eax, 0x4fa064
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4fa06c
je 0x4081a2
mov eax, 0x4fa074
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4fa080
je 0x4081a2
mov eax, 0x4fa08c
jmp 0x4081a2
test esi, esi
jne 0x407200
cmp ebx, 1
mov eax, 0x4fa08c
je 0x4081a2
mov eax, 0x4fa080
jmp 0x4081a2
cmp edi, 0x63
jne 0x40721d
cmp ebx, 1
mov eax, 0x4fa098
je 0x4081a2
mov eax, 0x4fa0a0
jmp 0x4081a2
cmp edi, 0x65
jne 0x40723a
cmp ebx, 1
mov eax, 0x4fa0a8
je 0x4081a2
mov eax, 0x4fa0b4
jmp 0x4081a2
cmp edi, 0x66
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4f8570
jne 0x4081a2
mov eax, 0x4fa0c0
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4fa0c8
je 0x4081a2
mov eax, 0x4fa0d0
jmp 0x4081a2
cmp esi, 3
jne 0x407290
cmp ebx, 1
mov eax, 0x4f87c4
je 0x4081a2
mov eax, 0x4f9560
jmp 0x4081a2
cmp esi, 4
jne 0x4072ad
cmp ebx, 1
mov eax, 0x4f87b4
je 0x4081a2
mov eax, 0x4f9560
jmp 0x4081a2
cmp esi, 5
jne 0x4072ca
cmp ebx, 1
mov eax, 0x4fa0d8
je 0x4081a2
mov eax, 0x4f9560
jmp 0x4081a2
cmp esi, 6
jne 0x4072e7
cmp ebx, 1
mov eax, 0x4f87ac
je 0x4081a2
mov eax, 0x4f9560
jmp 0x4081a2
cmp esi, 7
jne case.default.0x407bfd
cmp ebx, 1
mov eax, 0x4f87a4
je 0x4081a2
mov eax, 0x4f9560
jmp 0x4081a2
cmp ebx, 1
mov eax, 0x4fa0e0
je 0x4081a2
mov eax, 0x4fa0e8
jmp 0x4081a2
mov edi, dword [0x51fff8]
push 1
push 2
push 0x51fff4
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407396
or dword [0x53272c], 1
mov dword [esp + 0x1c], 8
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407370
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x51fffc]
jmp 0x4081a2
push 1
push 4
push 0x520008
mov edi, 0x4fa0f0
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
mov edi, dword [0x520018]
push 1
push 2
push 0x520018
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x40743e
or dword [0x53272c], 1
mov dword [esp + 0x1c], 9
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407418
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 3
ja 0x406a65
mov eax, dword [ebx*4 + 0x520020]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x4074ab
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0xa
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407485
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 1
ja 0x406a65
mov eax, dword [ebx*4 + 0x520030]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407518
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0xb
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4074f2
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0xffff
je 0x407286
cmp ebx, 5
ja 0x406a65
mov eax, dword [ebx*4 + 0x520038]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407286
lea ecx, [ebx - 2]
cmp ecx, 0xfd
ja case.default.0x407bfd
mov ecx, 0x532730
call fcn.0040beb0
test bl, 2
je 0x407572
push 0x4fa0fc
mov ecx, 0x532730
call fcn.00408490
test bl, 4
je 0x407586
push 0x4fa104
mov ecx, 0x532730
call fcn.00408490
test bl, 8
je 0x40759a
push 0x4fa10c
mov ecx, 0x532730
call fcn.00408490
test bl, 0x10
je 0x4075ae
push 0x4fa114
mov ecx, 0x532730
call fcn.00408490
test bl, bl
jns 0x407608
mov edx, dword [0x532730]
cmp dword [edx - 0xc], 0
jne 0x4075cd
push 0x4f871c
mov ecx, 0x532730
call fcn.0040be30
push 0x532730
lea eax, [esp + 0x2c]
push 0x4fa11c
push eax
call fcn.00408730
add esp, 0xc
push eax
mov ecx, 0x532730
mov dword [esp + 0x20], 0xc
call fcn.0040bd10
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.0040b5c0
mov ecx, dword [0x532730]
mov eax, dword [ecx - 0xc]
add eax, 0xffffffff
push eax
lea edx, [esp + 0x28]
push edx
mov ecx, 0x532730
call fcn.00408550
push eax
mov ecx, 0x532730
mov dword [esp + 0x20], 0xd
call fcn.0040bd10
lea ecx, [esp + 0x24]
call fcn.0040b5c0
jmp 0x40819d
test byte [0x53272c], 1
jne 0x40769d
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0xe
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407677
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x520050]
jmp 0x4081a2
mov ecx, dword [0x51b9a0]
lea edx, [ecx + ecx]
cmp ebx, edx
jae case.default.0x407bfd
test bl, 1
je 0x4076e5
shr ebx, 1
add ebx, 1
push ebx
push 0x4fa124
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
shr ebx, 1
push ebx
push 0x4fa13c
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
test byte [0x53272c], 1
jne 0x407757
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0xf
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407731
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 1
ja 0x406a65
mov eax, dword [ebx*4 + 0x52005c]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x4077b9
test ebx, ebx
je 0x4077b9
cmp ebx, 1
jne 0x407787
mov eax, 0x4fa160
jmp 0x4081a2
cmp ebx, dword [0x51b984]
jae case.default.0x407bfd
cmp ebx, 2
jb case.default.0x407bfd
mov ecx, dword [0x5302e0]
lea eax, [ecx + ebx - 2]
mov edx, eax
shl edx, 4
add edx, eax
lea eax, [edx*2 + 0x5274e0]
jmp 0x4081a2
mov eax, 0x4fa154
jmp 0x4081a2
cmp ebx, 0xffff
je 0x4077b9
test ebx, ebx
je 0x4077b9
cmp ebx, 1
je 0x40777d
cmp ebx, dword [0x51b984]
jae case.default.0x407bfd
cmp ebx, 2
jb case.default.0x407bfd
mov eax, dword [0x51b994]
lea eax, [eax + ebx - 2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea eax, [ecx*2 + 0x5274e0]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x4077b9
test ebx, ebx
je 0x4077b9
cmp ebx, 1
je 0x40777d
cmp ebx, dword [0x51b984]
jae case.default.0x407bfd
cmp ebx, 2
jb case.default.0x407bfd
mov edx, dword [0x51b998]
lea eax, [edx + ebx - 2]
mov ecx, eax
shl ecx, 4
add ecx, eax
lea eax, [ecx*2 + 0x5274e0]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407893
test ebx, ebx
je 0x407893
mov eax, dword [0x51b9c4]
cmp ebx, eax
jbe 0x40787b
sub ebx, eax
push ebx
push 0x4fa178
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
push ebx
push 0x4fa184
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
mov eax, 0x4fa16c
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x4078f5
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x10
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4078cf
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 1
ja 0x406a65
mov eax, dword [ebx*4 + 0x520064]
jmp 0x4081a2
mov edi, dword [0x52006c]
push 1
push 2
push 0x52006c
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
mov edi, dword [0x52007c]
push 1
push 3
push 0x520074
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
cmp ebx, 3
ja 0x4079a7
test byte [0x53272c], 1
jne 0x40799b
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x11
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40797d
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov eax, dword [ebx*4 + 0x520080]
jmp 0x4081a2
lea ecx, [ebx + ebx - 7]
push ecx
push 0x4fa190
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
test byte [0x53272c], 1
jne 0x407a1b
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x12
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4079f5
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 1
ja 0x406a65
mov eax, dword [ebx*4 + 0x520090]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407a88
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x13
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407a62
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0x1d
ja 0x406a65
mov eax, dword [ebx*4 + 0x520098]
jmp 0x4081a2
mov edi, dword [0x520118]
push 1
push 3
push 0x520110
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407b13
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x14
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407aed
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0xffff
je 0x407286
cmp ebx, 0xc
ja 0x406a65
mov eax, dword [ebx*4 + 0x5206d8]
jmp 0x4081a2
mov edi, dword [0x52011c]
push 1
push 5
push 0x52011c
mov esi, ebx
call fcn.00401c90
add esp, 0xc
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407baa
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x15
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407b84
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x520130]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407be3
test ebx, ebx
je 0x407be3
push ebx
push 0x4fa1ac
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
mov eax, 0x4fa1a0
jmp 0x4081a2
cmp ebx, 0x10
ja 0x407c40
je 0x407c36
cmp ebx, 4
ja case.default.0x407bfd
jmp dword [ebx*4 + 0x408478]
mov eax, 0x4fa1b8
jmp 0x4081a2
mov eax, 0x4fa1c4
jmp 0x4081a2
mov eax, 0x4fa1d0
jmp 0x4081a2
mov eax, 0x4fa1dc
jmp 0x4081a2
mov eax, 0x4fa1e8
jmp 0x4081a2
mov eax, 0x4fa1f8
jmp 0x4081a2
mov eax, ebx
sub eax, 0x20
je 0x407c69
sub eax, 0x60
je 0x407c5f
sub eax, 0x7f
jne case.default.0x407bfd
mov eax, 0x4fa220
jmp 0x4081a2
mov eax, 0x4fa210
jmp 0x4081a2
mov eax, 0x4fa204
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407286
cmp ebx, dword [0x51b9b8]
jae 0x407ca2
add ebx, 1
push ebx
push 0x4fa22c
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
cmp ebx, 0x64
mov eax, dword [0x51b9d0]
jb 0x407cce
lea ecx, [eax + 0x63]
cmp ebx, ecx
ja 0x407cce
add ebx, 0xffffff9c
push ebx
push 0x4fa23c
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
add eax, 0x64
cmp ebx, eax
jne case.default.0x407bfd
mov eax, 0x4f892c
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407d3b
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x16
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407d15
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0xf
ja 0x406a65
mov eax, dword [ebx*4 + 0x520710]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407da8
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x17
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407d82
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 4
ja 0x406a65
mov eax, dword [ebx*4 + 0x52013c]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407e15
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x18
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407def
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x520150]
jmp 0x4081a2
cmp ebx, dword [0x51b9d4]
jae case.default.0x407bfd
add ebx, 1
push ebx
push 0x4fa258
push 0x532730
call fcn.0040c060
add esp, 0xc
jmp 0x40819d
mov ecx, dword [ebp*4 + 0x51fdc0]
push ebx
push ecx
push 0x4fa268
jmp 0x408190
test byte [0x53272c], 1
jne 0x407ebc
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x19
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407e96
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x52015c]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407f29
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x1a
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407f03
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 5
ja 0x406a65
mov eax, dword [ebx*4 + 0x520168]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x407f96
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x1b
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407f70
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 5
ja 0x406a65
mov eax, dword [ebx*4 + 0x520180]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x408003
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x1c
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x407fdd
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 1
ja 0x406a65
mov eax, dword [ebx*4 + 0x520198]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x408070
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x1d
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40804a
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 0x29
ja 0x406a65
mov eax, dword [ebx*4 + 0x5201a0]
jmp 0x4081a2
test byte [0x53272c], 1
jne 0x4080dd
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x1e
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4080b7
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
cmp ebx, 2
ja 0x406a65
mov eax, dword [ebx*4 + 0x520248]
jmp 0x4081a2
mov eax, ebx
call fcn.004032d0
test eax, eax
jne 0x4081a2
mov eax, 0x4f9560
jmp 0x4081a2
test byte [0x53272c], 1
mov esi, dword [0x51b988]
jne 0x408169
or dword [0x53272c], 1
mov dword [esp + 0x1c], 0x1f
call fcn.0041cdb6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x408143
push 0x80004005
call fcn.0040b720
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
push 0x4e0480
mov dword [0x532728], eax
call fcn.0043d441
add esp, 4
mov dword [esp + 0x1c], 0xffffffff
add esi, 0xffffffff
cmp ebx, esi
ja 0x406a65
mov eax, dword [ebx*4 + 0x525ae0]
jmp 0x4081a2
cmp ebx, 0xffff
je 0x407286
push ebx
push ebp
push 0x4fa274
push 0x532730
call fcn.0040c060
add esp, 0x10
mov eax, dword [0x532730]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
push edx
push ebx
push 0x4f9e90
push 0x532730
call fcn.0040c060
add esp, 0x10
cmp dword [esp + 8], 0x400
jae 0x540044
sub esp, 0x40
push esp
push dword [0x532730]
call fcn.00540049
push esp
push dword [esp + 0x4c]
push 0x4f9e90
push 0x532730
call fcn.0040c060
add esp, 0x50
jmp 0x40819d