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

Disassembly:
push 0xffffffffffffffff
push 0x53ac78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x34]
call fcn.00519a7b
lea ecx, [esp + 0x24]
mov dword [esp + 0x64], 0
call fcn.00519a7b
lea ecx, [esp + 0x14]
call fcn.00426f20
mov edi, 0x559e14
mov dword [esp + 0x14], edi
lea ecx, [esp + 0x1c]
call fcn.00426f20
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x70]
mov byte [esp + 0x64], 3
test eax, eax
je 0x428772
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x428772
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 2
mov dword [esp + 0x1c], edi
call fcn.004024d0
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 1
mov dword [esp + 0x14], edi
call fcn.004024d0
jmp 0x428a13
mov ebp, dword [esp + 0x74]
mov eax, dword [ebp]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4287a0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 2
mov dword [esp + 0x1c], edi
call fcn.004024d0
mov byte [esp + 0x64], 1
mov dword [esp + 0x14], edi
jmp 0x4288c5
mov ebx, dword [esp + 0x6c]
test ebx, ebx
jne 0x4287ac
xor eax, eax
jmp 0x4287af
mov eax, dword [ebx + 4]
mov esi, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
call esi
push eax
lea ecx, [esp + 0x38]
call fcn.00519b32
test eax, eax
je 0x428780
test ebx, ebx
jne 0x4287ce
xor eax, eax
jmp 0x4287d1
mov eax, dword [ebx + 4]
push eax
call esi
push eax
lea ecx, [esp + 0x28]
call fcn.00519b32
test eax, eax
je 0x428780
mov eax, dword [ebp]
lea ecx, [esp + 0x74]
push eax
push ecx
call fcn.00422540
add esp, 8
mov esi, dword [eax]
mov byte [esp + 0x64], 4
call fcn.0052bb7d
mov eax, dword [eax + 0xc]
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
push 0x2000
push 0
push 0
push 0
push esi
push eax
call edi
lea ecx, [esp + 0x74]
mov esi, eax
mov byte [esp + 0x64], 3
call fcn.005128e4
test esi, esi
jne 0x42885a
mov esi, dword [ebp]
call fcn.0052bb7d
mov eax, dword [eax + 0xc]
push 0x2000
push 0
push 0
push 0
push esi
push eax
call edi
mov esi, eax
test esi, esi
jne 0x42885a
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov byte [esp + 0x64], 5
jmp 0x4288af
push esi
lea ecx, [esp + 0x18]
call fcn.0051a6c7
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x44]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
mov ebp, ecx
push ecx
mov ecx, dword [ebx + 4]
mov esi, eax
push eax
push ecx
mov dword [esp + 0x78], esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [esp + 0x70]
push eax
mov ecx, edi
call fcn.0051a6c7
test eax, eax
jne 0x428902
mov dword [esp + 0x1c], vtable.CGdiObject.0
mov byte [esp + 0x64], 6
lea ecx, [esp + 0x1c]
call fcn.0051a71e
mov byte [esp + 0x64], 1
mov dword [esp + 0x14], 0x559e14
lea ecx, [esp + 0x14]
call fcn.004024d0
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 0
call fcn.00519bb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0xffffffff
call fcn.00519bb0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
add esp, 0x58
ret
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, ebx
push eax
push edx
call fcn.00519c73
test edi, edi
mov dword [esp + 0x10], eax
jne 0x428927
xor eax, eax
jmp 0x42892a
mov eax, dword [edi + 4]
push eax
mov eax, dword [esp + 0x2c]
push eax
call fcn.00519c73
push 0xff00ff
push ebp
push esi
mov ebx, eax
push 0
push 0
lea ecx, [esp + 0x38]
mov dword [esp + 0x84], ebx
call fcn.00522dff
xor edi, edi
test esi, esi
jle 0x4289b5
mov ebx, dword [esp + 0x80]
xor esi, esi
test ebp, ebp
jle 0x4289a8
mov ecx, dword [esp + 0x38]
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_GetPixel]
cmp eax, 0xff00ff
je 0x428995
mov edx, dword [esp + 0x7c]
and eax, 0xff
push ebx
push edx
push eax
mov eax, dword [esp + 0x84]
push eax
call fcn.00429c70
add esp, 0x10
mov ecx, dword [esp + 0x28]
push eax
push esi
push edi
push ecx
call dword [sym.imp.GDI32.dll_SetPixel]
inc esi
cmp esi, ebp
jl 0x428965
mov eax, dword [esp + 0x6c]
inc edi
cmp edi, eax
jl 0x42895f
mov ebx, dword [esp + 0x70]
lea ecx, [esp + 0x14]
call fcn.0051a6f4
test ebx, ebx
jne 0x4289c6
xor eax, eax
jmp 0x4289c9
mov eax, dword [ebx + 4]
mov edx, dword [esp + 0x28]
push eax
push edx
call fcn.00519c73
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4289df
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x3c]
push eax
call fcn.00519c73
mov esi, vtable.CGdiObject.0
mov dword [esp + 0x1c], esi
lea ecx, [esp + 0x1c]
mov byte [esp + 0x64], 7
call fcn.0051a71e
mov dword [esp + 0x14], esi
lea ecx, [esp + 0x14]
mov byte [esp + 0x64], 8
call fcn.0051a71e
lea ecx, [esp + 0x24]
mov byte [esp + 0x64], 0
call fcn.00519bb0
lea ecx, [esp + 0x34]
mov dword [esp + 0x64], 0xffffffff
call fcn.00519bb0
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret