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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
mov ebx, ecx
mov dword [esp + 0x64], edx
xor eax, eax
mov dword [esp + 0x14], ebx
push esi
xor esi, esi
mov dword [esp + 0xc], eax
xorps xmm0, xmm0
mov eax, dword [ebx]
push edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x40], esi
movlpd qword [esp + 0x84], xmm0
mov dword [esp + 0x5c], eax
cmp dword [ebx + 0x24], esi
jne 0x4c6d1f
call fcn.004c5760
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4c6d1f
push esi
push esi
push 0x80
mov edx, edi
mov ecx, ebx
call fcn.004edf30
mov esi, eax
add esp, 0xc
mov al, byte [edi + 0x2b]
mov dword [esp + 0x8c], esi
mov byte [esp + 0x23], al
test esi, esi
jne 0x4c5c6c
push esi
push esi
mov edx, edi
mov ecx, ebx
call fcn.004cdc00
add esp, 8
mov dword [esp + 0x30], esi
test eax, eax
je 0x4c5c74
mov dword [esp + 0x30], 1
mov edx, edi
mov ecx, ebx
call fcn.004bffb0
test eax, eax
jne 0x4c6d1d
test esi, esi
mov edx, edi
mov ecx, ebx
setne al
push eax
call fcn.004c58d0
add esp, 4
test eax, eax
jne 0x4c6d1d
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
test ecx, ecx
je 0x4c5ccf
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x38], esi
cmp dword [eax], ecx
je 0x4c5ccf
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4c5cc3
mov dword [esp + 0x38], esi
mov eax, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov edx, 9
mov dword [esp + 0x14], ecx
push dword [eax + ecx]
mov ecx, ebx
push 0
push dword [edi]
call fcn.004baa90
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, 1
je 0x4c6d1d
mov ecx, dword [esp + 0x6c]
xor edx, edx
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x28], eax
mov dword [esp + 0x70], edx
mov dword [ecx + 0x34], eax
mov ecx, dword [ebx + 0x28]
inc ecx
mov dword [ebx + 0x28], ecx
mov eax, dword [edi + 8]
test eax, eax
je 0x4c5d30
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c5d20
mov dword [esp + 0x70], edx
cmp byte [esp + 0x23], 2
jne 0x4c5d52
mov ecx, dword [ebx + 0xf8]
mov eax, dword [edi]
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x80], ecx
mov dword [ebx + 0xf8], eax
jmp 0x4c5d6b
mov eax, dword [esp + 0x88]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x80], eax
mov edi, dword [ebx + 8]
lea eax, [ebx + 0x74]
mov dword [esp + 0x48], eax
test edi, edi
je 0x4c5d83
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], edi
jmp 0x4c5db2
cmp dword [eax], 0
jne 0x4c5d94
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4c5d94
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00491bf0
mov edi, eax
lea ecx, [ebx + 0x74]
mov dword [esp + 0x78], ecx
mov eax, ecx
mov dword [esp + 0x58], edi
test edi, edi
je 0x4c6d02
cmp byte [ebx + 0x12], 0
jne 0x4c5dbf
or dword [edi + 0xa0], 0x10
mov eax, dword [eax]
mov edx, ebx
test eax, eax
mov ecx, esi
cmovne edx, eax
mov eax, 1
shl eax, cl
mov dword [esp + 0x3c], edx
mov ecx, dword [edx + 0x54]
test ecx, eax
jne 0x4c5df2
bts ecx, esi
mov dword [edx + 0x54], ecx
cmp esi, 1
jne 0x4c5df2
mov ecx, edx
call fcn.004c40b0
mov edx, dword [esp + 0x3c]
mov eax, dword [edx + 0x50]
bts eax, esi
mov dword [edx + 0x50], eax
mov eax, dword [esp + 0x30]
or byte [edx + 0x14], al
cmp byte [esp + 0x23], 2
jne 0x4c5e2e
push dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push 0
push dword [ebp + 8]
call fcn.004c59c0
mov eax, dword [esp + 0x38]
add esp, 0x10
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x6c]
lea ecx, [esp + 0x90]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x98], xmm0
movlpd qword [esp + 0xa0], xmm0
movlpd qword [esp + 0xa8], xmm0
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], eax
call fcn.004a86c0
test eax, eax
jne 0x4c6d02
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4c5ef5
cmp byte [ebx + 0x12], 0
jne 0x4c5ef5
cmp dword [ebx + 0x78], 0
jne 0x4c5ef5
cmp byte [ebx + 0x95], 0
jne 0x4c5ef5
inc dword [ebx + 0x2c]
mov ecx, dword [edi + 0x74]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x60], edx
cmp dword [edi + 0x78], ecx
jg 0x4c5ec2
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.00491e40
add esp, 0xc
jmp 0x4c5ef5
mov esi, dword [esp + 0x38]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x47
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x18], 0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
jne 0x4c60ee
cmp dword [ebp + 8], 0
jne 0x4c60ee
test ecx, ecx
jne 0x4c60ee
cmp byte [edx + 0x2b], 1
je 0x4c60ee
cmp esi, 1
je 0x4c5f53
mov eax, dword [ebx]
mov ecx, dword [esp + 0x14]
mov eax, dword [eax + 0x10]
mov eax, dword [eax + ecx + 4]
cmp byte [eax + 9], 0
je 0x4c5f53
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.004bab20
mov edx, dword [esp + 0x38]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x4c6026
mov eax, dword [edx]
mov ecx, dword [esp + 0x60]
mov dword [esp + 0x54], eax
or eax, 0xffffffff
test ecx, ecx
cmovne eax, ecx
mov ecx, dword [edx + 0x14]
mov edx, dword [edi + 0x74]
mov dword [esp + 0x70], eax
mov dword [esp + 0x4c], ecx
cmp dword [edi + 0x78], edx
jg 0x4c5f9f
push eax
push esi
push ecx
mov edx, 0x90
mov ecx, edi
call fcn.00491e40
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x58]
add eax, 0x70
jmp 0x4c5fd5
mov ebx, dword [esp + 0x4c]
lea eax, [edx + 1]
mov dword [edi + 0x74], eax
lea ecx, [edx + edx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 8], esi
mov esi, dword [esp + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 0xc], esi
mov dword [eax + ecx*4 + 0x10], 0
lea eax, [edi + 0x70]
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
je 0x4c5fef
mov edx, dword [esp + 0x54]
push edx
or edx, 0xffffffff
call fcn.00492950
add esp, 4
jmp 0x4c6026
test edx, edx
jns 0x4c5ff7
mov edx, dword [edi + 0x74]
dec edx
mov eax, dword [eax]
lea ecx, [edx + edx*4]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
mov edx, dword [esp + 0x54]
je 0x4c601b
push 0xffffffffffffffff
push edx
mov edx, eax
mov ecx, edi
call fcn.00492ba0
add esp, 8
jmp 0x4c6026
test edx, edx
je 0x4c6026
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 8]
test esi, esi
je 0x4c6cd0
mov ebx, dword [esp + 0x38]
nop dword [eax]
mov ecx, dword [edi + 0x74]
mov eax, dword [esi + 0x2c]
mov dword [esp + 0x4c], eax
cmp dword [edi + 0x78], ecx
jg 0x4c6067
push 0
push ebx
push eax
mov edx, 0x90
mov ecx, edi
call fcn.00491e40
add esp, 0xc
lea edx, [edi + 0x70]
jmp 0x4c609c
mov ebx, dword [esp + 0x4c]
lea eax, [ecx + 1]
mov dword [edi + 0x74], eax
lea edx, [edi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x38]
mov dword [eax + ecx*4], 0x90
mov dword [eax + ecx*4 + 8], ebx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esi + 0x38]
and al, 3
cmp al, 2
jne 0x4c60da
mov eax, dword [esp + 0x2c]
test byte [eax + 0x1c], 0x80
je 0x4c60da
mov eax, dword [edi]
mov ecx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4c60c1
mov ecx, 0x5cdb3c
jmp 0x4c60cc
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx - 2]
lea ecx, [eax + ecx*4]
mov edx, dword [esp + 0x60]
or eax, 0xffffffff
test edx, edx
cmovne eax, edx
mov dword [ecx], eax
mov esi, dword [esi + 0x14]
test esi, esi
jne 0x4c6040
mov ebx, dword [esp + 0x1c]
jmp 0x4c6cd0
test byte [esp + 0xa8], 0x40
mov eax, 1
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test byte [edx + 0x1c], 0x80
lea eax, [eax*8 + 0x14]
movzx eax, ax
mov dword [esp + 0x14], eax
jne 0x4c6193
inc dword [ebx + 0x2c]
lea esi, [edi + 0x74]
mov ecx, dword [esi]
lea eax, [edi + 0x78]
mov edx, dword [ebx + 0x2c]
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x4c6160
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, edi
call fcn.00491e40
add esp, 0xc
jmp 0x4c6296
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x4a
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
jmp 0x4c6296
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4c61b4
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4c61b0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4c61a0
mov dword [esp + 0x30], ecx
mov eax, dword [ebx + 0x2c]
lea esi, [edi + 0x74]
movzx ecx, word [ecx + 0x32]
mov dword [esp + 0x38], ecx
mov dword [esp + 0x3c], esi
lea edx, [eax + 1]
mov dword [esp + 0x44], edx
movsx edx, cx
add eax, edx
mov dword [ebx + 0x2c], eax
mov eax, dword [ebx + 0x28]
mov dword [esp + 0x34], eax
inc eax
mov dword [ebx + 0x28], eax
lea eax, [edi + 0x78]
mov ecx, dword [esi]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], eax
cmp dword [eax], ecx
jg 0x4c620d
push 0
push edx
push dword [esp + 0x3c]
mov edx, 0x74
mov ecx, edi
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4c623f
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x74
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [ebx + 8]
mov ecx, ebx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], eax
call fcn.004c4a40
mov dword [esp + 0x58], eax
test eax, eax
je 0x4c6296
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4c6275
push eax
mov edx, 0xfffffff7
call fcn.00492950
add esp, 4
jmp 0x4c628b
mov eax, dword [edx + 0x74]
lea ecx, [eax + eax*4]
mov eax, dword [edx + 0x70]
mov edx, dword [esp + 0x58]
mov byte [eax + ecx*4 - 0x13], 0xf7
mov dword [eax + ecx*4 - 4], edx
lea eax, [edi + 0x78]
mov dword [esp + 0x3c], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x28]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
inc eax
push eax
push dword [esp + 0x18]
push 0
push 0
push 0
push dword [ebp + 8]
call fcn.00505b40
mov edx, eax
add esp, 0x18
mov dword [esp + 0x58], edx
test edx, edx
je 0x4c6d02
mov eax, dword [edx + 0x18]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 0x1c]
mov dword [esp + 0x4c], eax
mov al, byte [edx + 0x32]
mov byte [esp + 0xf], al
mov byte [esp + 0x84], al
cmp al, 1
je 0x4c62f6
mov eax, dword [esp + 0x48]
mov ecx, ebx
mov eax, dword [eax]
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
test byte [edx + 0x34], 1
mov edx, dword [esp + 0x18]
je 0x4c6359
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4c6323
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x8e
mov ecx, edi
call fcn.00491e40
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4c6359
mov ebx, dword [esp + 0x28]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x8e
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 + 0x60]
test eax, eax
je 0x4c63af
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4c637d
push 0
push 1
push eax
mov edx, 0x55
mov ecx, edi
call fcn.00491e40
add esp, 0xc
jmp 0x4c63af
mov edx, dword [esp + 0x60]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov dword [eax + ecx*4], 0x55
mov dword [eax + ecx*4 + 4], edx
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp dword [esp + 0x30], 0
je 0x4c6415
mov eax, dword [esp + 0x38]
xor ecx, ecx
cwde
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x4c640b
mov ebx, dword [esp + 0x2c]
mov esi, dword [esp + 0x30]
nop dword [eax]
mov eax, dword [esp + 0x44]
mov edx, ebx
add eax, ecx
push eax
mov eax, dword [esi + 4]
movsx eax, word [eax + ecx*2]
mov ecx, edi
push eax
push dword [esp + 0x30]
call fcn.004aea40
mov ecx, dword [esp + 0x54]
add esp, 0xc
mov edx, dword [esp + 0x38]
inc ecx
movsx eax, dx
mov dword [esp + 0x48], ecx
cmp ecx, eax
jl 0x4c63d0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x4c6478
mov edx, dword [ebx + 0x2c]
mov eax, dword [esp + 0x18]
inc edx
mov dword [ebx + 0x2c], edx
mov ecx, dword [esi]
mov dword [esp + 0x14], edx
cmp dword [eax], ecx
jg 0x4c6446
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x86
mov ecx, edi
call fcn.00491e40
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4c6478
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edi + 0x70]
mov esi, dword [esp + 0x28]
mov dword [eax + ecx*4 + 4], esi
mov esi, dword [esp + 0x3c]
mov dword [eax + ecx*4], 0x86
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
cmp byte [esp + 0xf], 0
lea ecx, [ebx + 0x2c]
je 0x4c6546
mov eax, dword [esp + 0x38]
mov esi, dword [esp + 0x70]
mov ecx, dword [esp + 0x5c]
movzx eax, ax
mov dword [esp + 0x48], eax
lea eax, [esi + 2]
cdq
push edx
push eax
call fcn.0046d980
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4c64bf
mov ecx, dword [esp + 0x58]
call fcn.00506790
jmp 0x4c6d02
lea eax, [esi + 1]
push eax
push 1
push ecx
call fcn.0054bbf0
mov edx, dword [esp + 0x70]
add esp, 0xc
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x28]
mov byte [esi + edx + 1], 0
test eax, eax
js 0x4c64e9
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x4c64f7
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4c652c
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x4c652c
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x70]
push dword [eax + edx*4 + 0x10]
lea esi, [eax + edx*4]
movsx edx, byte [esi + 1]
call fcn.00492950
add esp, 4
mov word [esi], 0xb6
mov dword [esi + 0x10], 0
dec dword [ebx + 0x38]
lea edx, [edi + 0x70]
mov eax, dword [ebx + 0x38]
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], edx
jmp 0x4c66a0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4c662a
inc dword [ecx]
mov edx, eax
mov ecx, dword [ecx]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x38]
movsx ecx, cx
push ecx
push ecx
mov ecx, dword [ebx]
mov dword [esp + 0x50], 0
call fcn.004cf140
mov ecx, dword [esp + 0x40]
add esp, 4
mov edx, 0x60
push eax
push dword [esp + 0x1c]
movsx eax, cx
mov ecx, edi
push eax
push dword [esp + 0x54]
call fcn.004921e0
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4c65c7
push dword [esp + 0x44]
mov edx, 0x89
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.00491e40
add esp, 0xc
lea edx, [edi + 0x70]
mov ecx, eax
jmp 0x4c6603
mov ebx, dword [esp + 0x34]
lea eax, [ecx + 1]
mov dword [esi], eax
lea edx, [edi + 0x70]
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x89
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
mov dword [esp + 0x10], edx
cmp byte [eax + 0x57], 0
jne 0x4c6693
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov ebx, dword [esp + 0x38]
movsx edx, bx
mov byte [eax + ecx*4 + 1], 0xfd
mov dword [eax + ecx*4 + 0x10], edx
jmp 0x4c668f
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x48], 1
cmp dword [eax], ecx
jg 0x4c665b
push 0
push edx
push dword [esp + 0x70]
mov edx, 0x9b
mov ecx, edi
call fcn.00491e40
lea eax, [edi + 0x70]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4c6693
mov ebx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
lea eax, [edi + 0x70]
mov dword [esp + 0x10], eax
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x9b
mov dword [eax + ecx*4 + 4], ebx
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x58]
call fcn.00506790
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x23], 2
je 0x4c6783
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x44], eax
jne 0x4c6712
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x44], ecx
cmp dword [eax], ecx
jg 0x4c66e1
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.00491e40
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4c6712
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x11
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 edx, dword [esp + 0x2c]
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
push dword [esp + 0x6c]
push dword [esp + 0x34]
push 8
push 0x70
call fcn.004d3d90
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4c6787
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
lea edx, [eax - 1]
cmp ecx, edx
jne 0x4c6753
mov dword [esi], edx
jmp 0x4c678f
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4c6769
mov ecx, dword [esp + 0x50]
mov eax, 0x5cdb30
mov dword [eax + 8], ecx
jmp 0x4c678f
mov eax, dword [esp + 0x10]
test ecx, ecx
cmovns edx, ecx
mov eax, dword [eax]
lea ecx, [edx + edx*4]
lea eax, [eax + ecx*4]
mov ecx, dword [esp + 0x50]
mov dword [eax + 8], ecx
jmp 0x4c678f
mov al, byte [esp + 0xf]
test al, al
je 0x4c6847
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp byte [eax + 0x2b], 1
je 0x4c69dd
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x28]
cmp byte [eax + ecx], 0
je 0x4c69dd
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4c67e4
push dword [esp + 0x14]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x58]
push dword [esp + 0x2c]
call fcn.00491e40
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, eax
jmp 0x4c6821
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x24]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 4], ebx
mov ebx, dword [esp + 0x54]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x14]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0x1e
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4c69d9
mov eax, dword [edx]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 + 1], 0xfd
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x48]
cwde
mov dword [ecx + 0x10], eax
jmp 0x4c69d9
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
je 0x4c697d
cmp eax, ecx
jg 0x4c6883
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x26
mov ecx, edi
call fcn.00491e40
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4c68b8
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4], 0x26
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 eax, dword [esp + 0x2c]
mov ecx, dword [esi]
mov ebx, dword [esp + 0x18]
cmp byte [eax + 0x2b], 1
jne 0x4c6924
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4c68ee
push dword [esp + 0x14]
mov edx, 0x5d
mov ecx, edi
push 0
push dword [esp + 0x3c]
call fcn.00491e40
add esp, 0xc
jmp 0x4c69d9
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x5d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c69d9
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4c694a
push 0
push dword [esp + 0x18]
mov edx, 0x85
mov ecx, edi
push dword [esp + 0x3c]
call fcn.00491e40
add esp, 0xc
jmp 0x4c69d9
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x85
mov dword [eax + ecx*4 + 8], edx
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c69d9
cmp eax, ecx
jg 0x4c699c
push dword [esp + 0x14]
mov edx, 0x2d
mov ecx, edi
push 0
push dword [esp + 0x70]
call fcn.00491e40
add esp, 0xc
jmp 0x4c69d5
mov edx, dword [esp + 0x68]
lea eax, [ecx + 1]
mov dword [esi], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x14]
mov dword [eax + ecx*4], 0x2d
mov dword [eax + ecx*4 + 8], 0
mov dword [eax + ecx*4 + 0xc], edx
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [esp + 0x40]
mov dword [esp + 0x40], eax
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
cmp byte [edx + 0x2b], 1
jne 0x4c6b57
mov esi, dword [edx + 0x34]
test esi, esi
je 0x4c6a01
mov eax, dword [esp + 0x5c]
cmp dword [esi], eax
je 0x4c6a01
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4c69f6
mov ecx, ebx
call fcn.004f5da0
mov ecx, dword [esp + 0x78]
mov eax, dword [ecx]
test eax, eax
mov ecx, ebx
cmovne ecx, eax
cmp byte [esp + 0xf], 1
mov byte [ecx + 0x15], 1
jne 0x4c6a89
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
cmp dword [eax], edx
jg 0x4c6a47
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x79
mov ecx, edi
call fcn.00491e40
add esp, 0xc
jmp 0x4c6a7c
lea eax, [edx + 1]
mov dword [ecx], eax
lea ecx, [edx + edx*4]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
mov eax, dword [eax]
mov dword [eax + ecx*4], 0x79
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 + 0x78]
cmp dword [eax], 0
jne 0x4c6a89
mov byte [ebx + 0x14], 0
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4c6aba
push dword [esp + 0x14]
mov edx, 0xa
mov ecx, edi
push 1
push 0
call fcn.00491e40
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, eax
jmp 0x4c6af7
mov ebx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [edx], eax
lea ecx, [ecx + ecx*4]
mov eax, dword [esp + 0x10]
mov eax, dword [eax]
mov dword [eax + ecx*4 + 0xc], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xa
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 8], 1
mov dword [eax + ecx*4 + 0x10], 0
mov ecx, dword [esp + 0x50]
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
jne 0x4c6b28
test ecx, ecx
jns 0x4c6b06
mov ecx, dword [edx]
dec ecx
mov edx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
mov eax, dword [edx]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4c6b47
push 0xfffffffffffffff4
push esi
mov edx, eax
mov ecx, edi
call fcn.00492ba0
add esp, 8
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
jle 0x4c6b90
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c6b90
test esi, esi
je 0x4c6b2c
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4c6b2c
push dword [esp + 0x4c]
cmp byte [ebx + 0x12], 0
push dword [esp + 0x88]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x58]
push dword [esp + 0x28]
push dword [esp + 0x8c]
push ecx
push dword [esp + 0xac]
mov ecx, ebx
call fcn.004c6d60
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x4c6bd7
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4c6bc1
push edx
mov edx, edi
call fcn.00492660
mov ecx, dword [esp + 0x5c]
add esp, 4
call fcn.00506790
jmp 0x4c6cd0
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x58]
call fcn.00506790
jmp 0x4c6cd0
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
je 0x4c6c4e
mov edx, dword [esp + 0x40]
inc edx
cmp eax, ecx
jg 0x4c6c0e
push 0
push edx
push dword [esp + 0x3c]
mov edx, 5
mov ecx, edi
call fcn.00491e40
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4c6ca8
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
inc ebx
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + ecx*4 + 4], edx
mov edx, dword [esp + 0x10]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 5
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
jmp 0x4c6ca8
cmp eax, ecx
jg 0x4c6c6f
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00491e40
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4c6ca8
mov edx, dword [esp + 0x10]
lea eax, [ecx + 1]
mov ebx, dword [esp + 0x40]
lea ecx, [ecx + ecx*4]
mov dword [esi], eax
mov eax, dword [edx]
mov dword [eax + ecx*4 + 8], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + ecx*4], 0xb
mov dword [eax + ecx*4 + 4], 0
mov dword [eax + ecx*4 + 0xc], 0
mov dword [eax + ecx*4 + 0x10], 0
mov eax, dword [edi]
mov esi, dword [esi]
cmp byte [eax + 0x57], 0
je 0x4c6cb9
mov eax, 0x5cdb30
jmp 0x4c6ccd
mov ecx, dword [esp + 0x40]
lea eax, [esi - 1]
test ecx, ecx
cmovns eax, ecx
lea ecx, [eax + eax*4]
mov eax, dword [edx]
lea eax, [eax + ecx*4]
mov dword [eax + 8], esi
cmp byte [ebx + 0x12], 0
jne 0x4c6ce9
cmp dword [ebx + 0x78], 0
jne 0x4c6ce9
cmp dword [ebx + 0x70], 0
je 0x4c6ce9
mov ecx, ebx
call fcn.004cf800
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4c6d02
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.004c57f0
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
test eax, eax
je 0x4c6d1f
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xf8], ecx
jmp 0x4c6d1f
xor esi, esi
mov ebx, dword [esp + 0x5c]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
call fcn.004c39d0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c6d3e
mov edx, eax
mov ecx, ebx
call fcn.004aa250
test esi, esi
je 0x4c6d4b
mov edx, esi
mov ecx, ebx
call fcn.0046d590
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret