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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x8c
push ebx
mov ebx, ecx
mov dword [esp + 0x1c], edx
push esi
push edi
mov dword [esp + 0x34], ebx
mov esi, dword [ebx + 0xc]
mov ecx, esi
mov edi, dword [ebx]
mov dword [esp + 0x54], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], esi
call fcn.004ba6b0
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.004ba6b0
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x74], eax
mov al, byte [ecx + 4]
mov byte [esp + 0x1b], al
cmp byte [esp + 0x1b], 0x70
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x50], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x20], eax
mov edx, dword [eax]
mov dword [esp + 0x48], edx
je 0x4e5bbd
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x1e], 0
jne 0x4e5bbb
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x4e5bb5
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4e5b28
mov ebx, dword [esp + 0x48]
lea edx, [eax + 0xe]
movzx eax, word [edx]
cmp eax, edi
je 0x4e5b20
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4e5b11
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4e5b95
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x5c]
push 0
push eax
mov edx, 0x81
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.004c6a40
add esp, 8
test eax, eax
je 0x4e5ba9
mov edx, dword [esp + 0x20]
mov ecx, 0x800
or word [eax + 2], cx
mov ecx, ebx
push eax
mov dword [eax + 4], edi
call fcn.004c7c60
mov edx, dword [esp + 0x4c]
mov ecx, eax
mov dword [esp + 0x24], ecx
inc edx
add esp, 4
mov dword [esp + 0x48], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x30]
mov word [eax + ecx + 0xe], di
add ecx, 0x14
mov dword [esp + 0x30], ecx
mov eax, dword [esp + 0x38]
inc edi
cmp byte [eax + 0x1e], 0
jne 0x4e5bbb
mov ecx, dword [esp + 0x24]
jmp 0x4e5af3
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x38]
jmp 0x4e5bbd
mov edi, eax
lea ecx, [edx*4]
test edi, edi
je 0x4e5c61
cmp byte [edi + 0x1e], 0
je 0x4e5c1a
mov dword [esp + 0x6c], 0
mov dword [esp + 0x64], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, eax
push 0
mov dword [ecx + 0x18], eax
mov ecx, dword [ebx]
call fcn.004c7510
mov ecx, dword [esp + 0x54]
add esp, 4
cmp byte [esp + 0x1b], 0x70
mov dword [ecx + 0x18], eax
jne 0x4e5e3e
mov dword [esp + 0x4c], 0
jmp 0x4e6087
cmp byte [edi + 0xe2], 0
je 0x4e5c61
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4e5c61
mov eax, dword [edi + 0xec]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4e5c61
mov eax, dword [eax]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4e5c86
mov dword [edi + 0xe8], eax
jmp 0x4e5c86
push ecx
call fcn.004a9610
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x4e5c82
test edi, edi
je 0x4e5c7a
mov byte [edi + 0x1e], 1
test eax, eax
je 0x4e5bda
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4e5cb7
mov esi, dword [esp + 0x6c]
lea ebx, [eax + 0xe]
nop word [eax + eax]
movzx eax, word [ebx]
lea ebx, [ebx + 0x14]
dec eax
mov dword [esi + ecx*4], eax
inc ecx
cmp ecx, edx
jl 0x4e5ca0
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + 4]
lea ecx, [edx + ecx*4]
test edi, edi
je 0x4e5d14
cmp byte [edi + 0x1e], 0
jne 0x4e5bda
cmp byte [edi + 0xe2], 0
je 0x4e5d14
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4e5d14
mov eax, dword [edi + 0xec]
mov dword [esp + 0x64], eax
test eax, eax
je 0x4e5d14
mov ecx, eax
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4e5d3b
mov dword [edi + 0xe8], eax
jmp 0x4e5d3b
push ecx
call fcn.004a9610
mov ecx, eax
add esp, 4
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4e5d37
test edi, edi
je 0x4e5d2f
mov byte [edi + 0x1e], 1
test ecx, ecx
je 0x4e5be2
mov edx, dword [esp + 0x48]
lea eax, [edx + 3]
mov word [ecx + 6], dx
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
xor ecx, ecx
mov dword [esp + 0x10], ecx
test edx, edx
jle 0x4e5be2
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x20]
add eax, 0xc
mov esi, dword [esp + 0x24]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], eax
nop dword [eax]
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0xc]
mov eax, dword [ebx + eax]
mov ebx, 0x100
mov dword [esp + 0x30], eax
test word [eax + 2], bx
mov ebx, dword [esp + 0x34]
je 0x4e5da2
mov eax, dword [eax + 0x14]
jmp 0x4e5df5
mov eax, dword [esp + 0x6c]
mov edx, dword [esi + 0x1c]
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x4e5dc9
push ecx
mov ecx, ebx
call fcn.004e39a0
add esp, 4
test eax, eax
jne 0x4e5de1
mov ecx, dword [esp + 0x14]
jmp 0x4e5dcb
xor eax, eax
mov edx, dword [esi]
cmp ecx, dword [edx]
jge 0x4e5de1
mov edx, dword [edx + 0xc]
lea eax, [ecx + ecx*4]
mov ecx, ebx
mov edx, dword [edx + eax*4]
call fcn.004c65f0
mov ecx, dword [esp + 0x30]
mov edx, 0x100
or word [ecx + 2], dx
mov edx, dword [esp + 0x48]
mov dword [ecx + 0x14], eax
mov ecx, dword [esp + 0x40]
mov ebx, dword [esp + 0x1c]
add dword [esp + 0x40], 4
add dword [esp + 0x1c], 0x14
mov dword [ecx], eax
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x64]
mov al, byte [ebx + eax + 0xc]
mov ebx, dword [esp + 0x10]
mov ecx, dword [ecx + 8]
mov byte [ebx + ecx], al
mov ecx, ebx
mov ebx, dword [esp + 0x34]
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, edx
jl 0x4e5d80
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4e5be2
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x40], eax
lea ecx, [eax + 1]
mov eax, dword [ebx + 0x3c]
mov dword [esp + 0x4c], eax
mov eax, dword [ebx + 0x38]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x30], eax
cmp ecx, eax
jg 0x4e5eb4
xor edx, edx
lea ecx, [ebx + 0x70]
nop dword [eax + eax]
mov edi, dword [esp + 0x4c]
cmp dword [ecx], edi
mov edi, dword [esp + 0x38]
jl 0x4e5e8f
mov esi, dword [esp + 0x4c]
dec esi
add eax, esi
mov esi, dword [esp + 0x3c]
cmp dword [ecx], eax
jle 0x4e5eb0
mov eax, dword [esp + 0x30]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x4e5e70
mov eax, dword [esp + 0x4c]
add eax, dword [esp + 0x28]
mov dword [ebx + 0x3c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov dword [ebx + 0x38], eax
jmp 0x4e5ec3
mov ecx, dword [esp + 0x28]
mov eax, dword [ebx + 0x48]
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x4c], edx
mov dword [ebx + 0x48], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e5ee3
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e5f1c
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x4c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov eax, dword [esp + 0x40]
lea edx, [eax + 4]
lea edx, [eax + edx*4]
mov dword [esp + 0x14], edx
test edi, edi
je 0x4e5f8c
cmp byte [edi + 0x1e], 0
je 0x4e5f41
mov dword [esp + 0x2c], 0
jmp 0x4e6083
cmp byte [edi + 0xe2], 0
je 0x4e5f8c
movzx eax, word [edi + 0xe0]
cmp edx, eax
jg 0x4e5f8c
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4e5f8c
mov eax, dword [ecx]
mov dword [edi + 0xec], eax
mov eax, dword [edi + 0xe4]
inc eax
mov dword [edi + 0xe4], eax
cmp eax, dword [edi + 0xe8]
jle 0x4e5f86
mov dword [edi + 0xe8], eax
mov dword [esp + 0x2c], ecx
jmp 0x4e5fb7
push edx
call fcn.004a9610
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4e5fa5
test edi, edi
je 0x4e5fa5
mov byte [edi + 0x1e], 1
mov dword [esp + 0x1c], eax
mov ecx, eax
test eax, eax
je 0x4e607f
mov edx, dword [esp + 0x14]
push edx
push 0
push ecx
call fcn.004fd0d0
mov edx, dword [esp + 0x4c]
add esp, 0xc
mov ecx, dword [esp + 0x1c]
lea eax, [edx + 3]
mov word [ecx + 6], dx
lea eax, [ecx + eax*4]
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [ecx + 4], al
test edx, edx
jle 0x4e6083
mov eax, dword [esp + 0x2c]
lea edx, [ecx + 0xc]
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esp + 0x10], 0
mov dword [esp + 0x20], edx
mov dword [esp + 0x2c], eax
nop dword [eax]
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4e6032
push edi
mov edx, eax
mov ecx, ebx
call fcn.004e39a0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4e6059
jmp 0x4e6034
xor eax, eax
mov ebx, dword [esi]
cmp edi, dword [ebx]
mov ebx, dword [esp + 0x34]
jge 0x4e6059
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax]
call fcn.004c65f0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
add dword [esp + 0x10], 0x14
mov dword [edx], eax
add edx, 4
mov eax, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov byte [edi + eax], 0
inc edi
cmp edi, dword [esp + 0x40]
jl 0x4e6010
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4e6083
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov edx, eax
push str.ORDER
mov dword [eax + 0x1c], 0
mov dword [ecx + 0x24], 0
mov ecx, ebx
push dword [eax + 0x18]
call fcn.004c5eb0
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x4e60cb
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.004c5eb0
add esp, 8
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x30], 0
jne 0x4e6495
mov ecx, ebx
call fcn.004c9be0
cmp dword [edx + 0x28], 0
je 0x4e6495
mov eax, dword [ebx + 0x48]
inc eax
mov dword [ebx + 0x48], eax
mov dword [edx + 0x30], eax
mov edi, dword [ebx + 0xc]
mov dword [esp + 0x20], eax
test edi, edi
jne 0x4e611b
mov ecx, dword [ebx]
call fcn.004ba490
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], edi
test edi, edi
je 0x4e6485
mov edx, dword [edx + 0x28]
mov ecx, ebx
push eax
call fcn.004cbf30
mov ecx, dword [edi + 0xc]
add esp, 4
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4e614d
mov ecx, edi
call fcn.004ba550
test eax, eax
jne 0x4e6299
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
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, [edi + 0x6e]
mov byte [eax], 0
mov ecx, dword [edi + 0xc]
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4e61a7
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.004ba550
test eax, eax
jne 0x4e61e5
mov ecx, dword [esp + 0x14]
mov eax, dword [edi + 0x14]
lea ecx, [ecx + ecx*4]
inc dword [edi + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x72
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x6e]
mov dword [esp + 0x10], eax
mov byte [eax], 0
mov eax, dword [esp + 0x24]
cmp dword [eax + 0x2c], 0
je 0x4e648f
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [eax + 0x34], ecx
inc dword [ebx + 0x48]
mov edx, dword [eax + 0x2c]
mov dword [esp + 0x1c], ecx
push ecx
mov ecx, ebx
call fcn.004cbf30
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4e6238
mov ecx, edi
call fcn.004ba550
test eax, eax
jne 0x4e6276
mov edx, dword [edi + 0xc]
lea eax, [edi + 0x6e]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x10], eax
lea eax, [edx + 1]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
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 + 0x10]
mov byte [eax], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x10], edx
jg 0x4e62a8
mov ecx, edi
call fcn.004ba550
test eax, eax
je 0x4e62a1
mov dword [esp + 0x10], 1
jmp 0x4e62e1
lea eax, [edi + 0x6e]
jmp 0x4e6188
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x1c]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
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 byte [edi + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4e6301
mov ecx, edi
call fcn.004ba550
test eax, eax
jne 0x4e633a
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x4e634f
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4e636f
mov ecx, edi
call fcn.004ba550
test eax, eax
jne 0x4e63cc
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + ecx*4 + 8], edx
inc edx
mov word [eax + ecx*4], 0x56
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov dword [esp + 0x30], edx
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x10], edx
cmp dword [edi + 0x10], edx
jg 0x4e63de
mov ecx, edi
call fcn.004ba550
test eax, eax
je 0x4e63d7
mov dword [esp + 0x10], 1
jmp 0x4e6417
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x30], eax
jmp 0x4e63a9
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x10]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x20]
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
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 byte [edi + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4e6437
mov ecx, edi
call fcn.004ba550
test eax, eax
jne 0x4e6470
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0xffffffff
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, dword [esp + 0x10]
cmp edx, eax
jle 0x4e6485
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
jmp 0x4e6497
mov edi, dword [esp + 0x38]
jmp 0x4e6497
mov eax, edx
cmp dword [eax + 0x30], 0
je 0x4e658f
cmp byte [esp + 0x1b], 0x70
jne 0x4e658f
mov eax, dword [ebx + 0x48]
inc eax
mov dword [esp + 0x1c], eax
inc eax
mov dword [ebx + 0x48], eax
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x34]
test ecx, ecx
je 0x4e64d0
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x4e64d7
mov eax, dword [eax + 0x30]
mov dword [esp + 0x30], eax
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e64f7
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6530
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6550
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6589
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0xe
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x24]
jmp 0x4e659f
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4e65cc
mov edx, ecx
mov ecx, edi
call fcn.004c7010
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4e65c8
push eax
push edi
call fcn.004a9700
add esp, 8
mov eax, dword [esp + 0x24]
mov dword [eax + 0x28], 0
mov eax, dword [eax + 0x2c]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4e65fc
mov edx, eax
mov ecx, edi
call fcn.004c7010
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4e65fc
push eax
push edi
call fcn.004a9700
add esp, 8
mov edi, dword [esp + 0x24]
mov word [esp + 0x88], 0xa
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0
mov dword [edi + 0x2c], 0
inc dword [ebx + 0x48]
mov ecx, dword [ebx + 0x48]
mov dword [esp + 0x8c], ecx
mov word [esp + 0x78], 0xa
mov dword [esp + 0x80], 0
lea eax, [ecx + 1]
mov dword [esp + 0x84], 0
lea edx, [eax + 1]
mov dword [esp + 0x44], ecx
lea eax, [edx + 1]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x58], eax
inc eax
inc eax
mov dword [esp + 0x40], edx
mov dword [ebx + 0x48], eax
mov edi, dword [esi + 0xc]
mov ecx, edi
mov dword [esp + 0x30], eax
mov dword [esp + 0x14], edi
cmp dword [esi + 0x10], edi
jg 0x4e6699
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e6696
mov dword [esp + 0x14], 1
jmp 0x4e66d6
mov ecx, dword [esi + 0xc]
lea eax, [ecx + 1]
mov dword [esi + 0xc], eax
lea edx, [esi + 0x14]
mov eax, dword [edx]
lea ecx, [edi + edi*4]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esp + 0x50]
mov edx, ecx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x1c]
mov dword [ecx + 0x30], eax
lea eax, [esp + 0x88]
push eax
mov ecx, ebx
call fcn.004e9080
mov edi, dword [esi + 0xc]
add esp, 4
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4e6714
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6752
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x44]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
lea edx, [ebx + 1]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
jmp 0x4e6756
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4e676e
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e67a3
mov eax, dword [esi + 0xc]
inc eax
lea ecx, [edi + edi*4]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x24]
mov edx, eax
mov ebx, dword [eax + 0x30]
mov edi, dword [eax + 0x34]
mov dword [eax + 0x30], ecx
lea ecx, [esp + 0x78]
push ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 0x34], 0
call fcn.004e9080
mov eax, dword [esp + 0x28]
add esp, 4
mov dword [eax + 0x30], ebx
mov dword [eax + 0x34], edi
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4e67f7
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6832
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x58]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 1
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
jmp 0x4e6836
mov ebx, dword [esp + 0x58]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4e684e
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6887
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
push dword [esp + 0x68]
mov edi, dword [esp + 0x28]
lea eax, [ebx + 1]
mov ebx, dword [esp + 0x38]
mov edx, edi
push 0xfffffffffffffff0
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x58]
push eax
push dword [ebp + 8]
lea eax, [esp + 0xa0]
push eax
call fcn.004e5160
mov dword [esp + 0x44], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x70
je 0x4e68c8
cmp al, 0x6f
jne 0x4e68f6
push dword [esp + 0x68]
lea eax, [esp + 0x7c]
mov edx, edi
push 0xffffffffffffffef
push dword [esp + 0x34]
mov ecx, ebx
push dword [esp + 0x58]
push dword [esp + 0x40]
push dword [ebp + 8]
push eax
call fcn.004e5160
mov dword [esp + 0x70], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x71
je 0x4e6aa7
cmp al, 0x72
je 0x4e6aa7
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x10], edx
jg 0x4e6933
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e692c
mov dword [esp + 0x2c], 1
lea edi, [esi + 0x14]
jmp 0x4e696e
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x2c]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x58]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e698e
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e69c6
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e69e6
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6a1e
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6a3e
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6a76
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x1c], edx
cmp dword [esi + 0x10], edx
jg 0x4e6b26
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e6b1f
mov dword [esp + 0x1c], 1
lea edi, [esi + 0x14]
jmp 0x4e6b62
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x4e6ace
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e6acb
mov edi, 1
mov dword [esp + 0x2c], edi
jmp 0x4e6b07
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x68]
lea ecx, [edi + edi*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
cmp byte [esp + 0x1b], 0x72
jne 0x4e6a76
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
jmp 0x4e6c6f
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x1c]
lea ecx, [edx + edx*4]
inc eax
mov edx, dword [esp + 0x44]
lea edi, [esi + 0x14]
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x68]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6b82
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6bbf
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6bdf
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6c17
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x10], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6c37
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6c6f
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x3c], edx
cmp dword [esi + 0x10], edx
jg 0x4e6c9c
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e6c95
mov dword [esp + 0x3c], 1
lea edi, [esi + 0x14]
jmp 0x4e6cdc
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x58]
lea edi, [esi + 0x14]
inc eax
inc edx
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x28]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6cfc
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6d34
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6d54
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6d91
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6db1
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6de9
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov al, byte [esp + 0x1b]
cmp al, 0x70
jne 0x4e6e09
mov ecx, dword [esi + 0xc]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x10], ecx
jmp 0x4e6f53
cmp al, 0x72
jne 0x4e6e26
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], edx
inc edx
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
jmp 0x4e6fa4
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [esi + 0x10], edx
jg 0x4e6e50
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e6e49
mov dword [esp + 0x20], 1
jmp 0x4e6e88
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x20]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x44]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6ea8
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6ee5
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x28], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6f09
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e7313
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
cmp byte [esp + 0x1b], 0x6f
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x28], ecx
jne 0x4e6fa4
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6f6c
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6fa4
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e6fc4
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e6ffc
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 4
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e701c
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e7054
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e7074
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e70ac
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x74]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 1
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x14]
cmp edx, eax
jle 0x4e70c0
lea ecx, [eax + eax*4]
mov eax, dword [edi]
mov dword [eax + ecx*4 + 8], edx
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e70e0
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e711d
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e713d
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e7175
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 7
mov byte [eax + ecx*4 + 3], 0
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 byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e7195
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e71cd
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x70]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x70], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e71ed
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e7225
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x5c]
mov word [eax + ecx*4], 2
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e7245
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e7282
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x34]
inc eax
mov dword [esi + 0xc], eax
inc edx
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x2c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0xc]
mov eax, ecx
mov dword [esp + 0x5c], ecx
cmp dword [esi + 0x10], ecx
jg 0x4e72a2
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e72da
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x1c]
mov word [eax + ecx*4], 0x1a
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e72f3
mov eax, dword [esp + 0x74]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x10], edx
jg 0x4e732f
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e7328
mov edx, 1
jmp 0x4e7367
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4e6f41
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov word [eax + ecx*4], 0x17
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff1
push dword [esp + 0x70]
mov ecx, esi
call fcn.004babb0
mov eax, dword [esp + 0x88]
add esp, 8
mov edx, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0x70], eax
mov eax, edx
mov dword [esp + 0x5c], edx
cmp dword [esi + 0x10], edx
jg 0x4e73b8
mov ecx, esi
call fcn.004ba550
test eax, eax
je 0x4e73b1
mov edi, dword [esp + 0x48]
mov edx, 1
jmp 0x4e73f0
mov eax, dword [esi + 0xc]
mov edx, dword [esp + 0x5c]
inc eax
lea ecx, [edx + edx*4]
mov dword [esi + 0xc], eax
mov eax, dword [edi]
mov edi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x48]
mov word [eax + ecx*4], 0x18
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edi
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
push 0xfffffffffffffff0
push dword [esp + 0x68]
mov ecx, esi
call fcn.004babb0
mov eax, dword [esi + 0xc]
add esp, 8
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], eax
jg 0x4e741b
mov ecx, esi
call fcn.004ba550
test eax, eax
jne 0x4e7453
mov eax, dword [esp + 0x5c]
inc dword [esi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x3c]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x20]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x10]
mov word [eax + ecx*4], 0x19
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov byte [esi + 0x6e], 0
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4e7467
inc edi
cmp edi, dword [ebx + 0x38]
jle 0x4e7467
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4e7480
mov eax, dword [esp + 0x68]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [esi + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp byte [eax], 5
jne 0x4e74ac
mov eax, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4e749e
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4e7495
push dword [ecx]
xor edx, edx
mov ecx, ebx
call fcn.004e2890
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x4e74ce
mov ebx, dword [esp + 0x38]
mov edx, edi
mov ecx, ebx
call fcn.004e0960
push edi
push ebx
call fcn.004a9700
add esp, 8
mov eax, dword [esp + 0x50]
pop edi
mov dword [esi + 0x1c], eax
xor eax, eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret