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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x64
mov eax, dword [esp + 0x7c]
mov esi, dword [esp + 0x90]
mov edx, dword [esp + 0x8c]
mov ebx, dword [esp + 0x94]
mov edi, dword [esp + 0x78]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x48], edx
mov dword [esp + 0x4c], esi
mov ebp, dword [esp + 0x80]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x44], eax
mov byte [esp + 0x35], al
mov eax, esi
mov byte [esp + 0x36], dl
mov byte [esp + 0x37], al
test edi, edi
je 0x6c9c1090
mov ecx, dword [edi + 4]
movzx edx, bl
movzx eax, byte [ecx + 9]
cmp al, 2
je 0x6c9c0f08
cmp al, 4
je 0x6c9c0ee0
mov dword [esp + 0x78], str.SDL_BlendLines__:_Unsupported_surface_format
add esp, 0x64
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.6c942590
cmp dword [ecx + 0xc], 0xff0000
mov eax, dword [ecx + 0x18]
je 0x6c9c1078
test eax, eax
mov ecx, 0x6c9bb370
mov eax, 0x6c9b91b0
cmovne eax, ecx
mov dword [esp + 0x38], eax
jmp 0x6c9c0f30
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x38], 0x6c9b5ba0
cmp eax, 0x7c00
je 0x6c9c0f30
cmp eax, 0xf800
mov ecx, 0x6c9b7690
mov eax, 0x6c9b3920
cmove eax, ecx
mov dword [esp + 0x38], eax
cmp ebp, 1
jle 0x6c9c1017
mov dword [esp + 0x3c], edx
lea eax, [edi + 0x24]
mov ebx, dword [esp + 0x40]
mov esi, 1
mov dword [esp + 0x30], edi
mov edi, eax
nop
mov eax, dword [ebx]
mov dword [esp + 0x54], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x5c], eax
mov eax, dword [ebx + 0xc]
mov dword [esp], edi
mov dword [esp + 0x60], eax
lea eax, [esp + 0x60]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x5c]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x58]
mov dword [esp + 8], eax
lea eax, [esp + 0x54]
mov dword [esp + 4], eax
call fcn.6ca17400
test eax, eax
je 0x6c9c1005
mov eax, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
mov ecx, 1
cmp dword [ebx + 8], eax
jne 0x6c9c0fb1
xor ecx, ecx
cmp dword [ebx + 0xc], edx
setne cl
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x24], ecx
movzx ecx, byte [esp + 0x37]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x20], ecx
movzx ecx, byte [esp + 0x36]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esp + 0x35]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
call eax
add esi, 1
add ebx, 8
cmp ebp, esi
jne 0x6c9c0f50
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x40]
lea eax, [esi + ebp*8 - 8]
mov edx, dword [eax]
mov eax, dword [eax + 4]
cmp dword [esi], edx
jne 0x6c9c102d
cmp dword [esi + 4], eax
je 0x6c9c1069
movzx ecx, byte [esp + 0x50]
mov esi, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp + 0x1c], ecx
movzx ecx, byte [esp + 0x4c]
mov dword [esp + 0xc], esi
mov dword [esp + 0x18], ecx
movzx ecx, byte [esp + 0x48]
mov dword [esp], edi
mov dword [esp + 0x14], ecx
movzx ecx, byte [esp + 0x44]
mov dword [esp + 0x10], ecx
call fcn.6c9c2a70
add esp, 0x64
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
ret
test eax, eax
mov ecx, 0x6c9bf330
mov eax, 0x6c9bdc30
cmovne eax, ecx
mov dword [esp + 0x38], eax
jmp 0x6c9c0f30
mov dword [esp + 0x78], str.SDL_BlendLines__:_Passed_NULL_destination_surface
jmp 0x6c9c0ed1