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

Disassembly:
push 0xffffffffffffffff
push 0x551210
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
push esi
mov esi, ecx
mov eax, dword [esi + 0x14]
test eax, eax
mov dword [esp + 8], esi
jne 0x48dd4a
xor eax, eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
mov eax, dword [esp + 0x68]
push edi
or edi, 0xffffffff
cmp eax, edi
je 0x48dd5c
cmp dword [esp + 0x70], edi
je 0x48dda1
lea ecx, [esp + 0x20]
call fcn.005280aa
push 0
mov dword [esp + 0x64], 0
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x24]
call fcn.00528623
mov ecx, dword [esi + 0x14]
lea eax, [esp + 0x40]
push eax
push 0x18
push ecx
call dword [sym.imp.gdi32.dll_GetObjectA]
test eax, eax
jne 0x48ddb6
lea ecx, [esp + 0x20]
mov dword [esp + 0x60], edi
call fcn.005286a1
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
mov eax, dword [esi + 0x14]
test eax, eax
push ebx
je 0x48ddd4
mov edx, dword [esp + 0x28]
push eax
push edx
call dword [sym.imp.gdi32.dll_SelectObject]
mov ebx, eax
test ebx, ebx
mov dword [esp + 0x1c], ebx
jne 0x48ddf7
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], edi
call fcn.005286a1
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ebp
push ecx
mov esi, eax
push eax
mov eax, dword [esp + 0x34]
mov ebp, ecx
push eax
mov dword [esp + 0x28], esi
mov dword [esp + 0x1c], ebp
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
mov edi, eax
test edi, edi
mov dword [esp + 0x18], edi
jne 0x48de55
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040a400
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.005286a1
pop ebp
pop ebx
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
lea ecx, [esp + 0x38]
call fcn.005280aa
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x3c]
mov byte [esp + 0x6c], 1
call fcn.004043a0
push edi
lea ecx, [esp + 0x3c]
call fcn.0040a400
test eax, eax
mov dword [esp + 0x24], eax
jne 0x48dea4
push ebx
lea ecx, [esp + 0x2c]
call fcn.0040a400
push edi
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0x38]
mov byte [esp + 0x68], 0
call fcn.005286a1
jmp 0x48de2d
push 0xcc0020
push 0
push 0
lea edx, [esp + 0x34]
push edx
push ebp
push esi
push 0
push 0
lea ecx, [esp + 0x58]
call fcn.00404430
xor ebp, ebp
test esi, esi
jle 0x48df5e
mov ebx, dword [sym.imp.gdi32.dll_SetPixel]
mov eax, dword [esp + 0x10]
xor esi, esi
test eax, eax
jle 0x48df4d
jmp 0x48dee0
mov eax, dword [esp + 0x3c]
push esi
push ebp
push eax
call dword [sym.imp.gdi32.dll_GetPixel]
mov edi, eax
mov eax, dword [esp + 0x74]
cmp eax, 0xffffffff
je 0x48df03
cmp edi, eax
jne 0x48df40
mov ecx, dword [esp + 0x78]
push ecx
jmp 0x48df37
mov eax, dword [esp + 0x14]
cmp dword [eax + 0xb4], 0x18
jne 0x48df24
mov eax, dword [0x5a4340]
test eax, eax
jne 0x48df24
push edi
call fcn.0048d140
add esp, 4
jmp 0x48df32
mov ecx, dword [esp + 0x70]
push ecx
push edi
call fcn.0048d0c0
add esp, 8
cmp edi, eax
je 0x48df40
push eax
mov edx, dword [esp + 0x40]
push esi
push ebp
push edx
call ebx
mov eax, dword [esp + 0x10]
inc esi
cmp esi, eax
jl 0x48dee0
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
inc ebp
cmp ebp, eax
jl 0x48ded1
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x3c]
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
push eax
push ecx
call esi
mov edx, dword [esp + 0x2c]
push ebx
push edx
call esi
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0x38]
mov dword [esi + 0x14], edi
mov byte [esp + 0x68], 0
call fcn.005286a1
lea ecx, [esp + 0x28]
mov dword [esp + 0x68], 0xffffffff
call fcn.005286a1
mov ecx, dword [esp + 0x60]
pop ebp
pop ebx
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc