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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
cmp dword [esp + 0x70], 0x36
ja 0x65b986
imul esi, dword [esp + 0x70], 0x84
mov eax, dword [esi + 0x8db180]
lea ebx, [esi + 0x8db180]
test eax, eax
jne 0x65b990
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebp, dword [sym.imp.libpcaewin.dll_Nearest_Color_Index]
mov dword [esp + 8], 0x82
mov dword [esp + 4], 0x82
mov dword [esp], 0x82
call ebp
mov dword [esp + 8], 0xe8
mov dword [esp + 0x38], eax
mov dword [esp + 4], 0xe8
mov dword [esp], 0xe8
call ebp
mov edi, dword [ebx + 0x78]
mov ebp, dword [ebx + 0x14]
mov dword [esp + 0x20], eax
test edi, edi
je 0x65bb70
lea eax, [esi + 0x8db1dc]
mov dword [esp + 0x30], 1
mov edx, 0xfffffffa
mov dword [esp + 0x3c], eax
lea eax, [esi + 0x8db1e0]
mov esi, edi
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x20]
lea esi, [esi]
mov edi, dword [esp + 0x20]
add eax, ebp
add edx, ebp
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], edi
mov eax, dword [ebx + 0x1c]
mov dword [esp + 8], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00667630
mov eax, dword [esi]
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebx + 4]
mov dword [esp], 1
mov dword [esp + 4], eax
call dword [ebx + 0x64]
mov eax, dword [ebx + 0x2c]
test eax, eax
jne 0x65be00
mov eax, dword [ebx + 0x38]
test eax, eax
je 0x65bb4b
mov edx, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x28]
add edx, ebp
lea eax, [edx + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 0x3c]
add eax, dword [ebx + 0x18]
lea edi, [eax + 0x12]
mov dword [esp + 0x28], edi
mov edi, dword [ebx + 4]
mov dword [esp + 0x2c], edi
test ecx, ecx
je 0x65ba9d
cmp ecx, dword [ebx + 0xc]
jle 0x65bec0
mov edi, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [0x75e3d0]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp], eax
mov dword [esp + 0x18], 0xffffffff
call fcn.00666630
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov edi, dword [esp + 0x34]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x14], esi
add edx, ebp
mov dword [esp + 4], eax
lea ecx, [edx + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0x12]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666de0
mov dword [esp + 4], 0x12
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666ec0
mov eax, dword [sym.imp.libpcaewin.dll_BLACK_CI]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 8], 0x41006
mov dword [esp + 4], str.Zeile_duplizieren
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666f00
mov edi, dword [ebx + 0x50]
test edi, edi
jne 0x65bd80
mov eax, dword [ebx + 0x20]
mov esi, dword [esi + 8]
add ebp, eax
test esi, esi
je 0x65bb70
xor edx, edx
jmp 0x65ba08
imul eax, dword [esp + 0x70], 0x84
mov ecx, dword [eax + 0x8db1c4]
lea edx, [eax + 0x8db180]
test ecx, ecx
je 0x65bcbb
mov eax, dword [eax + 0x8db1a8]
test eax, eax
je 0x65bb9f
cmp eax, dword [edx + 0xc]
jle 0x65bcbb
imul esi, dword [esp + 0x70], 0x84
mov eax, dword [esp + 0x20]
mov dword [esp + 8], ebp
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x8db1a0]
lea ebx, [esi + 0x8db180]
add eax, ebp
sub eax, 5
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x8db19c]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x8db198]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x8db184]
mov dword [esp], eax
call fcn.00667630
mov edx, dword [esi + 0x8db1cc]
mov eax, dword [esi + 0x8db1c8]
mov dword [esp + 0x18], 0xffffffff
add eax, dword [esi + 0x8db198]
add edx, ebp
mov dword [esp + 8], eax
lea ecx, [edx + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0x23]
mov eax, dword [0x75e100]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
mov eax, dword [esi + 0x8db184]
mov dword [esp], eax
call fcn.00666630
mov edx, dword [esi + 0x8db1cc]
mov eax, dword [esi + 0x8db1c8]
mov dword [esp + 0x14], 0x8dcde0
add eax, dword [esi + 0x8db198]
add esi, 0x8db1a4
add edx, ebp
mov dword [esp + 0x18], esi
lea ecx, [edx + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0x23]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666de0
mov dword [esp + 4], 0x12
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666ec0
mov eax, dword [sym.imp.libpcaewin.dll_BLACK_CI]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 8], 0x41006
mov dword [esp + 4], str.neue_Zeile_anf
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666f00
imul edi, dword [esp + 0x70], 0x84
lea esi, [edi + 0x8db180]
mov ebx, dword [esi + 0x68]
test ebx, ebx
je 0x65b986
add edi, 0x8db1f0
lea esi, [esi]
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [edx + 8]
sub edx, 8
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0xe]
sub eax, 0xe
mov dword [esp + 8], eax
mov eax, dword [0x75de30]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00666630
mov edx, dword [ebx + 0x28]
mov eax, dword [ebx + 0x24]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edi
lea ecx, [edx + 8]
sub edx, 8
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0xe]
sub eax, 0xe
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00666de0
mov dword [esp + 4], 0x12
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.00666ec0
mov ebx, dword [ebx + 0x3c]
test ebx, ebx
jne 0x65bce0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x30]
mov dword [esp + 4], 0x7adf8c
lea edi, [eax + 1]
mov dword [esp + 8], eax
mov dword [esp + 0x24], edi
lea edi, [esp + 0x45]
mov dword [esp], edi
call fcn.0065a840
mov eax, dword [esp + 0x38]
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], 1
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], 0x1000
mov eax, dword [ebx + 0x58]
add eax, ebp
mov dword [esp + 8], eax
mov eax, dword [ebx + 0x54]
add eax, dword [ebx + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666080
mov eax, dword [ebx + 0x20]
mov esi, dword [esi + 8]
add ebp, eax
test esi, esi
je 0x65bb70
mov edi, dword [esp + 0x24]
xor edx, edx
mov dword [esp + 0x30], edi
jmp 0x65ba08
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x18], 0xffffffff
add edx, ebp
mov dword [esp + 8], eax
lea ecx, [edx + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 0x14], ecx
lea ecx, [eax + 0xe]
mov eax, dword [0x75e590]
mov dword [esp + 0x10], ecx
mov dword [esp + 4], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666630
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
mov edi, dword [esp + 0x3c]
add eax, dword [ebx + 0x18]
mov dword [esp + 0x14], esi
add edx, ebp
mov dword [esp + 4], eax
lea ecx, [edx + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 0x10], ecx
lea ecx, [eax + 0xe]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edi
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666de0
mov dword [esp + 4], 0x12
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666ec0
mov eax, dword [sym.imp.libpcaewin.dll_BLACK_CI]
mov dword [esp + 0x10], 0
mov eax, dword [eax]
mov dword [esp + 8], 0x41006
mov dword [esp + 4], str.Zeile_l
mov dword [esp + 0xc], eax
mov eax, dword [ebx + 4]
mov dword [esp], eax
call fcn.00666f00
jmp 0x65ba62
mov edi, dword [esp + 0x24]
mov dword [esp + 8], eax
mov eax, dword [0x75e250]
mov dword [esp + 0x18], 0xffffffff
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x28]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], edx
mov dword [esp], eax
call fcn.00666630
jmp 0x65bb4b