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

Disassembly:
mov ecx, dword [0x9ec7ac]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10c]
cmp eax, dword [ecx + 8]
jbe 0x5a7f2a
sub esp, 0x18c
mov eax, dword [esp + 0x198]
test eax, eax
je 0x5a6b62
test eax, 0x200
jne 0x5a6b62
lea ecx, [0x7ad404]
mov edx, dword [esp + 0x190]
jmp 0x5a6b93
mov ecx, dword [esp + 0x190]
mov dword [esp], ecx
mov edx, dword [esp + 0x194]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004a2b10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, eax
mov eax, dword [esp + 0x198]
mov dword [esp + 0x78], edx
mov dword [esp + 0x44], ecx
cmp dword [0x9c4d08], ecx
jne 0x5a6bd5
mov eax, dword [0x9c4d0c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a7508
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x9c4d10], ecx
jne 0x5a6c0f
mov eax, dword [0x9c4d14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a73d8
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x9c4cf0], ecx
jne 0x5a6c49
mov eax, dword [0x9c4cf4]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a7323
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x9c4cf8], ecx
jne 0x5a6c83
mov eax, dword [0x9c4cfc]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a7245
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x9c4d28], ecx
jne 0x5a6cb5
mov eax, dword [0x9c4d2c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a71ca
mov eax, dword [esp + 0x198]
mov ecx, eax
and eax, 0x1f
nop
cmp eax, 6
jbe 0x5a7021
cmp eax, 0x17
je 0x5a6e08
cmp eax, 0x18
jne 0x5a6daa
mov eax, dword [esp + 0x1a8]
cmp eax, 0x12
jne 0x5a6cf5
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x5a7e95
cmp eax, 0x13
je 0x5a6d5f
cmp eax, 0x16
jne 0x5a6d12
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x5a7e0a
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409df0
mov eax, dword [esp + 8]
lea ecx, [0x7abd38]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.005a5d90
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ebx
add esp, 0x18c
ret
cmp eax, 0x19
jne 0x5a7166
test ecx, 0x200
jne 0x5a6dca
lea eax, [0x7ad404]
mov edx, dword [esp + 0x190]
jmp 0x5a6df9
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov edx, dword [esp + 0x194]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004a2b10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov ecx, dword [esp + 0x198]
mov dword [esp + 0x74], edx
mov dword [esp + 0x40], eax
xor ebx, ebx
jmp 0x5a7761
test ecx, 0x200
jne 0x5a6e1f
lea eax, [0x7ad404]
mov edx, dword [esp + 0x190]
jmp 0x5a6e47
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov edx, dword [esp + 0x194]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.004a2b10
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, ecx
mov eax, dword [eax + 0x28]
mov dword [esp], edx
call eax
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [eax + 0x50]
mov dword [esp], ecx
call eax
cmp dword [esp + 4], 8
je 0x5a6f92
lea edi, [esp + 0xf4]
xor eax, eax
call fcn.004686fa
mov ecx, dword [esp + 0x194]
mov edx, dword [ecx + 4]
nop
test edx, edx
je 0x5a6f41
cmp edx, 1
je 0x5a6ebc
mov dword [esp + 0x4c], edx
lea eax, [0x6f43c0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044e0b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
xor ecx, ecx
jmp 0x5a75b9
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x198]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004a0fe0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
lea edi, [esp + 0xc]
lea esi, [esp + 0xf4]
call fcn.00468bd4
call fcn.005a7f40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ebx
add esp, 0x18c
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abca8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov eax, dword [esp + 0x190]
cmp dword [0x9c4924], eax
jne 0x5a6fb2
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x5a6fdc
mov dword [esp], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 8], eax
call fcn.0049faa0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abca8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
cmp eax, 1
jne 0x5a70a2
mov eax, dword [esp + 0x194]
movzx eax, byte [eax]
test al, al
je 0x5a706b
mov eax, dword [0x9a3ff8]
mov ecx, dword [0x9a3ffc]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov eax, dword [0x9a3ff0]
mov ecx, dword [0x9a3ff4]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
cmp eax, 2
jb 0x5a7166
cmp eax, 3
ja 0x5a70dc
cmp eax, 2
jne 0x5a70c5
mov eax, dword [esp + 0x194]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x5a7125
mov ecx, dword [esp + 0x194]
movsx eax, byte [ecx]
mov ecx, eax
sar ecx, 0x1f
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5a7125
cmp eax, 4
jne 0x5a70f8
mov ecx, dword [esp + 0x194]
movsx eax, word [ecx]
mov ecx, eax
sar ecx, 0x1f
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5a7125
cmp eax, 5
jne 0x5a7113
mov ecx, dword [esp + 0x194]
mov eax, dword [ecx]
mov ecx, eax
sar ecx, 0x1f
mov edx, eax
mov eax, ecx
mov ecx, edx
jmp 0x5a7125
mov ecx, dword [esp + 0x194]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov edx, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00409d40
mov eax, dword [esp + 8]
lea ecx, [0x7abcf0]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
lea eax, [0x7370f8]
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], 0xf
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.00409df0
mov eax, dword [esp + 8]
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
lea ecx, [0x7ab500]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x18c
ret
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004a1190
mov eax, dword [esp + 0x10]
lea ecx, [0x730400]
cmp eax, ecx
jne 0x5a759b
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.005a4fa0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ebx
add esp, 0x18c
ret
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004a1190
mov eax, dword [esp + 0x10]
lea ecx, [0x6f6aa0]
cmp eax, ecx
jne 0x5a7585
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
cmp ecx, 2
jl 0x5a729e
mov edx, dword [eax]
mov ebx, dword [edx]
cmp ebx, 2
jg 0x5a729e
jge 0x5a72dd
cmp dword [edx + 4], 0x28
jl 0x5a72dd
lea eax, [0x73d131]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], 0x19
mov eax, dword [esp + 0xb4]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.00409df0
mov eax, dword [esp + 8]
lea ecx, [0x7ab500]
xor edx, edx
xor ebx, ebx
jmp 0x5a7300
mov eax, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409e70
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x7abd50]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x18c
ret
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004a1190
mov eax, dword [esp + 0x10]
lea ecx, [0x70dd20]
cmp eax, ecx
jne 0x5a756f
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], edx
mov dword [esp + 0xc4], ebx
mov dword [esp + 0xc8], eax
lea eax, [0x70dca0]
mov dword [esp], eax
lea eax, [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.00409bb0
mov eax, dword [esp + 8]
lea ecx, [0x7abcd8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov eax, dword [esp + 0x194]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x198]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004a1190
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.004686fb
mov eax, dword [esp + 0x8c]
lea ecx, [0x72eae0]
cmp eax, ecx
jne 0x5a7559
lea edi, [esp + 0xe0]
call fcn.00468bde
lea edi, [esp + 0xcc]
lea esi, [esp + 0xe0]
call fcn.00468bde
cmp dword [esp + 0x1ac], 0x18
je 0x5a747a
lea edi, [esp]
lea esi, [esp + 0xe0]
call fcn.00468bde
call fcn.005a5ea0
movzx eax, byte [esp + 0x14]
test al, al
je 0x5a74c1
lea edi, [esp]
lea esi, [esp + 0xcc]
call fcn.00468bde
call fcn.005a5fe0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ebx
add esp, 0x18c
ret
lea edi, [esp]
lea esi, [esp + 0xcc]
call fcn.00468bde
call fcn.005a5f00
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ebx
add esp, 0x18c
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abca8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6e5b40]
mov dword [esp + 8], eax
call fcn.00409a80
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6e5b40]
mov dword [esp + 8], eax
call fcn.00409a80
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6e5b40]
mov dword [esp + 8], eax
call fcn.00409a80
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x6e5b40]
mov dword [esp + 8], eax
call fcn.00409a80
inc ecx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x5a76bc
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov edx, dword [esp + 0x194]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x198]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004a0fe0
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x90]
lea edx, [ecx + eax*8]
mov dword [esp + 0x88], edx
mov ebx, dword [esp + 0x10]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x18]
mov dword [esp], ebx
mov dword [esp + 4], ebp
mov dword [esp + 8], esi
lea edi, [esp + 0xc]
lea esi, [esp + 0xf4]
call fcn.00468bd4
call fcn.005a7f40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x90]
lea ebx, [edx + ecx*8 + 4]
mov ebp, dword [esp + 0x28]
mov esi, dword [esp + 0x2c]
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x8c], edx
mov edx, dword [esp + 0x88]
mov dword [edx], eax
mov eax, dword [0x9eca70]
test eax, eax
je 0x5a7680
mov eax, edi
call fcn.00468460
mov dword [edi], ebp
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov edi, eax
mov dword [ebx], ebp
test esi, esi
je 0x5a75b1
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], edi
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x1c0], eax
add esp, 0x18c
ret
movzx ecx, byte [esp + 0x1b0]
test cl, cl
je 0x5a770d
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abd20]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abd08]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov ecx, dword [esp + 0x64]
lea ebx, [ecx + 1]
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x64], ebx
mov ecx, dword [eax + 0x64]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 0x64]
cmp dword [esp + 4], eax
jle 0x5a7821
mov ecx, dword [esp + 0x40]
mov edx, dword [ecx + 0x2c]
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], eax
call edx
lea edi, [esp + 0x158]
lea esi, [esp + 8]
call fcn.00468b8e
lea edi, [esp + 0x124]
lea esi, [esp + 0x158]
call fcn.00468b8e
mov eax, dword [esp + 0x130]
test eax, eax
je 0x5a7752
lea eax, [0x7419b3]
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], 0x21
mov eax, dword [esp + 0xac]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.00409df0
mov eax, dword [esp + 8]
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
lea ecx, [0x7ab500]
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x18c
ret
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x64]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
test eax, eax
je 0x5a7bc6
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x40]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x74]
mov dword [esp], edx
mov dword [esp + 4], 0
call ecx
lea edi, [esp + 0x158]
lea esi, [esp + 8]
call fcn.00468b8e
mov eax, dword [esp + 0x168]
cmp dword [0x9c4d20], eax
je 0x5a787f
xor eax, eax
jmp 0x5a7939
mov ecx, dword [esp + 0x16c]
mov edx, dword [0x9c4d24]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404340
movzx eax, byte [esp + 0xc]
test al, al
jne 0x5a78ac
xor eax, eax
jmp 0x5a7939
mov eax, dword [esp + 0x190]
mov dword [esp], eax
mov ecx, dword [esp + 0x194]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x198]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004a0b10
mov eax, dword [esp + 0x18]
mov ecx, eax
and eax, 0x1f
mov edx, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
cmp eax, 0x17
jne 0x5a78f4
mov eax, dword [ebx + 4]
jmp 0x5a792c
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x90], ebx
mov dword [esp + 0x84], edx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.004a1380
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
test eax, eax
jg 0x5a7af1
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x5a7aa0
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x5a797c
mov dword [esp + 0x54], ecx
lea eax, [0x6f43c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044e0b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
xor ecx, ecx
jmp 0x5a7c2a
mov ecx, dword [esp + 0x190]
mov dword [esp], ecx
mov ecx, dword [esp + 0x194]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x198]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004a0b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x90], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
mov ebx, dword [ebx + 0x2c]
mov ebp, dword [esp + 0x74]
mov dword [esp], ebp
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
call ebx
lea edi, [esp + 0x158]
lea esi, [esp + 8]
call fcn.00468b8e
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x732351]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.0049c370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a3e70
lea edi, [esp + 0x10c]
lea esi, [esp + 8]
call fcn.00468bd4
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x10c]
call fcn.00468bd4
call fcn.005a7f40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1b4], eax
mov dword [esp + 0x1b8], edx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], ebx
add esp, 0x18c
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abca8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
cmp dword [0x9c4924], edx
jne 0x5a7b03
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
jmp 0x5a7b1f
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0049faa0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x70], eax
mov dword [esp + 0x48], edx
mov dword [esp + 0x3c], ecx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.005a0680
mov eax, dword [esp + 0x24]
test eax, eax
je 0x5a7b59
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x70]
jmp 0x5a7b81
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x5a7c17
mov edx, dword [esp + 0x48]
sub edx, eax
mov ebx, edx
neg ebx
sar ebx, 0x1f
and ebx, eax
sub ecx, eax
mov ebp, dword [esp + 0x70]
lea eax, [ebx + ebp]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abca8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abca8]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
call fcn.00468520
mov edx, dword [esp + 0x60]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x5a7dc4
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x190]
mov dword [esp], edx
mov ebx, dword [esp + 0x194]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x198]
mov dword [esp + 8], ebp
lea esi, [eax + ecx*8]
mov dword [esp + 0x88], esi
mov edi, dword [esp + 0x50]
add edi, ecx
mov dword [esp + 0x68], edi
mov dword [esp + 0xc], edi
call fcn.004a0b10
mov eax, dword [esp + 0x10]
mov dword [esp + 0x84], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x6c], edx
mov ebx, dword [esp + 0x40]
mov ebp, dword [ebx + 0x2c]
mov esi, dword [esp + 0x74]
mov dword [esp], esi
mov edi, dword [esp + 0x68]
mov dword [esp + 4], edi
call ebp
lea edi, [esp + 0x158]
lea esi, [esp + 8]
call fcn.00468b8e
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov edx, dword [esp + 0x60]
mov ebx, dword [esp + 0x90]
lea ebp, [ebx + edx*8 + 4]
mov dword [esp + 0x7c], ebp
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x732351]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.0049c370
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.005a3e70
lea edi, [esp + 0x10c]
lea esi, [esp + 8]
call fcn.00468bd4
mov eax, dword [esp + 0x84]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x10c]
call fcn.00468bd4
call fcn.005a7f40
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x88]
mov dword [esi], eax
mov eax, dword [0x9eca70]
test eax, eax
jne 0x5a7d7f
mov eax, dword [esp + 0x7c]
jmp 0x5a7d8f
call fcn.00468460
mov dword [edi], ecx
mov eax, dword [esp + 0x7c]
mov esi, dword [eax]
mov dword [edi + 4], esi
mov dword [eax], ecx
test edx, edx
je 0x5a7c1c
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
mov dword [esp + 0x1bc], ebx
mov dword [esp + 0x1c0], ebp
add esp, 0x18c
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409e70
mov eax, dword [esp + 0xc]
lea ecx, [0x7abd08]
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], eax
mov dword [esp + 0x1bc], 0
mov dword [esp + 0x1c0], 0
add esp, 0x18c
ret
inc edx
cmp edx, eax
jge 0x5a7e55
lea ebx, [edx + ecx]
cmp byte [ebx], 0x7f
jbe 0x5a7e09
lea eax, [0x743514]
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], 0x24
mov eax, dword [esp + 0xa4]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.00409df0
mov eax, dword [esp + 8]
lea ecx, [0x7ab500]
xor edx, edx
xor ebx, ebx
jmp 0x5a7e71
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409df0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x7abd38]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], ecx
mov dword [esp + 0x1c0], eax
add esp, 0x18c
ret
inc edx
cmp edx, eax
jge 0x5a7eeb
movzx ebx, byte [ecx + edx]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x5a7e94
cmp bl, 0x20
je 0x5a7e94
lea eax, [0x745ece]
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], 0x28
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.00409df0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x7ab500]
xor ebx, ebx
jmp 0x5a7f07
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409df0
mov eax, dword [esp + 8]
lea ecx, [0x7abd38]
xor edx, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1b4], ecx
mov dword [esp + 0x1b8], ebx
mov dword [esp + 0x1bc], edx
mov dword [esp + 0x1c0], eax
add esp, 0x18c
ret
call fcn.00467050
jmp fcn.005a6b20