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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x84
push ebx
mov eax, edx
mov ebx, ecx
push esi
push edi
mov dword [esp + 0x14], eax
mov edi, dword [eax + 0x44]
mov esi, dword [ebx + 8]
mov dword [esp + 0x24], ebx
mov dword [esp + 0x50], edi
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x40], ecx
test esi, esi
jne 0x4945de
cmp dword [ebx + 0x78], esi
jne 0x4945d1
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4945d1
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0042a0d0
mov esi, eax
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x20]
push 0x38
push 0
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x1c], ecx
movsx eax, word [eax + 0x22]
dec dword [ebx + 0x38]
mov dword [esp + 0x34], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x5c]
push eax
call fcn.00563230
mov eax, dword [ebp + 0xc]
add esp, 0xc
mov dword [esp + 0x64], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x60], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], ebx
lea ecx, [eax + 1]
mov dword [esp + 0x58], edi
mov dword [esp + 0x48], ecx
lea ecx, [eax + 2]
add eax, 3
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], eax
mov al, byte [edi + 0x11]
mov dword [esp + 0x74], ecx
cmp al, 0x56
je 0x4946ba
cmp al, 0x5a
je 0x494681
mov dword [esp + 0x6c], 2
jmp 0x4946dc
mov ecx, edi
call fcn.004937c0
test eax, eax
jne 0x4946dc
cmp byte [edi + 0x12], 0x58
jne 0x4946b0
cmp byte [edi + 0x10], 0x59
je 0x4946dc
mov edx, dword [edi + 0x1c]
mov ecx, ebx
call fcn.004944f0
test eax, eax
je 0x4946dc
mov dword [esp + 0x6c], 3
jmp 0x4946dc
mov dword [esp + 0x6c], 1
jmp 0x4946dc
cmp byte [edi + 0x10], 0x59
je 0x4946dc
mov edx, dword [edi + 0x18]
mov ecx, ebx
call fcn.004944f0
mov ecx, dword [esp + 0x6c]
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x6c], ecx
mov eax, dword [ebx + 0x2c]
mov ecx, dword [esp + 0x2c]
inc ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edx
lea ecx, [eax + 1]
mov dword [ebx + 0x2c], ecx
mov al, byte [edi + 0x11]
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x70], ecx
cmp al, 0x58
je 0x49470a
cmp al, 0x56
jne 0x494714
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
mov dword [ebx + 0x2c], eax
mov al, byte [edi + 0x12]
cmp al, 0x58
je 0x49471f
cmp al, 0x56
jne 0x494729
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [edi + 0x10], 0x4c
je 0x49478f
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49473b
mov ecx, dword [eax]
jmp 0x49473d
xor ecx, ecx
mov eax, dword [edi + 0x4c]
add eax, edx
mov dword [esp + 0x3c], eax
mov eax, dword [edi + 8]
test eax, eax
je 0x49475b
mov edi, dword [esp + 0x3c]
add edi, dword [eax]
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x50]
mov eax, dword [ebx + 0x2c]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x1c], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x78], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x80], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x88], edx
mov edx, dword [esp + 0x28]
mov dword [ebx + 0x2c], eax
mov eax, dword [esp + 0x2c]
xor ebx, ebx
test eax, eax
jle 0x494802
mov edi, dword [esp + 0x28]
nop dword [eax]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4947c2
lea eax, [ebx + edi]
mov edx, 0x5e
push eax
push ebx
push dword [esp + 0x1c]
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x4947f1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x5e
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0x10], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x14]
mov dword [ecx + 4], eax
lea eax, [ebx + edi]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x2c]
inc ebx
cmp ebx, eax
jl 0x4947a0
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494821
push dword [esp + 0x38]
mov ecx, esi
push eax
push edx
mov edx, 0x61
call fcn.0042a3d0
add esp, 0xc
jmp 0x494850
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [edi + 8]
mov ebx, dword [esp + 0x24]
test edx, edx
je 0x494a2e
mov eax, dword [edx]
mov ecx, ebx
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x4c]
add dword [esp + 0x28], eax
push 0
push 0
call fcn.0046d5d0
inc dword [ebx + 0x2c]
add esp, 8
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x34], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], edx
cmp dword [esi + 0x70], edx
jg 0x4948ba
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x5a
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4948ed
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x2c]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi]
mov edx, dword [esp + 0x14]
cmp byte [ecx + 0x57], 0
je 0x494909
push edx
mov edx, 0xfffffff8
call fcn.0042b1b0
add esp, 4
jmp 0x49491b
mov eax, dword [esi + 0x6c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4 - 0x13], 0xf8
mov dword [eax + ecx*4 - 4], edx
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x6c]
lea edx, [eax + 2]
add eax, 4
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], ecx
jg 0x494945
push edx
push eax
push edx
mov edx, 0xe
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494974
mov ebx, dword [esp + 0x18]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x20], ecx
cmp dword [esi + 0x70], ecx
jg 0x49499d
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0xa
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x4949d0
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x2c]
mov ecx, dword [esi + 0x6c]
dec edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x18], eax
cmp dword [esi + 0x70], ecx
jg 0x4949fb
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x50
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494a2e
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x18]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494a56
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x50]
mov edx, 0x7f
call fcn.0042a3d0
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x494a89
mov edx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494aab
push edx
push dword [esp + 0x3c]
mov edx, 0x80
mov ecx, esi
push dword [esp + 0x50]
call fcn.0042a3d0
add esp, 0xc
jmp 0x494ade
mov ebx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x38], ecx
cmp dword [esi + 0x70], ecx
jg 0x494b09
push dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
mov edx, 0x34
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x494b3c
mov ebx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, edi
mov ecx, ebx
call fcn.00493540
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x494b7c
mov edx, dword [edi + 0x18]
mov ecx, ebx
push eax
call fcn.00448740
mov edx, dword [esp + 0x10]
xor eax, eax
add esp, 4
mov ecx, 3
cmp byte [edi + 0x10], 0x59
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.00491920
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x494bb2
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push eax
call fcn.00448740
mov edx, dword [esp + 0x14]
add esp, 4
cmp byte [edi + 0x10], 0x59
mov ecx, 4
mov eax, 1
cmove eax, ecx
mov ecx, ebx
push eax
call fcn.00491920
add esp, 4
cmp byte [edi + 0x10], 0x59
mov edx, dword [esp + 0xc]
je 0x494d86
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x494d86
test edx, edx
je 0x494d86
mov ecx, dword [esi + 0x6c]
xor edx, edx
cmp al, 0x56
mov dword [esp + 0x14], ecx
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x70], ecx
jg 0x494c08
push dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x14]
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x494c43
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov byte [eax + ecx*4], dl
xor edx, edx
mov word [eax + ecx*4 + 2], dx
mov edx, dword [esp + 0xc]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [eax + ecx*4 + 1], 0
xor edx, edx
lea ecx, [esp + 0x54]
call fcn.004924c0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494c72
push 0
push 0
push dword [esp + 0x84]
mov edx, 0x24
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494ca6
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
lea ecx, [esp + 0x54]
call fcn.00492ec0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494cd5
mov eax, dword [esp + 0x7c]
mov edx, 0x92
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.0042a3d0
add esp, 0xc
jmp 0x494d0c
mov edx, dword [esp + 0x7c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [esp + 0x30], edx
mov dword [eax + ecx*4], 0x92
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494d2d
push 0
push dword [esp + 0x48]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042a3d0
add esp, 0xc
jmp 0x494d60
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x494d72
mov eax, 0x60992c
jmp 0x494d7f
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esp + 0xc]
cmp byte [edi + 0x11], 0x56
jne 0x494de5
cmp byte [edi + 0x10], 0x59
je 0x494de5
mov eax, dword [esp + 0x10]
test eax, eax
je 0x494de5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x494db6
push edx
push eax
push edx
mov edx, 0x6b
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494de5
mov ebx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x11], 0x5a
je 0x494e3c
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x74]
cmp dword [esi + 0x70], ecx
jg 0x494e0d
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494e3c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x30]
cmp dword [esi + 0x70], ecx
jg 0x494e5e
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494e8d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x84]
cmp dword [esi + 0x70], ecx
jg 0x494eb2
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494ee1
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49506e
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x49506e
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x494f1b
push edx
push eax
push dword [esp + 0x44]
mov edx, 0x50
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x494f4e
mov ebx, dword [esp + 0x3c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x494f77
push edx
push dword [esp + 0x7c]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042a3d0
add esp, 0xc
jmp 0x494faa
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x494fd6
push edx
push dword [esp + 0x84]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042a3d0
add esp, 0xc
jmp 0x49500c
mov ebx, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x80]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x24]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x495038
push edx
push dword [esp + 0x8c]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042a3d0
add esp, 0xc
jmp 0x49506e
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x88]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x50]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49508f
push 0
push dword [esp + 0x48]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042a3d0
add esp, 0xc
jmp 0x4950c2
mov edx, dword [esp + 0x44]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4950d4
mov eax, 0x60992c
jmp 0x4950e1
mov eax, dword [esp + 0x38]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x495103
push dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov ecx, ebx
push eax
push dword [esp + 0x44]
call fcn.00493810
add esp, 0xc
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x49522c
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x4953ee
cmp byte [edi + 0x10], 0x59
lea ecx, [esp + 0x54]
jne 0x495200
dec dword [ebx + 0x38]
mov edx, 0x39
mov ebx, dword [ebx + 0x38]
mov eax, dword [esi + 0x6c]
push ebx
push dword [esp + 0x88]
mov dword [esp + 0x1c], eax
push dword [esp + 0x18]
push dword [esp + 0x88]
call fcn.004939e0
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x6c]
call fcn.00493f30
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x74]
call fcn.00493f30
mov ecx, dword [esi + 0x6c]
add esp, 0x20
mov edx, dword [esp + 0x14]
cmp dword [esi + 0x70], ecx
jg 0x4951b0
push 0
push edx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x4951df
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0xc]
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x495373
push ebx
mov edx, esi
call fcn.0042ac00
add esp, 4
jmp 0x4953ee
push 0
push dword [esp + 0x14]
mov edx, 1
call fcn.00493f30
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.00493f30
add esp, 0x10
jmp 0x4953ee
cmp byte [edi + 0x12], 0x58
jne 0x4952ad
cmp al, 0x58
jne 0x495243
cmp byte [edi + 0x10], 0x59
jne 0x495243
mov ebx, 1
jmp 0x495245
xor ebx, ebx
push 0
push dword [esp + 0x14]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
test ebx, ebx
je 0x495277
push 0
push dword [esp + 0x10]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
test ebx, ebx
jne 0x4953ee
push ebx
push dword [esp + 0x10]
lea edx, [ebx + 2]
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
jmp 0x4953ee
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x4953ee
cmp byte [edi + 0x10], 0x59
jne 0x49537e
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49530e
dec dword [ebx + 0x38]
lea ecx, [esp + 0x54]
mov ebx, dword [ebx + 0x38]
mov edx, 0x39
push ebx
push dword [esp + 0x88]
push eax
push dword [esp + 0x88]
call fcn.004939e0
add esp, 0x10
jmp 0x495310
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00493f30
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.00493f30
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x4953ee
push dword [esp + 0x18]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042a540
mov ecx, dword [esi + 0xc]
add esp, 8
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x495373
push ebx
mov edx, esi
call fcn.0042ac00
add esp, 4
jmp 0x4953ee
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x4953ee
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49539e
push 1
push 0
push eax
mov edx, 0x3b
mov ecx, esi
call fcn.0042a410
add esp, 0xc
mov ebx, eax
jmp 0x4953a0
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00493f30
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.00493f30
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x4953ee
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4953e2
mov eax, 0x60992c
jmp 0x4953eb
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x44]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49540c
push edx
mov edx, esi
call fcn.0042ac00
add esp, 4
jmp 0x495415
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
call fcn.0048eaf0
cmp dword [edi + 8], 0
je 0x4954ab
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x8c], ebx
cmp dword [esi + 0x70], ebx
jg 0x495456
push 0
push dword [esp + 0x38]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x8c], eax
jmp 0x495489
mov edx, dword [esp + 0x34]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49549b
mov eax, 0x60992c
jmp 0x4954a8
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x70], 0
mov dword [esp + 0x14], edx
cmp dword [esi + 0x70], edx
jg 0x4954dc
push 0
push 0
push dword [esp + 0x50]
mov edx, 0x24
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x49550f
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x48]
mov dword [eax + ecx*4], 0x24
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x12], 0x58
jne 0x495576
cmp byte [edi + 0x11], 0x58
jne 0x495528
cmp byte [edi + 0x10], 0x59
jne 0x495528
mov ebx, 1
jmp 0x49552a
xor ebx, ebx
push 0
push dword [esp + 0x14]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
test ebx, ebx
je 0x49555c
push 0
push dword [esp + 0x10]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00493f30
add esp, 8
jmp 0x4957e2
cmp byte [edi + 0x11], 0x56
lea ecx, [esp + 0x54]
push 0
mov edx, 3
push 0
jne 0x49573e
call fcn.00493f30
mov ebx, dword [esi + 0x6c]
lea ecx, [esp + 0x5c]
add esp, 8
cmp byte [edi + 0x10], 0x59
push 1
jne 0x4955ce
push dword [esp + 0x10]
mov edx, 2
call fcn.00493f30
push 1
push 0
mov edx, 1
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x64]
call fcn.00493f30
mov dword [esp + 0x40], eax
jmp 0x49560d
cmp byte [edi + 0x12], 0x5a
mov edx, 1
jne 0x4955e8
push dword [esp + 0x10]
call fcn.00493f30
push 1
push 0
jmp 0x4955f7
push dword [esp + 0x14]
call fcn.00493f30
push 1
push dword [esp + 0x18]
mov edx, 2
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x64]
call fcn.00493f30
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x6c]
add esp, 0x10
cmp dword [esi + 0x70], ecx
jg 0x49562e
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x49565d
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49566f
mov eax, 0x60992c
jmp 0x49567c
mov eax, dword [esp + 0x20]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
lea ecx, [esp + 0x54]
mov ebx, dword [esi + 0x6c]
mov edx, 1
push 1
push 0
call fcn.00493f30
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, eax
mov dword [esp + 0x18], edx
cmp dword [esi + 0x70], ecx
jg 0x4956bf
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042a3d0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4956f2
mov edi, dword [esp + 0x50]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x495704
mov eax, 0x60992c
jmp 0x495711
mov eax, dword [esp + 0x30]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebx
mov eax, dword [esi]
mov ebx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49572c
mov eax, 0x60992c
mov dword [eax + 8], ebx
jmp 0x4957e2
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], ebx
lea eax, [eax + ecx*4]
jmp 0x4957e2
call fcn.00493f30
mov ebx, dword [esi + 0x6c]
lea ecx, [esp + 0x5c]
push 1
push 0
mov edx, 1
call fcn.00493f30
push 0
push dword [esp + 0x20]
mov edx, 2
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x6c]
call fcn.00493f30
mov ecx, dword [esi + 0x6c]
add esp, 0x18
cmp dword [esi + 0x70], ecx
jg 0x495791
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x4957c0
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 9
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4957d2
mov eax, 0x60992c
jmp 0x4957df
mov eax, dword [esp + 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4957f4
mov eax, 0x60992c
jmp 0x495801
mov eax, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x495828
push 0
push 0
push dword [esp + 0x84]
mov edx, 0x92
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x49585c
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x92
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x10], 0
mov dword [ecx + 4], eax
cmp dword [edi + 8], 0
je 0x49598c
mov edx, dword [edi + 0x58]
test edx, edx
je 0x49590e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49588f
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x4958be
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edi, dword [edi + 0x5c]
cmp dword [esi + 0x70], ecx
jg 0x4958df
push 0
push edi
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
jmp 0x49590e
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edi
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x495920
mov eax, 0x60992c
jmp 0x495930
mov eax, dword [esp + 0x8c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x495959
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x43
mov ecx, esi
call fcn.0042a3d0
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x43
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret