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

Disassembly:
sub esp, 0x6c
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x78]
push esi
push edi
mov edi, dword [ebx + 0x44]
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], edi
mov eax, dword [edi + 0xc]
mov dword [esp + 0x1c], eax
test esi, esi
jne 0x4ec4b4
cmp dword [ebp + 0x80], esi
jne 0x4ec4a9
mov eax, dword [ebp]
test byte [eax + 0x50], 8
jne 0x4ec4a9
mov byte [ebp + 0x17], 1
push ebp
call fcn.004d7d60
add esp, 4
mov esi, eax
mov eax, dword [ebx + 0x20]
xorps xmm0, xmm0
movlpd qword [esp + 0x6c], xmm0
movlpd qword [esp + 0x74], xmm0
movlpd qword [esp + 0x64], xmm0
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x18]
mov dword [esp + 0x40], ecx
movlpd qword [esp + 0x5c], xmm0
mov dword [esp + 0x44], ebp
movsx ebx, word [eax + 0x22]
xor eax, eax
dec dword [ebp + 0x38]
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x38]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x50], eax
mov eax, dword [edi + 0x30]
mov dword [esp + 0x8c], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x30], ebx
lea ecx, [eax + 1]
mov dword [esp + 0x48], edi
mov dword [esp + 0x24], ecx
lea ecx, [eax + 2]
add eax, 3
mov dword [esp + 0x4c], esi
mov dword [esp + 0x74], eax
mov al, byte [edi + 0x11]
mov dword [esp + 0x64], ecx
cmp al, 0x56
je 0x4ec5cd
cmp al, 0x5a
je 0x4ec56c
mov dword [esp + 0x5c], 2
jmp 0x4ec5f1
cmp dword [edi + 0x58], 0
jne 0x4ec5f1
mov ecx, edi
mov eax, dword [ecx + 0x2c]
mov eax, dword [eax + 0x20]
cmp eax, str.nth_value
je 0x4ec5f1
cmp eax, str.first_value
je 0x4ec5f1
cmp eax, str.lead
je 0x4ec5f1
cmp eax, 0x680664
je 0x4ec5f1
mov ecx, dword [ecx + 0x24]
test ecx, ecx
jne 0x4ec574
cmp byte [edi + 0x12], 0x58
jne 0x4ec5c3
cmp byte [edi + 0x10], 0x59
je 0x4ec5f1
push dword [edi + 0x1c]
push ebp
call fcn.00502f50
add esp, 8
test eax, eax
je 0x4ec5f1
mov dword [esp + 0x5c], 3
jmp 0x4ec5f1
mov dword [esp + 0x5c], 1
jmp 0x4ec5f1
cmp byte [edi + 0x10], 0x59
je 0x4ec5f1
push dword [edi + 0x18]
push ebp
call fcn.00502f50
mov ecx, dword [esp + 0x64]
add esp, 8
test eax, eax
mov eax, 1
cmovne ecx, eax
mov dword [esp + 0x5c], ecx
mov eax, dword [ebp + 0x2c]
lea edx, [eax + 1]
inc eax
add eax, ebx
mov dword [esp + 0x90], edx
mov dword [esp + 0x28], eax
lea ebx, [eax + 1]
mov dword [ebp + 0x2c], ebx
mov cl, byte [edi + 0x11]
mov dword [esp + 0x60], ebx
cmp cl, 0x58
je 0x4ec61e
mov eax, ebx
cmp cl, 0x56
jne 0x4ec62b
lea eax, [ebx + 1]
mov dword [esp + 0x84], eax
mov dword [ebp + 0x2c], eax
mov cl, byte [edi + 0x12]
cmp cl, 0x58
je 0x4ec638
cmp cl, 0x56
jne 0x4ec64b
lea edx, [eax + 1]
mov dword [esp + 0x10], edx
mov eax, edx
mov dword [ebp + 0x2c], edx
mov edx, dword [esp + 0x90]
cmp byte [edi + 0x10], 0x4c
je 0x4ec69c
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4ec65d
mov ecx, dword [ecx]
jmp 0x4ec65f
xor ecx, ecx
mov ebx, dword [edi + 0x4c]
add ebx, edx
mov edx, dword [edi + 8]
mov dword [esp + 0x2c], ebx
test edx, edx
je 0x4ec675
add ebx, dword [edx]
mov dword [esp + 0x2c], ebx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x14], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x68], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x70], edx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x78], edx
mov dword [ebp + 0x2c], eax
mov eax, dword [esp + 0x30]
xor ebx, ebx
test eax, eax
jle 0x4ec70e
mov ebp, dword [esp + 0x90]
mov edi, dword [esp + 0x40]
mov ecx, dword [esi + 0x6c]
lea edx, [ebx + ebp]
cmp dword [esi + 0x70], ecx
jg 0x4ec6cc
push edx
push ebx
push edi
push 0x5e
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ec6fa
mov ebp, dword [esp + 0x90]
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 + 4], edi
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x30]
inc ebx
cmp ebx, eax
jl 0x4ec6b1
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x80]
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ec737
mov ebx, dword [esp + 0x28]
push ebx
push eax
push dword [esp + 0x98]
push 0x61
push esi
call fcn.00486380
mov edx, dword [esp + 0xa4]
add esp, 0x14
jmp 0x4ec76d
mov ebx, dword [esp + 0x30]
lea eax, [ecx + 1]
mov edx, dword [esp + 0x90]
lea ecx, [ecx + ecx*4]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x28]
mov dword [eax + ecx*4], 0x61
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi + 8]
test eax, eax
je 0x4ec949
mov ecx, dword [eax]
push 0
mov dword [esp + 0x34], ecx
mov ecx, dword [edi + 0x4c]
push 0
push eax
add ecx, edx
push ebp
mov dword [esp + 0xa0], ecx
call fcn.004c0820
mov ebx, eax
add esp, 0x10
mov eax, dword [ebp + 0x2c]
inc eax
mov dword [ebp + 0x2c], eax
mov edx, dword [esi + 0x6c]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x40], eax
mov dword [esp + 0x34], edx
cmp dword [esi + 0x70], edx
jg 0x4ec7d6
mov edx, dword [esp + 0x30]
push edx
push eax
push dword [esp + 0x98]
push 0x5a
push esi
call fcn.00486380
add esp, 0x14
mov dword [esp + 0x34], eax
jmp 0x4ec80c
lea eax, [edx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [edx + edx*4]
mov eax, dword [esi + 0x68]
mov edx, dword [esp + 0x90]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4], 0x5a
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4ec834
cmp dword [eax + 0x210], 0
jne 0x4ec846
test ebx, ebx
je 0x4ec846
add dword [ebx], 0xffffffff
jne 0x4ec846
push ebx
push dword [ebx + 0xc]
call fcn.004aecf0
add esp, 8
jmp 0x4ec846
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], ebx
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + 0x6c]
lea edx, [eax + 2]
lea ebx, [eax + 4]
cmp dword [esi + 0x70], ecx
jg 0x4ec868
push edx
push ebx
push edx
push 0xe
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ec896
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0xe
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x34], ecx
cmp dword [esi + 0x70], ecx
jg 0x4ec8bb
push 0
push 0
push dword [esp + 0x20]
push 0xa
push esi
call fcn.00486380
add esp, 0x14
mov dword [esp + 0x34], eax
jmp 0x4ec8ee
mov edx, 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], 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 + 0x30]
mov ecx, dword [esi + 0x6c]
dec edx
mov ebx, dword [edi + 0x44]
cmp dword [esi + 0x70], ecx
jg 0x4ec914
push edx
push ebx
push dword [esp + 0x98]
push 0x50
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ec949
mov ebp, dword [esp + 0x90]
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], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 8], ebx
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 0x4ec96e
mov ebx, dword [esp + 0x28]
push 0
inc ebx
push ebx
push dword [esp + 0x2c]
push 0x7f
push esi
call fcn.00486380
mov edx, dword [esp + 0x3c]
add esp, 0x14
jmp 0x4ec9a4
mov edx, 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 + 0x28]
mov dword [eax + ecx*4], 0x7f
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea ebx, [edx + 1]
mov dword [eax + ecx*4 + 8], ebx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ec9c2
push ebx
push edx
push dword [esp + 0x2c]
push 0x80
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ec9f4
mov ebp, 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], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x80
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esi + 0x6c]
mov edx, dword [edi + 0x54]
mov dword [esp + 0x90], ecx
cmp dword [esi + 0x70], ecx
jg 0x4eca1e
push ebx
push 0
push edx
push 0x34
push esi
call fcn.00486380
add esp, 0x14
mov dword [esp + 0x90], eax
jmp 0x4eca50
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x34
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
push edi
push ebp
call fcn.00503950
mov ebx, dword [esp + 0x8c]
add esp, 8
mov dword [esp + 0x58], eax
test ebx, ebx
je 0x4eca8c
push ebx
push dword [edi + 0x18]
push ebp
call fcn.004b1c60
xor eax, eax
mov ecx, 3
cmp byte [edi + 0x10], 0x59
cmove eax, ecx
push eax
push ebx
push ebp
call fcn.005024b0
add esp, 0x18
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4ecac1
push ecx
push dword [edi + 0x1c]
push ebp
call fcn.004b1c60
cmp byte [edi + 0x10], 0x59
mov ecx, 4
mov eax, 1
cmove eax, ecx
push eax
push dword [esp + 0x20]
push ebp
call fcn.005024b0
mov ecx, dword [esp + 0x28]
add esp, 0x18
cmp byte [edi + 0x10], 0x59
je 0x4ecc8b
mov al, byte [edi + 0x11]
cmp al, byte [edi + 0x12]
jne 0x4ecc8b
test ebx, ebx
je 0x4ecc8b
mov ebx, dword [esi + 0x6c]
xor edx, edx
cmp al, 0x56
sete dl
lea edx, [edx*2 + 0x37]
cmp dword [esi + 0x70], ebx
jg 0x4ecb0d
push ecx
push 0
push dword [esp + 0x8c]
push edx
push esi
call fcn.00486380
add esp, 0x14
mov ebx, eax
jmp 0x4ecb4b
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*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 + 0x84]
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
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00501930
mov ecx, dword [esi + 0x6c]
add esp, 8
cmp dword [esi + 0x70], ecx
jg 0x4ecb7a
push 0
push 0
push dword [esp + 0x94]
push 0x24
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecbb0
mov edx, dword [esp + 0x8c]
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
lea eax, [esp + 0x44]
push eax
call fcn.00503c70
mov ecx, dword [esi + 0x6c]
add esp, 4
cmp dword [esi + 0x70], ecx
jg 0x4ecbe0
push 0
push 0
push dword [esp + 0x94]
push 0x92
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecc16
mov edx, dword [esp + 0x8c]
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 + 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 0x4ecc33
push 0
push dword [esp + 0x24]
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecc66
mov edx, dword [esp + 0x20]
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 0x4ecc78
mov eax, 0x718388
jmp 0x4ecc81
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov ebx, dword [esp + 0x84]
mov dword [eax + 8], edx
cmp byte [edi + 0x11], 0x56
jne 0x4ecce5
cmp byte [edi + 0x10], 0x59
je 0x4ecce5
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4ecce5
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4eccb7
push ebx
push edx
push ebx
push 0x6b
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecce5
mov ebp, dword [esp + 0x80]
lea eax, [ecx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esi + 0x68]
mov dword [eax + ecx*4], 0x6b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], ebx
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [edi + 0x11], 0x5a
je 0x4ecd38
mov ecx, dword [esi + 0x6c]
mov edx, dword [esp + 0x64]
cmp dword [esi + 0x70], ecx
jg 0x4ecd09
push 0
push 0
push edx
push 0x24
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecd38
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]
cmp dword [esi + 0x70], ecx
jg 0x4ecd58
push 0
push 0
push dword [esp + 0x94]
push 0x24
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecd8e
mov edx, dword [esp + 0x8c]
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 + 0x74]
cmp dword [esi + 0x70], ecx
jg 0x4ecdac
push 0
push 0
push edx
push 0x24
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecddb
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 + 0x14]
test eax, eax
je 0x4ecf55
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4ecf55
mov edx, dword [ecx]
mov ecx, dword [esi + 0x6c]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4ece11
push edx
push eax
push dword [esp + 0x34]
push 0x50
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ece47
mov ebp, dword [esp + 0x2c]
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], ebp
mov ebp, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x80]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov edx, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [edx]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4ece6c
push edx
push dword [esp + 0x6c]
push dword [esp + 0x1c]
push 0x50
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecea2
mov ebx, dword [esp + 0x14]
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 + 0x68]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x84]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4ecec7
push edx
push dword [esp + 0x74]
push dword [esp + 0x1c]
push 0x50
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecefa
mov edi, dword [esp + 0x14]
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 + 0x70]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x50
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x6c]
mov edx, dword [eax]
dec edx
cmp dword [esi + 0x70], ecx
jg 0x4ecf1f
push edx
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push 0x50
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecf55
mov ebp, dword [esp + 0x14]
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], ebp
mov ebp, dword [esp + 0x78]
mov dword [eax + ecx*4 + 8], ebp
mov ebp, dword [esp + 0x80]
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 0x4ecf72
push 0
push dword [esp + 0x24]
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ecfa5
mov edx, dword [esp + 0x20]
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 0x4ecfb7
mov eax, 0x718388
jmp 0x4ecfc7
mov eax, dword [esp + 0x90]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4ecfe8
push dword [esp + 0x20]
push eax
push dword [esp + 0x34]
push dword [esp + 0x28]
push ebp
call fcn.005037b0
add esp, 0x14
mov al, byte [edi + 0x11]
cmp al, 0x56
jne 0x4ed0f8
push 0
push 0
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00502730
add esp, 0x10
cmp byte [edi + 0x12], 0x5a
je 0x4ed140
cmp byte [edi + 0x10], 0x59
lea eax, [esp + 0x44]
jne 0x4ed0d6
mov ebx, dword [ebp + 0x38]
dec ebx
push ebx
push dword [esp + 0x78]
mov dword [ebp + 0x38], ebx
push dword [esp + 0x18]
mov ebp, dword [esi + 0x6c]
push dword [esp + 0x98]
push 0x39
push eax
call fcn.00502b50
push 0
push dword [esp + 0xa0]
lea eax, [esp + 0x64]
push 2
push eax
call fcn.00502730
push 0
push 0
lea eax, [esp + 0x74]
push 1
push eax
call fcn.00502730
mov ecx, dword [esi + 0x6c]
add esp, 0x38
cmp dword [esi + 0x70], ecx
jg 0x4ed082
push 0
push ebp
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ed0b1
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], ebp
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 0x4ed0cb
push ebx
push esi
push ecx
call fcn.0049ce60
add esp, 0xc
jmp 0x4ed140
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x4ed140
push 0
push dword [esp + 0x14]
push 1
push eax
call fcn.00502730
push 0
push ebx
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.00502730
add esp, 0x20
jmp 0x4ed140
cmp byte [edi + 0x12], 0x58
jne 0x4ed195
cmp al, 0x58
jne 0x4ed16c
cmp byte [edi + 0x10], 0x59
jne 0x4ed16c
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00502730
push 0
push ebx
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.00502730
push 0
push 0
push 1
lea eax, [esp + 0x70]
push eax
call fcn.00502730
add esp, 0x30
mov ebp, dword [esp + 0x84]
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ed2d8
push edx
push esi
push ecx
call fcn.0049ce60
add esp, 0xc
jmp 0x4ed2e1
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00502730
push 0
push 0
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.00502730
push 0
push ebx
push 2
jmp 0x4ed133
xor ebx, ebx
lea eax, [esp + 0x44]
push ebx
push ebx
push 3
push eax
call fcn.00502730
add esp, 0x10
cmp byte [edi + 0x12], 0x5a
je 0x4ed140
cmp byte [edi + 0x10], 0x59
jne 0x4ed260
mov ecx, dword [esp + 0x10]
mov eax, dword [esi + 0x6c]
mov dword [esp + 0x80], eax
test ecx, ecx
je 0x4ed1ed
mov ebx, dword [ebp + 0x38]
lea eax, [esp + 0x44]
dec ebx
push ebx
push dword [esp + 0x78]
mov dword [ebp + 0x38], ebx
push ecx
push dword [esp + 0x98]
push 0x39
push eax
call fcn.00502b50
add esp, 0x18
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00502730
mov ebp, dword [esp + 0x94]
lea eax, [esp + 0x54]
push 0
push ebp
push 2
push eax
call fcn.00502730
add esp, 0x20
cmp dword [esp + 0x10], 0
je 0x4ed147
push dword [esp + 0x80]
push 0
push 9
push esi
call fcn.004d7790
mov ecx, dword [esi + 0xc]
add esp, 0x10
not ebx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4ed252
push ebx
push esi
push ecx
call fcn.0049ce60
add esp, 0xc
jmp 0x4ed147
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + ebx*4], eax
jmp 0x4ed147
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ed27a
push 1
push 0
push eax
push 0x3b
push esi
call fcn.004d77f0
add esp, 0x14
mov ebx, eax
push 0
push 0
lea eax, [esp + 0x4c]
push 1
push eax
call fcn.00502730
mov ebp, dword [esp + 0x94]
lea eax, [esp + 0x54]
push 0
push ebp
push 2
push eax
call fcn.00502730
add esp, 0x20
cmp dword [esp + 0x10], 0
je 0x4ed147
mov eax, dword [esi]
mov edx, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4ed2c6
mov eax, 0x718388
mov dword [eax + 8], edx
jmp 0x4ed147
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
mov dword [eax + ecx*4 + 8], edx
lea eax, [eax + ecx*4]
jmp 0x4ed147
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi + 0x6c]
mov dword [ecx + edx*4], eax
push dword [esp + 0x88]
call fcn.004e9c70
add esp, 4
cmp dword [edi + 8], 0
je 0x4ed370
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x3c], ebx
cmp dword [esi + 0x70], ebx
jg 0x4ed31b
push 0
push dword [esp + 0x1c]
push 0
push 0x47
push esi
call fcn.00486380
add esp, 0x14
mov dword [esp + 0x3c], eax
jmp 0x4ed34e
mov edx, dword [esp + 0x18]
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 0x4ed360
mov eax, 0x718388
jmp 0x4ed36d
mov eax, dword [esp + 0x34]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ebx, dword [esi + 0x6c]
mov dword [esp + 0x60], 0
cmp dword [esi + 0x70], ebx
jg 0x4ed397
push 0
push 0
push dword [esp + 0x2c]
push 0x24
push esi
call fcn.00486380
add esp, 0x14
mov ebx, eax
jmp 0x4ed3ca
mov edx, dword [esp + 0x24]
lea eax, [ebx + 1]
mov dword [esi + 0x6c], eax
lea ecx, [ebx + ebx*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
cmp byte [edi + 0x12], 0x58
mov al, byte [edi + 0x11]
jne 0x4ed428
cmp al, 0x58
jne 0x4ed3f9
cmp byte [edi + 0x10], 0x59
jne 0x4ed3f9
push 0
push dword [esp + 0x14]
lea eax, [esp + 0x4c]
push 3
push eax
call fcn.00502730
add esp, 0x10
mov ecx, 2
jmp 0x4ed402
mov ebp, dword [esp + 0x10]
mov ecx, 3
push 0
push ebp
lea eax, [esp + 0x4c]
push ecx
push eax
call fcn.00502730
push 0
push 0
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.00502730
add esp, 0x20
jmp 0x4ed6a3
push 0
push 0
cmp al, 0x56
lea eax, [esp + 0x4c]
push 3
push eax
jne 0x4ed5fe
call fcn.00502730
mov ebp, dword [esi + 0x6c]
lea eax, [esp + 0x54]
add esp, 0x10
cmp byte [edi + 0x10], 0x59
push 1
jne 0x4ed481
push dword [esp + 0x88]
push 2
push eax
call fcn.00502730
push 1
push 0
mov dword [esp + 0x98], eax
lea eax, [esp + 0x5c]
push 1
push eax
call fcn.00502730
mov dword [esp + 0xb0], eax
jmp 0x4ed4cb
cmp byte [edi + 0x12], 0x5a
jne 0x4ed49c
push dword [esp + 0x88]
push 1
push eax
call fcn.00502730
push 1
push 0
jmp 0x4ed4b1
push dword [esp + 0x14]
push 1
push eax
call fcn.00502730
push 1
push dword [esp + 0x98]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x5c]
push 2
push eax
call fcn.00502730
mov dword [esp + 0xa0], eax
mov ecx, dword [esi + 0x6c]
add esp, 0x20
cmp dword [esi + 0x70], ecx
jg 0x4ed4e8
push 0
push ebp
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ed517
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], ebp
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 0x4ed529
mov eax, 0x718388
jmp 0x4ed539
mov eax, dword [esp + 0x80]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
push 1
mov dword [eax + 8], edx
lea eax, [esp + 0x48]
mov ebp, dword [esi + 0x6c]
push 0
push 1
push eax
call fcn.00502730
mov ecx, dword [esi + 0x6c]
add esp, 0x10
mov edx, eax
mov dword [esp + 0x80], edx
cmp dword [esi + 0x70], ecx
jg 0x4ed57c
push 0
push ebp
push 0
push 9
push esi
call fcn.00486380
mov edx, dword [esp + 0x94]
add esp, 0x14
jmp 0x4ed5af
mov edi, dword [esp + 0x38]
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], ebp
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi]
mov ebp, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4ed5c1
mov eax, 0x718388
jmp 0x4ed5d1
mov eax, dword [esp + 0x90]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
lea eax, [eax + ecx*4]
mov dword [eax + 8], ebp
mov eax, dword [esi]
mov ebp, dword [esi + 0x6c]
cmp byte [eax + 0x57], 0
je 0x4ed5ec
mov eax, 0x718388
mov dword [eax + 8], ebp
jmp 0x4ed6a3
mov eax, dword [esi + 0x68]
lea ecx, [edx + edx*4]
mov dword [eax + ecx*4 + 8], ebp
lea eax, [eax + ecx*4]
jmp 0x4ed6a3
call fcn.00502730
mov ebp, dword [esi + 0x6c]
lea eax, [esp + 0x54]
push 1
push 0
push 1
push eax
call fcn.00502730
push 0
push dword [esp + 0xa8]
mov dword [esp + 0xa8], eax
lea eax, [esp + 0x6c]
push 2
push eax
call fcn.00502730
mov ecx, dword [esi + 0x6c]
add esp, 0x30
cmp dword [esi + 0x70], ecx
jg 0x4ed64f
push 0
push ebp
push 0
push 9
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ed67e
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], ebp
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 0x4ed690
mov eax, 0x718388
jmp 0x4ed6a0
mov eax, dword [esp + 0x80]
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 0x4ed6b5
mov eax, 0x718388
jmp 0x4ed6be
mov eax, dword [esi + 0x68]
lea ecx, [ebx + ebx*4]
lea eax, [eax + ecx*4]
mov dword [eax + 8], edx
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ed6e4
push 0
push 0
push dword [esp + 0x94]
push 0x92
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ed71a
mov edx, dword [esp + 0x8c]
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 + 4], edx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [edi + 8], 0
je 0x4ed83c
mov edx, dword [edi + 0x58]
test edx, edx
je 0x4ed7c4
mov ecx, dword [esi + 0x6c]
cmp dword [esi + 0x70], ecx
jg 0x4ed749
push 0
push edx
push 1
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ed778
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 edx, dword [edi + 0x5c]
cmp dword [esi + 0x70], ecx
jg 0x4ed795
push 0
push edx
push 0
push 0x47
push esi
call fcn.00486380
add esp, 0x14
jmp 0x4ed7c4
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], 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 0x4ed7d6
mov eax, 0x718388
jmp 0x4ed7e3
mov eax, dword [esp + 0x3c]
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 0x4ed809
push 0
push 0
push dword [esp + 0x20]
push 0x43
push esi
call fcn.00486380
add esp, 0x14
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov edx, 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], 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 ebp
pop ebx
add esp, 0x6c
ret