Function at 0x4cb9d0
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 0x4ccb3f
call fcn.004cb580
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4ccb3f
push esi
push esi
push 0x80
mov edx, edi
mov ecx, ebx
call fcn.004f3d50
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 0x4cba8c
push esi
push esi
mov edx, edi
mov ecx, ebx
call fcn.004d3a20
add esp, 8
mov dword [esp + 0x30], esi
test eax, eax
je 0x4cba94
mov dword [esp + 0x30], 1
mov edx, edi
mov ecx, ebx
call fcn.004c5dd0
test eax, eax
jne 0x4ccb3d
test esi, esi
mov edx, edi
mov ecx, ebx
setne al
push eax
call fcn.004cb6f0
add esp, 4
test eax, eax
jne 0x4ccb3d
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
test ecx, ecx
je 0x4cbaef
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x38], esi
cmp dword [eax], ecx
je 0x4cbaef
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4cbae3
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.004c08b0
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, 1
je 0x4ccb3d
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 0x4cbb50
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4cbb40
mov dword [esp + 0x70], edx
cmp byte [esp + 0x23], 2
jne 0x4cbb72
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 0x4cbb8b
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 0x4cbba3
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], edi
jmp 0x4cbbd2
cmp dword [eax], 0
jne 0x4cbbb4
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4cbbb4
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00497a10
mov edi, eax
lea ecx, [ebx + 0x74]
mov dword [esp + 0x78], ecx
mov eax, ecx
mov dword [esp + 0x58], edi
test edi, edi
je 0x4ccb22
cmp byte [ebx + 0x12], 0
jne 0x4cbbdf
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 0x4cbc12
bts ecx, esi
mov dword [edx + 0x54], ecx
cmp esi, 1
jne 0x4cbc12
mov ecx, edx
call fcn.004c9ed0
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 0x4cbc4e
push dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push 0
push dword [ebp + 8]
call fcn.004cb7e0
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.004ae4d0
test eax, eax
jne 0x4ccb22
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4cbd15
cmp byte [ebx + 0x12], 0
jne 0x4cbd15
cmp dword [ebx + 0x78], 0
jne 0x4cbd15
cmp byte [ebx + 0x95], 0
jne 0x4cbd15
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 0x4cbce2
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4cbd15
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 0x4cbf0e
cmp dword [ebp + 8], 0
jne 0x4cbf0e
test ecx, ecx
jne 0x4cbf0e
cmp byte [edx + 0x2b], 1
je 0x4cbf0e
cmp esi, 1
je 0x4cbd73
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 0x4cbd73
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.004c0940
mov edx, dword [esp + 0x38]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x4cbe46
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 0x4cbdbf
push eax
push esi
push ecx
mov edx, 0x90
mov ecx, edi
call fcn.00497c60
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x58]
add eax, 0x70
jmp 0x4cbdf5
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 0x4cbe0f
mov edx, dword [esp + 0x54]
push edx
or edx, 0xffffffff
call fcn.00498770
add esp, 4
jmp 0x4cbe46
test edx, edx
jns 0x4cbe17
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 0x4cbe3b
push 0xffffffffffffffff
push edx
mov edx, eax
mov ecx, edi
call fcn.004989c0
add esp, 8
jmp 0x4cbe46
test edx, edx
je 0x4cbe46
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 8]
test esi, esi
je 0x4ccaf0
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 0x4cbe87
push 0
push ebx
push eax
mov edx, 0x90
mov ecx, edi
call fcn.00497c60
add esp, 0xc
lea edx, [edi + 0x70]
jmp 0x4cbebc
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 0x4cbefa
mov eax, dword [esp + 0x2c]
test byte [eax + 0x1c], 0x80
je 0x4cbefa
mov eax, dword [edi]
mov ecx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4cbee1
mov ecx, 0x5d4b7c
jmp 0x4cbeec
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 0x4cbe60
mov ebx, dword [esp + 0x1c]
jmp 0x4ccaf0
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 0x4cbfb3
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 0x4cbf80
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4cc0b6
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 0x4cc0b6
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4cbfd4
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4cbfd0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4cbfc0
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 0x4cc02d
push 0
push edx
push dword [esp + 0x3c]
mov edx, 0x74
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4cc05f
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.004ca860
mov dword [esp + 0x58], eax
test eax, eax
je 0x4cc0b6
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4cc095
push eax
mov edx, 0xfffffff7
call fcn.00498770
add esp, 4
jmp 0x4cc0ab
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.0050b960
mov edx, eax
add esp, 0x18
mov dword [esp + 0x58], edx
test edx, edx
je 0x4ccb22
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 0x4cc116
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 0x4cc179
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4cc143
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x8e
mov ecx, edi
call fcn.00497c60
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4cc179
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 0x4cc1cf
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4cc19d
push 0
push 1
push eax
mov edx, 0x55
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4cc1cf
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 0x4cc235
mov eax, dword [esp + 0x38]
xor ecx, ecx
cwde
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x4cc22b
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.004b4850
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 0x4cc1f0
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x4cc298
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 0x4cc266
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x86
mov ecx, edi
call fcn.00497c60
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4cc298
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 0x4cc366
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.004737f0
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4cc2df
mov ecx, dword [esp + 0x58]
call fcn.0050c5b0
jmp 0x4ccb22
lea eax, [esi + 1]
push eax
push 1
push ecx
call fcn.005515a0
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 0x4cc309
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x4cc317
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cc34c
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x4cc34c
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.00498770
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 0x4cc4c0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4cc44a
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.004d4f60
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.00498000
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4cc3e7
push dword [esp + 0x44]
mov edx, 0x89
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.00497c60
add esp, 0xc
lea edx, [edi + 0x70]
mov ecx, eax
jmp 0x4cc423
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 0x4cc4b3
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 0x4cc4af
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x48], 1
cmp dword [eax], ecx
jg 0x4cc47b
push 0
push edx
push dword [esp + 0x70]
mov edx, 0x9b
mov ecx, edi
call fcn.00497c60
lea eax, [edi + 0x70]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4cc4b3
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.0050c5b0
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x23], 2
je 0x4cc5a3
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x44], eax
jne 0x4cc532
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x44], ecx
cmp dword [eax], ecx
jg 0x4cc501
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.00497c60
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4cc532
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.004d9bb0
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4cc5a7
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
lea edx, [eax - 1]
cmp ecx, edx
jne 0x4cc573
mov dword [esi], edx
jmp 0x4cc5af
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4cc589
mov ecx, dword [esp + 0x50]
mov eax, 0x5d4b70
mov dword [eax + 8], ecx
jmp 0x4cc5af
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 0x4cc5af
mov al, byte [esp + 0xf]
test al, al
je 0x4cc667
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp byte [eax + 0x2b], 1
je 0x4cc7fd
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x28]
cmp byte [eax + ecx], 0
je 0x4cc7fd
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4cc604
push dword [esp + 0x14]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x58]
push dword [esp + 0x2c]
call fcn.00497c60
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, eax
jmp 0x4cc641
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 0x4cc7f9
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 0x4cc7f9
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
je 0x4cc79d
cmp eax, ecx
jg 0x4cc6a3
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x26
mov ecx, edi
call fcn.00497c60
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4cc6d8
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 0x4cc744
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4cc70e
push dword [esp + 0x14]
mov edx, 0x5d
mov ecx, edi
push 0
push dword [esp + 0x3c]
call fcn.00497c60
add esp, 0xc
jmp 0x4cc7f9
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 0x4cc7f9
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4cc76a
push 0
push dword [esp + 0x18]
mov edx, 0x85
mov ecx, edi
push dword [esp + 0x3c]
call fcn.00497c60
add esp, 0xc
jmp 0x4cc7f9
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 0x4cc7f9
cmp eax, ecx
jg 0x4cc7bc
push dword [esp + 0x14]
mov edx, 0x2d
mov ecx, edi
push 0
push dword [esp + 0x70]
call fcn.00497c60
add esp, 0xc
jmp 0x4cc7f5
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 0x4cc977
mov esi, dword [edx + 0x34]
test esi, esi
je 0x4cc821
mov eax, dword [esp + 0x5c]
cmp dword [esi], eax
je 0x4cc821
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4cc816
mov ecx, ebx
call fcn.004fbbc0
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 0x4cc8a9
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
cmp dword [eax], edx
jg 0x4cc867
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x79
mov ecx, edi
call fcn.00497c60
add esp, 0xc
jmp 0x4cc89c
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 0x4cc8a9
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 0x4cc8da
push dword [esp + 0x14]
mov edx, 0xa
mov ecx, edi
push 1
push 0
call fcn.00497c60
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, eax
jmp 0x4cc917
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 0x4cc948
test ecx, ecx
jns 0x4cc926
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 0x4cc967
push 0xfffffffffffffff4
push esi
mov edx, eax
mov ecx, edi
call fcn.004989c0
add esp, 8
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
jle 0x4cc9b0
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4cc9b0
test esi, esi
je 0x4cc94c
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4cc94c
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.004ccb80
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x4cc9f7
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cc9e1
push edx
mov edx, edi
call fcn.00498480
mov ecx, dword [esp + 0x5c]
add esp, 4
call fcn.0050c5b0
jmp 0x4ccaf0
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x58]
call fcn.0050c5b0
jmp 0x4ccaf0
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
je 0x4cca6e
mov edx, dword [esp + 0x40]
inc edx
cmp eax, ecx
jg 0x4cca2e
push 0
push edx
push dword [esp + 0x3c]
mov edx, 5
mov ecx, edi
call fcn.00497c60
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4ccac8
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 0x4ccac8
cmp eax, ecx
jg 0x4cca8f
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00497c60
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4ccac8
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 0x4ccad9
mov eax, 0x5d4b70
jmp 0x4ccaed
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 0x4ccb09
cmp dword [ebx + 0x78], 0
jne 0x4ccb09
cmp dword [ebx + 0x70], 0
je 0x4ccb09
mov ecx, ebx
call fcn.004d5620
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4ccb22
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.004cb610
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
test eax, eax
je 0x4ccb3f
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xf8], ecx
jmp 0x4ccb3f
xor esi, esi
mov ebx, dword [esp + 0x5c]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
call fcn.004c97f0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4ccb5e
mov edx, eax
mov ecx, ebx
call fcn.004b0060
test esi, esi
je 0x4ccb6b
mov edx, esi
mov ecx, ebx
call fcn.00473400
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret