Function at 0x498540
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 0x498591
cmp dword [ebx + 0x80], esi
jne 0x498584
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x498584
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0042c130
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.0056a470
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 0x49866d
cmp al, 0x5a
je 0x498634
mov dword [esp + 0x6c], 2
jmp 0x49868f
mov ecx, edi
call fcn.00497790
test eax, eax
jne 0x49868f
cmp byte [edi + 0x12], 0x58
jne 0x498663
cmp byte [edi + 0x10], 0x59
je 0x49868f
mov edx, dword [edi + 0x1c]
mov ecx, ebx
call fcn.004984c0
test eax, eax
je 0x49868f
mov dword [esp + 0x6c], 3
jmp 0x49868f
mov dword [esp + 0x6c], 1
jmp 0x49868f
cmp byte [edi + 0x10], 0x59
je 0x49868f
mov edx, dword [edi + 0x18]
mov ecx, ebx
call fcn.004984c0
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 0x4986bd
cmp al, 0x56
jne 0x4986c7
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
mov dword [ebx + 0x2c], eax
mov al, byte [edi + 0x12]
cmp al, 0x58
je 0x4986d2
cmp al, 0x56
jne 0x4986dc
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [edi + 0x10], 0x4c
je 0x498742
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4986ee
mov ecx, dword [eax]
jmp 0x4986f0
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 0x49870e
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 0x4987b2
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x498772
lea eax, [ebx + edi]
mov edx, 0x5e
push eax
push ebx
push dword [esp + 0x1c]
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x4987a1
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 0x498750
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4987d1
push dword [esp + 0x38]
mov ecx, esi
push eax
push edx
mov edx, 0x61
call fcn.0042c430
add esp, 0xc
jmp 0x498800
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 0x4989de
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.00470aa0
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 0x49886a
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x5a
call fcn.0042c430
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x49889d
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 0x4988b9
push edx
mov edx, 0xfffffff8
call fcn.0042d280
add esp, 4
jmp 0x4988cb
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 0x4988f5
push edx
push eax
push edx
mov edx, 0xe
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498924
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 0x49894d
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0xa
mov ecx, esi
call fcn.0042c430
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x498980
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 0x4989ab
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x50
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x4989de
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 0x498a06
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x50]
mov edx, 0x7f
call fcn.0042c430
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x498a39
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 0x498a5b
push edx
push dword [esp + 0x3c]
mov edx, 0x80
mov ecx, esi
push dword [esp + 0x50]
call fcn.0042c430
add esp, 0xc
jmp 0x498a8e
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 0x498ab9
push dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
mov edx, 0x34
call fcn.0042c430
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x498aec
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.00497510
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x498b2c
mov edx, dword [edi + 0x18]
mov ecx, ebx
push eax
call fcn.0044b2b0
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.00495880
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x498b62
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push eax
call fcn.0044b2b0
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.00495880
add esp, 4
cmp byte [edi + 0x10], 0x59
mov edx, dword [esp + 0xc]
je 0x498d36
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x498d36
test edx, edx
je 0x498d36
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 0x498bb8
push dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x14]
call fcn.0042c430
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x498bf3
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.00496490
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x498c22
push 0
push 0
push dword [esp + 0x84]
mov edx, 0x24
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498c56
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.00496e90
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x498c85
mov eax, dword [esp + 0x7c]
mov edx, 0x92
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.0042c430
add esp, 0xc
jmp 0x498cbc
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 0x498cdd
push 0
push dword [esp + 0x48]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042c430
add esp, 0xc
jmp 0x498d10
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 0x498d22
mov eax, 0x611da4
jmp 0x498d2f
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 0x498d95
cmp byte [edi + 0x10], 0x59
je 0x498d95
mov eax, dword [esp + 0x10]
test eax, eax
je 0x498d95
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x498d66
push edx
push eax
push edx
mov edx, 0x6b
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498d95
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 0x498dec
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x74]
cmp dword [esi + 0x70], ecx
jg 0x498dbd
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498dec
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 0x498e0e
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498e3d
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 0x498e62
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498e91
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 0x49901e
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x49901e
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x498ecb
push edx
push eax
push dword [esp + 0x44]
mov edx, 0x50
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x498efe
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 0x498f27
push edx
push dword [esp + 0x7c]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042c430
add esp, 0xc
jmp 0x498f5a
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 0x498f86
push edx
push dword [esp + 0x84]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042c430
add esp, 0xc
jmp 0x498fbc
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 0x498fe8
push edx
push dword [esp + 0x8c]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042c430
add esp, 0xc
jmp 0x49901e
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 0x49903f
push 0
push dword [esp + 0x48]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042c430
add esp, 0xc
jmp 0x499072
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 0x499084
mov eax, 0x611da4
jmp 0x499091
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 0x4990b3
push dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov ecx, ebx
push eax
push dword [esp + 0x44]
call fcn.004977e0
add esp, 0xc
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x4991dc
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x49939e
cmp byte [edi + 0x10], 0x59
lea ecx, [esp + 0x54]
jne 0x4991b0
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.004979b0
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x6c]
call fcn.00497f00
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x74]
call fcn.00497f00
mov ecx, dword [esi + 0x6c]
add esp, 0x20
mov edx, dword [esp + 0x14]
cmp dword [esi + 0x70], ecx
jg 0x499160
push 0
push edx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x49918f
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 0x499323
push ebx
mov edx, esi
call fcn.0042ccd0
add esp, 4
jmp 0x49939e
push 0
push dword [esp + 0x14]
mov edx, 1
call fcn.00497f00
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.00497f00
add esp, 0x10
jmp 0x49939e
cmp byte [edi + 0x12], 0x58
jne 0x49925d
cmp al, 0x58
jne 0x4991f3
cmp byte [edi + 0x10], 0x59
jne 0x4991f3
mov ebx, 1
jmp 0x4991f5
xor ebx, ebx
push 0
push dword [esp + 0x14]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
test ebx, ebx
je 0x499227
push 0
push dword [esp + 0x10]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
test ebx, ebx
jne 0x49939e
push ebx
push dword [esp + 0x10]
lea edx, [ebx + 2]
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
jmp 0x49939e
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x49939e
cmp byte [edi + 0x10], 0x59
jne 0x49932e
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4992be
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.004979b0
add esp, 0x10
jmp 0x4992c0
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00497f00
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.00497f00
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x49939e
push dword [esp + 0x18]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042c5c0
mov ecx, dword [esi + 0xc]
add esp, 8
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x499323
push ebx
mov edx, esi
call fcn.0042ccd0
add esp, 4
jmp 0x49939e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x49939e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49934e
push 1
push 0
push eax
mov edx, 0x3b
mov ecx, esi
call fcn.0042c630
add esp, 0xc
mov ebx, eax
jmp 0x499350
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00497f00
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.00497f00
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x49939e
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x499392
mov eax, 0x611da4
jmp 0x49939b
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 0x4993bc
push edx
mov edx, esi
call fcn.0042ccd0
add esp, 4
jmp 0x4993c5
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
call fcn.00492a10
cmp dword [edi + 8], 0
je 0x49945b
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x8c], ebx
cmp dword [esi + 0x70], ebx
jg 0x499406
push 0
push dword [esp + 0x38]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.0042c430
add esp, 0xc
mov dword [esp + 0x8c], eax
jmp 0x499439
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 0x49944b
mov eax, 0x611da4
jmp 0x499458
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 0x49948c
push 0
push 0
push dword [esp + 0x50]
mov edx, 0x24
mov ecx, esi
call fcn.0042c430
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x4994bf
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 0x499526
cmp byte [edi + 0x11], 0x58
jne 0x4994d8
cmp byte [edi + 0x10], 0x59
jne 0x4994d8
mov ebx, 1
jmp 0x4994da
xor ebx, ebx
push 0
push dword [esp + 0x14]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
test ebx, ebx
je 0x49950c
push 0
push dword [esp + 0x10]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.00497f00
add esp, 8
jmp 0x499792
cmp byte [edi + 0x11], 0x56
lea ecx, [esp + 0x54]
push 0
mov edx, 3
push 0
jne 0x4996ee
call fcn.00497f00
mov ebx, dword [esi + 0x6c]
lea ecx, [esp + 0x5c]
add esp, 8
cmp byte [edi + 0x10], 0x59
push 1
jne 0x49957e
push dword [esp + 0x10]
mov edx, 2
call fcn.00497f00
push 1
push 0
mov edx, 1
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x64]
call fcn.00497f00
mov dword [esp + 0x40], eax
jmp 0x4995bd
cmp byte [edi + 0x12], 0x5a
mov edx, 1
jne 0x499598
push dword [esp + 0x10]
call fcn.00497f00
push 1
push 0
jmp 0x4995a7
push dword [esp + 0x14]
call fcn.00497f00
push 1
push dword [esp + 0x18]
mov edx, 2
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x64]
call fcn.00497f00
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x6c]
add esp, 0x10
cmp dword [esi + 0x70], ecx
jg 0x4995de
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x49960d
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 0x49961f
mov eax, 0x611da4
jmp 0x49962c
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.00497f00
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, eax
mov dword [esp + 0x18], edx
cmp dword [esi + 0x70], ecx
jg 0x49966f
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042c430
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4996a2
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 0x4996b4
mov eax, 0x611da4
jmp 0x4996c1
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 0x4996dc
mov eax, 0x611da4
mov dword [eax + 8], ebx
jmp 0x499792
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], ebx
lea eax, [eax + ecx*4]
jmp 0x499792
call fcn.00497f00
mov ebx, dword [esi + 0x6c]
lea ecx, [esp + 0x5c]
push 1
push 0
mov edx, 1
call fcn.00497f00
push 0
push dword [esp + 0x20]
mov edx, 2
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x6c]
call fcn.00497f00
mov ecx, dword [esi + 0x6c]
add esp, 0x18
cmp dword [esi + 0x70], ecx
jg 0x499741
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x499770
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 0x499782
mov eax, 0x611da4
jmp 0x49978f
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 0x4997a4
mov eax, 0x611da4
jmp 0x4997b1
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 0x4997d8
push 0
push 0
push dword [esp + 0x84]
mov edx, 0x92
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x49980c
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 0x49993c
mov edx, dword [edi + 0x58]
test edx, edx
je 0x4998be
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49983f
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x49986e
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 0x49988f
push 0
push edi
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0042c430
add esp, 0xc
jmp 0x4998be
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 0x4998d0
mov eax, 0x611da4
jmp 0x4998e0
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 0x499909
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x43
mov ecx, esi
call fcn.0042c430
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