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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x65e374]
xor eax, esp
mov dword [esp + 0x98], eax
mov eax, dword [ebp + 8]
xorps xmm0, xmm0
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x40], eax
push edi
mov edi, ecx
mov dword [esp + 0x40], edx
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x60], 0
mov esi, dword [edi]
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], eax
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x68], esi
cmp dword [edi + 0x24], eax
jne 0x4fca5b
cmp byte [esi + 0x45], al
jne 0x4fca5b
call fcn.004fbeb0
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x4fca59
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x30], edx
test dword [eax + 0x18], 0x1000000
je 0x4fc29c
mov edx, ebx
mov ecx, edi
call fcn.00516350
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x4fc29e
xor eax, eax
mov ecx, eax
test eax, eax
je 0x4fc2bb
cmp byte [ecx + 8], 0x6d
jne 0x4fc2b0
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4fc2a4
mov eax, dword [esp + 0x30]
xor ecx, ecx
test edx, edx
cmovne ecx, eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x58], eax
test ecx, ecx
jne 0x4fc2eb
push ecx
push ecx
mov edx, ebx
mov ecx, edi
call fcn.00502740
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
je 0x4fc2f3
mov dword [esp + 0x10], 1
mov edx, ebx
mov ecx, edi
call fcn.004f7d50
test eax, eax
jne 0x4fca59
cmp dword [esp + 0x6c], eax
mov edx, ebx
mov ecx, edi
setne al
push eax
call fcn.004fbf50
add esp, 4
test eax, eax
jne 0x4fca59
mov edx, dword [ebx + 0x48]
mov ecx, esi
call fcn.0050b7a0
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
mov edx, 9
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [ebx]
call fcn.004f4990
add esp, 0xc
mov dword [esp + 0x34], eax
cmp eax, 1
je 0x4fca59
mov ecx, dword [esp + 0x40]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x54], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x28]
mov eax, dword [ebx + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x4fc390
nop dword [eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4fc380
mov dword [esp + 0x54], edx
cmp dword [esp + 0x58], 0
je 0x4fc3af
mov ecx, dword [edi + 0x1bc]
mov eax, dword [ebx]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
mov dword [edi + 0x1bc], eax
jmp 0x4fc3bf
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x74], eax
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x4fc3d7
mov ecx, edi
call fcn.0050ef70
mov ebx, eax
test ebx, ebx
je 0x4fca41
cmp byte [edi + 0x12], 0
jne 0x4fc3e4
or dword [ebx + 0x90], 0x10
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.004faad0
add esp, 4
cmp dword [esp + 0x58], 0
je 0x4fc420
push dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x48]
call fcn.004fbfe0
mov eax, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x60], eax
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x84]
mov edx, dword [esp + 0x44]
xorps xmm0, xmm0
movlpd qword [esp + 0x8c], xmm0
movlpd qword [esp + 0x94], xmm0
movlpd qword [esp + 0x9c], xmm0
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], eax
call fcn.004e9a00
test eax, eax
jne 0x4fca41
test byte [esi + 0x18], 0x80
je 0x4fc48a
inc dword [edi + 0x2c]
mov edx, 0x4d
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x58], eax
call fcn.004d5ed0
add esp, 8
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x4fc51a
cmp dword [esp + 0x44], 0
jne 0x4fc51a
test ecx, ecx
jne 0x4fc51a
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], ecx
jne 0x4fc51a
mov edx, dword [esp + 0x14]
mov esi, eax
mov ecx, edi
push dword [esi]
push 1
push dword [esi + 0x1c]
call fcn.004f4a30
add esp, 0xc
test byte [esi + 0x24], 0x20
jne 0x4fc4e8
push 0xfffffffffffffffe
push dword [esi]
mov edx, 0x83
mov ecx, ebx
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esi + 0x1c]
call fcn.004d6110
add esp, 0x14
mov esi, dword [esi + 8]
test esi, esi
je 0x4fc9d9
mov edi, dword [esp + 0x14]
push edi
push dword [esi + 0x2c]
mov edx, 0x83
mov ecx, ebx
call fcn.004d5ed0
mov esi, dword [esi + 0x14]
add esp, 8
test esi, esi
jne 0x4fc4f7
mov edi, dword [esp + 0x28]
jmp 0x4fc9d9
test byte [esp + 0xa0], 0x40
mov eax, 1
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax*8 + 0x414]
movzx eax, ax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x1c]
test byte [eax + 0x24], 0x20
jne 0x4fc577
inc dword [edi + 0x2c]
mov edx, 0x50
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x64], eax
call fcn.004d5ed0
add esp, 8
jmp 0x4fc5c9
mov ecx, eax
call fcn.004f6040
mov dword [esp + 0x10], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x14], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x3c], edx
mov ecx, ebx
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x40], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6c
mov dword [edi + 0x28], eax
call fcn.004d5ed0
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.004d6b50
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x40]
inc eax
push eax
push dword [esp + 0x38]
push 0
push 0
push dword [esp + 0x54]
call fcn.00526220
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x4fca41
test byte [esi + 0x18], 0x80
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x34], eax
mov al, byte [ecx + 0x2d]
mov byte [esp + 0xf], al
mov byte [esp + 0x78], al
je 0x4fc62e
push 1
push dword [esp + 0x54]
mov edx, 0x5c
mov ecx, ebx
call fcn.004d5ed0
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4fc688
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ax, cx
jge 0x4fc67e
mov esi, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [esp + 0x38]
mov ecx, ebx
add eax, edi
push eax
mov eax, dword [edx + 4]
mov edx, esi
movsx eax, word [eax + edi*2]
push eax
push dword [esp + 0x20]
call fcn.004eed00
mov ecx, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, cx
cmp edi, eax
jl 0x4fc647
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jmp 0x4fc6af
mov eax, dword [edi + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0x1c]
inc eax
push 0
push eax
push dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.004eeda0
add esp, 0x10
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0x2c]
jle 0x4fc6af
mov dword [edi + 0x2c], eax
cmp byte [esp + 0xf], 0
je 0x4fc751
mov eax, dword [esp + 0x14]
movzx ecx, ax
mov eax, dword [esp + 0x54]
add eax, 2
mov dword [esp + 0x28], ecx
cdq
mov ecx, esi
push edx
push eax
call fcn.004b8080
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4fc6f1
mov ecx, dword [esp + 0x30]
call fcn.00526d00
jmp 0x4fca41
mov esi, dword [esp + 0x54]
lea eax, [esi + 1]
push eax
push 1
push ecx
call fcn.005d05b0
mov ecx, dword [esp + 0x38]
add esp, 0xc
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x18]
mov byte [esi + ecx + 1], 0
test eax, eax
js 0x4fc722
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x34]
test eax, eax
js 0x4fc730
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x4fc741
mov edx, eax
mov ecx, ebx
call fcn.004d6960
mov ecx, ebx
call fcn.004d62a0
mov dword [esp + 0x64], eax
jmp 0x4fc7dc
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4fc7b7
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x30], 0
call fcn.00503550
add esp, 4
mov edx, 0x64
mov ecx, ebx
push eax
push dword [esp + 0x28]
push esi
push dword [esp + 0x48]
call fcn.004d6110
add esp, 0x14
mov edx, 0x7e
mov ecx, ebx
push esi
push dword [esp + 0x3c]
push dword [esp + 0x28]
push dword [esp + 0x48]
call fcn.004d6210
add esp, 0x10
jmp 0x4fc7d3
push eax
push dword [esp + 0x60]
mov edx, 0x8f
mov dword [esp + 0x30], 1
mov ecx, ebx
call fcn.004d5ed0
add esp, 8
mov ecx, dword [esp + 0x30]
call fcn.00526d00
cmp dword [esp + 0x58], 0
jne 0x4fc83d
cmp byte [esp + 0xf], 2
mov dword [esp + 0x48], 0
jne 0x4fc802
mov edx, 0x14
mov ecx, ebx
call fcn.004d5df0
mov dword [esp + 0x48], eax
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
mov edx, esi
push eax
push dword [esp + 0x34]
mov ecx, edi
push dword [esp + 0x24]
push 8
push 0x6a
call fcn.00506340
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4fc845
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.004d6610
jmp 0x4fc849
mov esi, dword [esp + 0x1c]
mov al, byte [esp + 0xf]
test al, al
je 0x4fc885
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0x24]
jne 0x4fc8e1
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x18]
cmp byte [eax + ecx], 0
je 0x4fc8db
mov eax, dword [esp + 0x28]
mov edx, 0x1e
cwde
push eax
push dword [esp + 0x24]
push dword [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.004d6210
add esp, 0x10
jmp 0x4fc8d7
cmp dword [esp + 0x10], 0
mov ecx, ebx
je 0x4fc8bc
push dword [esp + 0x3c]
mov edx, 0x3a
call fcn.004d5e60
add esp, 4
mov dword [esp + 0x4c], eax
mov edx, 0x7a
mov ecx, ebx
push dword [esp + 0x20]
push dword [esp + 0x40]
call fcn.004d5ed0
add esp, 8
jmp 0x4fc8d7
push dword [esp + 0x20]
mov edx, 0x3f
push 0
push dword [esp + 0x64]
call fcn.004d5d80
add esp, 0xc
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x38], 0
je 0x4fc94e
mov esi, dword [esi + 0x40]
test esi, esi
je 0x4fc8fb
mov eax, dword [esp + 0x68]
nop dword [eax]
cmp dword [esi], eax
je 0x4fc8fb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4fc8f0
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.0051b5d0
push 0xfffffffffffffff8
push esi
push dword [esp + 0x28]
mov edx, 0xc
mov ecx, ebx
push 1
push 0
call fcn.004d6110
add esp, 0x14
mov edx, 2
mov ecx, ebx
call fcn.004d65f0
mov eax, dword [edi + 0x7c]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov al, byte [esp + 0xf]
mov byte [ecx + 0x15], 1
cmp al, 1
jne 0x4fc987
cmp dword [edi + 0x7c], 0
jne 0x4fc987
mov byte [edi + 0x14], 0
jmp 0x4fc987
push dword [esp + 0x34]
cmp byte [edi + 0x12], 0
mov edx, esi
push dword [esp + 0x7c]
sete al
push 0xa
movzx eax, al
push eax
push dword [esp + 0x38]
push dword [esp + 0x34]
push dword [esp + 0x78]
push ecx
push dword [esp + 0x8c]
mov ecx, edi
call fcn.004fcb00
mov al, byte [esp + 0x33]
add esp, 0x24
mov ecx, ebx
test al, al
je 0x4fc9a1
mov edx, dword [esp + 0x64]
call fcn.004d62f0
mov ecx, dword [esp + 0x30]
call fcn.00526d00
jmp 0x4fc9d9
cmp dword [esp + 0x10], 0
je 0x4fc9c5
mov esi, dword [esp + 0x4c]
mov edx, 7
lea eax, [esi + 1]
push eax
push dword [esp + 0x40]
call fcn.004d5ed0
add esp, 8
mov edx, esi
jmp 0x4fc9d2
mov edx, dword [esp + 0x4c]
call fcn.004d5f40
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.004d6610
cmp byte [edi + 0x12], 0
jne 0x4fc9f5
cmp dword [edi + 0x80], 0
jne 0x4fc9f5
cmp dword [edi + 0x78], 0
je 0x4fc9f5
mov ecx, edi
call fcn.005037c0
mov esi, dword [esp + 0x68]
test byte [esi + 0x18], 0x80
je 0x4fca41
cmp byte [edi + 0x12], 0
jne 0x4fca41
cmp dword [edi + 0x80], 0
jne 0x4fca41
push 1
push dword [esp + 0x54]
mov edx, 0x58
mov ecx, ebx
call fcn.004d5ed0
mov edx, 1
mov ecx, ebx
call fcn.004d7b40
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, ebx
call fcn.004d7c10
add esp, 0x14
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x4fca5b
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x1bc], ecx
jmp 0x4fca5b
xor ebx, ebx
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.004fa380
mov eax, dword [esp + 0x44]
test eax, eax
je 0x4fca77
mov edx, eax
mov ecx, esi
call fcn.004eaed0
test ebx, ebx
je 0x4fcae8
test esi, esi
je 0x4fcadf
cmp dword [esi + 0x1c8], 0
je 0x4fcaa6
mov edx, ebx
mov ecx, esi
call fcn.004b7d60
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
cmp ebx, dword [esi + 0x120]
jb 0x4fcadf
cmp ebx, dword [esi + 0x124]
jae 0x4fcadf
mov eax, dword [esi + 0x11c]
mov dword [ebx], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret
push ebx
call fcn.004b7cf0
add esp, 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b8427
mov esp, ebp
pop ebp
ret