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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x5932e0]
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 + 0x3c], eax
push edi
mov edi, ecx
mov dword [esp + 0x3c], edx
xor eax, eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x20], 0
mov eax, dword [edi]
mov dword [esp + 0x5c], 0
mov dword [esp + 0x50], 0xffffffff
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x4c], ebx
movlpd qword [esp + 0x78], xmm0
mov dword [esp + 0x24], eax
cmp dword [edi + 0x24], ebx
jne 0x4a0115
cmp byte [eax + 0x49], bl
jne 0x4a0115
call fcn.0049f570
mov esi, eax
mov dword [esp + 0x68], esi
test esi, esi
je 0x4a0115
mov eax, dword [edi]
xor edx, edx
test dword [eax + 0x1c], 0x40000
je 0x49f932
mov edx, esi
mov ecx, edi
call fcn.004b9c90
mov edx, eax
mov ecx, edx
test edx, edx
je 0x49f94b
cmp byte [ecx + 8], 0x6d
jne 0x49f944
movzx eax, byte [ecx + 9]
or ebx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x49f938
mov eax, dword [esi + 0xc]
xor ecx, ecx
test ebx, ebx
mov dword [esp + 0x54], eax
cmovne ecx, edx
mov dword [esp + 0x6c], ecx
test ecx, ecx
jne 0x49f97b
push ecx
push ecx
mov edx, esi
mov ecx, edi
call fcn.004a5f30
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
je 0x49f983
mov dword [esp + 0x10], 1
mov edx, esi
mov ecx, edi
call fcn.0049b340
test eax, eax
jne 0x4a0113
cmp dword [esp + 0x6c], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.0049f600
add esp, 4
test eax, eax
jne 0x4a0113
mov ebx, dword [esp + 0x24]
mov ecx, ebx
mov edx, dword [esi + 0x48]
call fcn.004af190
mov ecx, eax
mov dword [esp + 0x18], 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.00497ef0
add esp, 0xc
mov dword [esp + 0x34], eax
cmp eax, 1
je 0x4a0113
mov ecx, dword [esp + 0x3c]
xor edx, edx
mov eax, dword [edi + 0x28]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x48], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x28]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x28]
test eax, eax
je 0x49fa20
nop dword [eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x49fa10
mov dword [esp + 0x48], edx
cmp dword [esp + 0x54], 0
je 0x49fa3f
mov ecx, dword [edi + 0x1b8]
mov eax, dword [esi]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
mov dword [edi + 0x1b8], eax
jmp 0x49fa4f
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 0x49fa78
cmp dword [edi + 0x78], ebx
jne 0x49fa67
mov eax, dword [edi]
test byte [eax + 0x44], 8
jne 0x49fa67
mov byte [edi + 0x17], 1
mov ecx, edi
call fcn.00478320
mov ebx, eax
test ebx, ebx
je 0x4a00fb
cmp byte [edi + 0x12], 0
jne 0x49fa85
or dword [ebx + 0x94], 0x10
push dword [esp + 0x18]
mov edx, 1
mov ecx, edi
call fcn.0049e080
add esp, 4
cmp dword [esp + 0x54], 0
je 0x49fac3
push dword [esp + 0x1c]
mov edx, esi
mov ecx, edi
push 0
push 0
push dword [esp + 0x4c]
call fcn.0049f680
mov eax, dword [esp + 0x2c]
add esp, 0x10
mov dword [esp + 0x5c], eax
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x3c]
lea ecx, [esp + 0x84]
mov edx, dword [esp + 0x40]
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.0048cc80
test eax, eax
jne 0x4a00fb
mov eax, dword [esp + 0x24]
test byte [eax + 0x1c], 0x80
je 0x49fb31
inc dword [edi + 0x2c]
mov edx, 0x43
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x58], eax
call fcn.00478680
add esp, 8
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x49fbc3
cmp dword [esp + 0x40], 0
jne 0x49fbc3
test ecx, ecx
jne 0x49fbc3
cmp dword [esi + 0x38], ecx
jne 0x49fbc3
push dword [esi]
mov edx, dword [esp + 0x1c]
mov ecx, edi
push 1
push dword [esi + 0x1c]
call fcn.00497f90
add esp, 0xc
test byte [esi + 0x24], 0x20
jne 0x49fb89
push 0xffffffffffffffff
push dword [esi]
mov edx, 0x87
mov ecx, ebx
push dword [esp + 0x58]
push dword [esp + 0x24]
push dword [esi + 0x1c]
call fcn.00478930
add esp, 0x14
mov esi, dword [esi + 8]
test esi, esi
je 0x4a0099
mov edi, dword [esp + 0x18]
nop dword [eax + eax]
push edi
push dword [esi + 0x2c]
mov edx, 0x87
mov ecx, ebx
call fcn.00478680
mov esi, dword [esi + 0x14]
add esp, 8
test esi, esi
jne 0x49fba0
mov edi, dword [esp + 0x28]
jmp 0x4a0099
test byte [esp + 0xa0], 0x40
mov eax, 1
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 + 0x34], eax
jne 0x49fc1c
inc dword [edi + 0x2c]
mov edx, 0x46
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], 1
mov dword [esp + 0x60], eax
call fcn.00478680
add esp, 8
jmp 0x49fc6e
mov ecx, esi
call fcn.00499570
mov dword [esp + 0x10], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x18], 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 + 0x30], edx
push edx
lea eax, [edx + 1]
mov edx, 0x6e
mov dword [edi + 0x28], eax
call fcn.00478680
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x44], eax
call fcn.00479340
mov eax, dword [esp + 0x1c]
mov ecx, edi
mov edx, dword [esp + 0x3c]
inc eax
push eax
push dword [esp + 0x38]
push 0
push 0
push dword [esp + 0x50]
call fcn.004ca1e0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x64], ecx
test ecx, ecx
je 0x4a00fb
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [ecx + 0x1c]
mov dword [esp + 0x34], eax
mov al, byte [ecx + 0x31]
mov byte [esp + 0xf], al
mov byte [esp + 0x78], al
mov eax, dword [esp + 0x24]
test byte [eax + 0x1c], 0x80
je 0x49fcd7
push 1
push dword [esp + 0x54]
mov edx, 0x50
mov ecx, ebx
call fcn.00478680
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x49fd2d
mov ecx, dword [esp + 0x18]
xor eax, eax
cmp ax, cx
jge 0x49fd23
xor edi, edi
nop dword [eax]
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 + 0x24]
call fcn.00491de0
mov ecx, dword [esp + 0x24]
inc edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, cx
cmp edi, eax
jl 0x49fcf0
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x14], eax
jmp 0x49fd52
mov eax, dword [edi + 0x2c]
mov edx, esi
push 0
inc eax
mov ecx, edi
push eax
push dword [esp + 0x24]
push 0xffffffffffffffff
call fcn.00491f30
add esp, 0x10
mov dword [esp + 0x14], eax
cmp eax, dword [edi + 0x2c]
jle 0x49fd52
mov dword [edi + 0x2c], eax
cmp byte [esp + 0xf], 0
je 0x49fdf8
mov eax, dword [esp + 0x18]
movzx ecx, ax
mov eax, dword [esp + 0x48]
add eax, 2
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x24]
cdq
push edx
push eax
call fcn.004595f0
mov ecx, eax
add esp, 8
mov dword [esp + 0x30], ecx
test ecx, ecx
jne 0x49fd96
mov ecx, dword [esp + 0x64]
call fcn.004cad30
jmp 0x4a00fb
mov eax, dword [esp + 0x48]
inc eax
push eax
push 1
push ecx
call fcn.00517340
mov eax, dword [esp + 0x54]
add esp, 0xc
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x1c]
mov byte [eax + ecx + 1], 0
mov eax, dword [esp + 0x80]
test eax, eax
js 0x49fdc9
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x34]
test eax, eax
js 0x49fdd7
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x49fde8
mov edx, eax
mov ecx, ebx
call fcn.00479150
mov ecx, ebx
call fcn.00478ac0
mov dword [esp + 0x60], eax
jmp 0x49fe87
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x49fe62
inc dword [edi + 0x2c]
mov edx, ecx
mov eax, dword [edi + 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
movsx esi, ax
push esi
push ecx
mov ecx, dword [edi]
mov dword [esp + 0x30], 0
call fcn.004a6ce0
add esp, 4
mov edx, 0x65
mov ecx, ebx
push eax
push dword [esp + 0x1c]
push esi
push dword [esp + 0x48]
call fcn.00478930
add esp, 0x14
mov edx, 0x81
mov ecx, ebx
push esi
push dword [esp + 0x3c]
push dword [esp + 0x1c]
push dword [esp + 0x38]
call fcn.00478a30
mov esi, dword [esp + 0x78]
add esp, 0x10
jmp 0x49fe7e
push eax
push dword [esp + 0x5c]
mov edx, 0x91
mov dword [esp + 0x30], 1
mov ecx, ebx
call fcn.00478680
add esp, 8
mov ecx, dword [esp + 0x64]
call fcn.004cad30
cmp dword [esp + 0x54], 0
jne 0x49fee4
cmp byte [esp + 0xf], 2
mov dword [esp + 0x44], 0
jne 0x49fead
mov edx, 0x14
mov ecx, ebx
call fcn.004785a0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x5c]
mov edx, esi
push eax
lea eax, [esp + 0x24]
mov ecx, edi
push eax
push dword [esp + 0x38]
push dword [esp + 0x28]
push 8
push 0x6b
call fcn.004a9d40
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x49fee8
mov edx, dword [esp + 0x44]
mov ecx, ebx
call fcn.00478e60
jmp 0x49feec
mov al, byte [esp + 0xf]
test al, al
je 0x49ff2c
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0x20]
jne 0x49ffa0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x1c]
cmp byte [eax + ecx], 0
je 0x49ff9a
mov eax, dword [esp + 0x28]
mov edx, 0x1d
cwde
push eax
push dword [esp + 0x18]
push dword [esp + 0x68]
push ecx
mov ecx, ebx
call fcn.00478a30
add esp, 0x10
jmp 0x49ff96
cmp dword [esp + 0x10], 0
mov ecx, ebx
je 0x49ff7b
push dword [esp + 0x2c]
mov edx, 0x25
call fcn.00478610
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x38], 0
mov ecx, ebx
push dword [esp + 0x14]
je 0x49ff68
push 0
push dword [esp + 0x34]
mov edx, 0x63
call fcn.00478530
jmp 0x49ff93
push dword [esp + 0x30]
mov edx, 0x7c
call fcn.00478680
add esp, 8
jmp 0x49ff96
push dword [esp + 0x14]
mov edx, 0x2a
push 0
push dword [esp + 0x60]
call fcn.00478530
mov dword [esp + 0x58], eax
add esp, 0xc
mov ecx, dword [esp + 0x20]
cmp dword [esi + 0x38], 0
je 0x4a000e
mov esi, dword [esi + 0x40]
test esi, esi
je 0x49ffbb
mov eax, dword [esp + 0x24]
nop dword [eax + eax]
cmp dword [esi], eax
je 0x49ffbb
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x49ffb0
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.004bf140
push 0xfffffffffffffff4
push esi
push dword [esp + 0x1c]
mov edx, 0xc
mov ecx, ebx
push 1
push 0
call fcn.00478930
add esp, 0x14
mov edx, 2
mov ecx, ebx
call fcn.00478e40
mov eax, dword [edi + 0x78]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov al, byte [esp + 0xf]
mov byte [ecx + 0x15], 1
cmp al, 1
jne 0x4a0047
cmp dword [edi + 0x78], 0
jne 0x4a0047
mov byte [edi + 0x14], 0
jmp 0x4a0047
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 + 0x28]
push dword [esp + 0x74]
push ecx
push dword [esp + 0x8c]
mov ecx, edi
call fcn.004a01c0
mov al, byte [esp + 0x33]
add esp, 0x24
mov ecx, ebx
test al, al
je 0x4a0061
mov edx, dword [esp + 0x60]
call fcn.00478b10
mov ecx, dword [esp + 0x64]
call fcn.004cad30
jmp 0x4a0099
cmp dword [esp + 0x10], 0
je 0x4a0085
mov esi, dword [esp + 0x4c]
mov edx, 7
lea eax, [esi + 1]
push eax
push dword [esp + 0x30]
call fcn.00478680
add esp, 8
mov edx, esi
jmp 0x4a0092
mov edx, dword [esp + 0x4c]
call fcn.004786f0
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.00478e60
cmp byte [edi + 0x12], 0
jne 0x4a00b2
cmp dword [edi + 0x7c], 0
jne 0x4a00b2
cmp dword [edi + 0x74], 0
je 0x4a00b2
mov ecx, edi
call fcn.004a6f40
mov eax, dword [esp + 0x24]
test byte [eax + 0x1c], 0x80
je 0x4a00fb
cmp byte [edi + 0x12], 0
jne 0x4a00fb
cmp dword [edi + 0x7c], 0
jne 0x4a00fb
push 1
push dword [esp + 0x54]
mov edx, 0x4e
mov ecx, ebx
call fcn.00478680
mov edx, 1
mov ecx, ebx
call fcn.0047a3b0
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, ebx
call fcn.0047a470
add esp, 0x14
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x30]
test eax, eax
je 0x4a0115
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x1b8], ecx
jmp 0x4a0115
xor ebx, ebx
mov edi, dword [esp + 0x24]
mov ecx, edi
mov edx, dword [esp + 0x3c]
call fcn.0049d960
mov eax, dword [esp + 0x40]
test eax, eax
je 0x4a0135
mov edx, eax
mov ecx, edi
call fcn.0048e120
test ebx, ebx
je 0x4a01a0
test edi, edi
je 0x4a0197
cmp dword [edi + 0x1d8], 0
je 0x4a0164
mov edx, ebx
mov ecx, edi
call fcn.00459240
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
cmp ebx, dword [edi + 0x128]
jb 0x4a0197
cmp ebx, dword [edi + 0x12c]
jae 0x4a0197
mov eax, dword [edi + 0x124]
mov dword [ebx], eax
mov dword [edi + 0x124], ebx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret
push ebx
call fcn.00459190
add esp, 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00514e1d
mov esp, ebp
pop ebp
ret