Function at 0x5958b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x6b57b6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
mov ebx, dword [esp + 0x158]
push ebp
push esi
xor esi, esi
mov ebp, ecx
cmp ebx, esi
push edi
mov dword [esp + 0x70], ebp
mov dword [esp + 0xb0], esi
je 0x59678b
call fcn.005968f0
test al, al
jne 0x5958fb
or eax, 0xffffffff
jmp 0x595912
mov eax, dword [0x6e2338]
lea ecx, [esp + 0xb0]
push eax
push ecx
mov ecx, ebp
call fcn.00599370
mov eax, dword [eax]
mov edi, dword [esp + 0x168]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x5959e1
push 0x8b3524
push ebx
call dword [0x6c7454]
add esp, 8
test eax, eax
jne 0x5959e1
mov esi, dword [edi]
call fcn.00593ec0
neg eax
cmp esi, eax
jne 0x59597f
lea edx, [esp + 0xd0]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.005938d0
add esp, 8
test eax, eax
jne 0x5959c8
mov eax, dword [0x8b0a50]
test eax, eax
jne 0x595971
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push 0
jmp 0x5967a1
mov eax, dword [edi]
mov ecx, dword [esp + 0x34]
add ecx, eax
mov dword [esp + 0x34], ecx
js 0x5959df
lea edx, [esp + 0xd0]
lea eax, [esp + 0x34]
push edx
push eax
call fcn.00593900
add esp, 8
test eax, eax
jne 0x5959c8
mov eax, dword [0x8b0a50]
test eax, eax
jne 0x5959b4
mov eax, 0x8c55f4
mov esi, dword [esp + 0x160]
push eax
mov ecx, esi
call fcn.0041a1f0
jmp 0x5967b0
mov esi, dword [esp + 0x160]
push eax
push ebx
push esi
call fcn.00594160
add esp, 0xc
jmp 0x5967b0
xor esi, esi
lea ecx, [esp + 0x50]
push edi
push ecx
mov ecx, ebp
call fcn.00594d70
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x56]
mov ecx, dword [esp + 0x52]
and eax, 0xffff
mov dword [esp + 0xf8], eax
mov eax, dword [0x8b0a50]
and edx, 0xffff
and ecx, 0xffff
mov dword [esp + 0xfc], edx
mov dword [esp + 0xf4], ecx
mov dword [esp + 0x10c], esi
mov dword [esp + 0x110], esi
mov dword [esp + 0x100], 1
mov dword [esp + 0x104], esi
mov dword [esp + 0x108], 0x4c
mov dword [esp + 0x114], esi
mov dword [esp + 0xb0], eax
mov ecx, eax
mov dword [esp + 0x158], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
mov dl, byte [ebx]
mov esi, ebx
test dl, dl
mov byte [esp + 0x158], 2
mov dword [esp + 0x38], esi
je 0x596707
mov ebx, dword [0x6c7434]
jmp 0x595aa0
mov ebx, dword [0x6c7434]
mov edi, dword [esp + 0x168]
mov ebp, dword [esp + 0x70]
mov al, byte [esi]
cmp al, 0x25
jne 0x5966e0
movsx eax, byte [esi + 1]
inc esi
add eax, 0xffffffa7
cmp eax, 0x1e
mov dword [esp + 0x38], esi
ja case.0x595ac3.92
xor edx, edx
mov dl, byte [eax + 0x5967e0]
jmp dword [edx*4 + 0x5967d0]
push str._04d
jmp 0x595ae4
push str._03d
jmp 0x595ae4
push 0x768e88
jmp 0x595ae4
push str._02d
lea ecx, [esp + 0x18]
call fcn.00571200
movsx eax, byte [esi]
cmp eax, 0x79
ja case.0x595afd.21
xor ecx, ecx
mov cl, byte [eax + 0x596858]
jmp dword [ecx*4 + 0x596800]
push 0
lea ecx, [esp + 0x18]
call fcn.005728d0
mov al, byte [esi]
cmp al, 0x2d
je 0x595b2a
cmp al, 0x2b
je 0x595b2a
cmp al, 0x20
je 0x595b2a
movsx edx, al
push edx
call ebx
add esp, 4
test eax, eax
je 0x595b3a
mov al, byte [esi]
lea ecx, [esp + 0x14]
push eax
push 1
call fcn.00570940
jmp 0x595b0f
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx - 8]
test eax, eax
je case.0x595afd.1
push 0x25
push 1
lea ecx, [esp + 0x74]
call fcn.005707c0
lea edx, [esp + 0x14]
lea eax, [esp + 0x6c]
push edx
lea ecx, [esp + 0x88]
push eax
push ecx
mov byte [esp + 0x164], 0x20
call fcn.00571790
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x15c], 0x21
call fcn.00571160
mov edx, dword [esp + 0x84]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x595bad
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x595bad
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x6c]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x595bd4
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x595bd4
push eax
call dword [0x6c74ac]
add esp, 4
push 0x64
push 1
lea ecx, [esp + 0x1c]
call fcn.00570940
jmp 0x595aed
mov eax, dword [esp + 0x68]
cmp ax, 7
jne 0x595bfd
lea ecx, [esp + 0x50]
call fcn.00593c10
mov eax, dword [esp + 0x68]
mov bl, byte [esi]
xor ecx, ecx
cmp bl, 0x61
lea edx, [esp + 0xbc]
sete cl
inc ecx
and eax, 0xffff
push ecx
push eax
push edx
call fcn.00594260
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 3
call fcn.004523a0
mov eax, dword [esp + 0xbc]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
jmp 0x5966c0
mov bl, byte [esi]
mov edx, dword [esp + 0x5c]
xor ecx, ecx
cmp bl, 0x62
sete cl
inc ecx
lea eax, [esp + 0x7c]
push ecx
push edx
push eax
call fcn.005940e0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x15c], 4
call fcn.004523a0
mov ecx, dword [esp + 0x7c]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
lea edx, [esp + 0x118]
push edi
push edx
mov ecx, ebp
call fcn.00594d70
mov ecx, dword [eax + 0x10]
mov esi, 0x1c
mov eax, ecx
mov dword [esp + 0x74], ecx
cdq
idiv esi
cmp edx, 0xa
lea ebp, [edx + 0x7c4]
jl 0x595cbe
lea ebp, [edx + 0x7a8]
mov eax, 0x51eb851f
imul ebp
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x51eb851f
mov esi, edx
imul ecx
sar edx, 5
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov edi, edx
mov eax, edi
cdq
and edx, 3
add eax, edx
mov ecx, eax
mov eax, esi
cdq
and edx, 3
add eax, edx
sar ecx, 2
sar eax, 2
sub ecx, eax
sub ecx, edi
add ecx, esi
mov esi, 7
mov eax, ecx
cdq
idiv esi
test edx, edx
je 0x595d3e
mov edx, ebp
and edx, 0x80000003
jns 0x595d1f
dec edx
or edx, 0xfffffffc
inc edx
inc ebp
mov eax, 1
test edx, edx
jne 0x595d2e
mov eax, 2
add ecx, eax
mov esi, 7
mov eax, ecx
cdq
idiv esi
test edx, edx
jne 0x595d10
cmp ebp, 0x7d0
jl 0x595d49
sub ebp, 0x1c
mov eax, dword [0x8b0a50]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
push ebp
lea eax, [esp + 0x2c]
push 0x768e88
push eax
mov byte [esp + 0x164], 6
call fcn.00572be0
mov eax, ebp
mov ecx, 0x64
cdq
idiv ecx
add esp, 0xc
push edx
lea edx, [esp + 0x28]
push 0x768e88
push edx
call fcn.00572be0
mov eax, dword [0x6e14e0]
mov ecx, dword [esp + 0x170]
add esp, 0xc
push eax
push 0
push ecx
lea ecx, [esp + 0x2c]
call fcn.00570720
mov eax, dword [0x8b0a50]
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x40], eax
mov edi, dword [0x6c74ac]
mov byte [esp + 0x158], 0xb
mov dword [esp + 0x44], 1
mov bl, byte [esp + 0x44]
lea ecx, [esp + 0x1c]
neg bl
push ebx
push 1
call fcn.005707c0
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push edx
mov byte [esp + 0x15c], 0xc
call fcn.00572960
cmp eax, 0xffffffff
je 0x595e1e
push ebx
push 1
lea ecx, [esp + 0x24]
call fcn.00570940
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push eax
call fcn.00572960
cmp eax, 0xffffffff
jne 0x595dff
mov esi, dword [esp + 0x44]
lea ecx, [esi - 1]
cmp ecx, 3
ja case.default.0x595e2d
lea edx, [esi - 1]
jmp dword [edx*4 + 0x5968d4]
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x30]
push eax
jmp 0x595e5e
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x40]
jmp 0x595e5e
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x2c]
push edx
jmp 0x595e5e
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x40]
push eax
call fcn.00571160
mov ecx, dword [esp + 0x1c]
mov byte [esp + 0x158], 0xb
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x595e87
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x595e87
push eax
call edi
add esp, 4
inc esi
cmp esi, 5
mov dword [esp + 0x44], esi
jl 0x595dd2
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
push 1
push edx
push eax
lea ecx, [esp + 0x2c]
call fcn.00572460
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x24]
push 1
push ecx
test eax, eax
push edx
lea ecx, [esp + 0x2c]
seta bl
call fcn.00572460
test eax, eax
ja 0x595ecc
test bl, bl
je 0x595ece
mov bl, 1
lea eax, [esp + 0xd0]
push eax
call fcn.00594230
mov eax, dword [esp + 0x56]
mov ecx, dword [esp + 0x5a]
mov edx, dword [esp + 0x58]
and eax, 0xffff
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x6c]
add esp, 4
and ecx, 0xffff
and edx, 0xffff
cmp ax, 7
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd4], edx
jne 0x595f27
lea ecx, [esp + 0x50]
call fcn.00593c10
mov eax, dword [esp + 0x68]
and eax, 0xffff
push 0
lea ecx, [esp + 0xb0]
mov dword [esp + 0xec], eax
call fcn.00593e30
lea ecx, [esp + 0xac]
push ecx
mov ecx, dword [esp + 0x74]
call fcn.00595460
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x58]
and eax, 0xffff
and edx, 0xffff
mov dword [esp + 0xec], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0xe0], eax
mov al, byte [ecx]
add ebp, 0xfffff894
cmp al, 0x63
mov dword [esp + 0xdc], edx
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xf0], 0
mov eax, 0x8a8ba8
je 0x595fa6
mov eax, 0x8b3508
lea edx, [esp + 0xd0]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.00594160
add esp, 0xc
mov eax, dword [0x8b0a50]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov esi, dword [esp + 0x74]
lea ecx, [esp + 0x48]
push esi
push str._04d
push ecx
mov byte [esp + 0x164], 0xf
call fcn.00572be0
mov eax, esi
mov ecx, 0x64
cdq
idiv ecx
add esp, 0xc
push edx
lea edx, [esp + 0x50]
push str._02d
push edx
call fcn.00572be0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
add esp, 0xc
push 1
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00572460
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
push 1
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00572460
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00572460
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x40]
push 1
push eax
push ecx
lea ecx, [esp + 0x24]
call fcn.00572460
test bl, bl
je 0x596087
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
push 1
push edx
push eax
lea ecx, [esp + 0x24]
call fcn.00572460
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
push 1
push ecx
push edx
lea ecx, [esp + 0x24]
call fcn.00572460
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx - 8]
push eax
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5960b5
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5960b5
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x48]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x5960d1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5960d1
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x18]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x5960ed
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5960ed
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x596108
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x596108
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x2c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x596124
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x596124
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x596140
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x596140
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x30]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x59615b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x59615b
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x20]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x596177
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x596177
push eax
call edi
add esp, 4
mov edx, dword [esp + 0x24]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x596193
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x596193
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x28]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
jmp 0x5966c0
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
and ecx, 0xffff
lea eax, [esp + 0xc8]
push ecx
push edx
push eax
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x10
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov ecx, dword [esp + 0xc8]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
mov edx, dword [esp + 0x56]
mov eax, dword [esp + 0x14]
and edx, 0xffff
lea ecx, [esp + 0x8c]
push edx
push eax
push ecx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x11
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov edx, dword [esp + 0x8c]
mov byte [esp + 0x158], 2
jmp 0x5966bd
mov eax, dword [esp + 0x56]
cmp ax, 0xc
jbe 0x596258
and eax, 0xffff
sub eax, 0xc
jmp 0x596269
test ax, ax
je 0x596264
and eax, 0xffff
jmp 0x596269
mov eax, 0xc
push eax
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0xbc]
push eax
push ecx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x12
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov edx, dword [esp + 0xb8]
mov byte [esp + 0x158], 2
jmp 0x5966bd
mov esi, dword [esp + 0x14]
push edi
mov ecx, ebp
call fcn.00595460
and eax, 0xffff
push eax
lea eax, [esp + 0x98]
push esi
push eax
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x13
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov ecx, dword [esp + 0x94]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
lea edx, [esp + 0x134]
push edi
push edx
mov ecx, ebp
call fcn.00594d70
mov ax, word [eax]
lea ecx, [esp + 0xcc]
and eax, 0xffff
push eax
mov eax, dword [esp + 0x18]
push eax
push ecx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x14
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov edx, dword [esp + 0xcc]
mov byte [esp + 0x158], 2
jmp 0x5966bd
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x14]
inc eax
lea edx, [esp + 0x9c]
push eax
push ecx
push edx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x15
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov eax, dword [esp + 0x9c]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
jmp 0x5966c0
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
and ecx, 0xffff
lea eax, [esp + 0xc0]
push ecx
push edx
push eax
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x16
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov ecx, dword [esp + 0xc0]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
lea edx, [esp + 0xf4]
lea eax, [esp + 0xa4]
push edx
push 0x8b316c
push eax
call fcn.00594160
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x17
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov ecx, dword [esp + 0xa4]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
mov edx, dword [esp + 0x52]
mov eax, dword [esp + 0x14]
and edx, 0xffff
lea ecx, [esp + 0xc4]
push edx
push eax
push ecx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x18
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov edx, dword [esp + 0xc4]
mov byte [esp + 0x158], 2
jmp 0x5966bd
mov esi, dword [esp + 0x14]
push edi
push 2
mov ecx, ebp
call fcn.005954b0
and eax, 0xffff
push eax
lea eax, [esp + 0x7c]
push esi
push eax
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x19
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
mov esi, dword [esp + 0x14]
push edi
push 1
mov ecx, ebp
call fcn.005954b0
and eax, 0xffff
lea edx, [esp + 0x80]
push eax
push esi
push edx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x1a
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov eax, dword [esp + 0x80]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
jmp 0x5966c0
mov eax, dword [esp + 0x68]
cmp ax, 7
jne 0x59654a
lea ecx, [esp + 0x50]
call fcn.00593c10
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x14]
and eax, 0xffff
push eax
lea edx, [esp + 0x8c]
push ecx
push edx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x1b
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov eax, dword [esp + 0x88]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
jmp 0x5966c0
lea ecx, [esp + 0xf4]
lea edx, [esp + 0x90]
push ecx
push 0x8b0b18
push edx
call fcn.00594160
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x1c
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov eax, dword [esp + 0x90]
mov byte [esp + 0x158], 2
add eax, 0xfffffff4
jmp 0x5966c0
mov eax, dword [esp + 0x60]
mov ecx, 0x64
cdq
idiv ecx
lea eax, [esp + 0x98]
push edx
mov edx, dword [esp + 0x18]
push edx
push eax
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x1d
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov ecx, dword [esp + 0x98]
mov byte [esp + 0x158], 2
lea eax, [ecx - 0xc]
jmp 0x5966c0
mov edx, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
push edx
lea ecx, [esp + 0xa4]
push eax
push ecx
call fcn.00572aa0
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x1e
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov edx, dword [esp + 0xa0]
mov byte [esp + 0x158], 2
jmp 0x5966bd
lea eax, [esp + 0xf4]
lea ecx, [esp + 0xa8]
push eax
push 0x8b3504
push ecx
call fcn.00594160
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x158], 0x1f
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.005712b0
mov edx, dword [esp + 0xa8]
mov byte [esp + 0x158], 2
lea eax, [edx - 0xc]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5966ec
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5966ec
push eax
call dword [0x6c74ac]
add esp, 4
jmp 0x5966ec
push 0x25
jmp 0x5966e1
mov al, byte [esi]
push eax
push 1
lea ecx, [esp + 0x18]
call fcn.00570940
mov esi, dword [esp + 0x38]
inc esi
mov dword [esp + 0x38], esi
cmp byte [esi], 0
jne 0x595a8f
mov eax, dword [0x8b0a50]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx - 8]
mov edi, dword [0x6c74ac]
mov esi, dword [esp + 0x160]
test edx, edx
jne 0x59671f
mov dword [esi], eax
jmp 0x596731
mov dword [esi], ecx
mov eax, dword [ecx - 0xc]
cmp eax, 0xffffffff
je 0x596731
inc eax
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea eax, [edx - 0xc]
mov edx, dword [edx - 0xc]
cmp edx, 0xffffffff
je 0x596753
lea ecx, [edx - 1]
test ecx, ecx
mov dword [eax], ecx
jne 0x59674f
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 0xc]
add ecx, 0xfffffff4
cmp eax, 0xffffffff
je 0x59676b
dec eax
test eax, eax
mov dword [ecx], eax
jne 0x59676b
push ecx
call edi
add esp, 4
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5967b0
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x5967b0
push eax
call edi
add esp, 4
jmp 0x5967b0
mov eax, dword [0x8b0a50]
cmp eax, esi
jne 0x596799
mov eax, 0x8c55f4
mov ecx, dword [0x6e14e0]
push ecx
push esi
mov esi, dword [esp + 0x168]
push eax
mov ecx, esi
call fcn.00570720
mov ecx, dword [esp + 0x150]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14c
ret 0xc