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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6b53b8
push eax
mov dword fs:[0], esp
mov eax, dword [esp + 0x24]
sub esp, 0x84
push ebx
push ebp
push esi
push edi
xor edi, edi
cmp eax, edi
je 0x5ddf5b
mov dword [eax], edi
mov ebx, dword [esp + 0xa8]
cmp ebx, edi
je 0x5de440
cmp dword [ebx], edi
je 0x5de440
mov eax, dword [esp + 0xa4]
cmp eax, edi
je 0x5de440
mov esi, dword [eax + 4]
cmp esi, edi
mov dword [esp + 0x20], esi
je 0x5de440
mov ebp, dword [esp + 0xac]
mov dword [ebp + 4], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp + 8], edi
mov dword [ebp + 0xc], edi
mov dword [ebp], esi
mov eax, dword [ebx]
mov dword [ebp + 4], eax
mov ecx, dword [ebx + 4]
mov dword [ebp + 8], ecx
mov edx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebx]
cmp eax, 3
je 0x5de433
cmp eax, 4
je 0x5de433
cmp eax, 5
jne 0x5de0a6
mov eax, dword [ebx + 0x10]
push edi
push eax
lea ecx, [eax + 0x428]
push ecx
push 4
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
cmp eax, edi
mov dword [ebp + 0x14], eax
je 0x5de427
mov edi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push esi
call edi
mov edx, dword [esp + 0x20]
mov esi, eax
push edx
call edi
mov edi, eax
mov eax, dword [ebp + 0x14]
mov ebp, dword [sym.imp.GDI32.dll_SelectObject_1]
push eax
push esi
call ebp
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0xac]
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ebx, eax
push ebx
push edi
call ebp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xac]
push 0xcc0020
push 0
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
push 0
push esi
push ecx
push edx
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x10]
push eax
push esi
call ebp
push esi
mov esi, dword [sym.imp.GDI32.dll_DeleteDC_1]
call esi
mov ecx, dword [esp + 0x14]
push ecx
push edi
call ebp
push edi
call esi
mov esi, dword [esp + 0xac]
mov edx, dword [esi + 0x14]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject_1]
mov ebp, esi
mov dword [esi + 0x14], ebx
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x14], edi
setne al
jmp 0x5de442
cmp eax, 7
jne 0x5de0d3
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 8]
mov edx, dword [ebx + 4]
push eax
push 1
push 1
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateBitmap_1]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, edi
setne al
jmp 0x5de442
cmp eax, 6
jne 0x5de100
mov eax, dword [ebx + 0x10]
push edi
push eax
lea ecx, [eax + 0x428]
push ecx
push 4
push eax
push esi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, edi
setne al
jmp 0x5de442
cmp eax, 8
jne 0x5de3ab
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 4]
neg eax
lea ecx, [esp + 0x80]
mov dword [esp + 0x58], 0x28
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], eax
mov word [esp + 0x64], 1
mov word [esp + 0x66], 0x20
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], edi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], edi
call fcn.005b70f0
mov esi, dword [ebx + 4]
lea ecx, [esp + 0x80]
imul esi, dword [ebx + 8]
shl esi, 2
push esi
mov dword [esp + 0xa0], edi
call fcn.005b7110
mov ecx, esi
mov esi, dword [ebx + 0x10]
mov ebp, eax
mov edx, ecx
mov edi, ebp
mov eax, dword [esp + 0xb4]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor ecx, ecx
cmp eax, ecx
je 0x5de239
mov eax, dword [ebx + 8]
mov dword [esp + 0x14], ecx
cmp eax, ecx
jbe 0x5de33b
mov eax, dword [ebx + 4]
xor edi, edi
test eax, eax
jbe 0x5de220
cmp byte [ebp + 3], 0xff
jae 0x5de215
mov eax, dword [esp + 0xb8]
test eax, eax
je 0x5de1c8
mov dword [eax], 1
xor eax, eax
mov esi, 3
mov al, byte [ebp + 3]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [0x85e3f0]
xor ecx, ecx
mov cl, byte [ebp]
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul st(1)
call fcn.00695068
cmp eax, 0xff
jl 0x5de201
mov byte [ebp], 0xff
jmp 0x5de20c
test eax, eax
setle dl
dec edx
and edx, eax
mov byte [ebp], dl
inc ebp
dec esi
jne 0x5de1e0
fstp st(0)
inc ebp
jmp 0x5de218
add ebp, 4
mov eax, dword [ebx + 4]
inc edi
cmp edi, eax
jb 0x5de1b1
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x5de1a8
jmp 0x5de33b
mov eax, dword [esp + 0xb0]
mov dword [esp + 0x1c], ecx
mov edx, eax
mov dword [esp + 0x10], ecx
shr edx, 0x10
and edx, 0xff
mov dword [esp + 0x18], edx
mov edx, eax
fild qword [esp + 0x18]
shr edx, 8
and edx, 0xff
mov dword [esp + 0x1c], ecx
fstp dword [esp + 0x24]
mov dword [esp + 0x18], edx
and eax, 0xff
fild qword [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
fstp dword [esp + 0x28]
fild qword [esp + 0x18]
fstp dword [esp + 0x2c]
jbe 0x5de33b
mov eax, dword [ebx + 4]
mov dword [esp + 0x14], 0
test eax, eax
jbe 0x5de327
mov al, byte [ebp + 3]
cmp al, 0xff
jae 0x5de314
and eax, 0xff
lea esi, [esp + 0x24]
mov dword [esp + 0x18], eax
mov edi, 3
fild dword [esp + 0x18]
fmul dword [0x85e3f0]
fld dword [0x85e3ec]
fsub st(1)
xor eax, eax
mov al, byte [ebp]
mov dword [esp + 0x18], eax
fild dword [esp + 0x18]
fmul st(2)
fld st(1)
fmul dword [esi]
faddp st(1)
call fcn.00695068
cmp eax, 0xff
jl 0x5de2fb
mov byte [ebp], 0xff
jmp 0x5de306
test eax, eax
setle cl
dec ecx
and ecx, eax
mov byte [ebp], cl
add esi, 4
inc ebp
dec edi
jne 0x5de2d4
fstp st(0)
fstp st(0)
inc ebp
jmp 0x5de317
add ebp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jb 0x5de2a9
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx + 8]
inc eax
cmp eax, ecx
mov dword [esp + 0x10], eax
jb 0x5de29a
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x88]
neg eax
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x58]
sbb eax, eax
push 0
and eax, ebp
push edx
push eax
lea eax, [esp + 0x64]
push 4
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
mov edx, dword [esp + 0xac]
lea ecx, [esp + 0x80]
mov dword [esp + 0x9c], 0xffffffff
mov dword [esp + 0x80], 0x85e3e8
mov dword [edx + 0x14], eax
call fcn.005b72f0
mov ebp, dword [esp + 0xac]
xor edi, edi
xor eax, eax
cmp dword [ebp + 0x14], edi
setne al
jmp 0x5de442
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 4]
mov edx, dword [ebx + 0x10]
push edi
push eax
push ecx
push edx
call fcn.005ddd00
mov esi, eax
add esp, 0x10
cmp esi, edi
je 0x5de440
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x30]
push edi
mov dword [esp + 0x38], eax
push edx
mov dword [esp + 0x40], ecx
mov ecx, dword [esp + 0x28]
push esi
lea eax, [esp + 0x3c]
push 4
push eax
push ecx
mov dword [esp + 0x48], 0x28
mov word [esp + 0x54], 1
mov word [esp + 0x56], 0x18
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
call dword [sym.imp.GDI32.dll_CreateDIBitmap]
push esi
mov dword [ebp + 0x14], eax
call fcn.006a7665
add esp, 4
mov ecx, dword [ebp + 0x14]
xor eax, eax
cmp ecx, edi
setne al
jmp 0x5de442
mov edx, dword [ebx + 0xc]
mov eax, 1
mov dword [ebp + 0x10], edx
jmp 0x5de442
xor eax, eax
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x90
ret