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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
push ebx
xor eax, eax
mov ebx, edx
push esi
mov esi, dword [ebp + 8]
mov dword [esp + 0x38], eax
mov edx, dword [ebx + 0x1c]
push edi
mov eax, dword [esi]
mov edi, ecx
mov dword [esp + 0x58], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x5c], eax
mov ecx, dword [edi]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x64], eax
cmp dword [edx + 0x18], 0
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x2c], edx
je 0x4c856b
movzx eax, byte [ebx + 4]
sub eax, 0x70
je 0x4c853b
sub eax, 1
je 0x4c8534
sub eax, 1
je 0x4c852d
mov eax, str.UNION
jmp 0x4c8540
mov eax, str.INTERSECT
jmp 0x4c8540
mov eax, str.EXCEPT
jmp 0x4c8540
mov eax, str.UNION_ALL
push eax
push str.ORDER_BY_clause_should_come_after__s_not_before
push edi
call fcn.00492450
mov eax, dword [esp + 0x6c]
mov ecx, 1
mov dword [esi + 8], eax
add esp, 0xc
mov eax, dword [esp + 0x64]
mov dword [esi + 0xc], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [edx + 0x28], 0
je 0x4c85b8
movzx eax, byte [ebx + 4]
sub eax, 0x70
je 0x4c85ab
sub eax, 1
je 0x4c859e
sub eax, 1
je 0x4c8591
mov eax, str.UNION
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4c8546
mov eax, str.INTERSECT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4c8546
mov eax, str.EXCEPT
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4c8546
mov eax, str.UNION_ALL
push eax
push str.LIMIT_clause_should_come_after__s_not_before
jmp 0x4c8546
mov esi, dword [edi + 0xc]
mov dword [esp + 0x28], esi
test esi, esi
jne 0x4c85d9
call fcn.004a03e0
mov esi, eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x28], esi
mov dword [edi + 0xc], esi
mov dword [esp + 0x14], eax
cmp byte [esp + 0x58], 9
lea edi, [esi + 0xc]
lea ecx, [esi + 0x10]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
jne 0x4c8655
mov eax, dword [ebx]
mov eax, dword [eax]
mov dword [esp + 0x48], eax
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
cmp dword [ecx], eax
jg 0x4c860f
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c8646
mov eax, dword [esp + 0x4c]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x28
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 + 0x5c]
mov byte [esp + 0x58], 8
mov dword [esp + 0x14], eax
jmp 0x4c865d
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x2c]
mov eax, dword [ebx]
mov ecx, dword [edx]
mov eax, dword [eax]
cmp eax, dword [ecx]
je 0x4c86c9
movzx eax, byte [ebx + 4]
sub eax, 0x70
je 0x4c8693
sub eax, 1
je 0x4c868c
sub eax, 1
je 0x4c8685
mov eax, str.UNION
jmp 0x4c8698
mov eax, str.INTERSECT
jmp 0x4c8698
mov eax, str.EXCEPT
jmp 0x4c8698
mov eax, str.UNION_ALL
push eax
push str.SELECTs_to_the_left_and_right_of__s_do_not_have_the_same_number_of_result_columns
push dword [esp + 0x18]
call fcn.00492450
mov edx, dword [ebp + 8]
mov ecx, 1
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov dword [edx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 0xc], eax
mov eax, ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x18], 0
je 0x4c86e8
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x10]
push edx
mov edx, ebx
call fcn.004ca500
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx eax, byte [ebx + 4]
sub eax, 0x6f
je 0x4c91ca
sub eax, 1
je 0x4c909c
sub eax, 1
je 0x4c91ca
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x34], eax
inc eax
mov dword [esp + 0x44], eax
inc eax
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
mov dword [esp + 0x4c], edx
cmp dword [eax], edx
jg 0x4c873f
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4c873b
mov edx, 1
jmp 0x4c877a
mov edx, dword [esp + 0x4c]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [edi]
mov ebx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 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 eax, dword [ebx + 0x24]
mov ecx, dword [esp + 0x10]
mov dword [ebx + 0x38], edx
mov edx, dword [esp + 0x2c]
or word [eax + 6], 8
mov eax, dword [esp + 0x34]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
mov word [esp + 0x6c], 1
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
call fcn.004cda80
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4c9b88
mov ecx, dword [esp + 0x20]
mov edx, dword [edi]
mov eax, edx
mov dword [esp + 0x4c], edx
cmp dword [ecx], edx
jg 0x4c87ef
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4c87e9
mov edx, 1
jmp 0x4c882b
mov eax, dword [edi]
mov edx, dword [esp + 0x4c]
inc eax
lea ecx, [edx + edx*4]
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov edi, dword [esp + 0x44]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 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 + 0x10]
mov dword [ebx + 0x3c], edx
mov edx, ebx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x68]
push eax
mov dword [ebx + 0x1c], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
call fcn.004cda80
mov edx, dword [ebx + 0x28]
add esp, 4
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x1c], eax
mov dword [esp + 0x4c], edx
test edx, edx
je 0x4c88d4
mov ecx, dword [esp + 0x1c]
call fcn.004acbf0
mov edx, dword [esp + 0x4c]
cmp word [edx + 2], 0
jl 0x4c88d4
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4c88cb
cmp edx, dword [ecx + 0xf0]
jb 0x4c88cb
cmp edx, dword [ecx + 0xf4]
jae 0x4c88cb
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x4c88d4
push edx
call fcn.00490120
add esp, 4
cmp byte [esp + 0x58], 5
mov eax, dword [esp + 0x48]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 0x2c], eax
jne 0x4c890b
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
test eax, eax
je 0x4c88fb
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c88f2
push dword [ecx]
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.004c7600
add esp, 4
mov ecx, esi
call fcn.004a0600
mov ecx, esi
mov dword [esp + 0x40], eax
call fcn.004a0600
cmp dword [ebx + 0x30], 0
mov dword [esp + 0x4c], eax
jne 0x4c8de5
mov ecx, dword [esp + 0x10]
call fcn.004af620
cmp dword [ebx + 0x28], 0
je 0x4c8de5
mov edx, dword [ecx + 0x48]
inc edx
mov dword [ecx + 0x48], edx
mov dword [ebx + 0x30], edx
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x30], edx
mov dword [esp + 0x14], eax
test eax, eax
jne 0x4c8975
mov ecx, dword [ecx]
call fcn.004a03e0
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x14], eax
mov dword [ecx + 0xc], eax
test eax, eax
je 0x4c8de5
push edx
mov edx, dword [ebx + 0x28]
call fcn.004afa90
add esp, 4
mov dword [esp + 0x50], eax
cmp eax, dword [esp + 0x30]
je 0x4c89f5
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x48], edx
test edx, edx
je 0x4c89f5
mov eax, dword [edx + 0xc]
mov dword [esp + 0x2c], eax
cmp dword [edx + 0x10], eax
jg 0x4c89b9
mov ecx, edx
call fcn.004a04a0
test eax, eax
jne 0x4c89f5
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x2c]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x50], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8a1d
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4c8a5a
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov eax, dword [edx + 0xc]
mov dword [esp + 0x50], eax
cmp dword [edx + 0x10], eax
jg 0x4c8a79
mov ecx, edx
call fcn.004a04a0
test eax, eax
jne 0x4c8ab5
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x50]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x40]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x72
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
cmp dword [ebx + 0x2c], 0
je 0x4c8de5
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov ecx, dword [eax + 0x48]
mov dword [ebx + 0x34], ecx
inc dword [eax + 0x48]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x2c], ecx
push ecx
mov ecx, eax
call fcn.004afa90
add esp, 4
mov dword [esp + 0x54], eax
cmp eax, dword [esp + 0x2c]
je 0x4c8b55
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x50], edx
test edx, edx
je 0x4c8b55
mov eax, dword [edx + 0xc]
mov dword [esp + 0x48], eax
cmp dword [edx + 0x10], eax
jg 0x4c8b19
mov ecx, edx
call fcn.004a04a0
test eax, eax
jne 0x4c8b55
mov edx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edi, dword [esp + 0x54]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8b7d
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4c8bba
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x15
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x48], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8be8
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
je 0x4c8be1
mov dword [esp + 0x48], 1
jmp 0x4c8c25
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8c49
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4c8c86
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x38]
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 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov eax, dword [esp + 0x48]
cmp dword [edx + 0xc], eax
jle 0x4c8ca0
mov edi, dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 8], edi
mov edi, dword [esp + 0x24]
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8cc4
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4c8cfe
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
mov ebx, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [eax + ecx*4 + 8], ebx
inc ebx
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x38]
mov word [eax + ecx*4], 0x56
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x48], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8d2c
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
je 0x4c8d25
mov dword [esp + 0x48], 1
jmp 0x4c8d69
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x48]
mov esi, dword [esp + 0x30]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edx + 0xc], eax
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0x70
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov ecx, dword [edx + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx + 0x10], ecx
jg 0x4c8d8d
mov ecx, edx
call fcn.004a04a0
mov edx, dword [esp + 0x14]
test eax, eax
jne 0x4c8dcf
mov eax, dword [edx + 0xc]
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x2c]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x38]
inc eax
mov dword [edx + 0xc], eax
inc esi
mov eax, dword [edx + 0x14]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
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 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov eax, dword [esp + 0x48]
cmp dword [edx + 0xc], eax
jle 0x4c8de5
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov edx, dword [edx + 0xc]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jg 0x4c8e06
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c8e3e
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x40]
mov word [eax + ecx*4], 0x40
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 [esp + 0x10]
mov al, byte [ecx + 0x15]
test al, al
jne 0x4c8e51
inc dword [ecx + 0x48]
mov eax, dword [ecx + 0x48]
jmp 0x4c8e5d
dec al
mov byte [ecx + 0x15], al
movzx eax, al
mov eax, dword [ecx + eax*4 + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov dword [esp + 0x30], eax
mov eax, ecx
mov dword [esp + 0x48], ecx
cmp dword [edx], ecx
jg 0x4c8e8c
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4c8e86
mov dword [esp + 0x48], 1
jmp 0x4c8ec4
mov eax, dword [edi]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x3a
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 edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jg 0x4c8ee5
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c8f1d
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 8], edx
mov edx, dword [esp + 0x30]
mov word [eax + ecx*4], 0x30
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
cmp dword [esp + 0x30], 0
mov ecx, dword [esp + 0x10]
je 0x4c8f6c
mov al, byte [ecx + 0x15]
mov byte [esp + 0xf], al
cmp al, 8
jae 0x4c8f6c
xor edx, edx
lea eax, [ecx + 0x60]
jmp 0x4c8f40
mov ebx, dword [esp + 0x30]
cmp dword [eax + 0x10], ebx
mov ebx, dword [esp + 0x38]
je 0x4c8f68
inc edx
add eax, 0x18
cmp edx, 0xa
jl 0x4c8f40
movzx eax, byte [esp + 0xf]
mov edx, dword [esp + 0x30]
mov dword [ecx + eax*4 + 0x18], edx
inc byte [ecx + 0x15]
jmp 0x4c8f6c
mov byte [eax + 9], 1
push dword [esp + 0x40]
mov eax, dword [ebx]
lea edx, [esp + 0x5c]
push dword [esp + 0x50]
push edx
push 0xffffffffffffffff
push 0
push dword [eax]
mov edx, ebx
push dword [esp + 0x4c]
push eax
call fcn.004c6440
mov ecx, dword [esi + 0x20]
add esp, 0x20
test ecx, ecx
je 0x4c8fa8
mov eax, dword [esp + 0x4c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jg 0x4c8fc9
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c9001
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x48]
mov word [eax + ecx*4], 0x42
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 0x4c9019
mov eax, dword [esp + 0x40]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jg 0x4c903a
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c9072
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x44]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x2a
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 [esp + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x54], eax
cmp dword [ecx], eax
jg 0x4c9093
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c9996
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
jmp 0x4c9963
mov eax, dword [ebx + 0x28]
mov ecx, dword [esp + 0x10]
mov dword [edx + 0x28], eax
mov eax, dword [ebx + 0x2c]
mov dword [edx + 0x2c], eax
lea eax, [esp + 0x58]
push eax
call fcn.004cda80
mov ecx, eax
mov dword [ebx + 0x28], 0
add esp, 4
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x2c], 0
test ecx, ecx
jne 0x4c9b88
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [eax + 0x30]
mov dword [ebx + 0x30], ecx
mov eax, dword [eax + 0x34]
mov dword [esp + 0x54], ecx
mov dword [ebx + 0x34], eax
test ecx, ecx
je 0x4c919e
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x4c], eax
cmp dword [ecx], eax
jg 0x4c911b
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4c9117
mov dword [esp + 0x4c], 1
jmp 0x4c9152
mov eax, dword [esp + 0x4c]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov edx, dword [esp + 0x54]
mov word [eax + ecx*4], 0x72
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 [esp + 0x10]
lea eax, [esp + 0x58]
push eax
mov edx, ebx
call fcn.004cda80
mov ecx, eax
add esp, 4
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x1c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x18], ecx
test eax, eax
je 0x4c999a
mov edx, dword [edi]
cmp edx, eax
jle 0x4c999a
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 8], edx
jmp 0x4c9996
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x58]
push eax
mov edx, ebx
call fcn.004cda80
mov ecx, eax
add esp, 4
mov eax, dword [ebx + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x18], ecx
mov dword [ebx + 0x1c], eax
jmp 0x4c999a
cmp byte [esp + 0x58], 1
jne 0x4c91dd
cmp dword [ebx + 0x28], 0
jne 0x4c91dd
cmp dword [ebx + 0x2c], 0
je 0x4c925a
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x44]
mov dword [esp + 0x14], eax
inc eax
mov dword [ecx + 0x44], eax
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
mov dword [esp + 0x54], edx
cmp dword [eax], edx
jg 0x4c9210
mov ecx, esi
call fcn.004a04a0
test eax, eax
je 0x4c920c
mov edx, 1
jmp 0x4c924b
mov edx, dword [esp + 0x54]
mov eax, dword [esi + 0x14]
lea ecx, [edx + edx*4]
inc dword [edi]
mov edi, dword [esp + 0x14]
mov dword [eax + ecx*4 + 4], edi
mov edi, dword [esp + 0x24]
mov word [eax + ecx*4], 0x28
mov byte [eax + ecx*4 + 3], 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 eax, dword [ebx + 0x24]
mov dword [ebx + 0x38], edx
mov edx, dword [esp + 0x2c]
or word [eax + 6], 8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x78]
push eax
mov word [esp + 0x7c], 1
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
call fcn.004cda80
mov ecx, eax
add esp, 4
mov dword [esp + 0x18], ecx
test ecx, ecx
jne 0x4c9b88
cmp byte [ebx + 4], 0x71
mov edx, ebx
mov dword [ebx + 0x1c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x4c], eax
sete al
inc al
mov dword [ebx + 0x28], ecx
mov byte [esp + 0x78], al
lea eax, [esp + 0x78]
mov dword [ebx + 0x2c], ecx
mov ecx, dword [esp + 0x10]
push eax
call fcn.004cda80
mov edx, dword [ebx + 0x18]
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
call fcn.004adb20
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x28]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], 0
mov dword [esp + 0x54], edx
test edx, edx
je 0x4c9350
mov ecx, dword [esp + 0x1c]
call fcn.004acbf0
mov edx, dword [esp + 0x54]
cmp word [edx + 2], 0
jl 0x4c9350
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x4c9347
cmp edx, dword [ecx + 0xf0]
jb 0x4c9347
cmp edx, dword [ecx + 0xf4]
jae 0x4c9347
mov eax, dword [ecx + 0xec]
mov dword [edx], eax
dec dword [ecx + 0xe4]
mov dword [ecx + 0xec], edx
jmp 0x4c9350
push edx
call fcn.00490120
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [ebx + 0x28], eax
mov eax, dword [esp + 0x4c]
mov dword [ebx + 0x2c], eax
mov al, byte [esp + 0x58]
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
cmp al, 1
je 0x4c9996
cmp al, 5
jne 0x4c939e
mov eax, dword [ebx + 0x1c]
mov ecx, ebx
test eax, eax
je 0x4c938e
mov ecx, eax
mov eax, dword [ecx + 0x1c]
test eax, eax
jne 0x4c9385
push dword [ecx]
mov ecx, dword [esp + 0x14]
xor edx, edx
call fcn.004c7600
add esp, 4
mov ecx, esi
call fcn.004a0600
mov ecx, esi
mov dword [esp + 0x44], eax
call fcn.004a0600
cmp dword [ebx + 0x30], 0
mov dword [esp + 0x40], eax
jne 0x4c9832
mov ecx, dword [esp + 0x10]
call fcn.004af620
cmp dword [ebx + 0x28], 0
je 0x4c9832
mov eax, dword [ecx + 0x48]
inc eax
mov dword [ecx + 0x48], eax
mov dword [ebx + 0x30], eax
mov edi, dword [ecx + 0xc]
mov dword [esp + 0x30], eax
test edi, edi
jne 0x4c9402
mov ecx, dword [ecx]
call fcn.004a03e0
mov ecx, dword [esp + 0x10]
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [ecx + 0xc], edi
test edi, edi
je 0x4c982e
mov edx, dword [ebx + 0x28]
push eax
call fcn.004afa90
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x30]
je 0x4c9482
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
test edx, edx
je 0x4c9482
mov eax, dword [edx + 0xc]
mov dword [esp + 0x50], eax
cmp dword [edx + 0x10], eax
jg 0x4c9446
mov ecx, edx
call fcn.004a04a0
test eax, eax
jne 0x4c9482
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x30]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c94a2
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4c94db
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x54]
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], 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 byte [edi + 0x6e], 0
mov eax, dword [edi + 0xc]
mov dword [esp + 0x54], eax
cmp dword [edi + 0x10], eax
jg 0x4c94f6
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4c952e
mov eax, dword [esp + 0x54]
inc dword [edi + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov edx, dword [esp + 0x30]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
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
mov byte [edi + 0x6e], 0
cmp dword [ebx + 0x2c], 0
je 0x4c982e
mov eax, dword [esp + 0x10]
inc dword [eax + 0x48]
mov ecx, dword [eax + 0x48]
mov dword [ebx + 0x34], ecx
inc dword [eax + 0x48]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x34], ecx
push ecx
mov ecx, eax
call fcn.004afa90
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, dword [esp + 0x34]
je 0x4c95ce
mov eax, dword [esp + 0x10]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x54], edx
test edx, edx
je 0x4c95ce
mov eax, dword [edx + 0xc]
mov dword [esp + 0x50], eax
cmp dword [edx + 0x10], eax
jg 0x4c9592
mov ecx, edx
call fcn.004a04a0
test eax, eax
jne 0x4c95ce
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
inc dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x14]
mov esi, dword [esp + 0x4c]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x34]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x28]
mov word [eax + ecx*4], 0xf
mov byte [eax + ecx*4 + 3], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov byte [edx + 0x6e], 0
mov ecx, dword [edi + 0xc]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c95ee
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4c9627
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
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
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x4c], edx
cmp dword [edi + 0x10], edx
jg 0x4c9651
mov ecx, edi
call fcn.004a04a0
test eax, eax
je 0x4c964a
mov dword [esp + 0x4c], 1
jmp 0x4c968a
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x4c]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x34]
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 + 0x54], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c96aa
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4c96e3
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x34]
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 + 0x4c]
cmp edx, eax
jle 0x4c96f8
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 + 0x54], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c9718
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4c9775
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x30]
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 + 0x34]
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 + 0x48], edx
mov byte [edi + 0x6e], 0
mov edx, dword [edi + 0xc]
mov eax, edx
mov dword [esp + 0x4c], edx
cmp dword [edi + 0x10], edx
jg 0x4c9787
mov ecx, edi
call fcn.004a04a0
test eax, eax
je 0x4c9780
mov dword [esp + 0x4c], 1
jmp 0x4c97c0
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x48], eax
jmp 0x4c9752
mov eax, dword [edi + 0xc]
mov edx, dword [esp + 0x4c]
inc eax
lea ecx, [edx + edx*4]
mov edx, dword [esp + 0x30]
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 + 0x54], ecx
cmp dword [edi + 0x10], ecx
jg 0x4c97e0
mov ecx, edi
call fcn.004a04a0
test eax, eax
jne 0x4c9819
mov eax, dword [edi + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x48]
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 + 0x4c]
cmp edx, eax
jle 0x4c982e
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x14]
mov dword [eax + ecx*4 + 8], edx
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jg 0x4c9853
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c988b
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x44]
mov word [eax + ecx*4], 0x40
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
push dword [esp + 0x44]
mov eax, dword [edi]
lea ecx, [esp + 0x5c]
push dword [esp + 0x44]
mov dword [esp + 0x58], eax
mov edx, ebx
mov eax, dword [ebx]
push ecx
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push 0
push dword [eax]
push dword [esp + 0x2c]
push eax
call fcn.004c6440
mov ecx, dword [esi + 0x20]
add esp, 0x20
test ecx, ecx
je 0x4c98d1
mov eax, dword [esp + 0x40]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [esp + 0x20]
mov ecx, dword [edi]
mov eax, ecx
mov dword [esp + 0x54], ecx
cmp dword [edx], ecx
jg 0x4c98f2
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c992a
mov eax, dword [edi]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
lea ecx, [ecx + ecx*4]
inc eax
mov dword [edi], eax
mov eax, dword [esi + 0x14]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x50]
mov word [eax + ecx*4], 0x42
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 0x4c9942
mov eax, dword [esp + 0x44]
lea eax, [eax*4 + 4]
sub ecx, eax
mov eax, dword [edi]
mov dword [ecx], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [edi]
mov dword [esp + 0x54], eax
cmp dword [ecx], eax
jg 0x4c995f
mov ecx, esi
call fcn.004a04a0
test eax, eax
jne 0x4c9996
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x14]
inc dword [edi]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
mov word [eax + ecx*4], 0x2a
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 [esp + 0x18]
test byte [ebx + 6], 8
je 0x4c9b88
mov eax, dword [ebx]
mov ecx, dword [esp + 0x1c]
mov edi, dword [eax]
mov dword [esp + 0x48], edi
lea edx, [edi + 4]
lea edx, [edi + edx*4]
test ecx, ecx
je 0x4c9a0b
cmp byte [ecx + 0x1e], 0
jne 0x4c9b7f
cmp byte [ecx + 0xe2], 0
je 0x4c9a0b
movzx eax, word [ecx + 0xe0]
cmp edx, eax
jg 0x4c9a0b
mov esi, dword [ecx + 0xec]
mov dword [esp + 0x34], esi
test esi, esi
je 0x4c9a0b
mov eax, dword [esi]
mov dword [ecx + 0xec], eax
mov eax, dword [ecx + 0xe4]
inc eax
mov dword [ecx + 0xe4], eax
cmp eax, dword [ecx + 0xe8]
jle 0x4c9a38
mov dword [ecx + 0xe8], eax
jmp 0x4c9a38
push edx
call fcn.004900b0
mov esi, eax
mov dword [esp + 0x38], eax
add esp, 4
test esi, esi
jne 0x4c9a32
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4c9a2a
mov byte [eax + 0x1e], 1
test esi, esi
je 0x4c9b7f
lea edx, [edi + 4]
lea edx, [edi + edx*4]
push edx
push 0
push esi
call fcn.004e14f0
mov eax, dword [esp + 0x28]
lea edx, [esi + 0xc]
xor ecx, ecx
mov dword [esp + 0x4c], edx
add esp, 0xc
mov dword [esp + 0x44], ecx
mov eax, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov al, byte [eax + 0x49]
mov byte [esi + 4], al
mov word [esi + 6], di
test edi, edi
jle 0x4c9ae2
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x34], esi
mov eax, dword [ebx + 0x1c]
mov esi, dword [esp + 0x10]
test eax, eax
je 0x4c9a97
push ecx
mov edx, eax
mov ecx, esi
call fcn.004c8470
mov ecx, dword [esp + 0x48]
add esp, 4
mov edx, dword [esp + 0x40]
test eax, eax
jne 0x4c9abe
jmp 0x4c9a99
xor eax, eax
mov edi, dword [ebx]
cmp ecx, dword [edi]
mov edi, dword [esp + 0x48]
jge 0x4c9abe
mov eax, dword [ebx]
mov ecx, esi
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x4c]
mov edx, dword [edx + eax]
call fcn.004ac000
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov dword [edx], eax
test eax, eax
jne 0x4c9acd
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x2c]
mov dword [edx], eax
add dword [esp + 0x4c], 0x14
inc ecx
add edx, 4
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
cmp ecx, edi
jl 0x4c9a71
lea esi, [ebx + 0x38]
xor edi, edi
mov ebx, dword [esp + 0x28]
jmp 0x4c9af0
mov edx, dword [esi]
test edx, edx
js 0x4c9b2f
mov eax, dword [esp + 0x24]
cmp dword [eax], edx
jle 0x4c9b10
mov eax, dword [ebx + 0x14]
lea ecx, [edx + edx*4]
mov ebx, dword [esp + 0x48]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x28]
push 0xfffffffffffffffa
push dword [esp + 0x38]
mov ecx, ebx
call fcn.004a0b00
mov dword [esi], 0xffffffff
inc edi
add esp, 8
add esi, 4
cmp edi, 2
jl 0x4c9af0
mov ebx, dword [esp + 0x38]
mov ebx, dword [ebx + 0x1c]
mov dword [esp + 0x38], ebx
test ebx, ebx
jne 0x4c9ae2
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x34]
cmp ecx, dword [ebx + 0xf0]
jb 0x4c9b70
cmp ecx, dword [ebx + 0xf4]
jae 0x4c9b70
mov eax, dword [ebx + 0xec]
mov dword [ecx], eax
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], ecx
mov ecx, dword [esp + 0x18]
jmp 0x4c9b8c
push ecx
call fcn.00490120
mov ecx, dword [esp + 0x1c]
add esp, 4
jmp 0x4c9b8c
mov ecx, 7
mov dword [esp + 0x18], ecx
mov ebx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x3c]
mov dword [edx + 8], eax
mov eax, dword [esp + 0x64]
mov dword [edx + 0xc], eax
test esi, esi
je 0x4c9bf0
mov edx, esi
mov ecx, ebx
call fcn.004c5690
test ebx, ebx
je 0x4c9be3
cmp esi, dword [ebx + 0xf0]
jb 0x4c9be3
cmp esi, dword [ebx + 0xf4]
jae 0x4c9be3
mov eax, dword [ebx + 0xec]
mov ecx, dword [esp + 0x18]
mov dword [esi], eax
mov eax, ecx
dec dword [ebx + 0xe4]
mov dword [ebx + 0xec], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call fcn.00490120
mov ecx, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
mov eax, ecx
pop ebx
mov esp, ebp
pop ebp
ret