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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 0x13c]
cmp eax, dword [ecx + 8]
jbe 0x58a8ef
sub esp, 0x1bc
mov edx, dword [esp + 0x1c8]
test edx, edx
je 0x589525
test edx, 0x200
jne 0x589525
lea eax, [0x6c4d98]
mov ecx, dword [esp + 0x1c0]
jmp 0x589552
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.004b77c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c8]
mov dword [esp + 0x44], eax
mov dword [esp + 0x78], ecx
mov ebx, dword [0x854adc]
cmp dword [0x854ad8], eax
jne 0x589594
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x589eb0
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x854afc]
cmp dword [0x854af8], eax
jne 0x5895ce
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x589d80
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x854acc]
cmp dword [0x854ac8], eax
jne 0x589608
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x589ccb
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x854ae4]
cmp dword [0x854ae0], eax
jne 0x589642
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x589bed
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x1c8]
mov ebx, dword [0x854ac4]
cmp dword [0x854ac0], eax
jne 0x589674
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x589b72
mov edx, dword [esp + 0x1c8]
nop
mov ebx, edx
and edx, 0x1f
cmp edx, 6
jbe 0x5899db
cmp edx, 0x17
je 0x5897c5
cmp edx, 0x18
jne 0x589769
mov edx, dword [esp + 0x1d8]
cmp edx, 0x12
jne 0x5896b4
mov edx, dword [esp + 0x1c4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x58a84e
cmp edx, 0x13
je 0x58971e
cmp edx, 0x16
jne 0x5896d1
mov edx, dword [esp + 0x1c4]
mov ecx, dword [edx + 4]
mov edx, dword [edx]
xor eax, eax
jmp 0x58a7b8
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x6c4070]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00588690
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
mov ebx, dword [esp + 0x14]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
cmp edx, 0x19
jne 0x589b0e
test ebx, 0x200
jne 0x589789
lea eax, [0x6c4d98]
mov ecx, dword [esp + 0x1c0]
jmp 0x5897b6
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b77c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x1c8]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x40], eax
xor edx, edx
jmp 0x58a10e
test ebx, 0x200
jne 0x5897dc
lea eax, [0x6c4d98]
mov ecx, dword [esp + 0x1c0]
jmp 0x589802
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b77c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 0x28]
mov dword [esp], ecx
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 0x58994c
lea edi, [esp + 0xf0]
xor eax, eax
call fcn.0046293a
mov ecx, dword [esp + 0x1c4]
mov edx, dword [ecx + 4]
test edx, edx
je 0x5898fb
cmp edx, 1
je 0x589876
mov dword [esp + 0x4c], edx
lea eax, [0x632520]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044b0b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x589f5e
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 0
call fcn.004b5d30
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 + 0xf0]
call fcn.00462e14
call fcn.0058a900
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c3ff8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
cmp dword [0x8545d4], eax
jne 0x58996c
mov eax, dword [esp + 0x1c4]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x589996
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
call fcn.004b4710
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.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c3ff8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
cmp edx, 1
jne 0x589a5c
mov eax, dword [esp + 0x1c4]
movzx eax, byte [eax]
test al, al
je 0x589a25
mov eax, dword [0x84f160]
mov ecx, dword [0x84f164]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [0x84f158]
mov ecx, dword [0x84f15c]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], ecx
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
cmp edx, 2
jb 0x589b0e
cmp edx, 3
ja 0x589a90
cmp edx, 2
jne 0x589a7f
mov eax, dword [esp + 0x1c4]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x589acd
mov ecx, dword [esp + 0x1c4]
movsx eax, byte [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x589acd
cmp edx, 4
jne 0x589aa6
mov ecx, dword [esp + 0x1c4]
movsx eax, word [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x589acd
cmp edx, 5
jne 0x589abb
mov ecx, dword [esp + 0x1c4]
mov eax, dword [ecx]
mov ecx, eax
sar eax, 0x1f
jmp 0x589acd
mov ecx, dword [esp + 0x1c4]
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.004090f0
mov eax, dword [esp + 8]
lea ecx, [0x6c4010]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
lea eax, [0x65e48a]
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], 0xf
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004091a0
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
lea ecx, [0x6c3b08]
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b5ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x6578c0]
cmp ecx, edx
jne 0x589f43
mov dword [esp], eax
call fcn.00587790
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b5ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x634a80]
cmp ecx, edx
jne 0x589f2d
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
cmp edx, 2
jl 0x589c49
mov ebx, dword [ecx]
cmp ebx, 2
jg 0x589c49
jge 0x589c88
cmp dword [ecx + 4], 0x28
jl 0x589c88
lea eax, [0x663a01]
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], 0x19
mov eax, dword [esp + 0xb0]
mov dword [esp], eax
mov dword [esp + 4], 0x19
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x6c3b08]
xor edx, edx
xor ebx, ebx
jmp 0x589ca8
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00409220
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x6c4040]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1e4], edx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b5ee0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
lea edx, [0x643640]
cmp ecx, edx
jne 0x589f17
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov ebx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc0], ebx
mov dword [esp + 0xc4], eax
lea eax, [0x6436c0]
mov dword [esp], eax
lea eax, [esp + 0xb8]
mov dword [esp + 4], eax
call fcn.00408f50
mov eax, dword [esp + 8]
lea ecx, [0x6c3fc8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov eax, dword [esp + 0x1c4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x1c8]
mov dword [esp + 8], eax
mov byte [esp + 0xc], 1
call fcn.004b5ee0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x88], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xdc]
xor eax, eax
call fcn.0046293b
mov eax, dword [esp + 0x88]
lea ecx, [0x656ae0]
cmp eax, ecx
jne 0x589f01
lea edi, [esp + 0xdc]
call fcn.00462e1e
lea edi, [esp + 0xc8]
lea esi, [esp + 0xdc]
call fcn.00462e1e
cmp dword [esp + 0x1dc], 0x18
je 0x589e22
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.00462e1e
call fcn.005887b0
movzx eax, byte [esp + 0x14]
test al, al
je 0x589e69
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.00462e1e
call fcn.005888f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
lea edi, [esp]
lea esi, [esp + 0xc8]
call fcn.00462e1e
call fcn.00588810
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c3ff8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
mov dword [esp], ecx
mov dword [esp + 4], edx
lea eax, [0x627be0]
mov dword [esp + 8], eax
call fcn.00408df0
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x58a060
mov dword [esp + 0x5c], ecx
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov edx, dword [esp + 0x1c4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x1c8]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
call fcn.004b5d30
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 + 0xf0]
call fcn.00462e14
call fcn.0058a900
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x5c]
mov edi, dword [esp + 0x4c]
cmp esi, edi
jae 0x58a0f6
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x8c]
lea ebx, [ebp + esi*8]
mov dword [ebx], ecx
mov ecx, dword [0x87bd00]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x58a014
mov dword [ebx], eax
jmp 0x58a01f
mov ecx, edi
mov edi, ebx
call fcn.004626c0
mov edi, ecx
test edx, edx
je 0x589f59
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
movzx ecx, byte [esp + 0x1e0]
test cl, cl
je 0x58a0b1
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c4058]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c4028]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, esi
mov ecx, edi
call fcn.00462740
mov ebx, dword [esp + 0x64]
lea edx, [ebx + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x64], edx
mov ebx, dword [eax + 0x64]
mov dword [esp], ecx
call ebx
mov eax, dword [esp + 0x64]
cmp dword [esp + 4], eax
jle 0x58a1ce
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 + 0x154]
lea esi, [esp + 8]
call fcn.00462dce
lea edi, [esp + 0x120]
lea esi, [esp + 0x154]
call fcn.00462dce
mov eax, dword [esp + 0x12c]
test eax, eax
je 0x58a0ff
lea eax, [0x667835]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], 0x21
mov eax, dword [esp + 0xa8]
mov dword [esp], eax
mov dword [esp + 4], 0x21
call fcn.004091a0
mov eax, dword [esp + 8]
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
lea ecx, [0x6c3b08]
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
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 0x58a56b
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 + 0x188]
lea esi, [esp + 8]
call fcn.00462dce
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x19c]
mov edx, dword [0x854aec]
cmp dword [0x854ae8], eax
jne 0x58a24b
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00403790
movzx eax, byte [esp + 0xc]
test al, al
jne 0x58a252
xor eax, eax
jmp 0x58a2df
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x1c8]
mov dword [esp + 8], edx
mov dword [esp + 0xc], 0
call fcn.004b57e0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov ebx, edx
and edx, 0x1f
cmp edx, 0x17
jne 0x58a29a
mov edx, dword [ecx + 4]
jmp 0x58a2d2
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x6c], ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b60d0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x6c]
test edx, edx
jg 0x58a497
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x58a446
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x58a322
mov dword [esp + 0x54], ecx
lea eax, [0x632520]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044b0b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8c], eax
xor ecx, ecx
jmp 0x58a5c6
mov ecx, dword [esp + 0x1c0]
mov dword [esp], ecx
mov ecx, dword [esp + 0x1c4]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x1c8]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], eax
call fcn.004b57e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x8c], 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 + 0x188]
lea esi, [esp + 8]
call fcn.00462dce
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x659917]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b11d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00586600
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.00462e14
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x108]
call fcn.00462e14
call fcn.0058a900
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x1e4], eax
mov dword [esp + 0x1e8], edx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], ebx
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c3ff8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
cmp dword [0x8545d4], eax
jne 0x58a4a9
mov eax, dword [ecx]
mov edx, dword [ecx + 4]
mov ecx, dword [ecx + 8]
jmp 0x58a4c5
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebx
call fcn.004b4710
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], eax
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 0
call fcn.00582ca0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x58a503
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov eax, dword [esp + 0x70]
jmp 0x58a526
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x58a5bc
mov ebx, dword [esp + 0x48]
sub ebx, eax
sub ecx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
mov ebx, dword [esp + 0x70]
add eax, ebx
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c3ff8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov dword [esp], 0
mov dword [esp + 4], 0
mov dword [esp + 8], 0
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c3ff8]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
call fcn.004627a0
lea ecx, [esi + 1]
mov eax, ebp
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x58a769
mov dword [esp + 0x60], ecx
mov eax, dword [esp + 0x1c0]
mov dword [esp], eax
mov edx, dword [esp + 0x1c4]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x1c8]
mov dword [esp + 8], ebx
mov ebp, dword [esp + 0x50]
lea esi, [ecx + ebp]
mov dword [esp + 0x68], esi
mov dword [esp + 0xc], esi
call fcn.004b57e0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x80], eax
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x7c], 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 + 0x188]
lea esi, [esp + 8]
call fcn.00462dce
mov eax, dword [esp + 0x1a0]
mov ecx, dword [esp + 0x1a4]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x659917]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.004b11d0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.00586600
lea edi, [esp + 0x108]
lea esi, [esp + 8]
call fcn.00462e14
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
lea edi, [esp + 0xc]
lea esi, [esp + 0x108]
call fcn.00462e14
call fcn.0058a900
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x30]
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x54]
cmp esi, edi
jae 0x58a7ae
mov dword [esp + 0x88], ebx
mov dword [esp + 0x84], ebp
mov ebp, dword [esp + 0x8c]
lea ebx, [ebp + esi*8]
mov dword [ebx], ecx
mov ecx, dword [0x87bd00]
lea ebx, [ebp + esi*8 + 4]
test ecx, ecx
jne 0x58a71d
mov dword [ebx], eax
jmp 0x58a728
mov ecx, edi
mov edi, ebx
call fcn.004626c0
mov edi, ecx
test edx, edx
je 0x58a5c1
mov dword [esp + 0x1e4], 0
mov dword [esp + 0x1e8], 0
mov eax, dword [esp + 0x88]
mov dword [esp + 0x1ec], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409220
mov eax, dword [esp + 0xc]
lea ecx, [0x6c4028]
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], eax
mov dword [esp + 0x1ec], 0
mov dword [esp + 0x1f0], 0
add esp, 0x1bc
ret
mov eax, esi
mov ecx, edi
call fcn.00462740
inc eax
cmp eax, ecx
jge 0x58a809
jae 0x58a848
lea ebx, [eax + edx]
cmp byte [ebx], 0x7f
jbe 0x58a7b7
lea eax, [0x6685c4]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], 0x24
mov eax, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x6c3b08]
xor edx, edx
xor ebx, ebx
jmp 0x58a825
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x6c4070]
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1e4], edx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], ecx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
call fcn.00462740
inc eax
cmp eax, ecx
jge 0x58a8aa
jae 0x58a8e9
movzx ebx, byte [edx + eax]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x58a84d
cmp bl, 0x20
je 0x58a84d
lea eax, [0x66993a]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], 0x28
mov eax, dword [esp + 0x98]
mov dword [esp], eax
mov dword [esp + 4], 0x28
call fcn.004091a0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x6c3b08]
xor ebx, ebx
jmp 0x58a8c6
mov dword [esp], edx
mov dword [esp + 4], ecx
call fcn.004091a0
mov eax, dword [esp + 8]
lea ecx, [0x6c4070]
xor edx, edx
mov ebx, eax
xor eax, eax
mov dword [esp + 0x1e4], ecx
mov dword [esp + 0x1e8], ebx
mov dword [esp + 0x1ec], edx
mov dword [esp + 0x1f0], eax
add esp, 0x1bc
ret
call fcn.00462740
nop
call fcn.004612b0
jmp fcn.005894e0