Function at 0x4c67f0
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.0049b540
mov ecx, esi
mov dword [esp + 0x68], eax
call fcn.0049b540
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 0x4c694d
mov eax, dword [esp + 0x38]
mov edi, 1
cmp byte [eax + 0x1e], 0
jne 0x4c694b
lea eax, [edx + edx*4]
shl eax, 2
mov dword [esp + 0x30], eax
mov eax, dword [ecx]
cmp edi, dword [eax]
jg 0x4c6945
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4c68b8
mov ebx, dword [esp + 0x48]
lea edx, [eax + 0xe]
movzx eax, word [edx]
cmp eax, edi
je 0x4c68b0
inc ecx
add edx, 0x14
cmp ecx, ebx
jl 0x4c68a1
mov ebx, dword [esp + 0x34]
mov edx, dword [esp + 0x48]
cmp ecx, edx
jne 0x4c6925
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.004a77e0
add esp, 8
test eax, eax
je 0x4c6939
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.004a8a00
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 0x4c694b
mov ecx, dword [esp + 0x24]
jmp 0x4c6883
mov eax, 7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [esp + 0x38]
jmp 0x4c694d
mov edi, eax
lea ecx, [edx*4]
test edi, edi
je 0x4c69f1
cmp byte [edi + 0x1e], 0
je 0x4c69aa
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.004a82b0
mov ecx, dword [esp + 0x54]
add esp, 4
cmp byte [esp + 0x1b], 0x70
mov dword [ecx + 0x18], eax
jne 0x4c6bce
mov dword [esp + 0x4c], 0
jmp 0x4c6e17
cmp byte [edi + 0xe2], 0
je 0x4c69f1
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4c69f1
mov eax, dword [edi + 0xec]
mov dword [esp + 0x6c], eax
test eax, eax
je 0x4c69f1
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 0x4c6a16
mov dword [edi + 0xe8], eax
jmp 0x4c6a16
push ecx
call fcn.0048a4e0
add esp, 4
mov dword [esp + 0x6c], eax
test eax, eax
jne 0x4c6a12
test edi, edi
je 0x4c6a0a
mov byte [edi + 0x1e], 1
test eax, eax
je 0x4c696a
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov eax, dword [eax + 0xc]
test edx, edx
jle 0x4c6a47
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 0x4c6a30
mov esi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
lea ecx, [edx + 4]
lea ecx, [edx + ecx*4]
test edi, edi
je 0x4c6aa4
cmp byte [edi + 0x1e], 0
jne 0x4c696a
cmp byte [edi + 0xe2], 0
je 0x4c6aa4
movzx eax, word [edi + 0xe0]
cmp ecx, eax
jg 0x4c6aa4
mov eax, dword [edi + 0xec]
mov dword [esp + 0x64], eax
test eax, eax
je 0x4c6aa4
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 0x4c6acb
mov dword [edi + 0xe8], eax
jmp 0x4c6acb
push ecx
call fcn.0048a4e0
mov ecx, eax
add esp, 4
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4c6ac7
test edi, edi
je 0x4c6abf
mov byte [edi + 0x1e], 1
test ecx, ecx
je 0x4c6972
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 0x4c6972
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 0x4c6b32
mov eax, dword [eax + 0x14]
jmp 0x4c6b85
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 0x4c6b59
push ecx
mov ecx, ebx
call fcn.004c4730
add esp, 4
test eax, eax
jne 0x4c6b71
mov ecx, dword [esp + 0x14]
jmp 0x4c6b5b
xor eax, eax
mov edx, dword [esi]
cmp ecx, dword [edx]
jge 0x4c6b71
mov edx, dword [edx + 0xc]
lea eax, [ecx + ecx*4]
mov ecx, ebx
mov edx, dword [edx + eax*4]
call fcn.004a7390
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 0x4c6b10
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4c6972
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 0x4c6c44
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 0x4c6c1f
mov esi, dword [esp + 0x4c]
dec esi
add eax, esi
mov esi, dword [esp + 0x3c]
cmp dword [ecx], eax
jle 0x4c6c40
mov eax, dword [esp + 0x30]
inc edx
add ecx, 0x18
cmp edx, 0xa
jl 0x4c6c00
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 0x4c6c53
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 0x4c6c73
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c6cac
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 0x4c6d1c
cmp byte [edi + 0x1e], 0
je 0x4c6cd1
mov dword [esp + 0x2c], 0
jmp 0x4c6e13
cmp byte [edi + 0xe2], 0
je 0x4c6d1c
movzx eax, word [edi + 0xe0]
cmp edx, eax
jg 0x4c6d1c
mov ecx, dword [edi + 0xec]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x4c6d1c
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 0x4c6d16
mov dword [edi + 0xe8], eax
mov dword [esp + 0x2c], ecx
jmp 0x4c6d47
push edx
call fcn.0048a4e0
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
jne 0x4c6d35
test edi, edi
je 0x4c6d35
mov byte [edi + 0x1e], 1
mov dword [esp + 0x1c], eax
mov ecx, eax
test eax, eax
je 0x4c6e0f
mov edx, dword [esp + 0x14]
push edx
push 0
push ecx
call fcn.004dde70
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 0x4c6e13
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 0x4c6dc2
push edi
mov edx, eax
mov ecx, ebx
call fcn.004c4730
mov ecx, dword [esp + 0x20]
add esp, 4
mov edx, dword [esp + 0x20]
test eax, eax
jne 0x4c6de9
jmp 0x4c6dc4
xor eax, eax
mov ebx, dword [esi]
cmp edi, dword [ebx]
mov ebx, dword [esp + 0x34]
jge 0x4c6de9
mov eax, dword [esi]
mov ecx, ebx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [edx + eax]
call fcn.004a7390
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 0x4c6da0
mov esi, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4c6e13
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.004a6c50
mov eax, dword [esp + 0x58]
add esp, 8
cmp dword [eax + 0x1c], 0
jne 0x4c6e5b
push str.ORDER
push dword [eax + 0x18]
mov edx, eax
mov ecx, ebx
call fcn.004a6c50
add esp, 8
mov edx, dword [esp + 0x24]
cmp dword [edx + 0x30], 0
jne 0x4c7225
mov ecx, ebx
call fcn.004aa980
cmp dword [edx + 0x28], 0
je 0x4c7225
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 0x4c6eab
mov ecx, dword [ebx]
call fcn.0049b320
mov edx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
mov dword [ebx + 0xc], edi
test edi, edi
je 0x4c7215
mov edx, dword [edx + 0x28]
mov ecx, ebx
push eax
call fcn.004accd0
mov ecx, dword [edi + 0xc]
add esp, 4
mov eax, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c6edd
mov ecx, edi
call fcn.0049b3e0
test eax, eax
jne 0x4c7029
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 0x4c6f37
mov ecx, edi
mov dword [esp + 0x10], eax
call fcn.0049b3e0
test eax, eax
jne 0x4c6f75
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 0x4c721f
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.004accd0
mov ecx, dword [edi + 0xc]
add esp, 4
mov edx, ecx
mov dword [esp + 0x14], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c6fc8
mov ecx, edi
call fcn.0049b3e0
test eax, eax
jne 0x4c7006
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 0x4c7038
mov ecx, edi
call fcn.0049b3e0
test eax, eax
je 0x4c7031
mov dword [esp + 0x10], 1
jmp 0x4c7071
lea eax, [edi + 0x6e]
jmp 0x4c6f18
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 0x4c7091
mov ecx, edi
call fcn.0049b3e0
test eax, eax
jne 0x4c70ca
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 0x4c70df
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 0x4c70ff
mov ecx, edi
call fcn.0049b3e0
test eax, eax
jne 0x4c715c
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 0x4c716e
mov ecx, edi
call fcn.0049b3e0
test eax, eax
je 0x4c7167
mov dword [esp + 0x10], 1
jmp 0x4c71a7
mov eax, dword [esp + 0x1c]
inc eax
mov dword [esp + 0x30], eax
jmp 0x4c7139
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 0x4c71c7
mov ecx, edi
call fcn.0049b3e0
test eax, eax
jne 0x4c7200
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 0x4c7215
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 0x4c7227
mov edi, dword [esp + 0x38]
jmp 0x4c7227
mov eax, edx
cmp dword [eax + 0x30], 0
je 0x4c731f
cmp byte [esp + 0x1b], 0x70
jne 0x4c731f
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 0x4c7260
lea edx, [ecx + 1]
mov dword [esp + 0x30], edx
jmp 0x4c7267
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 0x4c7287
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c72c0
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 0x4c72e0
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7319
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 0x4c732f
mov dword [esp + 0x10], 0
mov dword [esp + 0x1c], 0
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x14], ecx
test ecx, ecx
je 0x4c735c
mov edx, ecx
mov ecx, edi
call fcn.004a7db0
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4c7358
push eax
push edi
call fcn.0048a5d0
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 0x4c738c
mov edx, eax
mov ecx, edi
call fcn.004a7db0
mov eax, dword [esp + 0x14]
cmp word [eax + 2], 0
jl 0x4c738c
push eax
push edi
call fcn.0048a5d0
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 0x4c7429
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c7426
mov dword [esp + 0x14], 1
jmp 0x4c7466
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.004c9e10
mov edi, dword [esi + 0xc]
add esp, 4
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c74a4
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c74e2
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 0x4c74e6
mov ebx, dword [esp + 0x44]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c74fe
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7533
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.004c9e10
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 0x4c7587
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c75c2
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 0x4c75c6
mov ebx, dword [esp + 0x58]
mov edi, dword [esi + 0xc]
mov eax, edi
cmp dword [esi + 0x10], edi
jg 0x4c75de
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7617
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.004c5ef0
mov dword [esp + 0x44], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x70
je 0x4c7658
cmp al, 0x6f
jne 0x4c7686
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.004c5ef0
mov dword [esp + 0x70], eax
add esp, 0x1c
mov al, byte [esp + 0x1b]
cmp al, 0x71
je 0x4c7837
cmp al, 0x72
je 0x4c7837
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x2c], edx
cmp dword [esi + 0x10], edx
jg 0x4c76c3
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c76bc
mov dword [esp + 0x2c], 1
lea edi, [esi + 0x14]
jmp 0x4c76fe
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 0x4c771e
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7756
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 0x4c7776
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c77ae
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 0x4c77ce
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7806
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 0x4c78b6
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c78af
mov dword [esp + 0x1c], 1
lea edi, [esi + 0x14]
jmp 0x4c78f2
mov edi, dword [esi + 0xc]
mov eax, edi
mov dword [esp + 0x2c], edi
cmp dword [esi + 0x10], edi
jg 0x4c785e
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c785b
mov edi, 1
mov dword [esp + 0x2c], edi
jmp 0x4c7897
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 0x4c7806
mov dword [esp + 0x1c], edi
mov dword [esp + 0x2c], edi
jmp 0x4c79ff
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 0x4c7912
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c794f
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 0x4c796f
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c79a7
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 0x4c79c7
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c79ff
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 0x4c7a2c
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c7a25
mov dword [esp + 0x3c], 1
lea edi, [esi + 0x14]
jmp 0x4c7a6c
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 0x4c7a8c
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7ac4
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 0x4c7ae4
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7b21
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 0x4c7b41
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7b79
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 0x4c7b99
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 0x4c7ce3
cmp al, 0x72
jne 0x4c7bb6
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 0x4c7d34
mov edx, dword [esi + 0xc]
mov eax, edx
mov dword [esp + 0x20], edx
cmp dword [esi + 0x10], edx
jg 0x4c7be0
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c7bd9
mov dword [esp + 0x20], 1
jmp 0x4c7c18
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 0x4c7c38
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7c75
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 0x4c7c99
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c80a3
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 0x4c7d34
mov eax, ecx
cmp dword [esi + 0x10], ecx
jg 0x4c7cfc
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7d34
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 0x4c7d54
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7d8c
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 0x4c7dac
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7de4
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 0x4c7e04
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7e3c
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 0x4c7e50
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 0x4c7e70
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7ead
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 0x4c7ecd
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7f05
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 0x4c7f25
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7f5d
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 0x4c7f7d
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c7fb5
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 0x4c7fd5
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c8012
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 0x4c8032
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c806a
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 0x4c8083
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 0x4c80bf
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c80b8
mov edx, 1
jmp 0x4c80f7
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4c7cd1
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.0049ba40
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 0x4c8148
mov ecx, esi
call fcn.0049b3e0
test eax, eax
je 0x4c8141
mov edi, dword [esp + 0x48]
mov edx, 1
jmp 0x4c8180
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.0049ba40
mov eax, dword [esi + 0xc]
add esp, 8
mov dword [esp + 0x5c], eax
cmp dword [esi + 0x10], eax
jg 0x4c81ab
mov ecx, esi
call fcn.0049b3e0
test eax, eax
jne 0x4c81e3
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 0x4c81f7
inc edi
cmp edi, dword [ebx + 0x38]
jle 0x4c81f7
mov dword [ebx + 0x38], edi
mov dword [ebx + 0x3c], eax
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x4c8210
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 0x4c823c
mov eax, dword [esp + 0x50]
mov ecx, eax
mov eax, dword [eax + 0x1c]
test eax, eax
je 0x4c822e
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c8225
push dword [ecx]
xor edx, edx
mov ecx, ebx
call fcn.004c3620
add esp, 4
mov esi, dword [esp + 0x24]
mov edi, dword [esi + 0x1c]
test edi, edi
je 0x4c825e
mov ebx, dword [esp + 0x38]
mov edx, edi
mov ecx, ebx
call fcn.004c16f0
push edi
push ebx
call fcn.0048a5d0
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