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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x9c
mov eax, dword [0x102beb54]
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 0x10066ca5
cmp byte [esi + 0x45], al
jne 0x10066ca5
call fcn.10066110
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x10066ca3
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x30], edx
test dword [eax + 0x18], 0x20000
je 0x100664ec
mov edx, ebx
mov ecx, edi
call fcn.100810d0
mov dword [esp + 0x30], eax
xor edx, edx
jmp 0x100664ee
xor eax, eax
mov ecx, eax
test eax, eax
je 0x1006650b
cmp byte [ecx + 8], 0x6d
jne 0x10066500
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x100664f4
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 0x1006653b
push ecx
push ecx
mov edx, ebx
mov ecx, edi
call fcn.1006cc30
add esp, 8
mov dword [esp + 0x10], 0
test eax, eax
je 0x10066543
mov dword [esp + 0x10], 1
mov edx, ebx
mov ecx, edi
call fcn.10061d40
test eax, eax
jne 0x10066ca3
cmp dword [esp + 0x6c], eax
mov edx, ebx
mov ecx, edi
setne al
push eax
call fcn.100661b0
add esp, 4
test eax, eax
jne 0x10066ca3
mov edx, dword [ebx + 0x48]
mov ecx, esi
call fcn.10075df0
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.1005e860
add esp, 0xc
mov dword [esp + 0x34], eax
cmp eax, 1
je 0x10066ca3
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 0x100665e0
nop dword [eax]
inc ecx
inc edx
mov dword [edi + 0x28], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x100665d0
mov dword [esp + 0x54], edx
cmp dword [esp + 0x58], 0
je 0x100665ff
mov ecx, dword [edi + 0x1b8]
mov eax, dword [ebx]
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], ecx
mov dword [edi + 0x1b8], eax
jmp 0x1006660f
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 0x10066627
mov ecx, edi
call fcn.100797d0
mov ebx, eax
test ebx, ebx
je 0x10066c8b
cmp byte [edi + 0x12], 0
jne 0x10066634
or dword [ebx + 0x94], 0x10
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.10064bd0
add esp, 4
cmp dword [esp + 0x58], 0
je 0x10066670
push dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov ecx, edi
push dword [esp + 0x48]
call fcn.10066230
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.10053220
test eax, eax
jne 0x10066c8b
test byte [esi + 0x18], 0x80
je 0x100666da
inc dword [edi + 0x2c]
mov edx, 0x38
mov eax, dword [edi + 0x2c]
mov ecx, ebx
push eax
push 0
mov dword [esp + 0x58], eax
call fcn.1003e830
add esp, 8
cmp dword [esp + 0x34], 0
mov ecx, dword [esp + 0x10]
jne 0x1006676a
cmp dword [esp + 0x44], 0
jne 0x1006676a
test ecx, ecx
jne 0x1006676a
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x38], ecx
jne 0x1006676a
mov edx, dword [esp + 0x14]
mov esi, eax
mov ecx, edi
push dword [esi]
push 1
push dword [esi + 0x1c]
call fcn.1005e900
add esp, 0xc
test byte [esi + 0x24], 0x20
jne 0x10066738
push 0xffffffffffffffff
push dword [esi]
mov edx, 0x83
mov ecx, ebx
push dword [esp + 0x58]
push dword [esp + 0x20]
push dword [esi + 0x1c]
call fcn.1003eae0
add esp, 0x14
mov esi, dword [esi + 8]
test esi, esi
je 0x10066c29
mov edi, dword [esp + 0x14]
push edi
push dword [esi + 0x2c]
mov edx, 0x83
mov ecx, ebx
call fcn.1003e830
mov esi, dword [esi + 0x14]
add esp, 8
test esi, esi
jne 0x10066747
mov edi, dword [esp + 0x28]
jmp 0x10066c29
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 0x100667c7
inc dword [edi + 0x2c]
mov edx, 0x3b
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.1003e830
add esp, 8
jmp 0x10066819
mov ecx, eax
call fcn.1005ff30
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.1003e830
mov edx, dword [esp + 0x18]
add esp, 8
mov ecx, edi
mov dword [esp + 0x48], eax
call fcn.1003f5b0
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.100914c0
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x30], ecx
test ecx, ecx
je 0x10066c8b
test byte [esi + 0x18], 0x80
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
je 0x1006687e
push 1
push dword [esp + 0x54]
mov edx, 0x45
mov ecx, ebx
call fcn.1003e830
add esp, 8
mov edx, dword [esp + 0x10]
test edx, edx
je 0x100668d8
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp ax, cx
jge 0x100668ce
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.100585e0
mov ecx, dword [esp + 0x20]
inc edi
mov edx, dword [esp + 0x1c]
add esp, 0xc
movsx eax, cx
cmp edi, eax
jl 0x10066897
mov edi, dword [esp + 0x28]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
jmp 0x100668ff
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.10058790
add esp, 0x10
mov dword [esp + 0x20], eax
cmp eax, dword [edi + 0x2c]
jle 0x100668ff
mov dword [edi + 0x2c], eax
cmp byte [esp + 0xf], 0
je 0x100669a1
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.10020250
mov ecx, eax
add esp, 8
mov dword [esp + 0x2c], ecx
test ecx, ecx
jne 0x10066941
mov ecx, dword [esp + 0x30]
call fcn.10092190
jmp 0x10066c8b
mov esi, dword [esp + 0x54]
lea eax, [esi + 1]
push eax
push 1
push ecx
call fcn.102010e0
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 0x10066972
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x34]
test eax, eax
js 0x10066980
sub eax, edx
mov byte [eax + ecx], 0
mov eax, dword [esp + 0x48]
test eax, eax
je 0x10066991
mov edx, eax
mov ecx, ebx
call fcn.1003f3c0
mov ecx, ebx
call fcn.1003ecf0
mov dword [esp + 0x64], eax
jmp 0x10066a2c
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x10066a07
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.1006d880
add esp, 4
mov edx, 0x63
mov ecx, ebx
push eax
push dword [esp + 0x28]
push esi
push dword [esp + 0x48]
call fcn.1003eae0
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.1003ebe0
add esp, 0x10
jmp 0x10066a23
push eax
push dword [esp + 0x60]
mov edx, 0x8f
mov dword [esp + 0x30], 1
mov ecx, ebx
call fcn.1003e830
add esp, 8
mov ecx, dword [esp + 0x30]
call fcn.10092190
cmp dword [esp + 0x58], 0
jne 0x10066a8d
cmp byte [esp + 0xf], 2
mov dword [esp + 0x48], 0
jne 0x10066a52
mov edx, 0x14
mov ecx, ebx
call fcn.1003e750
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 0x69
call fcn.10070810
mov al, byte [esp + 0x27]
add esp, 0x18
cmp al, 2
jne 0x10066a95
mov edx, dword [esp + 0x48]
mov ecx, ebx
call fcn.1003f0a0
jmp 0x10066a99
mov esi, dword [esp + 0x1c]
mov al, byte [esp + 0xf]
test al, al
je 0x10066ad5
cmp dword [esi + 0x38], 0
mov ecx, dword [esp + 0x24]
jne 0x10066b31
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x18]
cmp byte [eax + ecx], 0
je 0x10066b2b
mov eax, dword [esp + 0x28]
mov edx, 0x1d
cwde
push eax
push dword [esp + 0x24]
push dword [esp + 0x6c]
push ecx
mov ecx, ebx
call fcn.1003ebe0
add esp, 0x10
jmp 0x10066b27
cmp dword [esp + 0x10], 0
mov ecx, ebx
je 0x10066b0c
push dword [esp + 0x3c]
mov edx, 0x25
call fcn.1003e7c0
add esp, 4
mov dword [esp + 0x4c], eax
mov edx, 0x7a
mov ecx, ebx
push dword [esp + 0x20]
push dword [esp + 0x40]
call fcn.1003e830
add esp, 8
jmp 0x10066b27
push dword [esp + 0x20]
mov edx, 0x2a
push 0
push dword [esp + 0x64]
call fcn.1003e6e0
add esp, 0xc
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0x24]
cmp dword [esi + 0x38], 0
je 0x10066b9e
mov esi, dword [esi + 0x40]
test esi, esi
je 0x10066b4b
mov eax, dword [esp + 0x68]
nop dword [eax]
cmp dword [esi], eax
je 0x10066b4b
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x10066b40
mov edx, dword [esp + 0x1c]
mov ecx, edi
call fcn.100864d0
push 0xfffffffffffffff4
push esi
push dword [esp + 0x28]
mov edx, 0xc
mov ecx, ebx
push 1
push 0
call fcn.1003eae0
add esp, 0x14
mov edx, 2
mov ecx, ebx
call fcn.1003f080
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 0x10066bd7
cmp dword [edi + 0x78], 0
jne 0x10066bd7
mov byte [edi + 0x14], 0
jmp 0x10066bd7
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.10066d50
mov al, byte [esp + 0x33]
add esp, 0x24
mov ecx, ebx
test al, al
je 0x10066bf1
mov edx, dword [esp + 0x64]
call fcn.1003ed40
mov ecx, dword [esp + 0x30]
call fcn.10092190
jmp 0x10066c29
cmp dword [esp + 0x10], 0
je 0x10066c15
mov esi, dword [esp + 0x4c]
mov edx, 7
lea eax, [esi + 1]
push eax
push dword [esp + 0x40]
call fcn.1003e830
add esp, 8
mov edx, esi
jmp 0x10066c22
mov edx, dword [esp + 0x4c]
call fcn.1003e8a0
mov edx, dword [esp + 0x4c]
mov ecx, ebx
call fcn.1003f0a0
cmp byte [edi + 0x12], 0
jne 0x10066c42
cmp dword [edi + 0x7c], 0
jne 0x10066c42
cmp dword [edi + 0x74], 0
je 0x10066c42
mov ecx, edi
call fcn.1006dae0
mov esi, dword [esp + 0x68]
test byte [esi + 0x18], 0x80
je 0x10066c8b
cmp byte [edi + 0x12], 0
jne 0x10066c8b
cmp dword [edi + 0x7c], 0
jne 0x10066c8b
push 1
push dword [esp + 0x54]
mov edx, 0x43
mov ecx, ebx
call fcn.1003e830
mov edx, 1
mov ecx, ebx
call fcn.100405e0
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, ebx
call fcn.100406b0
add esp, 0x14
mov eax, dword [esp + 0x70]
mov ebx, dword [esp + 0x2c]
test eax, eax
je 0x10066ca5
mov ecx, dword [esp + 0x74]
mov dword [eax + 0x1b8], ecx
jmp 0x10066ca5
xor ebx, ebx
mov edx, dword [esp + 0x40]
mov ecx, esi
call fcn.10064380
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10066cc1
mov edx, eax
mov ecx, esi
call fcn.100547e0
test ebx, ebx
je 0x10066d32
test esi, esi
je 0x10066d29
cmp dword [esi + 0x1c8], 0
je 0x10066cf0
mov edx, ebx
mov ecx, esi
call fcn.1001fef0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret
cmp ebx, dword [esi + 0x120]
jb 0x10066d29
cmp ebx, dword [esi + 0x124]
jae 0x10066d29
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.101e95a5
mov esp, ebp
pop ebp
ret
push ebx
call fcn.1001fe80
add esp, 4
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.101e95a5
mov esp, ebp
pop ebp
ret