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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
push esi
push edi
mov edi, ecx
mov dword [esp + 0x68], edx
xor eax, eax
mov dword [esp + 0x60], edi
mov dword [esp + 0x84], eax
xorps xmm0, xmm0
mov dword [esp + 0x64], 0xffffffff
cmp dword [edi + 0x40], 0
mov eax, dword [edi]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movq qword [esp + 0x70], xmm0
mov dword [esp + 0x2c], eax
jne 0x1004757c
cmp byte [eax + 0x40], 0
jne 0x1004757c
call fcn.10046980
mov esi, eax
mov dword [esp + 0x10], esi
test esi, esi
je 0x1004757c
mov eax, dword [edi]
xor edx, edx
mov dword [esp + 0x44], edx
test dword [eax + 0x18], 0x800000
je 0x10046d3c
mov edx, esi
mov ecx, edi
call fcn.1005e380
mov dword [esp + 0x44], eax
xor edx, edx
jmp 0x10046d3e
xor eax, eax
mov ecx, eax
test eax, eax
je 0x10046d5b
cmp byte [ecx + 8], 0x6d
jne 0x10046d50
movzx eax, byte [ecx + 9]
or edx, eax
mov ecx, dword [ecx + 0x20]
test ecx, ecx
jne 0x10046d44
mov eax, dword [esp + 0x44]
xor ecx, ecx
test edx, edx
mov edx, esi
cmovne ecx, eax
mov eax, dword [esi + 0xc]
mov dword [esp + 0x44], ecx
mov ecx, edi
mov dword [esp + 0x58], eax
call fcn.10042ea0
test eax, eax
jne 0x1004757c
cmp dword [esp + 0x44], eax
mov edx, esi
mov ecx, edi
setne al
push eax
call fcn.10046a10
add esp, 4
test eax, eax
jne 0x1004757c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x44]
call fcn.100549a0
mov ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x2c]
add ecx, ecx
mov edx, 9
mov eax, dword [eax + 0x10]
push dword [eax + ecx*8]
mov ecx, edi
push 0
push dword [esi]
call fcn.10040330
add esp, 0xc
mov dword [esp + 0x6c], eax
cmp eax, 1
je 0x1004757c
mov ecx, dword [esp + 0x68]
xor edx, edx
mov eax, dword [edi + 0x44]
mov dword [esp + 0x18], eax
mov dword [esp + 0x50], edx
mov dword [ecx + 0x38], eax
inc dword [edi + 0x44]
mov eax, dword [esi + 8]
mov ecx, dword [edi + 0x44]
test eax, eax
je 0x10046e10
nop dword [eax]
inc ecx
inc edx
mov dword [edi + 0x44], ecx
mov eax, dword [eax + 0x14]
test eax, eax
jne 0x10046e00
mov dword [esp + 0x50], edx
cmp dword [esp + 0x58], 0
je 0x10046e2f
mov eax, dword [edi + 0x1ec]
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov dword [esp + 0x20], edi
mov dword [edi + 0x1ec], eax
jmp 0x10046e3f
mov eax, dword [esp + 0x74]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x24], eax
mov ecx, edi
call fcn.10057d30
mov esi, eax
mov dword [esp + 0x88], esi
test esi, esi
je 0x1004717d
cmp byte [edi + 0x12], 0
jne 0x10046e61
or dword [esi + 0x58], 0x10
push dword [esp + 0x14]
mov edx, 1
mov ecx, edi
call fcn.100455b0
add esp, 4
cmp dword [esp + 0x58], 0
je 0x10046ea0
push dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov ecx, edi
push dword [ebp + 8]
call fcn.10046aa0
mov ecx, dword [esp + 0x20]
add esp, 8
mov eax, ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x78], eax
jmp 0x10046ea4
mov eax, dword [esp + 0x78]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x90]
xorps xmm0, xmm0
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x68]
movaps xmmword [esp + 0x90], xmm0
movaps xmmword [esp + 0xa0], xmm0
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], eax
call fcn.10037490
test eax, eax
jne 0x1004717d
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x10046f0a
inc dword [edi + 0x48]
mov edx, 0x19
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x6c], eax
call fcn.10026a30
add esp, 8
cmp dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x10]
jne 0x10046fd2
cmp dword [ebp + 8], 0
jne 0x10046fd2
cmp dword [esp + 0x44], 0
jne 0x10046fd2
test byte [ecx + 0x2c], 0x10
jne 0x10046fd2
mov eax, dword [edi]
test dword [eax + 0x18], 0x80000
je 0x10046f59
call fcn.1004b620
mov ecx, dword [esp + 0x10]
test eax, eax
jne 0x10046fd2
cmp dword [ecx + 0x10], eax
jne 0x10046fd2
push dword [ecx]
mov edx, dword [esp + 0x18]
push 1
push dword [ecx + 0x20]
mov ecx, edi
call fcn.100403c0
mov eax, dword [esp + 0x1c]
add esp, 0xc
test byte [eax + 0x2c], 0x20
jne 0x10046f9a
push 0xfffffffffffffffe
push dword [eax]
mov edx, 0x74
mov ecx, esi
push dword [esp + 0x6c]
push dword [esp + 0x20]
push dword [eax + 0x20]
call fcn.10026aa0
mov eax, dword [esp + 0x24]
add esp, 0x14
mov eax, dword [eax + 8]
mov dword [esp + 0x38], eax
test eax, eax
je 0x10047509
mov edi, eax
nop dword [eax + eax]
push dword [esp + 0x14]
mov edx, 0x74
mov ecx, esi
push dword [edi + 0x2c]
call fcn.10026a30
mov edi, dword [edi + 0x14]
add esp, 8
test edi, edi
jne 0x10046fb0
jmp 0x10047505
test byte [ecx + 0x2c], 0x20
jne 0x10047009
inc dword [edi + 0x48]
mov edx, 0x1c
mov eax, dword [edi + 0x48]
mov ecx, esi
push eax
push 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x84], eax
call fcn.10026a30
add esp, 8
jmp 0x1004705c
call fcn.10041460
mov dword [esp + 0x28], eax
movzx ecx, word [eax + 0x32]
mov eax, dword [edi + 0x48]
mov dword [esp + 0x14], ecx
movsx ecx, cx
push ecx
lea edx, [eax + 1]
add eax, ecx
mov dword [esp + 0x58], edx
mov ecx, esi
mov edx, dword [edi + 0x44]
mov dword [edi + 0x48], eax
mov dword [esp + 0x4c], edx
push edx
lea eax, [edx + 1]
mov edx, 0x38
mov dword [edi + 0x44], eax
call fcn.10026a30
mov edx, dword [esp + 0x30]
add esp, 8
mov ecx, edi
mov dword [esp + 0x84], eax
call fcn.10027170
mov eax, dword [esp + 0x18]
mov ecx, edi
mov edx, dword [esp + 0x68]
inc eax
push eax
push 0xc
push 0
push 0
push dword [ebp + 8]
call fcn.1006aed0
add esp, 0x14
mov dword [esp + 0x6c], eax
test eax, eax
je 0x1004717d
mov ecx, dword [eax + 0x3c]
mov dword [esp + 0x8c], ecx
mov ecx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x70], ecx
test byte [eax + 0x18], 0x80
je 0x100470bd
push 1
push dword [esp + 0x68]
mov edx, 0x25
mov ecx, esi
call fcn.10026a30
add esp, 8
mov edx, dword [esp + 0x28]
test edx, edx
je 0x1004711d
mov eax, dword [esp + 0x14]
xor ecx, ecx
cwde
mov dword [esp + 0x34], ecx
test eax, eax
jle 0x10047113
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x54]
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 + 0x20]
call fcn.1003a830
mov ecx, dword [esp + 0x40]
add esp, 0xc
mov edx, dword [esp + 0x14]
inc ecx
movsx eax, dx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x34], ecx
cmp ecx, eax
jl 0x100470d8
mov edi, dword [esp + 0x60]
mov eax, dword [esp + 0x54]
mov dword [esp + 0x1c], eax
jmp 0x10047144
mov eax, dword [edi + 0x48]
mov ecx, edi
mov edx, dword [esp + 0x10]
inc eax
push 0
push eax
push dword [esp + 0x20]
push 0xffffffffffffffff
call fcn.1003a8f0
add esp, 0x10
mov dword [esp + 0x1c], eax
cmp eax, dword [edi + 0x48]
jle 0x10047144
mov dword [edi + 0x48], eax
cmp dword [esp + 0x30], 0
je 0x10047223
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x2c]
add edx, 2
movzx eax, ax
mov dword [esp + 0x34], eax
call fcn.1000c010
mov ecx, eax
mov dword [esp + 0x4c], ecx
test ecx, ecx
jne 0x100471b9
mov ecx, dword [esp + 0x6c]
call fcn.1006b840
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
test eax, eax
je 0x1004718f
mov dword [eax + 0x1ec], ecx
mov esi, dword [esp + 0x2c]
mov ecx, esi
mov edx, dword [esp + 0x68]
call fcn.10044e60
mov edx, dword [ebp + 8]
mov ecx, esi
call fcn.10038370
mov edx, dword [esp + 0x4c]
mov ecx, esi
call fcn.1000bde0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x50]
inc eax
push eax
push 1
push ecx
call fcn.100b11d0
mov eax, dword [esp + 0x5c]
add esp, 0xc
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x8c]
mov byte [eax + edx + 1], 0
mov eax, dword [esp + 0x18]
test ecx, ecx
js 0x100471ec
sub ecx, eax
mov byte [ecx + edx], 0
mov ecx, dword [esp + 0x70]
test ecx, ecx
js 0x100471fa
sub ecx, eax
mov byte [ecx + edx], 0
mov eax, dword [esp + 0x84]
test eax, eax
je 0x1004720e
mov edx, eax
mov ecx, esi
call fcn.10027050
mov edx, 0x10
mov ecx, esi
call fcn.10026960
mov dword [esp + 0x38], eax
jmp 0x100472a5
mov ecx, dword [esp + 0x28]
test ecx, ecx
je 0x10047286
inc dword [edi + 0x48]
mov edx, ecx
mov eax, dword [edi + 0x48]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
movsx esi, ax
push esi
push ecx
mov ecx, dword [esp + 0x90]
mov dword [esp + 0x3c], 0
call fcn.1004ccc0
add esp, 4
mov edx, 0x30
push eax
push dword [esp + 0x24]
push esi
push dword [esp + 0x64]
mov esi, dword [esp + 0x9c]
mov ecx, esi
call fcn.10026aa0
add esp, 0x14
mov edx, 0x6c
push dword [esp + 0x1c]
push dword [esp + 0x4c]
jmp 0x1004729b
push eax
push dword [esp + 0x80]
mov dword [esp + 0x3c], 1
mov edx, 0x7e
mov ecx, esi
call fcn.10026a30
add esp, 8
mov ecx, dword [esp + 0x6c]
call fcn.1006b840
cmp dword [esp + 0x30], 0
je 0x100472e0
mov ecx, esi
call fcn.10026cb0
push eax
push 0
mov edx, 0x10
mov dword [esp + 0x88], eax
mov ecx, esi
call fcn.10026a30
mov edx, dword [esp + 0x40]
add esp, 8
mov ecx, esi
call fcn.10026f40
cmp dword [esp + 0x58], 0
jne 0x10047314
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x60]
mov ecx, edi
push eax
push dword [esp + 0x54]
push dword [esp + 0x24]
push 0x36
call fcn.1004fef0
mov eax, dword [esp + 0x8c]
add esp, 0x14
mov dword [esp + 0x40], eax
mov edx, dword [esp + 0x30]
test edx, edx
je 0x1004735b
mov ecx, dword [esp + 0x5c]
mov eax, ecx
mov edi, dword [esp + 0x4c]
sub eax, dword [esp + 0x18]
cmp byte [eax + edi], 0
mov edi, dword [esp + 0x60]
je 0x100473b4
mov eax, dword [esp + 0x34]
mov edx, 0x42
cwde
push eax
push dword [esp + 0x20]
push dword [esp + 0x88]
push ecx
mov ecx, esi
call fcn.10026c00
add esp, 0x10
jmp 0x100473b0
cmp dword [esp + 0x28], 0
mov ecx, esi
je 0x10047392
push dword [esp + 0x48]
mov edx, 0x6a
call fcn.100269c0
add esp, 4
mov dword [esp + 0x3c], eax
mov edx, 0x63
mov ecx, esi
push dword [esp + 0x1c]
push dword [esp + 0x4c]
call fcn.10026a30
add esp, 8
jmp 0x100473b0
push dword [esp + 0x1c]
mov edx, 0x7f
push 0
push dword [esp + 0x84]
call fcn.10026900
add esp, 0xc
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
test byte [ecx + 0x2c], 0x10
je 0x1004742a
mov eax, dword [ecx + 0x3c]
mov dword [esp + 0x38], eax
test eax, eax
je 0x100473df
mov edx, dword [esp + 0x2c]
nop dword [eax]
cmp dword [eax], edx
je 0x100473db
mov eax, dword [eax + 0x18]
test eax, eax
jne 0x100473d0
mov dword [esp + 0x38], eax
mov edx, ecx
mov ecx, edi
call fcn.10063360
push 0xfffffffffffffff6
push dword [esp + 0x3c]
mov edx, 0xf
mov ecx, esi
push dword [esp + 0x24]
push 1
push 0
call fcn.10026aa0
mov ecx, dword [esi + 4]
add esp, 0x14
test ecx, ecx
je 0x10047417
mov eax, dword [esi + 0x20]
lea eax, [eax + eax*4]
mov byte [ecx + eax*4 - 0x11], 2
mov eax, dword [edi + 0x198]
mov ecx, edi
test eax, eax
cmovne ecx, eax
mov byte [ecx + 0x15], 1
jmp 0x10047458
cmp byte [edi + 0x12], 0
push edx
push 0xa
sete al
mov edx, ecx
movzx eax, al
mov ecx, edi
push eax
push dword [esp + 0x40]
push dword [esp + 0x2c]
push dword [esp + 0x54]
push dword [esp + 0x74]
push dword [esp + 0x60]
call fcn.10047590
add esp, 0x20
cmp dword [esp + 0x30], 0
mov ecx, esi
je 0x1004746f
mov edx, dword [esp + 0x80]
call fcn.10026d20
jmp 0x100474a5
cmp dword [esp + 0x28], 0
je 0x10047487
mov eax, dword [esp + 0x3c]
mov edx, 9
inc eax
push eax
push dword [esp + 0x4c]
jmp 0x10047492
push dword [esp + 0x3c]
mov edx, 0x10
push 0
call fcn.10026a30
mov edx, dword [esp + 0x44]
add esp, 8
mov ecx, esi
call fcn.10026f40
cmp dword [esp + 0x58], 0
jne 0x10047509
mov eax, dword [esp + 0x10]
test byte [eax + 0x2c], 0x10
jne 0x10047509
cmp dword [esp + 0x28], 0
jne 0x100474d4
push dword [esp + 0x5c]
mov edx, 0x3b
mov ecx, esi
call fcn.100269c0
mov eax, dword [esp + 0x14]
add esp, 4
mov eax, dword [eax + 8]
mov dword [esp + 0x70], eax
test eax, eax
je 0x10047509
mov edi, eax
mov eax, dword [esp + 0x40]
push eax
mov edx, 0x3b
mov ecx, esi
call fcn.100269c0
mov eax, dword [esp + 0x44]
add esp, 4
mov edi, dword [edi + 0x14]
inc eax
mov dword [esp + 0x40], eax
test edi, edi
jne 0x100474e5
mov edi, dword [esp + 0x60]
cmp byte [edi + 0x12], 0
jne 0x1004751f
cmp dword [edi + 0x19c], 0
jne 0x1004751f
mov ecx, edi
call fcn.1004d350
mov eax, dword [esp + 0x2c]
test byte [eax + 0x18], 0x80
je 0x1004717d
cmp byte [edi + 0x12], 0
jne 0x1004717d
cmp dword [edi + 0x19c], 0
jne 0x1004717d
push 1
push dword [esp + 0x68]
mov edx, 0x23
mov ecx, esi
call fcn.10026a30
mov edx, 1
mov ecx, esi
call fcn.100280b0
push 0
push str.rows_deleted
push 0
xor edx, edx
mov ecx, esi
call fcn.10028140
add esp, 0x14
jmp 0x1004717d
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x70]
jmp 0x10047185