Function at 0x49a6c0
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 0x49a711
cmp dword [ebx + 0x80], esi
jne 0x49a704
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x49a704
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.0042e2f0
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.0056fec0
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 0x49a7ed
cmp al, 0x5a
je 0x49a7b4
mov dword [esp + 0x6c], 2
jmp 0x49a80f
mov ecx, edi
call fcn.00499910
test eax, eax
jne 0x49a80f
cmp byte [edi + 0x12], 0x58
jne 0x49a7e3
cmp byte [edi + 0x10], 0x59
je 0x49a80f
mov edx, dword [edi + 0x1c]
mov ecx, ebx
call fcn.0049a640
test eax, eax
je 0x49a80f
mov dword [esp + 0x6c], 3
jmp 0x49a80f
mov dword [esp + 0x6c], 1
jmp 0x49a80f
cmp byte [edi + 0x10], 0x59
je 0x49a80f
mov edx, dword [edi + 0x18]
mov ecx, ebx
call fcn.0049a640
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 0x49a83d
cmp al, 0x56
jne 0x49a847
lea eax, [ecx + 1]
mov dword [esp + 0xc], eax
mov dword [ebx + 0x2c], eax
mov al, byte [edi + 0x12]
cmp al, 0x58
je 0x49a852
cmp al, 0x56
jne 0x49a85c
inc dword [ebx + 0x2c]
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x10], eax
cmp byte [edi + 0x10], 0x4c
je 0x49a8c2
mov eax, dword [esp + 0x40]
test eax, eax
je 0x49a86e
mov ecx, dword [eax]
jmp 0x49a870
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 0x49a88e
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 0x49a932
mov edi, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49a8f2
lea eax, [ebx + edi]
mov edx, 0x5e
push eax
push ebx
push dword [esp + 0x1c]
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49a921
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 0x49a8d0
mov edi, dword [esp + 0x50]
mov edx, dword [esp + 0x28]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49a951
push dword [esp + 0x38]
mov ecx, esi
push eax
push edx
mov edx, 0x61
call fcn.0042e5f0
add esp, 0xc
jmp 0x49a980
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 0x49ab5e
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.00472c20
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 0x49a9ea
mov edx, dword [esp + 0x2c]
mov ecx, esi
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x5a
call fcn.0042e5f0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x49aa1d
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 0x49aa39
push edx
mov edx, 0xfffffff8
call fcn.0042f440
add esp, 4
jmp 0x49aa4b
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 0x49aa75
push edx
push eax
push edx
mov edx, 0xe
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49aaa4
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 0x49aacd
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0xa
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
mov dword [esp + 0x20], eax
jmp 0x49ab00
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 0x49ab2b
push edx
push eax
push dword [esp + 0x30]
mov edx, 0x50
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49ab5e
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 0x49ab86
mov edx, dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
push dword [esp + 0x50]
mov edx, 0x7f
call fcn.0042e5f0
mov edx, dword [esp + 0x58]
add esp, 0xc
jmp 0x49abb9
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 0x49abdb
push edx
push dword [esp + 0x3c]
mov edx, 0x80
mov ecx, esi
push dword [esp + 0x50]
call fcn.0042e5f0
add esp, 0xc
jmp 0x49ac0e
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 0x49ac39
push dword [esp + 0x4c]
mov ecx, esi
push 0
push edx
mov edx, 0x34
call fcn.0042e5f0
add esp, 0xc
mov dword [esp + 0x38], eax
jmp 0x49ac6c
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.00499690
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x49acac
mov edx, dword [edi + 0x18]
mov ecx, ebx
push eax
call fcn.0044d450
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.00497a00
add esp, 4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49ace2
mov edx, dword [edi + 0x1c]
mov ecx, ebx
push eax
call fcn.0044d450
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.00497a00
add esp, 4
cmp byte [edi + 0x10], 0x59
mov edx, dword [esp + 0xc]
je 0x49aeb6
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x49aeb6
test edx, edx
je 0x49aeb6
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 0x49ad38
push dword [esp + 0x10]
mov ecx, esi
push 0
push dword [esp + 0x14]
call fcn.0042e5f0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x49ad73
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.00498610
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49ada2
push 0
push 0
push dword [esp + 0x84]
mov edx, 0x24
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49add6
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.00499010
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49ae05
mov eax, dword [esp + 0x7c]
mov edx, 0x92
push 0
push 0
push eax
mov ecx, esi
mov dword [esp + 0x3c], eax
call fcn.0042e5f0
add esp, 0xc
jmp 0x49ae3c
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 0x49ae5d
push 0
push dword [esp + 0x48]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042e5f0
add esp, 0xc
jmp 0x49ae90
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 0x49aea2
mov eax, 0x61da24
jmp 0x49aeaf
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 0x49af15
cmp byte [edi + 0x10], 0x59
je 0x49af15
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49af15
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49aee6
push edx
push eax
push edx
mov edx, 0x6b
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49af15
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 0x49af6c
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x74]
cmp dword [esi + 0x70], ecx
jg 0x49af3d
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49af6c
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 0x49af8e
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49afbd
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 0x49afe2
push 0
push 0
push edx
mov edx, 0x24
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b011
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 0x49b19e
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x49b19e
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x49b04b
push edx
push eax
push dword [esp + 0x44]
mov edx, 0x50
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b07e
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 0x49b0a7
push edx
push dword [esp + 0x7c]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b0da
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 0x49b106
push edx
push dword [esp + 0x84]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b13c
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 0x49b168
push edx
push dword [esp + 0x8c]
mov edx, 0x50
mov ecx, esi
push dword [esp + 0x24]
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b19e
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 0x49b1bf
push 0
push dword [esp + 0x48]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b1f2
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 0x49b204
mov eax, 0x61da24
jmp 0x49b211
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 0x49b233
push dword [esp + 0x44]
mov edx, dword [esp + 0x44]
mov ecx, ebx
push eax
push dword [esp + 0x44]
call fcn.00499960
add esp, 0xc
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x49b35c
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x49b51e
cmp byte [edi + 0x10], 0x59
lea ecx, [esp + 0x54]
jne 0x49b330
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.00499b30
push 0
push dword [esp + 0x20]
mov edx, 2
lea ecx, [esp + 0x6c]
call fcn.0049a080
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x74]
call fcn.0049a080
mov ecx, dword [esi + 0x6c]
add esp, 0x20
mov edx, dword [esp + 0x14]
cmp dword [esi + 0x70], ecx
jg 0x49b2e0
push 0
push edx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b30f
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 0x49b4a3
push ebx
mov edx, esi
call fcn.0042ee90
add esp, 4
jmp 0x49b51e
push 0
push dword [esp + 0x14]
mov edx, 1
call fcn.0049a080
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.0049a080
add esp, 0x10
jmp 0x49b51e
cmp byte [edi + 0x12], 0x58
jne 0x49b3dd
cmp al, 0x58
jne 0x49b373
cmp byte [edi + 0x10], 0x59
jne 0x49b373
mov ebx, 1
jmp 0x49b375
xor ebx, ebx
push 0
push dword [esp + 0x14]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
test ebx, ebx
je 0x49b3a7
push 0
push dword [esp + 0x10]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
test ebx, ebx
jne 0x49b51e
push ebx
push dword [esp + 0x10]
lea edx, [ebx + 2]
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
jmp 0x49b51e
push 0
push 0
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
cmp byte [edi + 0x12], 0x5a
je 0x49b51e
cmp byte [edi + 0x10], 0x59
jne 0x49b4ae
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49b43e
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.00499b30
add esp, 0x10
jmp 0x49b440
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.0049a080
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.0049a080
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x49b51e
push dword [esp + 0x18]
mov edx, 9
mov ecx, esi
push 0
call fcn.0042e780
mov ecx, dword [esi + 0xc]
add esp, 8
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x49b4a3
push ebx
mov edx, esi
call fcn.0042ee90
add esp, 4
jmp 0x49b51e
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x49b51e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x49b4ce
push 1
push 0
push eax
mov edx, 0x3b
mov ecx, esi
call fcn.0042e7f0
add esp, 0xc
mov ebx, eax
jmp 0x49b4d0
xor ebx, ebx
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.0049a080
push 0
push dword [esp + 0x18]
mov edx, 2
lea ecx, [esp + 0x64]
call fcn.0049a080
add esp, 0x10
cmp dword [esp + 0x10], 0
je 0x49b51e
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x49b512
mov eax, 0x61da24
jmp 0x49b51b
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 0x49b53c
push edx
mov edx, esi
call fcn.0042ee90
add esp, 4
jmp 0x49b545
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebp + 8]
call fcn.00494b90
cmp dword [edi + 8], 0
je 0x49b5db
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x8c], ebx
cmp dword [esi + 0x70], ebx
jg 0x49b586
push 0
push dword [esp + 0x38]
mov edx, 0x47
mov ecx, esi
push 0
call fcn.0042e5f0
add esp, 0xc
mov dword [esp + 0x8c], eax
jmp 0x49b5b9
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 0x49b5cb
mov eax, 0x61da24
jmp 0x49b5d8
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 0x49b60c
push 0
push 0
push dword [esp + 0x50]
mov edx, 0x24
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
mov dword [esp + 0x14], eax
jmp 0x49b63f
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 0x49b6a6
cmp byte [edi + 0x11], 0x58
jne 0x49b658
cmp byte [edi + 0x10], 0x59
jne 0x49b658
mov ebx, 1
jmp 0x49b65a
xor ebx, ebx
push 0
push dword [esp + 0x14]
mov edx, 3
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
test ebx, ebx
je 0x49b68c
push 0
push dword [esp + 0x10]
mov edx, 2
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
push 0
push 0
mov edx, 1
lea ecx, [esp + 0x5c]
call fcn.0049a080
add esp, 8
jmp 0x49b912
cmp byte [edi + 0x11], 0x56
lea ecx, [esp + 0x54]
push 0
mov edx, 3
push 0
jne 0x49b86e
call fcn.0049a080
mov ebx, dword [esi + 0x6c]
lea ecx, [esp + 0x5c]
add esp, 8
cmp byte [edi + 0x10], 0x59
push 1
jne 0x49b6fe
push dword [esp + 0x10]
mov edx, 2
call fcn.0049a080
push 1
push 0
mov edx, 1
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x64]
call fcn.0049a080
mov dword [esp + 0x40], eax
jmp 0x49b73d
cmp byte [edi + 0x12], 0x5a
mov edx, 1
jne 0x49b718
push dword [esp + 0x10]
call fcn.0049a080
push 1
push 0
jmp 0x49b727
push dword [esp + 0x14]
call fcn.0049a080
push 1
push dword [esp + 0x18]
mov edx, 2
mov dword [esp + 0x40], eax
lea ecx, [esp + 0x64]
call fcn.0049a080
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0x6c]
add esp, 0x10
cmp dword [esi + 0x70], ecx
jg 0x49b75e
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b78d
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 0x49b79f
mov eax, 0x61da24
jmp 0x49b7ac
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.0049a080
mov ecx, dword [esi + 0x6c]
add esp, 8
mov edx, eax
mov dword [esp + 0x18], edx
cmp dword [esi + 0x70], ecx
jg 0x49b7ef
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042e5f0
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x49b822
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 0x49b834
mov eax, 0x61da24
jmp 0x49b841
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 0x49b85c
mov eax, 0x61da24
mov dword [eax + 8], ebx
jmp 0x49b912
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], ebx
lea eax, [eax + ecx*4]
jmp 0x49b912
call fcn.0049a080
mov ebx, dword [esi + 0x6c]
lea ecx, [esp + 0x5c]
push 1
push 0
mov edx, 1
call fcn.0049a080
push 0
push dword [esp + 0x20]
mov edx, 2
mov dword [esp + 0x30], eax
lea ecx, [esp + 0x6c]
call fcn.0049a080
mov ecx, dword [esi + 0x6c]
add esp, 0x18
cmp dword [esi + 0x70], ecx
jg 0x49b8c1
push 0
push ebx
push 0
mov edx, 9
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b8f0
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 0x49b902
mov eax, 0x61da24
jmp 0x49b90f
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 0x49b924
mov eax, 0x61da24
jmp 0x49b931
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 0x49b958
push 0
push 0
push dword [esp + 0x84]
mov edx, 0x92
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b98c
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 0x49babc
mov edx, dword [edi + 0x58]
test edx, edx
je 0x49ba3e
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x49b9bf
push 0
push edx
push 1
mov edx, 0x47
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49b9ee
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 0x49ba0f
push 0
push edi
push 0
mov edx, 0x47
mov ecx, esi
call fcn.0042e5f0
add esp, 0xc
jmp 0x49ba3e
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 0x49ba50
mov eax, 0x61da24
jmp 0x49ba60
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 0x49ba89
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x43
mov ecx, esi
call fcn.0042e5f0
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