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

Disassembly:
mov ecx, dword [0x7f7460]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 0x10c]
cmp eax, dword [ecx + 8]
jbe 0x58146a
sub esp, 0x18c
mov eax, dword [esp + 0x198]
test eax, eax
je 0x5800a2
test eax, 0x200
jne 0x5800a2
lea ecx, [0x66ad64]
mov edx, dword [esp + 0x190]
jmp 0x5800d3
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.00499d30
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 [0x7cc718], ecx
jne 0x580115
mov eax, dword [0x7cc71c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x580a48
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x7cc720], ecx
jne 0x58014f
mov eax, dword [0x7cc724]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x580918
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x7cc700], ecx
jne 0x580189
mov eax, dword [0x7cc704]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x580863
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x7cc708], ecx
jne 0x5801c3
mov eax, dword [0x7cc70c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x580785
mov eax, dword [esp + 0x198]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x78]
cmp dword [0x7cc738], ecx
jne 0x5801f5
mov eax, dword [0x7cc73c]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.00404250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x58070a
mov eax, dword [esp + 0x198]
mov ecx, eax
and eax, 0x1f
nop
cmp eax, 6
jbe 0x580561
cmp eax, 0x17
je 0x580348
cmp eax, 0x18
jne 0x5802ea
mov eax, dword [esp + 0x1a8]
cmp eax, 0x12
jne 0x580235
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x5813d5
cmp eax, 0x13
je 0x58029f
cmp eax, 0x16
jne 0x580252
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
xor edx, edx
jmp 0x58134a
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.00409cd0
mov eax, dword [esp + 8]
lea ecx, [0x66a46c]
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.0057f2d0
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 0x5806a6
test ecx, 0x200
jne 0x58030a
lea eax, [0x66ad64]
mov edx, dword [esp + 0x190]
jmp 0x580339
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.00499d30
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 0x580ca1
test ecx, 0x200
jne 0x58035f
lea eax, [0x66ad64]
mov edx, dword [esp + 0x190]
jmp 0x580387
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.00499d30
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 0x5804d2
lea edi, [esp + 0xf4]
xor eax, eax
call fcn.0046754a
mov ecx, dword [esp + 0x194]
mov edx, dword [ecx + 4]
nop
test edx, edx
je 0x580481
cmp edx, 1
je 0x5803fc
mov dword [esp + 0x4c], edx
lea eax, [0x5f8cc0]
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.0044d6b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
xor ecx, ecx
jmp 0x580af9
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.00498200
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.00467a24
call fcn.00581480
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a3dc]
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 [0x7cc508], eax
jne 0x5804f2
mov eax, dword [esp + 0x194]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
jmp 0x58051c
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.00496cc0
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a3dc]
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 0x5805e2
mov eax, dword [esp + 0x194]
movzx eax, byte [eax]
test al, al
je 0x5805ab
mov eax, dword [0x7c4128]
mov ecx, dword [0x7c412c]
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 [0x7c4120]
mov ecx, dword [0x7c4124]
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 0x5806a6
cmp eax, 3
ja 0x58061c
cmp eax, 2
jne 0x580605
mov eax, dword [esp + 0x194]
mov eax, dword [eax]
mov ecx, eax
sar eax, 0x1f
jmp 0x580665
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 0x580665
cmp eax, 4
jne 0x580638
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 0x580665
cmp eax, 5
jne 0x580653
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 0x580665
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.00409c20
mov eax, dword [esp + 8]
lea ecx, [0x66a424]
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, [0x61f7d1]
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.00409cd0
mov eax, dword [esp + 8]
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
lea ecx, [0x66a0d4]
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.004983b0
mov eax, dword [esp + 0x10]
lea ecx, [0x619e20]
cmp eax, ecx
jne 0x580adb
mov eax, dword [esp + 0x14]
mov dword [esp], eax
call fcn.0057e4e0
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.004983b0
mov eax, dword [esp + 0x10]
lea ecx, [0x5fa860]
cmp eax, ecx
jne 0x580ac5
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
cmp ecx, 2
jl 0x5807de
mov edx, dword [eax]
mov ebx, dword [edx]
cmp ebx, 2
jg 0x5807de
jge 0x58081d
cmp dword [edx + 4], 0x28
jl 0x58081d
lea eax, [0x6248c6]
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.00409cd0
mov eax, dword [esp + 8]
lea ecx, [0x66a0d4]
xor edx, edx
xor ebx, ebx
jmp 0x580840
mov eax, dword [eax + 8]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00409d50
mov eax, dword [esp + 0xc]
xor ecx, ecx
lea edx, [0x66a484]
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.004983b0
mov eax, dword [esp + 0x10]
lea ecx, [0x607b40]
cmp eax, ecx
jne 0x580aaf
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, [0x607ac0]
mov dword [esp], eax
lea eax, [esp + 0xbc]
mov dword [esp + 4], eax
call fcn.00409a90
mov eax, dword [esp + 8]
lea ecx, [0x66a40c]
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.004983b0
mov eax, dword [esp + 0x10]
mov dword [esp + 0x8c], eax
mov esi, dword [esp + 0x14]
lea edi, [esp + 0xe0]
xor eax, eax
call fcn.0046754b
mov eax, dword [esp + 0x8c]
lea ecx, [0x618bc0]
cmp eax, ecx
jne 0x580a99
lea edi, [esp + 0xe0]
call fcn.00467a2e
lea edi, [esp + 0xcc]
lea esi, [esp + 0xe0]
call fcn.00467a2e
cmp dword [esp + 0x1ac], 0x18
je 0x5809ba
lea edi, [esp]
lea esi, [esp + 0xe0]
call fcn.00467a2e
call fcn.0057f3e0
movzx eax, byte [esp + 0x14]
test al, al
je 0x580a01
lea edi, [esp]
lea esi, [esp + 0xcc]
call fcn.00467a2e
call fcn.0057f520
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.00467a2e
call fcn.0057f440
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a3dc]
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, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x5efca0]
mov dword [esp + 8], eax
call fcn.00409960
inc ecx
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jge 0x580bfc
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.00498200
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.00467a24
call fcn.00581480
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 [0x7f7690]
test eax, eax
je 0x580bc0
mov eax, edi
call fcn.004672b0
mov dword [edi], ebp
mov edx, dword [ebx]
mov dword [edi + 4], edx
mov edi, eax
mov dword [ebx], ebp
test esi, esi
je 0x580af1
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 0x580c4d
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], edx
call fcn.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a454]
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a43c]
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 0x580d61
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.004679de
lea edi, [esp + 0x124]
lea esi, [esp + 0x158]
call fcn.004679de
mov eax, dword [esp + 0x130]
test eax, eax
je 0x580c92
lea eax, [0x628008]
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.00409cd0
mov eax, dword [esp + 8]
mov dword [esp + 0x1b4], 0
mov dword [esp + 0x1b8], 0
lea ecx, [0x66a0d4]
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 0x581106
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.004679de
mov eax, dword [esp + 0x168]
cmp dword [0x7cc730], eax
je 0x580dbf
xor eax, eax
jmp 0x580e79
mov ecx, dword [esp + 0x16c]
mov edx, dword [0x7cc734]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00404250
movzx eax, byte [esp + 0xc]
test al, al
jne 0x580dec
xor eax, eax
jmp 0x580e79
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.00497d30
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 0x580e34
mov eax, dword [ebx + 4]
jmp 0x580e6c
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.004985a0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x84]
mov ebx, dword [esp + 0x90]
test eax, eax
jg 0x581031
mov eax, 1
mov ecx, dword [esp + 0x58]
sub ecx, eax
test ecx, ecx
je 0x580fe0
mov dword [esp + 0x50], eax
cmp ecx, 1
je 0x580ebc
mov dword [esp + 0x54], ecx
lea eax, [0x5f8cc0]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ecx
call fcn.0044d6b0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x90], eax
xor ecx, ecx
jmp 0x58116a
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.00497d30
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.004679de
mov eax, dword [esp + 0x170]
mov ecx, dword [esp + 0x174]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea eax, [0x61bb76]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00493700
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0057d3b0
lea edi, [esp + 0x10c]
lea esi, [esp + 8]
call fcn.00467a24
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.00467a24
call fcn.00581480
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a3dc]
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 [0x7cc508], edx
jne 0x581043
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 8]
jmp 0x58105f
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00496cc0
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.00579bc0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x581099
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x70]
jmp 0x5810c1
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x3c]
cmp ecx, eax
jb 0x581157
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a3dc]
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a3dc]
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.00467370
mov edx, dword [esp + 0x60]
lea ecx, [edx + 1]
mov eax, dword [esp + 0x90]
mov edx, dword [esp + 0x54]
cmp ecx, edx
jge 0x581304
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.00497d30
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.004679de
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, [0x61bb76]
mov dword [esp + 8], eax
mov dword [esp + 0xc], 4
call fcn.00493700
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp], eax
mov dword [esp + 4], ecx
call fcn.0057d3b0
lea edi, [esp + 0x10c]
lea esi, [esp + 8]
call fcn.00467a24
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.00467a24
call fcn.00581480
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 [0x7f7690]
test eax, eax
jne 0x5812bf
mov eax, dword [esp + 0x7c]
jmp 0x5812cf
call fcn.004672b0
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 0x58115c
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.00409d50
mov eax, dword [esp + 0xc]
lea ecx, [0x66a43c]
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 0x581395
lea ebx, [edx + ecx]
cmp byte [ebx], 0x7f
jbe 0x581349
lea eax, [0x628f55]
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.00409cd0
mov eax, dword [esp + 8]
lea ecx, [0x66a0d4]
xor edx, edx
xor ebx, ebx
jmp 0x5813b1
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409cd0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x66a46c]
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 0x58142b
movzx ebx, byte [ecx + edx]
lea ebp, [ebx - 0x30]
xchg ebp, eax
cmp al, 9
xchg ebp, eax
jbe 0x5813d4
cmp bl, 0x20
je 0x5813d4
lea eax, [0x62a255]
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.00409cd0
mov eax, dword [esp + 8]
xor ecx, ecx
lea edx, [0x66a0d4]
xor ebx, ebx
jmp 0x581447
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.00409cd0
mov eax, dword [esp + 8]
lea ecx, [0x66a46c]
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.00465ea0
jmp fcn.00580060