Function at 0x5f9eb0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x129c
call fcn.0068cb50
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor ebx, ebx
mov byte [esp + 0x1e], bl
cmp edi, 2
jne 0x5f9eed
mov edi, 1
mov dword [ebp + 0xc], edi
cmp byte [0x4c3000], bl
jne 0x5f9eed
mov byte [0x4c3000], 1
mov byte [esp + 0x1e], 1
cmp dword [0x4c5b20], ebx
je 0x5f9f21
cmp dword [0x4c5b10], ebx
je 0x5f9f0f
mov eax, dword [0x4c5b08]
push eax
call dword [fcn.0049a2b4]
mov dword [0x4c5b10], ebx
call dword [fcn.0049a524]
mov dword [0x4c5b20], ebx
mov dword [0x4c5b08], ebx
mov esi, dword [ebp + 8]
cmp esi, 0x8000012f
jne 0x5f9f3f
mov esi, 0xa
mov dword [ebp + 8], esi
mov byte [esp + 0x50], 1
mov dword [esp + 0x64], ebx
jmp 0x5f9f5d
cmp esi, 5
setle al
mov byte [esp + 0x50], al
test al, al
je 0x5f9f53
mov dword [esp + 0x64], ebx
jmp 0x5f9f5d
call dword [fcn.0049a2dc]
mov dword [esp + 0x64], eax
cmp dword [0x4c48a8], ebx
je 0x5f9f6a
call fcn.005fb830
mov byte [esp + 0xf], bl
cmp dword [0x4c5a70], ebx
je 0x5f9f84
call fcn.005fb6a0
test al, al
je 0x5f9f84
mov byte [esp + 0xf], 1
cmp esi, ebx
jle 0x5fa1e1
cmp edi, 1
jne 0x5fa1e1
inc dword [0x4c3010]
mov byte [esp + 0x1d], 1
cmp byte [0x4c2ffa], bl
jne 0x5f9fc5
mov ecx, dword [0x4c2ea8]
push ebx
push 0xa
push 9
push ecx
call dword [fcn.0049a610]
test eax, eax
setne dl
mov byte [0x4c2ffa], dl
mov byte [esp + 0x1f], bl
mov byte [esp + 0x1c], bl
mov dword [esp + 0x68], ebx
mov ebx, dword [fcn.0049a2dc]
call ebx
cmp dword [ebp + 8], 0
mov esi, eax
mov dword [esp + 0x48], esi
jle 0x5fa1ea
cmp byte [esp + 0x1c], 0
jne 0x5fa1ea
cmp byte [0x4c3000], 0
jne 0x5fa1f7
call fcn.005fbe00
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x30]
push eax
call dword [0x49a60c]
cmp eax, 0xffffffff
je 0x5f9fd1
call ebx
mov ecx, eax
sub ecx, esi
cmp ecx, 3
jbe 0x5fa039
mov dword [0x4c5ac0], eax
inc dword [esp + 0x68]
cmp dword [0x4c3698], 0
je 0x5fa077
mov edx, dword [esp + 0x30]
lea eax, [esp + 0x8c]
push eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [esp + 0x30]
push eax
push ecx
push edx
call fcn.005fb8a0
add esp, 0x18
test al, al
jne 0x5f9fd1
mov edx, dword [0x4c363c]
test edx, edx
je 0x5fa703
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5fa703
cmp eax, dword [0x4c2ea8]
mov eax, dword [esp + 0x28]
je 0x5fa747
cmp eax, 0x414
je 0x5fa703
cmp eax, 0x402
je 0x5fa703
cmp eax, 0x100
jae 0x5fa0c9
cmp eax, 0x109
ja 0x5fa69d
call dword [fcn.0049a5fc]
mov edi, eax
test edi, edi
je 0x5fa6a3
call fcn.0066ce40
mov esi, eax
test esi, esi
je 0x5fa6a3
call fcn.00652430
mov ebx, eax
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x5fa6a3
mov eax, dword [ebx + 0x74]
test eax, eax
je 0x5fa117
lea ecx, [esp + 0x24]
push ecx
push eax
push esi
call dword [0x49a5f0]
test eax, eax
jne 0x5f9fd1
cmp dword [esp + 0x28], 0x100
mov esi, dword [esp + 0x2c]
jne 0x5fa62d
cmp byte [ebx + 0xb8], 0
je 0x5fa4b8
cmp esi, 0x22
je 0x5fa153
cmp esi, 0x21
je 0x5fa153
cmp esi, 9
je 0x5fa153
cmp esi, 0x25
je 0x5fa153
cmp esi, 0x27
jne 0x5fa4b8
push edi
call dword [fcn.0049a618]
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jb 0x5fa180
push edi
call dword [fcn.0049a614]
test eax, eax
je 0x5fa177
push eax
call dword [fcn.0049a618]
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jae 0x5fa49a
mov eax, dword [ebx + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5fa4a2
mov al, byte [eax + 4]
cmp al, 0xf
je 0x5fa4a2
mov esi, dword [esp + 0x2c]
xor ebx, ebx
cmp al, 0x13
jne 0x5fa567
mov ebx, dword [esp + 0x10]
cmp esi, 0x25
je 0x5fa1c0
cmp esi, 0x27
jne 0x5fa567
mov eax, dword [esp + 0x14]
cmp esi, 0x27
push 0
sete cl
movzx edx, cl
push 0
push edx
push eax
mov eax, dword [esp + 0x20]
call fcn.0065e870
jmp 0x5f9fd1
mov byte [esp + 0x1d], bl
jmp 0x5f9fc5
cmp byte [0x4c3000], 0
je 0x5fa394
call dword [fcn.0049a608]
mov esi, eax
test esi, esi
je 0x5fa394
push 0
push esi
call dword [fcn.0049a604]
cmp eax, dword [0x4c4fc8]
jne 0x5fa394
cmp dword [0x4c3040], 0
je 0x5fa276
push 0x20
lea edx, [esp + 0xb4]
push edx
push esi
call dword [fcn.0049a600]
mov ecx, 0x49c818
lea eax, [esp + 0xb0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5fa268
test dx, dx
je 0x5fa264
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5fa268
add eax, 4
add ecx, 4
test dx, dx
jne 0x5fa242
xor eax, eax
jmp 0x5fa26d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
sete al
test al, al
jne 0x5fa2cb
call dword [fcn.0049a5fc]
test eax, eax
je 0x5fa394
push 0x20
lea ecx, [esp + 0xb4]
push ecx
push eax
call dword [fcn.0049a600]
lea edx, [esp + 0xb0]
push 0x49c828
push edx
call fcn.00681649
add esp, 8
test eax, eax
je 0x5fa2cb
lea eax, [esp + 0xb0]
push 0x49c844
push eax
call fcn.00681649
add esp, 8
test eax, eax
jne 0x5fa394
mov edi, dword [fcn.0049a5f8]
push 0
push 0x1ff
push 0
push 0
lea ecx, [esp + 0x34]
push ecx
call edi
test eax, eax
jne 0x5fa310
push 1
call fcn.005fbe00
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea edx, [esp + 0x34]
push edx
call edi
jmp 0x5fa40f
mov esi, dword [esp + 0x34]
push 0
call fcn.005fbe00
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea eax, [esp + 0x34]
push eax
call edi
push 1
test eax, eax
jne 0x5fa351
push 0x1ff
push eax
push eax
lea ecx, [esp + 0x34]
push ecx
call edi
jmp 0x5fa40f
mov edx, dword [esp + 0x38]
sub edx, esi
test edx, edx
jle 0x5fa370
push 0x1ff
push 0
push 0
lea eax, [esp + 0x34]
push eax
call edi
jmp 0x5fa40f
call fcn.005fbe00
neg eax
sbb eax, eax
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0x20e
push 0
lea ecx, [esp + 0x34]
push ecx
call edi
jmp 0x5fa40f
cmp dword [0x4bf3c4], 0
je 0x5fa3ed
cmp dword [0x4c3034], 0
jne 0x5fa3ed
mov eax, dword [0x4bf3fc]
cmp byte [eax + 0xe4], 0
jne 0x5fa3e4
cmp byte [eax + 0xe6], 0
jne 0x5fa3e4
cmp dword [eax + 0xd8], 0xffffffff
jle 0x5fa3e4
call ebx
mov edx, eax
mov eax, dword [0x4bf3fc]
sub edx, dword [eax + 0xd4]
cmp edx, dword [eax + 0xd8]
jb 0x5fa3e4
mov byte [eax + 0xe4], 1
movzx eax, byte [eax + 0xe4]
jmp 0x5fa3ef
xor eax, eax
neg eax
sbb eax, eax
push 1
and eax, 0xfffffcef
add eax, 0x311
push eax
push 0
push 0
lea eax, [esp + 0x34]
push eax
call dword [fcn.0049a5f8]
test eax, eax
jne 0x5fa039
call ebx
mov ecx, eax
sub ecx, dword [esp + 0x48]
cmp ecx, 3
jbe 0x5fa429
mov dword [0x4c5ac0], eax
mov esi, dword [ebp + 8]
test esi, esi
jne 0x5fa448
cmp byte [esp + 0x1f], 0
jne 0x5fa448
push esi
call dword [0x49a2d8]
mov byte [esp + 0x1f], 1
jmp 0x5f9fd1
cmp dword [esp + 0x68], 0
jne 0x5fa46f
cmp byte [esp + 0x50], 0
je 0x5fa46f
test esi, esi
jle 0x5fa462
push 5
call dword [0x49a2d8]
mov dword [esp + 0x68], 1
jmp 0x5f9fd1
call ebx
cmp byte [esp + 0x50], 0
jne 0x5fb4fe
mov edx, dword [esp + 0x64]
sub edx, eax
add edx, esi
cmp edx, 5
jle 0x5fb4fe
push 5
call dword [0x49a2d8]
jmp 0x5f9fd1
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x2c]
cmp dword [esp + 0x28], 0x100
jne 0x5fa62d
mov ebx, dword [esp + 0x14]
cmp esi, 0x1b
je 0x5fa4e1
cmp esi, 9
je 0x5fa4e1
cmp esi, 0x41
jne 0x5fa62d
push 0x11
call dword [fcn.0049a598]
mov ecx, 0x8000
test cx, ax
je 0x5fa629
push edi
call dword [fcn.0049a618]
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jb 0x5fa50e
push edi
call dword [fcn.0049a614]
test eax, eax
je 0x5fa505
push eax
call dword [fcn.0049a618]
lea esi, [eax - 3]
cmp esi, dword [ebx + 0x10]
jae 0x5fa621
mov eax, dword [ebx + 0x18]
lea edx, [esi + esi*4]
lea eax, [eax + edx*4]
mov dword [esp + 0x10], eax
test eax, eax
je 0x5fa629
cmp byte [eax + 4], 0xc
jne 0x5fa629
mov esi, dword [esp + 0x2c]
cmp esi, 0x1b
je 0x5fa677
cmp esi, 0x41
je 0x5fa65a
test byte [eax + 5], 0x80
je 0x5fa62d
mov ecx, dword [eax]
push 0x49c860
push 1
push 0xc2
push ecx
call dword [fcn.0049a590]
jmp 0x5f9fd1
cmp esi, 0x25
je 0x5fa4a6
cmp esi, 0x27
je 0x5fa4a6
push 0x11
call dword [fcn.0049a598]
mov ecx, 0x8000
test cx, ax
je 0x5fa4a2
mov esi, dword [esp + 0x2c]
cmp esi, 9
jne 0x5fa5bb
mov edx, dword [esp + 0x10]
cmp byte [edx + 4], 0xc
jne 0x5fa5bb
mov eax, edx
mov ecx, dword [eax]
push 0xfffffffffffffff0
push ecx
call dword [fcn.0049a594]
test al, 4
jne 0x5fa4a2
mov esi, dword [esp + 0x2c]
test ebx, ebx
jne 0x5fa5e6
mov edx, dword [esp + 0x10]
mov bl, byte [edx + 6]
mov ecx, dword [esp + 0x14]
call fcn.0065e5e0
mov ebx, eax
test ebx, ebx
jne 0x5fa5e6
xor bl, bl
call fcn.0065e5e0
mov ebx, eax
test ebx, ebx
je 0x5fa4a6
cmp esi, 0x22
je 0x5fa606
cmp esi, 9
jne 0x5fa602
push 0x10
call dword [fcn.0049a598]
mov ecx, 0x8000
test cx, ax
je 0x5fa606
xor al, al
jmp 0x5fa60b
mov eax, 1
mov edx, dword [esp + 0x14]
push 1
push 1
push eax
push edx
mov eax, ebx
call fcn.0065e870
jmp 0x5f9fd1
mov dword [esp + 0x10], 0
mov esi, dword [esp + 0x2c]
mov eax, dword [0x4c4f74]
test eax, eax
je 0x5fa6a7
cmp dword [esp + 0x28], 0x100
jne 0x5fa6a7
cmp esi, 0xd
jne 0x5fa683
push 0
push 0
push 0x1116
push eax
call dword [fcn.0049a590]
jmp 0x5f9fd1
test byte [eax + 5], 2
jne 0x5fa62d
mov edx, dword [eax]
push 0xffffffffffffffff
push 0
push 0xb1
push edx
call dword [fcn.0049a590]
jmp 0x5f9fd1
mov eax, ebx
call fcn.0065aff0
jmp 0x5f9fd1
cmp esi, 0x1b
jne 0x5fa6a7
push 0
push 1
push 0x1116
push eax
call dword [fcn.0049a590]
jmp 0x5f9fd1
mov esi, dword [esp + 0x2c]
jmp 0x5fa6ad
mov esi, dword [esp + 0x2c]
mov edx, dword [0x4c363c]
xor ebx, ebx
test edx, edx
jle 0x5fa707
mov eax, dword [0x4bf3fc]
mov esi, dword [0x49a58c]
mov edi, edi
mov byte [eax + 0xe0], 1
mov ecx, dword [esp + 0x28]
mov dword [eax + 0xdc], ecx
mov eax, dword [0x4c3638]
mov ecx, dword [eax + ebx*4]
lea edx, [esp + 0x24]
push edx
mov edx, dword [ecx + 4]
push edx
call esi
test eax, eax
jne 0x5fb47f
mov edx, dword [0x4c363c]
mov eax, dword [0x4bf3fc]
inc ebx
mov byte [eax + 0xe0], 0
cmp ebx, edx
jl 0x5fa6c0
mov esi, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
cmp eax, 0x312
ja 0x5fa872
je 0x5fa91b
cmp eax, 0x100
ja 0x5fa790
je 0x5fa763
cmp eax, 0x12
je 0x5fa74d
cmp eax, 0x4b
jne 0x5fa89e
mov dword [0x4c2fe0], 0
mov byte [esp + 0x1c], 1
jmp 0x5f9fd1
mov esi, dword [esp + 0x2c]
jmp 0x5fa70b
push 0
xor eax, eax
push 0x4c5008
lea ecx, [eax + 6]
call fcn.0060e5b0
jmp 0x5f9fd1
mov ecx, dword [esp + 0x24]
cmp ecx, dword [0x4c2eac]
jne 0x5fa89e
cmp esi, 0x1b
jne 0x5fa89e
mov edx, dword [0x4c2ea8]
push 0
push edx
call dword [fcn.0049a57c]
jmp 0x5f9fd1
cmp eax, 0x113
jne 0x5fa89e
cmp dword [esp + 0x30], 0
jne 0x5fa89e
mov eax, dword [0x4c2ea8]
cmp dword [esp + 0x24], eax
jne 0x5fa89e
cmp dword [0x4c48a8], 0
je 0x5fa7c3
call fcn.005fb830
cmp dword [0x4c5a70], 0
je 0x5fa7da
call fcn.005fb6a0
test al, al
je 0x5fa7da
mov byte [esp + 0xf], 1
cmp dword [ebp + 0xc], 0
je 0x5f9fd1
cmp dword [ebp + 8], 1
jl 0x5f9fd1
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x64]
mov esi, dword [ebp + 8]
push ecx
push edx
call fcn.005fb660
add esp, 8
test eax, eax
je 0x5f9fd1
cmp byte [esp + 0x1e], 0
je 0x5fa819
mov byte [0x4c3000], 0
cmp byte [esp + 0x1d], 0
je 0x5fa867
dec dword [0x4c3010]
test esi, esi
jle 0x5fa867
cmp dword [0x4c3010], 0
jne 0x5fa867
cmp dword [0x4c5a70], 0
jne 0x5fa867
cmp dword [0x4c48a8], 0
jne 0x5fa867
cmp byte [0x4c2ffa], 0
je 0x5fa867
mov eax, dword [0x4c2ea8]
push 9
push eax
call dword [fcn.0049a5f4]
test eax, eax
je 0x5fa867
mov byte [0x4c2ffa], 0
mov al, byte [esp + 0xf]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
add eax, 0xfffffc00
cmp eax, 0x15
ja 0x5fa89e
movzx eax, byte [eax + 0x402998]
jmp dword [eax*4 + 0x40298c]
call dword [fcn.0049a608]
mov esi, eax
test esi, esi
je 0x5fb49d
push 0
push esi
call dword [fcn.0049a604]
cmp eax, dword [0x4c4fc8]
jne 0x5fb49d
push 0x20
lea edx, [esp + 0xb4]
push edx
push esi
call dword [fcn.0049a600]
mov ecx, 0x49c818
lea eax, [esp + 0xb0]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x5fb43c
test dx, dx
je 0x5fa90a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x5fb43c
add eax, 4
add ecx, 4
test dx, dx
jne 0x5fa8e0
xor eax, eax
jmp 0x5fb441
mov edi, dword [esp + 0x24]
add eax, 0xfffffbff
mov dword [esp + 0x48], 0
cmp eax, 0x14
ja 0x5fabd9
movzx ecx, byte [eax + 0x4029c4]
jmp dword [ecx*4 + 0x4029b0]
mov ecx, dword [0x4c0618]
mov eax, esi
and eax, 0x3fff
cmp ax, word [ecx]
jae 0x5f9fd1
movzx edx, ax
mov edx, dword [edx*4 + 0x4c38f8]
mov eax, esi
shr eax, 0x10
mov dword [esp + 0x70], edx
test ax, ax
je 0x5fac35
mov ecx, dword [edx + 0x20]
add eax, 0xffff
mov dword [esp + 0x40], ecx
test ax, ax
je 0x5fac31
jmp 0x5fac20
mov ecx, dword [ecx + 0x14]
add eax, 0xffff
test ax, ax
jne 0x5fac20
mov dword [esp + 0x40], ecx
test ecx, ecx
jne 0x5fac51
push edx
lea eax, [esp + 0x48]
call fcn.00602880
mov ecx, eax
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x5f9fd1
mov esi, dword [esp + 0x2c]
mov al, byte [ecx + 0x1e]
cmp al, 2
je 0x5fac6b
cmp al, 4
je 0x5fac6b
cmp al, 5
jne 0x5fac73
mov eax, dword [0x4c3030]
mov dword [esp + 0x44], eax
jmp 0x5fac73
mov dword [esp + 0x44], 0
mov ecx, dword [ecx]
mov edx, dword [ecx + 4]
mov al, byte [edx]
mov edi, dword [esp + 0x14]
mov ecx, dword [0x4c3014]
mov edx, dword [0x4bf3d0]
mov ebx, dword [esp + 0x40]
mov byte [esp + 0x5c], al
cmp ecx, edx
jl 0x5face3
add edx, 2
cmp ecx, edx
jge 0x5facbd
cmp al, 0xdc
je 0x5face3
cmp al, 0xc8
je 0x5face3
cmp al, 0xd6
je 0x5face3
cmp al, 0xd7
je 0x5face3
cmp al, 0xd2
je 0x5face3
cmp al, 0xd3
je 0x5face3
cmp al, 0xd4
je 0x5face3
cmp al, 0xd5
je 0x5face3
cmp dword [esp + 0x48], 0
je 0x5f9fd1
mov eax, dword [esp + 0x48]
push eax
call dword [0x49a3c0]
mov ecx, dword [esp + 0x14]
mov dword [ecx + 0x68], 0
jmp 0x5f9fd1
mov eax, dword [esp + 0x28]
add eax, 0xfffffbff
cmp eax, 0x14
ja 0x5fad7f
movzx edx, byte [eax + 0x402a04]
jmp dword [edx*4 + 0x4029f0]
mov al, byte [ebx + 0x1f]
cmp al, byte [ebx + 0x20]
jb 0x5fadc6
mov ecx, dword [ebx]
mov edx, dword [ecx + 4]
mov al, byte [edx]
cmp al, 0xdc
je 0x5fadc6
cmp al, 0xc8
je 0x5fadc6
cmp al, 0xd6
je 0x5fadc6
cmp al, 0xd7
je 0x5fadc6
cmp al, 0xd2
je 0x5fadc6
cmp al, 0xd3
je 0x5fadc6
cmp al, 0xd4
je 0x5fadc6
cmp al, 0xd5
je 0x5fadc6
cmp byte [ebx + 0x23], 0
je 0x5fadb8
mov byte [ebx + 0x24], 1
call dword [fcn.0049a2dc]
mov dword [ebx + 4], eax
jmp 0x5f9fd1
mov eax, dword [esp + 0x40]
mov ebx, dword [eax + 0x18]
mov ecx, dword [0x4bf3fc]
cmp ebx, dword [ecx + 0x2c]
jge 0x5fadf7
mov eax, dword [esp + 0x48]
test eax, eax
je 0x5f9fd1
push eax
call dword [0x49a3c0]
mov dword [edi + 0x68], 0
jmp 0x5f9fd1
mov eax, dword [esp + 0x28]
mov byte [esp + 0xf], 1
cmp eax, 0x402
je 0x5fae6c
cmp eax, 0x413
jbe 0x5fae19
cmp eax, 0x415
jbe 0x5faeaf
mov edx, dword [0x4c5a48]
mov ecx, dword [0x4c5a80]
mov dword [0x4c5a4c], edx
mov dword [0x4c5a84], ecx
cmp eax, 0x401
jne 0x5fae53
mov edx, dword [esp + 0x6c]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [0x4c5a48], ecx
call dword [fcn.0049a2dc]
mov dword [0x4c5a80], eax
jmp 0x5faeaf
mov edx, dword [esp + 0x70]
mov eax, dword [edx + 4]
mov dword [0x4c5a48], eax
call dword [fcn.0049a2dc]
mov dword [0x4c5a80], eax
jmp 0x5faeaf
mov esi, dword [esp + 0x60]
mov ecx, dword [esi]
push 0x104
push ecx
push 0x4c5634
call fcn.006840d4
xor edx, edx
mov word [0x4c583c], dx
mov eax, dword [esi + 0x14]
mov ecx, dword [eax]
add esp, 0xc
push 0x104
push ecx
push 0x4c583e
call fcn.006840d4
add esp, 0xc
xor edx, edx
mov word [0x4c5a46], dx
mov esi, dword [0x4c36ac]
cmp byte [esi + 0x17], 0
jne 0x5faebe
mov esi, dword [esi + 0xc]
test byte [esi + 0x15], 8
je 0x5faecb
mov eax, esi
call fcn.005f9d60
mov al, byte [esi + 0x17]
cmp al, 1
jne 0x5faee4
test byte [esi + 0x15], 4
je 0x5faedf
mov eax, esi
call fcn.006284b0
mov eax, dword [esi + 8]
jmp 0x5faef4
cmp al, 2
jne 0x5faeef
call fcn.005f9c00
jmp 0x5faef4
mov eax, 0x4c4fb0
push 0x7f
push eax
lea eax, [esp + 0xf8]
push eax
call fcn.006840d4
mov edx, dword [esp + 0x68]
add esp, 0xc
xor ecx, ecx
push edx
push ecx
push ebx
mov al, 1
mov word [esp + 0x1fa], cx
call fcn.005fbc60
mov ebx, dword [0x4bf3fc]
add esp, 0xc
call dword [fcn.0049a2dc]
mov dword [0x4c5ac4], eax
mov dword [0x4c5ac0], eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffbff
cmp eax, 0x14
ja 0x5fb3c1
movzx eax, byte [eax + 0x402a30]
jmp dword [eax*4 + 0x402a1c]
mov esi, dword [esp + 0x70]
mov al, byte [esi + 0x12]
cmp al, 0x9c
jb 0x5fb3d7
cmp al, 0x9f
ja 0x5fb3d7
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x38], edx
mov eax, dword [esp + 0x44]
mov dword [ebx + 0xc0], eax
mov eax, dword [esp + 0x40]
mov cl, byte [eax + 0x21]
mov byte [ebx + 0xee], cl
push esi
mov ebx, eax
call fcn.00602bf0
lea edx, [esp + 0xf0]
push edx
call fcn.005fbd60
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x5f9fd1
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x64]
mov esi, dword [ebp + 8]
push eax
push ecx
call fcn.005fb660
add esp, 8
test eax, eax
je 0x5f9fd1
mov byte [esp + 0x1c], 1
mov byte [esp + 0x50], 1
jmp 0x5f9fd1
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x5fb49d
mov eax, dword [0x4bf3fc]
lea edx, [esp + 0x24]
mov byte [eax + 0xe0], 1
mov ecx, dword [esp + 0x28]
push edx
push esi
mov dword [eax + 0xdc], ecx
call dword [0x49a58c]
test eax, eax
je 0x5fb490
cmp dword [0x4c3040], 0
je 0x5fb47f
push 0x4c36b0
call dword [fcn.0049a2d4]
mov eax, dword [0x4bf3fc]
mov byte [eax + 0xe0], 0
jmp 0x5f9fd1
mov ecx, dword [0x4bf3fc]
mov byte [ecx + 0xe0], 0
mov eax, dword [0x4c2ebc]
test eax, eax
je 0x5fb4c0
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [0x4c2ea8]
push eax
call dword [0x49a5f0]
test eax, eax
jne 0x5f9fd1
mov eax, dword [0x4bf3fc]
mov byte [eax + 0xe0], 1
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x24]
push edx
mov dword [eax + 0xdc], ecx
call dword [0x49a578]
lea eax, [esp + 0x24]
push eax
call dword [0x49a574]
mov ecx, dword [0x4bf3fc]
mov byte [ecx + 0xe0], 0
jmp 0x5f9fd1
cmp esi, 0xffffffff
jle 0x5fb51c
mov dword [0x4c5ab0], 0
mov dword [0x4c5ab4], 0
mov dword [0x4c5ac0], eax
cmp byte [esp + 0x1e], 0
mov dword [0x4c5ac4], eax
je 0x5fb52f
mov byte [0x4c3000], 0
cmp byte [esp + 0x1d], 0
je 0x5fa867
dec dword [0x4c3010]
test esi, esi
jle 0x5fa867
cmp dword [0x4c3010], 0
jne 0x5fa867
cmp dword [0x4c5a70], 0
jne 0x5fa867
cmp dword [0x4c48a8], 0
jne 0x5fa867
cmp byte [0x4c2ffa], 0
je 0x5fa867
mov edx, dword [0x4c2ea8]
push 9
push edx
jmp 0x5fa856