Function at 0x4c6970
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.0049b6c0
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.0049b6c0
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 0x4c6acd
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x1e], 0
jne 0x4c6acb
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x4c6ac5
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4c6a38
mov ebx, dword [esp + 0x48]
lea edx, [eax + 0xe]
movzx eax, word [edx]
cmp eax, edi
je 0x4c6a30
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4c6a21
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4c6aa5
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.004a7950
add esp, 8
test eax, eax
je 0x4c6ab9
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.004a8b70
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 0x4c6acb
mov ecx, dword [esp + 0x24]
jmp 0x4c6a03
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x38]
jmp 0x4c6acd
mov edi, eax
lea ecx, [edx*4]
test edi, edi
je 0x4c6b71
cmp byte [edi + 0x1e], 0
je 0x4c6b2a
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.004a8420
mov ecx, dword [esp + 0x54]
add esp, 4
cmp byte [esp + 0x1b], 0x70
mov dword [ecx + 0x18], eax
jne 0x4c6d4e
mov dword [esp + 0x4c], 0
jmp 0x4c6f97
cmp byte [edi + 0xe2], 0
je 0x4c6b71
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4c6b71
mov eax, dword [edi + 0xec]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4c6b71
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 0x4c6b96
mov dword [edi + 0xe8], eax
jmp 0x4c6b96
push ecx
call fcn.0048a660
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x4c6b92
test edi, edi
je 0x4c6b8a
mov byte [edi + 0x1e], 1
test eax, eax
je 0x4c6aea
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4c6bc7
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 0x4c6bb0
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + 4]
lea ecx, [edx + ecx*4]
test edi, edi
je 0x4c6c24
cmp byte [edi + 0x1e], 0
jne 0x4c6aea
cmp byte [edi + 0xe2], 0
je 0x4c6c24
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4c6c24
mov eax, dword [edi + 0xec]
mov dword [esp + 0x64], eax
test eax, eax
je 0x4c6c24
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 0x4c6c4b
mov dword [edi + 0xe8], eax
jmp 0x4c6c4b
push ecx
call fcn.0048a660
mov ecx, eax
add esp, 4
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4c6c47
test edi, edi
je 0x4c6c3f
mov byte [edi + 0x1e], 1
test ecx, ecx
je 0x4c6af2
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 0x4c6af2
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 0x4c6cb2
mov eax, dword [eax + 0x14]
jmp 0x4c6d05
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 0x4c6cd9
push ecx
mov ecx, ebx
call fcn.004c48b0
add esp, 4
test eax, eax
jne 0x4c6cf1
mov ecx, dword [esp + 0x14]
jmp 0x4c6cdb
xor eax, eax
mov edx, dword [esi]
cmp ecx, dword [edx]
jge 0x4c6cf1
mov edx, dword [edx + 0xc]
lea eax, [ecx + ecx*4]
mov ecx, ebx
mov edx, dword [edx + eax*4]
call fcn.004a7500
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 0x4c6c90
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4c6af2
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 0x4c6dc4
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 0x4c6d9f
mov esi, dword [esp + 0x4c]
dec esi
add eax, esi
mov esi, dword [esp + 0x3c]
cmp dword [ecx], eax
jle 0x4c6dc0
mov eax, dword [esp + 0x30]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x4c6d80
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 0x4c6dd3
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 0x4c6df3
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c6e2c
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 0x4c6e9c
cmp byte [edi + 0x1e], 0
je 0x4c6e51
mov dword [esp + 0x2c], 0
jmp 0x4c6f93
cmp byte [edi + 0xe2], 0
je 0x4c6e9c
movzx eax, word [edi + 0xe0]
cmp edx, eax
jg 0x4c6e9c
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4c6e9c
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 0x4c6e96
mov dword [edi + 0xe8], eax
mov dword [esp + 0x2c], ecx
jmp 0x4c6ec7
push edx
call fcn.0048a660
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4c6eb5
test edi, edi
je 0x4c6eb5
mov byte [edi + 0x1e], 1
mov dword [esp + 0x1c], eax
mov ecx, eax
test eax, eax
je 0x4c6f8f
mov edx, dword [esp + 0x14]
push edx
push 0
push ecx
call fcn.004ddfe0
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 0x4c6f93
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 0x4c6f42
push edi
mov edx, eax
mov ecx, ebx
call fcn.004c48b0
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4c6f69
jmp 0x4c6f44
xor eax, eax
mov ebx, dword [esi]
cmp edi, dword [ebx]
mov ebx, dword [esp + 0x34]
jge 0x4c6f69
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax]
call fcn.004a7500
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 0x4c6f20
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4c6f93
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x24]
mov edx, eax
push 0x521eb4
mov dword [eax + 0x1c], 0
mov dword [ecx + 0x24], 0
mov ecx, ebx
push dword [eax + 0x18]
call fcn.004a6dc0
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x4c6fdb
push 0x521eb4
push dword [eax + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.004a6dc0
add esp, 8
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x30], 0
jne 0x4c73a5
mov ecx, ebx
call fcn.004aab00
cmp dword [edx + 0x28], 0
je 0x4c73a5
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 0x4c702b
mov ecx, dword [ebx]
call fcn.0049b4a0
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], edi
test edi, edi
je 0x4c7395
mov edx, dword [edx + 0x28]
mov ecx, ebx
push eax
call fcn.004ace50
mov ecx, dword [edi + 0xc]
add esp, 4
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c705d
mov ecx, edi
call fcn.0049b560
test eax, eax
jne 0x4c71a9
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 0x4c70b7
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.0049b560
test eax, eax
jne 0x4c70f5
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 0x4c739f
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.004ace50
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c7148
mov ecx, edi
call fcn.0049b560
test eax, eax
jne 0x4c7186
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 0x4c71b8
mov ecx, edi
call fcn.0049b560
test eax, eax
je 0x4c71b1
mov dword [esp + 0x10], 1
jmp 0x4c71f1
lea eax, [edi + 0x6e]
jmp 0x4c7098
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 0x4c7211
mov ecx, edi
call fcn.0049b560
test eax, eax
jne 0x4c724a
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 0x4c725f
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 0x4c727f
mov ecx, edi
call fcn.0049b560
test eax, eax
jne 0x4c72dc
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 0x4c72ee
mov ecx, edi
call fcn.0049b560
test eax, eax
je 0x4c72e7
mov dword [esp + 0x10], 1
jmp 0x4c7327
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x30], eax
jmp 0x4c72b9
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 0x4c7347
mov ecx, edi
call fcn.0049b560
test eax, eax
jne 0x4c7380
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 0x4c7395
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 0x4c73a7
mov edi, dword [esp + 0x38]
jmp 0x4c73a7
mov eax, edx
cmp dword [eax + 0x30], 0
je 0x4c749f
cmp byte [esp + 0x1b], 0x70
jne 0x4c749f
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 0x4c73e0
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x4c73e7
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 0x4c7407
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7440
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 0x4c7460
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7499
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 0x4c74af
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4c74dc
mov edx, ecx
mov ecx, edi
call fcn.004a7f20
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4c74d8
push eax
push edi
call fcn.0048a750
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 0x4c750c
mov edx, eax
mov ecx, edi
call fcn.004a7f20
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4c750c
push eax
push edi
call fcn.0048a750
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 0x4c75a9
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c75a6
mov dword [esp + 0x14], 1
jmp 0x4c75e6
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.004c9f90
mov edi, dword [esi + 0xc]
add esp, 4
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c7624
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7662
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 0x4c7666
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c767e
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c76b3
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.004c9f90
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 0x4c7707
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7742
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 0x4c7746
mov ebx, dword [esp + 0x58]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c775e
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7797
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.004c6070
mov dword [esp + 0x44], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x70
je 0x4c77d8
cmp al, 0x6f
jne 0x4c7806
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.004c6070
mov dword [esp + 0x70], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x71
je 0x4c79b7
cmp al, 0x72
je 0x4c79b7
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x10], edx
jg 0x4c7843
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c783c
mov dword [esp + 0x2c], 1
lea edi, [esi + 0x14]
jmp 0x4c787e
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 0x4c789e
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c78d6
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 0x4c78f6
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c792e
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 0x4c794e
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7986
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 0x4c7a36
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c7a2f
mov dword [esp + 0x1c], 1
lea edi, [esi + 0x14]
jmp 0x4c7a72
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x4c79de
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c79db
mov edi, 1
mov dword [esp + 0x2c], edi
jmp 0x4c7a17
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 0x4c7986
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
jmp 0x4c7b7f
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 0x4c7a92
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7acf
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 0x4c7aef
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7b27
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 0x4c7b47
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7b7f
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 0x4c7bac
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c7ba5
mov dword [esp + 0x3c], 1
lea edi, [esi + 0x14]
jmp 0x4c7bec
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 0x4c7c0c
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7c44
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 0x4c7c64
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7ca1
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 0x4c7cc1
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7cf9
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 0x4c7d19
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 0x4c7e63
cmp al, 0x72
jne 0x4c7d36
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 0x4c7eb4
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [esi + 0x10], edx
jg 0x4c7d60
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c7d59
mov dword [esp + 0x20], 1
jmp 0x4c7d98
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 0x4c7db8
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7df5
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 0x4c7e19
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c8223
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 0x4c7eb4
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4c7e7c
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7eb4
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 0x4c7ed4
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7f0c
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 0x4c7f2c
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7f64
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 0x4c7f84
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c7fbc
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 0x4c7fd0
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 0x4c7ff0
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c802d
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 0x4c804d
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c8085
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 0x4c80a5
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c80dd
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 0x4c80fd
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c8135
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 0x4c8155
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c8192
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 0x4c81b2
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c81ea
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 0x4c8203
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 0x4c823f
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c8238
mov edx, 1
jmp 0x4c8277
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4c7e51
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.0049bbc0
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 0x4c82c8
mov ecx, esi
call fcn.0049b560
test eax, eax
je 0x4c82c1
mov edi, dword [esp + 0x48]
mov edx, 1
jmp 0x4c8300
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.0049bbc0
mov eax, dword [esi + 0xc]
add esp, 8
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], eax
jg 0x4c832b
mov ecx, esi
call fcn.0049b560
test eax, eax
jne 0x4c8363
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 0x4c8377
inc edi
cmp edi, dword [ebx + 0x38]
jle 0x4c8377
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4c8390
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 0x4c83bc
mov eax, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4c83ae
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c83a5
push dword [ecx]
xor edx, edx
mov ecx, ebx
call fcn.004c37a0
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x4c83de
mov ebx, dword [esp + 0x38]
mov edx, edi
mov ecx, ebx
call fcn.004c1870
push edi
push ebx
call fcn.0048a750
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