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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
push esi
xor ebx, ebx
mov dword [esp + 0x34], edx
push edi
mov edi, ecx
mov dword [esp + 0x20], 0
xor eax, eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], eax
xorps xmm0, xmm0
mov dword [esp + 0x58], 0
mov eax, dword [edi]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x48], ebx
movlpd qword [esp + 0x74], xmm0
mov dword [esp + 0x3c], eax
cmp dword [edi + 0x24], ebx
jne 0x4c4af0
cmp byte [eax + 0x51], bl
jne 0x4c4af0
call fcn.004c3f00
mov esi, eax
mov dword [esp + 0x64], esi
test esi, esi
je 0x4c4af0
mov eax, dword [edi]
xor edx, edx
mov eax, dword [eax + 0x20]
and eax, 0x40000
or eax, edx
je 0x4c42f0
mov edx, esi
mov ecx, edi
call fcn.004de720
mov edx, eax
mov ecx, edx
test edx, edx
je 0x4c4309
cmp byte [ecx + 8], 0x79
jne 0x4c4302
movzx eax, byte [ecx + 9]
or ebx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4c42f6
mov eax, dword [esi + 0xc]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x50], eax
cmovne ecx, edx
mov dword [esp + 0x68], ecx
test ecx, ecx
jne 0x4c4339
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.004ca810
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
je 0x4c4341
mov dword [esp + 0x10], 1
mov edx, esi
mov ecx, edi
call fcn.004bfbb0
test eax, eax
jne 0x4c4aee
cmp dword [esp + 0x68], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.004c3f90
add esp, 4
test eax, eax
jne 0x4c4aee
mov ebx, dword [esp + 0x3c]
mov ecx, ebx
mov edx, dword [esi + 0x48]
call fcn.004d3ba0
mov ecx, eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x10]
add ecx, ecx
mov edx, 9
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.004bc540
add esp, 0xc
mov dword [esp + 0x30], eax
cmp eax, 1
je 0x4c4aee
mov ecx, dword [esp + 0x38]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x18], eax
mov dword [esp + 0x44], edx
mov dword [ecx + 0x34], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x4c43e0
nop dword [eax + eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x4c43d0
mov dword [esp + 0x44], edx
cmp dword [esp + 0x50], 0
je 0x4c43ff
mov ecx, dword [edi + 0xf0]
mov eax, dword [esi]
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], ecx
mov dword [edi + 0xf0], eax
jmp 0x4c440f
mov eax, dword [esp + 0x78]
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x70], eax
mov ebx, dword [edi + 8]
test ebx, ebx
jne 0x4c4438
cmp dword [edi + 0x74], ebx
jne 0x4c4427
mov eax, dword [edi]
test byte [eax + 0x4c], 8
jne 0x4c4427
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.0049bd00
mov ebx, eax
test ebx, ebx
je 0x4c4ad6
cmp byte [edi + 0x12], 0
jne 0x4c4445
or dword [ebx + 0x98], 0x20
push dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov ecx, edi
call fcn.004c2ac0
add esp, 4
cmp dword [esp + 0x50], 0
je 0x4c4481
push dword [esp + 0x18]
mov edx, esi
mov ecx, edi
push 0
push 0
push dword [ebp + 8]
call fcn.004c4060
mov eax, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x58], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x80]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movlpd qword [esp + 0x88], xmm0
movlpd qword [esp + 0x90], xmm0
movlpd qword [esp + 0x98], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.004affd0
test eax, eax
jne 0x4c4ad6
mov eax, dword [esp + 0x3c]
mov eax, dword [eax + 0x20]
and eax, 0x80
or eax, 0
je 0x4c4501
cmp byte [edi + 0x12], 0
jne 0x4c4501
cmp dword [edi + 0x78], 0
jne 0x4c4501
inc dword [edi + 0x2c]
mov edx, 0x46
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x54], eax
call fcn.0049c0b0
add esp, 8
cmp dword [esp + 0x30], 0
mov eax, 1
mov ecx, dword [esp + 0x10]
jne 0x4c4597
cmp dword [ebp + 8], 0
jne 0x4c4597
test ecx, ecx
jne 0x4c4597
cmp dword [esi + 0x38], ecx
jne 0x4c4597
push dword [esi]
mov edx, dword [esp + 0x20]
mov ecx, edi
push eax
push dword [esi + 0x1c]
call fcn.004bc5e0
add esp, 0xc
test byte [esi + 0x24], 0x20
jne 0x4c4565
mov ecx, dword [esp + 0x4c]
or eax, 0xffffffff
push 0xffffffffffffffff
push dword [esi]
test ecx, ecx
mov edx, 0x89
cmovne eax, ecx
mov ecx, ebx
push eax
push dword [esp + 0x28]
push dword [esi + 0x1c]
call fcn.0049c340
add esp, 0x14
mov esi, dword [esi + 8]
test esi, esi
je 0x4c4a85
mov edi, dword [esp + 0x1c]
push edi
push dword [esi + 0x2c]
mov edx, 0x89
mov ecx, ebx
call fcn.0049c0b0
mov esi, dword [esi + 0x14]
add esp, 8
test esi, esi
jne 0x4c4574
mov edi, dword [esp + 0x24]
jmp 0x4c4a85
test byte [esp + 0x98], 0x40
cmovne ecx, eax
xor eax, eax
test ecx, ecx
sete al
test byte [esi + 0x24], 0x20
lea eax, [eax*8 + 0x414]
movzx eax, ax
mov dword [esp + 0x30], eax
jne 0x4c45eb
inc dword [edi + 0x2c]
mov edx, 0x49
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x24], 1
mov dword [esp + 0x5c], eax
call fcn.0049c0b0
add esp, 8
jmp 0x4c463d
mov ecx, esi
call fcn.004bdba0
mov dword [esp + 0x10], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x1c], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x38], edx
mov ecx, ebx
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x2c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x71
mov dword [edi + 0x28], eax
call fcn.0049c0b0
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x40], eax
call fcn.0049ce00
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x38]
inc eax
push eax
push dword [esp + 0x34]
push 0
push 0
push dword [ebp + 8]
call fcn.004ef6d0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x60], ecx
test ecx, ecx
je 0x4c4ad6
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x7c], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x30], eax
mov al, byte [ecx + 0x31]
mov byte [esp + 0xf], al
mov byte [esp + 0x74], al
cmp al, 1
je 0x4c4695
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x14], 1
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c46af
push 1
push eax
mov edx, 0x53
mov ecx, ebx
call fcn.0049c0b0
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x4c4701
mov ecx, dword [esp + 0x1c]
xor eax, eax
cmp ax, cx
jge 0x4c46f7
xor edi, edi
mov eax, dword [esp + 0x34]
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.004b5050
mov ecx, dword [esp + 0x28]
inc edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, cx
cmp edi, eax
jl 0x4c46c4
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], eax
jmp 0x4c4722
inc dword [edi + 0x2c]
mov edx, esi
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0xffffffffffffffff
push dword [esp + 0x20]
mov dword [esp + 0x20], eax
call fcn.004b5050
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp byte [esp + 0xf], 0
je 0x4c47c4
mov eax, dword [esp + 0x1c]
movzx ecx, ax
mov eax, dword [esp + 0x44]
add eax, 2
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x3c]
cdq
push edx
push eax
call fcn.0047d040
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x4c4766
mov ecx, dword [esp + 0x60]
call fcn.004f0340
jmp 0x4c4ad6
mov eax, dword [esp + 0x44]
inc eax
push eax
push 1
push ecx
call fcn.00573560
mov eax, dword [esp + 0x50]
add esp, 0xc
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x18]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x4c4796
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x30]
test eax, eax
js 0x4c47a4
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4c47b5
mov edx, eax
mov ecx, ebx
call fcn.0049cc10
dec dword [edi + 0x38]
mov eax, dword [edi + 0x38]
mov dword [esp + 0x5c], eax
jmp 0x4c4853
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x4c482e
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x2c], 0
call fcn.004cb3d0
add esp, 4
mov edx, 0x5c
mov ecx, ebx
push eax
push dword [esp + 0x1c]
push esi
push dword [esp + 0x44]
call fcn.0049c340
add esp, 0x14
mov edx, 0x84
mov ecx, ebx
push esi
push dword [esp + 0x38]
push dword [esp + 0x1c]
push dword [esp + 0x34]
call fcn.0049c490
mov esi, dword [esp + 0x74]
add esp, 0x10
jmp 0x4c484a
push eax
push dword [esp + 0x58]
mov edx, 0x94
mov dword [esp + 0x2c], 1
mov ecx, ebx
call fcn.0049c0b0
add esp, 8
mov ecx, dword [esp + 0x60]
call fcn.004f0340
cmp dword [esp + 0x50], 0
jne 0x4c48b0
cmp byte [esp + 0xf], 2
mov dword [esp + 0x40], 0
jne 0x4c4879
mov edx, 0x11
mov ecx, ebx
call fcn.0049bff0
mov dword [esp + 0x40], eax
lea eax, [esp + 0x58]
mov edx, esi
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x34]
push dword [esp + 0x24]
push 8
push 0x6d
call fcn.004ce620
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x4c48b4
mov edx, dword [esp + 0x40]
mov ecx, ebx
call fcn.0049c920
jmp 0x4c48b8
mov al, byte [esp + 0xf]
test al, al
je 0x4c48f8
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0x20]
jne 0x4c4970
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x18]
cmp byte [eax + ecx], 0
je 0x4c4966
mov eax, dword [esp + 0x24]
mov edx, 0x1c
cwde
push eax
push dword [esp + 0x18]
push dword [esp + 0x64]
push ecx
mov ecx, ebx
call fcn.0049c490
add esp, 0x10
jmp 0x4c4962
cmp dword [esp + 0x10], 0
mov ecx, ebx
je 0x4c4947
push dword [esp + 0x28]
mov edx, 0x24
call fcn.0049c050
add esp, 4
mov dword [esp + 0x48], eax
cmp dword [esi + 0x38], 0
mov ecx, ebx
push dword [esp + 0x14]
je 0x4c4934
push 0
push dword [esp + 0x30]
mov edx, 0x5a
call fcn.0049bf80
jmp 0x4c495f
push dword [esp + 0x2c]
mov edx, 0x7f
call fcn.0049c0b0
add esp, 8
jmp 0x4c4962
push dword [esp + 0x14]
mov edx, 0x29
push 0
push dword [esp + 0x5c]
call fcn.0049bf80
mov dword [esp + 0x54], eax
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x38], 0
je 0x4c49fb
mov esi, dword [esi + 0x40]
test esi, esi
je 0x4c498b
mov eax, dword [esp + 0x3c]
nop dword [eax + eax]
cmp dword [esi], eax
je 0x4c498b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x4c4980
mov edx, dword [esp + 0x64]
mov ecx, edi
call fcn.004e4740
mov eax, dword [edi + 0x74]
mov ecx, edi
test eax, eax
cmovne ecx, eax
cmp byte [esp + 0xf], 1
mov byte [ecx + 0x15], 1
jne 0x4c49c8
push dword [esp + 0x18]
mov edx, 0x75
mov ecx, ebx
call fcn.0049c050
add esp, 4
cmp dword [edi + 0x74], 0
jne 0x4c49c8
mov byte [edi + 0x14], 0
push 0xfffffffffffffff4
push esi
push dword [esp + 0x1c]
mov edx, 0xa
mov ecx, ebx
push 1
push 0
call fcn.0049c340
mov eax, dword [ebx + 0x6c]
add esp, 0x14
test eax, eax
jle 0x4c4a30
lea ecx, [eax + eax*4]
mov edx, 2
mov eax, dword [ebx + 0x68]
mov word [eax + ecx*4 - 0x12], dx
jmp 0x4c4a30
push dword [esp + 0x30]
cmp byte [edi + 0x12], 0
mov edx, esi
push dword [esp + 0x78]
sete al
push 0xb
movzx eax, al
push eax
push dword [esp + 0x34]
push dword [esp + 0x28]
push dword [esp + 0x70]
push ecx
push dword [esp + 0x88]
mov ecx, edi
call fcn.004c4b70
add esp, 0x24
cmp byte [esp + 0xf], 0
mov ecx, ebx
je 0x4c4a4d
mov edx, dword [esp + 0x5c]
call fcn.0049c5e0
mov ecx, dword [esp + 0x60]
call fcn.004f0340
jmp 0x4c4a85
cmp dword [esp + 0x10], 0
je 0x4c4a71
mov esi, dword [esp + 0x48]
mov edx, 5
lea eax, [esi + 1]
push eax
push dword [esp + 0x2c]
call fcn.0049c0b0
add esp, 8
mov edx, esi
jmp 0x4c4a7e
mov edx, dword [esp + 0x48]
call fcn.0049c120
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.0049c920
cmp byte [edi + 0x12], 0
jne 0x4c4a9e
cmp dword [edi + 0x78], 0
jne 0x4c4a9e
cmp dword [edi + 0x70], 0
je 0x4c4a9e
mov ecx, edi
call fcn.004cb630
mov eax, dword [esp + 0x4c]
test eax, eax
je 0x4c4ad6
push 1
push eax
mov edx, 0x51
mov ecx, ebx
call fcn.0049c0b0
mov edx, 1
mov ecx, ebx
call fcn.0049e010
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, ebx
call fcn.0049e0d0
add esp, 0x14
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x4c4af0
mov ecx, dword [esp + 0x70]
mov dword [eax + 0xf0], ecx
jmp 0x4c4af0
xor ebx, ebx
mov edi, dword [esp + 0x3c]
mov ecx, edi
mov edx, dword [esp + 0x38]
call fcn.004c22f0
mov eax, dword [ebp + 8]
test eax, eax
je 0x4c4b0f
mov edx, eax
mov ecx, edi
call fcn.004b1380
test ebx, ebx
je 0x4c4b5e
test edi, edi
je 0x4c4b55
cmp dword [edi + 0x1e8], 0
je 0x4c4b30
mov edx, ebx
mov ecx, edi
call fcn.0047cce0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp ebx, dword [edi + 0x138]
jb 0x4c4b55
cmp ebx, dword [edi + 0x13c]
jae 0x4c4b55
mov eax, dword [edi + 0x134]
mov dword [ebx], eax
mov dword [edi + 0x134], ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call fcn.0047cc70
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret