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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
xor edi, edi
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebx]
mov dword [esp + 0x40], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 0xffffffff
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x24], eax
cmp dword [ebx + 0x40], edi
jne 0x487efb
cmp byte [eax + 0x41], 0
jne 0x487efb
mov ecx, dword [ebp + 0xc]
mov esi, ebx
call fcn.004873a0
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x487efb
push edi
mov esi, eax
push edi
push 0x6d
mov edx, esi
mov eax, ebx
call fcn.004a1c10
mov dword [esp + 0x6c], eax
xor eax, eax
add esp, 0xc
cmp dword [esi + 0xc], eax
mov edi, ebx
setne al
mov dword [esp + 0x48], eax
mov eax, esi
call fcn.00483080
test eax, eax
jne 0x487efb
xor ecx, ecx
cmp dword [esp + 0x60], ecx
setne cl
push ecx
mov ecx, esi
call fcn.00487490
add esp, 4
test eax, eax
jne 0x487efb
mov ecx, dword [esp + 0x24]
mov edi, esi
mov esi, dword [edi + 0x40]
call fcn.004965b0
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 0x10]
mov edx, dword [edi]
mov dword [esp + 0x1c], eax
add eax, eax
mov eax, dword [ecx + eax*8]
push eax
push 0
push edx
push 9
mov eax, ebx
call fcn.0047fd60
add esp, 0x10
mov dword [esp + 0x3c], eax
cmp eax, 1
je 0x487efb
mov esi, dword [ebx + 0x44]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x38], esi
inc dword [ebx + 0x44]
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x44]
xor edx, edx
mov dword [esp + 0x2c], esi
mov dword [esp + 0x74], edx
test eax, eax
je 0x487840
lea esp, [esp]
inc ecx
mov dword [ebx + 0x44], ecx
mov eax, dword [eax + 0x14]
inc edx
test eax, eax
jne 0x487830
mov dword [esp + 0x74], edx
cmp dword [esp + 0x48], 0
je 0x48785d
mov ecx, dword [ebx + 0x1e8]
mov edx, dword [edi]
mov dword [esp + 0x70], ebx
mov dword [esp + 0x6c], ecx
mov dword [ebx + 0x1e8], edx
mov eax, ebx
call fcn.00499e70
mov dword [esp + 0x10], eax
test eax, eax
je 0x487efb
cmp byte [ebx + 0x12], 0
jne 0x48787a
or dword [eax + 0x58], 4
mov ecx, dword [esp + 0x1c]
push 1
mov eax, ebx
call fcn.00485d20
add esp, 4
cmp dword [esp + 0x48], 0
je 0x4878a8
mov eax, dword [ebp + 0x10]
push esi
push eax
push edi
push ebx
call fcn.00487520
add esp, 0x10
mov dword [esp + 0x50], esi
mov dword [esp + 0x40], esi
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp + 0x10]
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
lea esi, [esp + 0x80]
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
call fcn.004761a0
test eax, eax
jne 0x487efb
mov edx, dword [esp + 0x24]
test byte [edx + 0x18], 0x80
mov esi, dword [esp + 0x10]
je 0x48792f
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x17
mov dword [esp + 0x60], eax
call fcn.00463f20
add esp, 0xc
cmp dword [esp + 0x3c], 0
jne 0x4879df
test edi, edi
jne 0x4879df
cmp dword [esp + 0x60], edi
jne 0x4879df
mov edi, dword [esp + 0x14]
test byte [edi + 0x2a], 0x10
jne 0x4879e3
mov eax, dword [ebx]
test dword [eax + 0x18], 0x80000
je 0x487976
push 0
push 0
push edi
call fcn.0048d1a0
add esp, 0xc
test eax, eax
jne 0x4879e3
mov ecx, dword [edi]
mov edx, dword [edi + 0x1c]
mov eax, dword [esp + 0x1c]
push ecx
push 1
push edx
push eax
mov eax, ebx
call fcn.0047fdf0
add esp, 0x10
test byte [edi + 0x2a], 0x20
jne 0x4879b1
mov ecx, dword [edi]
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x1c]
push 0xfffffffffffffffe
push ecx
mov ecx, dword [edi + 0x1c]
push edx
push eax
push ecx
push 0x77
call fcn.00463f80
add esp, 0x18
mov edi, dword [edi + 8]
test edi, edi
je 0x487e98
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
mov eax, dword [edi + 0x28]
push edx
push eax
push 0x77
call fcn.00463f20
mov edi, dword [edi + 0x14]
add esp, 0xc
test edi, edi
jne 0x4879c0
jmp 0x487e98
mov edi, dword [esp + 0x14]
test byte [edi + 0x2a], 0x20
jne 0x487a13
mov eax, 1
add dword [ebx + 0x48], eax
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x48]
push eax
push 0
push 0x1a
mov dword [esp + 0x2c], 0
mov dword [esp + 0x74], eax
call fcn.00463f20
add esp, 0xc
jmp 0x487a60
mov eax, edi
call fcn.00481230
mov edi, eax
movzx ecx, word [edi + 0x2e]
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x34], ecx
movsx ecx, cx
lea edx, [eax + 1]
add eax, ecx
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x44]
push ecx
mov dword [esp + 0x60], edx
push eax
lea edx, [eax + 1]
push 0x39
mov dword [esp + 0x2c], edi
mov dword [esp + 0x44], eax
mov dword [ebx + 0x44], edx
call fcn.00463f20
mov dword [esp + 0x70], eax
add esp, 0xc
mov ecx, edi
mov eax, ebx
call fcn.00464780
mov eax, dword [esp + 0x2c]
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
inc eax
push eax
push 0xc
push 0
push 0
push ecx
push edx
push ebx
call fcn.004af6d0
add esp, 0x1c
mov dword [esp + 0x3c], eax
test eax, eax
je 0x487efb
mov ecx, dword [eax + 0x3c]
mov edx, dword [eax + 0x40]
movzx eax, byte [eax + 0x26]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x24]
test byte [ecx + 0x18], 0x80
mov dword [esp + 0x7c], edx
mov dword [esp + 0x1c], eax
je 0x487abe
mov edx, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
push 1
push edx
push 0x25
call fcn.00463f20
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x487b0c
movsx edi, word [esp + 0x34]
xor esi, esi
test edi, edi
jle 0x487b02
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
lea ecx, [esi + eax]
mov eax, dword [edx + 4]
mov edx, dword [esp + 0x2c]
push ecx
movsx ecx, word [eax + esi*2]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.00479d10
inc esi
add esp, 0x10
cmp esi, edi
jl 0x487ad0
mov ebx, dword [ebp + 8]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x18], ecx
jmp 0x487b37
mov eax, dword [ebx + 0x48]
mov edx, dword [esp + 0x2c]
push 0
inc eax
push eax
mov eax, dword [esp + 0x1c]
push edx
push 0xffffffffffffffff
push eax
mov edi, ebx
call fcn.00479de0
add esp, 0x14
mov dword [esp + 0x18], eax
cmp eax, dword [ebx + 0x48]
jle 0x487b37
mov ecx, eax
mov dword [ebx + 0x48], ecx
cmp dword [esp + 0x1c], 0
je 0x487be2
movzx edx, word [esp + 0x34]
mov edi, dword [esp + 0x74]
mov esi, dword [esp + 0x24]
mov dword [esp + 0x4c], edx
lea eax, [edi + 2]
cdq
push edx
push eax
call fcn.00445af0
mov esi, eax
add esp, 8
mov dword [esp + 0x58], esi
test esi, esi
jne 0x487b7d
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b0010
add esp, 4
jmp 0x487efb
lea ecx, [edi + 1]
push ecx
push 1
push esi
call fcn.005de050
mov eax, dword [esp + 0x84]
add esp, 0xc
mov byte [edi + esi + 1], 0
test eax, eax
js 0x487ba4
sub eax, dword [esp + 0x2c]
mov byte [eax + esi], 0
mov eax, dword [esp + 0x7c]
test eax, eax
js 0x487bb4
sub eax, dword [esp + 0x2c]
mov byte [eax + esi], 0
cmp dword [esp + 0x64], 0
je 0x487bcb
mov ebx, dword [esp + 0x64]
mov edi, dword [esp + 0x10]
call fcn.004645f0
mov ebx, dword [ebp + 8]
mov esi, dword [esp + 0x10]
push 0xe
call fcn.00463e70
add esp, 4
mov dword [esp + 0x44], eax
jmp 0x487c67
cmp dword [esp + 0x20], 0
je 0x487c44
movsx eax, word [esp + 0x34]
inc dword [ebx + 0x48]
mov edx, dword [ebx + 0x48]
mov edi, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
push eax
push ecx
mov eax, edi
mov dword [esp + 0x20], edx
mov dword [esp + 0x54], 0
call fcn.0048e0a0
mov ecx, dword [esp + 0x64]
add esp, 4
push eax
mov eax, dword [esp + 0x20]
push eax
movsx eax, word [esp + 0x40]
push eax
push ecx
push 0x31
mov esi, edi
call fcn.00463f80
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x50]
push edx
push eax
push 0x6f
call fcn.00463f20
add esp, 0x24
jmp 0x487c69
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x68]
mov esi, dword [esp + 0x10]
push ecx
push edx
push 0x81
mov dword [esp + 0x58], 1
call fcn.00463f20
add esp, 0xc
mov edi, esi
mov eax, dword [esp + 0x3c]
push eax
call fcn.004b0010
add esp, 4
cmp dword [esp + 0x1c], 0
je 0x487ca2
mov eax, edi
call fcn.00464180
push eax
push 0
push 0xe
mov esi, edi
mov dword [esp + 0x34], eax
call fcn.00463f20
mov eax, dword [esp + 0x50]
add esp, 0xc
mov edx, edi
call fcn.00464430
cmp dword [esp + 0x48], 0
jne 0x487ccd
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x30]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push 0x37
push edx
push ebx
call fcn.00491570
add esp, 0x1c
cmp dword [esp + 0x1c], 0
je 0x487d05
mov ecx, dword [esp + 0x58]
sub ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
cmp byte [ecx + eax], 0
je 0x487d51
movsx edx, word [esp + 0x4c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x2c]
push ecx
push edx
push eax
push 0x45
mov eax, edi
call fcn.004640d0
add esp, 0x14
jmp 0x487d51
cmp dword [esp + 0x20], 0
mov esi, edi
je 0x487d34
mov eax, dword [esp + 0x38]
push eax
push 0x6d
call fcn.00463ec0
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
push ecx
push edx
push 0x66
mov dword [esp + 0x44], eax
call fcn.00463f20
add esp, 0x14
jmp 0x487d51
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x68]
push eax
push 0
push ecx
push 0x82
call fcn.00463e10
add esp, 0x10
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x14]
test byte [eax + 0x2a], 0x10
je 0x487db3
mov esi, dword [eax + 0x38]
test esi, esi
je 0x487d71
mov eax, dword [esp + 0x24]
cmp dword [esi], eax
je 0x487d71
mov esi, dword [esi + 0x18]
test esi, esi
jne 0x487d66
mov edx, dword [esp + 0x14]
push edx
mov eax, ebx
call fcn.004a6680
mov eax, dword [esp + 0x1c]
add esp, 4
push 0xfffffffffffffff6
push esi
push eax
push 1
push 0
push 0xd
mov esi, edi
call fcn.00463f80
mov eax, dword [edi + 4]
add esp, 0x18
test eax, eax
je 0x487daa
mov ecx, dword [edi + 0x20]
lea ecx, [ecx + ecx*4]
mov byte [eax + ecx*4 - 0x11], 2
mov ecx, ebx
call fcn.00485d90
jmp 0x487de8
cmp byte [ebx + 0x12], 0
mov edx, dword [esp + 0x1c]
push edx
push 0xa
sete cl
movzx edx, cl
mov ecx, dword [esp + 0x54]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x78]
push edx
push ecx
push eax
push ebx
call fcn.00487f90
add esp, 0x28
cmp dword [esp + 0x1c], 0
je 0x487e00
mov edx, dword [esp + 0x28]
push edx
mov ecx, edi
call fcn.004641d0
add esp, 4
jmp 0x487e34
cmp dword [esp + 0x20], 0
mov esi, edi
je 0x487e18
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x38]
inc eax
push eax
push ecx
push 8
jmp 0x487e21
mov edx, dword [esp + 0x30]
push edx
push 0
push 0xe
call fcn.00463f20
mov eax, dword [esp + 0x3c]
add esp, 0xc
mov edx, edi
call fcn.00464430
cmp dword [esp + 0x48], 0
jne 0x487e98
mov eax, dword [esp + 0x14]
test byte [eax + 0x2a], 0x10
jne 0x487e98
cmp dword [esp + 0x20], 0
jne 0x487e5d
mov ecx, dword [esp + 0x40]
push ecx
push 0x3d
mov esi, edi
call fcn.00463ec0
add esp, 8
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 8]
mov dword [esp + 0x44], eax
test eax, eax
je 0x487e98
mov eax, dword [esp + 0x50]
mov dword [esp + 0x28], eax
mov ecx, dword [esp + 0x28]
push ecx
push 0x3d
mov esi, edi
call fcn.00463ec0
mov edx, dword [esp + 0x4c]
mov eax, dword [edx + 0x14]
inc dword [esp + 0x30]
add esp, 8
mov dword [esp + 0x44], eax
test eax, eax
jne 0x487e74
cmp byte [ebx + 0x12], 0
jne 0x487eb0
cmp dword [ebx + 0x19c], 0
jne 0x487eb0
push ebx
call fcn.0048e7a0
add esp, 4
mov eax, dword [esp + 0x24]
test byte [eax + 0x18], 0x80
je 0x487efb
cmp byte [ebx + 0x12], 0
jne 0x487efb
cmp dword [ebx + 0x19c], 0
jne 0x487efb
mov ecx, dword [esp + 0x54]
mov esi, dword [esp + 0x10]
push 1
push ecx
push 0x21
call fcn.00463f20
add esp, 0xc
push 1
push esi
call fcn.00465750
push 0
push str.rows_deleted
push 0
push 0
mov ecx, esi
call fcn.00465820
add esp, 0x18
mov eax, dword [esp + 0x70]
test eax, eax
je 0x487f0d
mov edx, dword [esp + 0x6c]
mov dword [eax + 0x1e8], edx
mov eax, dword [ebp + 0xc]
mov esi, dword [esp + 0x24]
push eax
mov eax, esi
call fcn.00485530
mov ecx, dword [ebp + 0x10]
add esp, 4
push ecx
push esi
call fcn.00477200
mov eax, dword [esp + 0x60]
add esp, 8
test eax, eax
je 0x487f83
test esi, esi
je 0x487f7a
cmp dword [esi + 0x208], 0
je 0x487f4f
mov ecx, esi
call fcn.00445830
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp eax, dword [esi + 0x114]
jb 0x487f7a
cmp eax, dword [esi + 0x118]
jae 0x487f7a
mov edx, dword [esi + 0x110]
mov dword [eax], edx
dec dword [esi + 0xfc]
mov dword [esi + 0x110], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call fcn.004457c0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret