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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
push esi
push edi
mov edi, ecx
mov dword [esp + 0x5c], edx
xor eax, eax
mov dword [esp + 0x14], edi
xorps xmm0, xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x70], 0
mov esi, dword [edi]
mov dword [esp + 0x58], 0xffffffff
mov dword [esp + 0x50], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x30], eax
movq qword [esp + 0x78], xmm0
mov dword [esp + 0x10], esi
cmp dword [edi + 0x24], eax
jne 0x492884
cmp byte [esi + 0x45], al
jne 0x492884
call fcn.00491cc0
mov edx, eax
mov dword [esp + 0xc], edx
test edx, edx
je 0x492884
mov eax, dword [edi]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x40], 0
test dword [eax + 0x18], 0x20000
je 0x4920a6
mov ecx, edi
call fcn.004ab990
mov edx, dword [esp + 0xc]
mov dword [esp + 0x40], eax
jmp 0x4920a8
xor eax, eax
mov ecx, eax
test eax, eax
je 0x4920c9
nop
cmp byte [ecx + 8], 0x6d
jne 0x4920be
movzx eax, byte [ecx + 9]
or dword [esp + 0x1c], eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x4920b0
mov eax, dword [esp + 0x40]
xor ecx, ecx
cmp dword [esp + 0x1c], ecx
cmovne ecx, eax
mov eax, dword [edx + 0xc]
mov dword [esp + 0x60], ecx
mov dword [esp + 0x68], eax
test ecx, ecx
jne 0x4920f9
push ecx
push ecx
mov ecx, edi
call fcn.00497c60
add esp, 8
mov dword [esp + 0x18], 0
test eax, eax
je 0x492101
mov dword [esp + 0x18], 1
mov edx, dword [esp + 0xc]
mov ecx, edi
call fcn.0048dca0
test eax, eax
jne 0x492884
cmp dword [esp + 0x60], eax
mov ecx, edi
mov edx, dword [esp + 0xc]
setne al
push eax
call fcn.00491d60
add esp, 4
test eax, eax
jne 0x492884
mov eax, dword [esp + 0xc]
mov ecx, esi
mov edx, dword [eax + 0x48]
call fcn.004a0c80
mov ecx, eax
mov dword [esp + 0x20], eax
mov eax, dword [esi + 0x10]
add ecx, ecx
mov edx, 9
push dword [eax + ecx*8]
mov eax, dword [esp + 0x10]
mov ecx, edi
push 0
push dword [eax]
call fcn.0048aca0
add esp, 0xc
mov dword [esp + 0x44], eax
cmp eax, 1
je 0x492884
mov ecx, dword [esp + 0x5c]
xor esi, esi
mov eax, dword [edi + 0x28]
mov dword [esp + 0x24], eax
mov dword [esp + 0x54], esi
mov dword [ecx + 0x38], eax
mov eax, dword [esp + 0xc]
inc dword [edi + 0x28]
mov edx, dword [edi + 0x28]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4921a7
inc edx
inc esi
mov dword [edi + 0x28], edx
mov ecx, dword [ecx + 0x14]
test ecx, ecx
jne 0x492197
mov dword [esp + 0x54], esi
cmp dword [esp + 0x68], 0
je 0x4921c2
mov ecx, dword [edi + 0x1b8]
mov eax, dword [eax]
mov dword [esp + 0x28], edi
mov dword [edi + 0x1b8], eax
jmp 0x4921ce
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
mov dword [esp + 0x28], eax
mov esi, dword [edi + 8]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x64], esi
test esi, esi
jne 0x4921f2
mov ecx, edi
call fcn.004a43b0
mov esi, eax
mov dword [esp + 0x64], eax
test esi, esi
je 0x49251b
cmp byte [edi + 0x12], 0
jne 0x4921ff
or dword [esi + 0x94], 0x10
push dword [esp + 0x20]
mov edx, 1
mov ecx, edi
call fcn.004907d0
add esp, 4
cmp dword [esp + 0x68], 0
je 0x49223a
push dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov ecx, edi
push dword [ebp + 8]
call fcn.00491de0
mov eax, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x70], eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x5c]
lea ecx, [esp + 0x80]
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x80], xmm0
movaps xmmword [esp + 0x90], xmm0
mov dword [esp + 0x80], edi
mov dword [esp + 0x84], eax
call fcn.00480030
test eax, eax
jne 0x49251b
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x18], 0x80
je 0x49229c
inc dword [edi + 0x2c]
mov edx, 0x38
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x60], eax
call fcn.0046bc70
add esp, 8
cmp dword [esp + 0x44], 0
mov ecx, dword [esp + 0x18]
jne 0x492346
cmp dword [ebp + 8], 0
jne 0x492346
test ecx, ecx
jne 0x492346
mov eax, dword [esp + 0xc]
cmp dword [eax + 0x38], ecx
jne 0x492346
push dword [eax]
mov edx, dword [esp + 0x24]
mov ecx, edi
push 1
push dword [eax + 0x1c]
call fcn.0048ad30
mov eax, dword [esp + 0x18]
add esp, 0xc
test byte [eax + 0x24], 0x20
jne 0x49230b
push 0xffffffffffffffff
push dword [eax]
mov edx, 0x83
mov ecx, esi
push dword [esp + 0x60]
push dword [esp + 0x2c]
push dword [eax + 0x1c]
call fcn.0046bf20
mov eax, dword [esp + 0x20]
add esp, 0x14
mov eax, dword [eax + 8]
mov dword [esp + 0x60], eax
test eax, eax
je 0x49281c
mov edi, eax
nop dword [eax]
push dword [esp + 0x20]
mov edx, 0x83
mov ecx, esi
push dword [edi + 0x2c]
call fcn.0046bc70
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x492320
mov edi, dword [esp + 0x14]
jmp 0x49281c
test byte [esp + 0x9c], 0x40
mov eax, 1
cmove eax, ecx
neg eax
sbb eax, eax
and eax, 0xfffffff8
add eax, 0x41c
movzx eax, ax
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xc]
test byte [eax + 0x24], 0x20
jne 0x4923a1
inc dword [edi + 0x2c]
mov edx, 0x3b
mov eax, dword [edi + 0x2c]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 1
mov dword [esp + 0x74], eax
call fcn.0046bc70
add esp, 8
jmp 0x4923f3
mov ecx, eax
call fcn.0048bfa0
mov dword [esp + 0x18], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x20], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x4c], edx
mov ecx, esi
mov edx, dword [edi + 0x28]
mov dword [edi + 0x2c], eax
mov dword [esp + 0x50], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6c
mov dword [edi + 0x28], eax
call fcn.0046bc70
mov edx, dword [esp + 0x20]
add esp, 8
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.0046ca00
mov eax, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x5c]
inc eax
push eax
push dword [esp + 0x48]
push 0
push 0
push dword [ebp + 8]
call fcn.004bba00
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x40], ecx
test ecx, ecx
je 0x49251b
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x78], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x44], eax
movzx eax, byte [ecx + 0x31]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x10]
test byte [eax + 0x18], 0x80
je 0x492455
push 1
push dword [esp + 0x5c]
mov edx, 0x45
mov ecx, esi
call fcn.0046bc70
add esp, 8
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4924b5
mov eax, dword [esp + 0x20]
xor ecx, ecx
cwde
mov dword [esp + 0x1c], ecx
test eax, eax
jle 0x4924ab
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x48]
add eax, ecx
push eax
mov eax, dword [edx + 4]
mov edx, edi
movsx eax, word [eax + ecx*2]
mov ecx, esi
push eax
push dword [esp + 0x2c]
call fcn.00485050
mov ecx, dword [esp + 0x28]
add esp, 0xc
mov edx, dword [esp + 0x20]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp ecx, eax
jl 0x492470
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x14], eax
jmp 0x4924dc
mov eax, dword [edi + 0x2c]
mov ecx, edi
mov edx, dword [esp + 0xc]
inc eax
push 0
push eax
push dword [esp + 0x2c]
push 0xffffffffffffffff
call fcn.00485110
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x2c]
jle 0x4924dc
mov dword [edi + 0x2c], eax
cmp dword [esp + 0x38], 0
je 0x492583
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
movzx eax, ax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
add eax, 2
cdq
push edx
push eax
call fcn.0044ea10
mov ecx, eax
add esp, 8
mov dword [esp + 0x50], ecx
test ecx, ecx
jne 0x492524
mov ecx, dword [esp + 0x40]
call fcn.004bc470
mov esi, dword [esp + 0x10]
jmp 0x492890
mov eax, dword [esp + 0x54]
inc eax
push eax
push 1
push ecx
call fcn.004e7b30
mov eax, dword [esp + 0x60]
add esp, 0xc
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x24]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x78]
test eax, eax
js 0x492554
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x44]
test eax, eax
js 0x492562
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x492573
mov edx, eax
mov ecx, esi
call fcn.0046c800
mov ecx, esi
call fcn.0046c130
mov dword [esp + 0x74], eax
jmp 0x492614
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x4925ef
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x20]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x24], 0
call fcn.00498870
mov ecx, dword [esp + 0x6c]
add esp, 4
mov edx, 0x63
push eax
push dword [esp + 0x1c]
push esi
push dword [esp + 0x58]
call fcn.0046bf20
add esp, 0x14
mov edx, 0x7e
push esi
push dword [esp + 0x4c]
mov esi, dword [esp + 0x6c]
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x58]
call fcn.0046c020
add esp, 0x10
jmp 0x49260b
push eax
push dword [esp + 0x70]
mov edx, 0x8f
mov dword [esp + 0x24], 1
mov ecx, esi
call fcn.0046bc70
add esp, 8
mov ecx, dword [esp + 0x40]
call fcn.004bc470
cmp dword [esp + 0x68], 0
jne 0x492674
cmp dword [esp + 0x38], 2
mov dword [esp + 0x30], 0
jne 0x49263a
mov edx, 0x14
mov ecx, esi
call fcn.0046bb90
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0xc]
lea eax, [esp + 0x70]
push eax
lea eax, [esp + 0x38]
mov ecx, edi
push eax
push dword [esp + 0x58]
push dword [esp + 0x30]
push 8
push 0x69
call fcn.0049b6c0
mov eax, dword [esp + 0x50]
add esp, 0x18
cmp eax, 2
jne 0x492678
mov edx, dword [esp + 0x30]
mov ecx, esi
call fcn.0046c4e0
jmp 0x49267c
mov eax, dword [esp + 0x38]
test eax, eax
je 0x4926c0
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp dword [edx + 0x38], 0
jne 0x492720
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x24]
cmp byte [eax + ecx], 0
je 0x49271a
mov eax, dword [esp + 0x1c]
mov edx, 0x1d
cwde
push eax
push dword [esp + 0x18]
push dword [esp + 0x7c]
push ecx
mov ecx, esi
call fcn.0046c020
add esp, 0x10
jmp 0x492712
cmp dword [esp + 0x18], 0
mov ecx, esi
je 0x4926f7
push dword [esp + 0x4c]
mov edx, 0x25
call fcn.0046bc00
add esp, 4
mov dword [esp + 0x3c], eax
mov edx, 0x7a
mov ecx, esi
push dword [esp + 0x14]
push dword [esp + 0x50]
call fcn.0046bc70
add esp, 8
jmp 0x492712
push dword [esp + 0x14]
mov edx, 0x2a
push 0
push dword [esp + 0x74]
call fcn.0046bb20
add esp, 0xc
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x34]
cmp dword [edx + 0x38], 0
je 0x492792
mov eax, dword [edx + 0x40]
mov dword [esp + 0x30], eax
test eax, eax
je 0x49273f
mov ecx, dword [esp + 0x10]
nop
cmp dword [eax], ecx
je 0x49273b
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x492730
mov dword [esp + 0x30], eax
mov ecx, edi
call fcn.004b0db0
push 0xfffffffffffffff4
push dword [esp + 0x34]
mov edx, 0xc
mov ecx, esi
push dword [esp + 0x1c]
push 1
push 0
call fcn.0046bf20
add esp, 0x14
mov edx, 2
mov ecx, esi
call fcn.0046c4c0
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov eax, dword [esp + 0x38]
mov byte [ecx + 0x15], 1
cmp eax, 1
jne 0x4927cc
cmp dword [edi + 0x78], 0
jne 0x4927d0
mov byte [edi + 0x14], 0
jmp 0x4927d0
push dword [esp + 0x44]
cmp byte [edi + 0x12], 0
push dword [esp + 0x3c]
sete al
push 0xa
movzx eax, al
push eax
push dword [esp + 0x2c]
push dword [esp + 0x28]
push dword [esp + 0x88]
push ecx
push dword [esp + 0x80]
mov ecx, edi
call fcn.00492920
mov eax, dword [esp + 0x5c]
add esp, 0x24
test eax, eax
je 0x4927e6
mov edx, dword [esp + 0x74]
mov ecx, esi
call fcn.0046c180
mov ecx, dword [esp + 0x40]
call fcn.004bc470
jmp 0x49281c
cmp dword [esp + 0x18], 0
mov ecx, esi
je 0x492808
mov eax, dword [esp + 0x3c]
mov edx, 7
inc eax
push eax
push dword [esp + 0x50]
call fcn.0046bc70
add esp, 8
jmp 0x492811
mov edx, dword [esp + 0x3c]
call fcn.0046bce0
mov edx, dword [esp + 0x3c]
mov ecx, esi
call fcn.0046c4e0
cmp byte [edi + 0x12], 0
jne 0x492835
cmp dword [edi + 0x7c], 0
jne 0x492835
cmp dword [edi + 0x74], 0
je 0x492835
mov ecx, edi
call fcn.00498c70
mov eax, dword [esp + 0x10]
test byte [eax + 0x18], 0x80
je 0x49288e
cmp byte [edi + 0x12], 0
jne 0x49288e
cmp dword [edi + 0x7c], 0
jne 0x49288e
push 1
push dword [esp + 0x5c]
mov edx, 0x43
mov ecx, esi
call fcn.0046bc70
mov edx, 1
mov ecx, esi
call fcn.0046da60
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.0046db30
mov esi, dword [esp + 0x24]
add esp, 0x14
jmp 0x492890
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x78]
jmp 0x492898
mov esi, eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4928a2
mov dword [eax + 0x1b8], ecx
mov edx, dword [esp + 0x5c]
mov ecx, esi
call fcn.00490020
mov eax, dword [ebp + 8]
test eax, eax
je 0x4928bd
mov edx, eax
mov ecx, esi
call fcn.004813b0
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x492914
test esi, esi
je 0x49290b
cmp dword [esi + 0x1c8], 0
je 0x4928e1
mov edx, ecx
mov ecx, esi
call fcn.0044e6e0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp ecx, dword [esi + 0x120]
jb 0x49290b
cmp ecx, dword [esi + 0x124]
jae 0x49290b
mov eax, dword [esi + 0x11c]
mov dword [ecx], eax
dec dword [esi + 0x108]
mov dword [esi + 0x11c], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call fcn.0044e670
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret