Function at 0x4cbce0
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 0x4cce4f
call fcn.004cb890
mov edi, eax
mov dword [esp + 0x2c], edi
test edi, edi
je 0x4cce4f
push esi
push esi
push 0x80
mov edx, edi
mov ecx, ebx
call fcn.004f4040
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 0x4cbd9c
push esi
push esi
mov edx, edi
mov ecx, ebx
call fcn.004d3d30
add esp, 8
mov dword [esp + 0x30], esi
test eax, eax
je 0x4cbda4
mov dword [esp + 0x30], 1
mov edx, edi
mov ecx, ebx
call fcn.004c60e0
test eax, eax
jne 0x4cce4d
test esi, esi
mov edx, edi
mov ecx, ebx
setne al
push eax
call fcn.004cba00
add esp, 4
test eax, eax
jne 0x4cce4d
mov ecx, dword [edi + 0x3c]
mov esi, 0xffff8000
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x38], esi
test ecx, ecx
je 0x4cbdff
mov eax, dword [edx + 0x10]
xor esi, esi
add eax, 0xc
mov dword [esp + 0x38], esi
cmp dword [eax], ecx
je 0x4cbdff
lea eax, [eax + 0x10]
inc esi
cmp dword [eax], ecx
jne 0x4cbdf3
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.004c0bc0
add esp, 0xc
mov dword [esp + 0x18], eax
cmp eax, 1
je 0x4cce4d
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 0x4cbe60
inc ecx
inc edx
mov dword [ebx + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4cbe50
mov dword [esp + 0x70], edx
cmp byte [esp + 0x23], 2
jne 0x4cbe82
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 0x4cbe9b
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 0x4cbeb3
mov dword [esp + 0x78], eax
mov dword [esp + 0x58], edi
jmp 0x4cbee2
cmp dword [eax], 0
jne 0x4cbec4
mov eax, dword [ebx]
test byte [eax + 0x50], 8
jne 0x4cbec4
mov byte [ebx + 0x17], 1
mov ecx, ebx
call fcn.00497d30
mov edi, eax
lea ecx, [ebx + 0x74]
mov dword [esp + 0x78], ecx
mov eax, ecx
mov dword [esp + 0x58], edi
test edi, edi
je 0x4cce32
cmp byte [ebx + 0x12], 0
jne 0x4cbeef
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 0x4cbf22
bts ecx, esi
mov dword [edx + 0x54], ecx
cmp esi, 1
jne 0x4cbf22
mov ecx, edx
call fcn.004ca1e0
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 0x4cbf5e
push dword [esp + 0x28]
mov edx, dword [esp + 0x30]
mov ecx, ebx
push 0
push 0
push dword [ebp + 8]
call fcn.004cbaf0
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.004ae7f0
test eax, eax
jne 0x4cce32
mov eax, dword [esp + 0x5c]
mov ecx, dword [eax + 0x24]
xor eax, eax
and ecx, 1
or eax, ecx
je 0x4cc025
cmp byte [ebx + 0x12], 0
jne 0x4cc025
cmp dword [ebx + 0x78], 0
jne 0x4cc025
cmp byte [ebx + 0x95], 0
jne 0x4cc025
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 0x4cbff2
push 0
push edx
push 0
mov edx, 0x47
mov ecx, edi
call fcn.00497f80
add esp, 0xc
jmp 0x4cc025
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 0x4cc21e
cmp dword [ebp + 8], 0
jne 0x4cc21e
test ecx, ecx
jne 0x4cc21e
cmp byte [edx + 0x2b], 1
je 0x4cc21e
cmp esi, 1
je 0x4cc083
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 0x4cc083
push dword [edx]
mov ecx, ebx
push 1
push dword [edx + 0x14]
mov edx, esi
call fcn.004c0c50
mov edx, dword [esp + 0x38]
add esp, 0xc
test byte [edx + 0x1c], 0x80
jne 0x4cc156
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 0x4cc0cf
push eax
push esi
push ecx
mov edx, 0x90
mov ecx, edi
call fcn.00497f80
mov edx, eax
add esp, 0xc
mov eax, dword [esp + 0x58]
add eax, 0x70
jmp 0x4cc105
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 0x4cc11f
mov edx, dword [esp + 0x54]
push edx
or edx, 0xffffffff
call fcn.00498a90
add esp, 4
jmp 0x4cc156
test edx, edx
jns 0x4cc127
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 0x4cc14b
push 0xffffffffffffffff
push edx
mov edx, eax
mov ecx, edi
call fcn.00498ce0
add esp, 8
jmp 0x4cc156
test edx, edx
je 0x4cc156
mov dword [eax + 0x10], edx
mov byte [eax + 1], 0xff
mov eax, dword [esp + 0x2c]
mov esi, dword [eax + 8]
test esi, esi
je 0x4cce00
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 0x4cc197
push 0
push ebx
push eax
mov edx, 0x90
mov ecx, edi
call fcn.00497f80
add esp, 0xc
lea edx, [edi + 0x70]
jmp 0x4cc1cc
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 0x4cc20a
mov eax, dword [esp + 0x2c]
test byte [eax + 0x1c], 0x80
je 0x4cc20a
mov eax, dword [edi]
mov ecx, dword [edi + 0x74]
cmp byte [eax + 0x57], 0
je 0x4cc1f1
mov ecx, 0x5d4b7c
jmp 0x4cc1fc
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 0x4cc170
mov ebx, dword [esp + 0x1c]
jmp 0x4cce00
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 0x4cc2c3
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 0x4cc290
push 0
push edx
push 0
mov edx, 0x4a
mov ecx, edi
call fcn.00497f80
add esp, 0xc
jmp 0x4cc3c6
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 0x4cc3c6
mov ecx, dword [edx + 8]
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4cc2e4
nop
mov eax, dword [ecx + 0x38]
and al, 3
cmp al, 2
je 0x4cc2e0
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x4cc2d0
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 0x4cc33d
push 0
push edx
push dword [esp + 0x3c]
mov edx, 0x74
mov ecx, edi
call fcn.00497f80
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4cc36f
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.004cab70
mov dword [esp + 0x58], eax
test eax, eax
je 0x4cc3c6
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx]
cmp byte [ecx + 0x57], 0
je 0x4cc3a5
push eax
mov edx, 0xfffffff7
call fcn.00498a90
add esp, 4
jmp 0x4cc3bb
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.0050bc50
mov edx, eax
add esp, 0x18
mov dword [esp + 0x58], edx
test edx, edx
je 0x4cce32
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 0x4cc426
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 0x4cc489
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4cc453
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x8e
mov ecx, edi
call fcn.00497f80
mov edx, dword [esp + 0x24]
add esp, 0xc
jmp 0x4cc489
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 0x4cc4df
mov ecx, dword [esi]
cmp dword [edx], ecx
jg 0x4cc4ad
push 0
push 1
push eax
mov edx, 0x55
mov ecx, edi
call fcn.00497f80
add esp, 0xc
jmp 0x4cc4df
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 0x4cc545
mov eax, dword [esp + 0x38]
xor ecx, ecx
cwde
mov dword [esp + 0x48], ecx
test eax, eax
jle 0x4cc53b
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.004b4b70
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 0x4cc500
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x3c]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x14], edx
jmp 0x4cc5a8
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 0x4cc576
push 0
push edx
push dword [esp + 0x30]
mov edx, 0x86
mov ecx, edi
call fcn.00497f80
mov edx, dword [esp + 0x20]
add esp, 0xc
jmp 0x4cc5a8
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 0x4cc676
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.00473b00
mov ecx, eax
add esp, 8
mov dword [esp + 0x64], ecx
test ecx, ecx
jne 0x4cc5ef
mov ecx, dword [esp + 0x58]
call fcn.0050c8a0
jmp 0x4cce32
lea eax, [esi + 1]
push eax
push 1
push ecx
call fcn.005518b0
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 0x4cc619
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x4c]
test eax, eax
js 0x4cc627
sub eax, ecx
mov byte [eax + edx], 0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4cc65c
mov ecx, dword [edi]
cmp byte [ecx + 0x57], 0
jne 0x4cc65c
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.00498a90
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 0x4cc7d0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x4cc75a
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.004d5270
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.00498320
mov eax, dword [esp + 0x2c]
add esp, 0x14
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4cc6f7
push dword [esp + 0x44]
mov edx, 0x89
mov ecx, edi
push dword [esp + 0x18]
push dword [esp + 0x3c]
call fcn.00497f80
add esp, 0xc
lea edx, [edi + 0x70]
mov ecx, eax
jmp 0x4cc733
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 0x4cc7c3
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 0x4cc7bf
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x48], 1
cmp dword [eax], ecx
jg 0x4cc78b
push 0
push edx
push dword [esp + 0x70]
mov edx, 0x9b
mov ecx, edi
call fcn.00497f80
lea eax, [edi + 0x70]
add esp, 0xc
mov dword [esp + 0x10], eax
jmp 0x4cc7c3
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.0050c8a0
mov edx, dword [esp + 0x10]
cmp byte [esp + 0x23], 2
je 0x4cc8b3
xor eax, eax
cmp byte [esp + 0xf], 2
mov dword [esp + 0x44], eax
jne 0x4cc842
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x44], ecx
cmp dword [eax], ecx
jg 0x4cc811
push 0
push 0
push 0
mov edx, 0x11
mov ecx, edi
call fcn.00497f80
add esp, 0xc
mov dword [esp + 0x44], eax
jmp 0x4cc842
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.004d9ec0
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4cc8b7
mov eax, dword [esi]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x50], eax
lea edx, [eax - 1]
cmp ecx, edx
jne 0x4cc883
mov dword [esi], edx
jmp 0x4cc8bf
mov eax, dword [edi]
cmp byte [eax + 0x57], 0
je 0x4cc899
mov ecx, dword [esp + 0x50]
mov eax, 0x5d4b70
mov dword [eax + 8], ecx
jmp 0x4cc8bf
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 0x4cc8bf
mov al, byte [esp + 0xf]
test al, al
je 0x4cc977
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x24]
cmp byte [eax + 0x2b], 1
je 0x4ccb0d
mov eax, dword [esp + 0x64]
sub eax, dword [esp + 0x28]
cmp byte [eax + ecx], 0
je 0x4ccb0d
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x50], ecx
cmp dword [eax], ecx
jg 0x4cc914
push dword [esp + 0x14]
mov edx, 0x1e
mov ecx, edi
push dword [esp + 0x58]
push dword [esp + 0x2c]
call fcn.00497f80
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, eax
jmp 0x4cc951
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 0x4ccb09
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 0x4ccb09
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov dword [esp + 0x40], ecx
mov eax, dword [eax]
je 0x4ccaad
cmp eax, ecx
jg 0x4cc9b3
push 0
push 0
push dword [esp + 0x3c]
mov edx, 0x26
mov ecx, edi
call fcn.00497f80
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov dword [esp + 0x40], eax
jmp 0x4cc9e8
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 0x4cca54
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4cca1e
push dword [esp + 0x14]
mov edx, 0x5d
mov ecx, edi
push 0
push dword [esp + 0x3c]
call fcn.00497f80
add esp, 0xc
jmp 0x4ccb09
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 0x4ccb09
cmp dword [ebx], ecx
mov ebx, dword [esp + 0x1c]
jg 0x4cca7a
push 0
push dword [esp + 0x18]
mov edx, 0x85
mov ecx, edi
push dword [esp + 0x3c]
call fcn.00497f80
add esp, 0xc
jmp 0x4ccb09
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 0x4ccb09
cmp eax, ecx
jg 0x4ccacc
push dword [esp + 0x14]
mov edx, 0x2d
mov ecx, edi
push 0
push dword [esp + 0x70]
call fcn.00497f80
add esp, 0xc
jmp 0x4ccb05
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 0x4ccc87
mov esi, dword [edx + 0x34]
test esi, esi
je 0x4ccb31
mov eax, dword [esp + 0x5c]
cmp dword [esi], eax
je 0x4ccb31
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4ccb26
mov ecx, ebx
call fcn.004fbeb0
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 0x4ccbb9
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x18]
mov edx, dword [ecx]
cmp dword [eax], edx
jg 0x4ccb77
push 0
push 0
push dword [esp + 0x30]
mov edx, 0x79
mov ecx, edi
call fcn.00497f80
add esp, 0xc
jmp 0x4ccbac
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 0x4ccbb9
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 0x4ccbea
push dword [esp + 0x14]
mov edx, 0xa
mov ecx, edi
push 1
push 0
call fcn.00497f80
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, eax
jmp 0x4ccc27
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 0x4ccc58
test ecx, ecx
jns 0x4ccc36
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 0x4ccc77
push 0xfffffffffffffff4
push esi
mov edx, eax
mov ecx, edi
call fcn.00498ce0
add esp, 8
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x3c]
mov eax, dword [esi]
test eax, eax
jle 0x4cccc0
lea ecx, [eax + eax*4]
mov eax, dword [edx]
mov edx, 2
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4cccc0
test esi, esi
je 0x4ccc5c
mov dword [eax + 0x10], esi
mov byte [eax + 1], 0xf4
inc dword [esi + 0xc]
jmp 0x4ccc5c
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.004cce90
add esp, 0x24
cmp byte [esp + 0xf], 0
je 0x4ccd07
mov ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x54]
not edx
mov eax, dword [ecx + 0x3c]
add eax, dword [ecx + 0x38]
jns 0x4cccf1
push edx
mov edx, edi
call fcn.004987a0
mov ecx, dword [esp + 0x5c]
add esp, 4
call fcn.0050c8a0
jmp 0x4cce00
mov ecx, dword [ecx + 0x40]
mov eax, dword [esi]
mov dword [ecx + edx*4], eax
mov ecx, dword [esp + 0x58]
call fcn.0050c8a0
jmp 0x4cce00
cmp dword [esp + 0x30], 0
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
mov eax, dword [eax]
je 0x4ccd7e
mov edx, dword [esp + 0x40]
inc edx
cmp eax, ecx
jg 0x4ccd3e
push 0
push edx
push dword [esp + 0x3c]
mov edx, 5
mov ecx, edi
call fcn.00497f80
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4ccdd8
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 0x4ccdd8
cmp eax, ecx
jg 0x4ccd9f
push 0
push dword [esp + 0x44]
mov edx, 0xb
mov ecx, edi
push 0
call fcn.00497f80
mov edx, dword [esp + 0x1c]
add esp, 0xc
jmp 0x4ccdd8
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 0x4ccde9
mov eax, 0x5d4b70
jmp 0x4ccdfd
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 0x4cce19
cmp dword [ebx + 0x78], 0
jne 0x4cce19
cmp dword [ebx + 0x70], 0
je 0x4cce19
mov ecx, ebx
call fcn.004d5930
mov eax, dword [esp + 0x60]
test eax, eax
je 0x4cce32
push str.rows_deleted
mov edx, eax
mov ecx, edi
call fcn.004cb920
add esp, 4
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x64]
test eax, eax
je 0x4cce4f
mov ecx, dword [esp + 0x80]
mov dword [eax + 0xf8], ecx
jmp 0x4cce4f
xor esi, esi
mov ebx, dword [esp + 0x5c]
mov ecx, ebx
mov edx, dword [esp + 0x6c]
call fcn.004c9b00
mov eax, dword [ebp + 8]
test eax, eax
je 0x4cce6e
mov edx, eax
mov ecx, ebx
call fcn.004b0380
test esi, esi
je 0x4cce7b
mov edx, esi
mov ecx, ebx
call fcn.00473710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret