Function at 0x10001ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10089599
mov eax, dword fs:[0]
push eax
sub esp, 0x9c
mov eax, dword [0x100ade34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], ecx
mov ecx, dword [ebp - 0x9c]
call fcn.100231f9
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x9c]
mov dword [eax], vtable.CMemDC.0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x10
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp - 0x48]
call fcn.10003d90
mov edx, dword [ebp - 0x48]
mov dword [edx], vtable.CBitmap.0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x1c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x18], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x4c], ecx
xor edx, edx
cmp dword [ebp - 0x4c], 0
sete dl
mov eax, dword [ebp - 0x9c]
mov dword [eax + 0x30], edx
cmp dword [ebp + 0xc], 0
jne 0x10001fb0
mov ecx, dword [ebp - 0x9c]
add ecx, 0x20
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x50]
call edx
jmp 0x10001fd2
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x9c]
add ecx, 0x20
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x9c]
cmp dword [ecx + 0x30], 0
je 0x100021b7
cmp dword [ebp + 8], 0
jne 0x10001ff4
mov dword [ebp - 0xa0], 0
jmp 0x10002000
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [ebp - 0xa0], eax
mov ecx, dword [ebp - 0xa0]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.1002393f
push 2
mov edx, dword [ebp - 0x9c]
add edx, 0x20
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov edx, dword [ebp - 0x9c]
add edx, 0x20
mov dword [ebp - 0x50], edx
mov eax, dword [ebp - 0x50]
mov ecx, dword [ebp - 0x50]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x54], edx
mov eax, dword [ebp - 0x9c]
add eax, 0x20
mov dword [ebp - 0x58], eax
mov ecx, dword [ebp - 0x58]
mov edx, dword [ebp - 0x58]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x10
call fcn.10023c11
mov edx, dword [ebp - 0x9c]
add edx, 0x10
mov dword [ebp - 0x60], edx
jne 0x100020a5
mov dword [ebp - 0xa4], 0
jmp 0x100020b1
mov eax, dword [ebp - 0x60]
mov ecx, dword [eax + 4]
mov dword [ebp - 0xa4], ecx
mov edx, dword [ebp - 0xa4]
push edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 4]
push ecx
call fcn.10023d56
mov edx, dword [ebp - 0x9c]
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
mov ecx, dword [ebp - 0x9c]
call fcn.10022b50
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x48]
call eax
lea ecx, [ebp - 0x70]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x9c]
mov edx, dword [eax + 0x40]
call edx
push 2
mov eax, dword [ebp - 0x9c]
add eax, 0x20
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_DPtoLP]
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x24]
push ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x20]
push eax
lea ecx, [ebp - 0x44]
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.10023399
jmp 0x100021e4
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
cmp dword [ebp + 0x10], 0
je 0x100022d4
mov edx, dword [ebp - 0x9c]
add edx, 0x20
mov dword [ebp - 0x74], edx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x74]
mov edx, dword [eax + 0xc]
sub edx, dword [ecx + 4]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x9c]
add eax, 0x20
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x94], edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x90], ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x8c], eax
mov ecx, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x7c]
mov eax, dword [ecx + 8]
sub eax, dword [edx]
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x9c]
mov edx, dword [ecx + 0x24]
mov dword [ebp - 0x84], edx
mov eax, dword [ebp - 0x9c]
mov ecx, dword [eax + 0x20]
mov dword [ebp - 0x80], ecx
cmp dword [ebp - 0x8c], 0
jne 0x10002283
mov dword [ebp - 0xa8], 0
jmp 0x10002292
mov edx, dword [ebp - 0x8c]
mov eax, dword [edx + 4]
mov dword [ebp - 0xa8], eax
push 0xcc0020
mov ecx, dword [ebp - 0x94]
push ecx
mov edx, dword [ebp - 0x90]
push edx
mov eax, dword [ebp - 0xa8]
push eax
mov ecx, dword [ebp - 0x78]
push ecx
mov edx, dword [ebp - 0x88]
push edx
mov eax, dword [ebp - 0x84]
push eax
mov ecx, dword [ebp - 0x80]
push ecx
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x10002303
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.GDI32.dll_GetBkColor]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [ebp - 0x9c]
add ecx, 0x20
push ecx
mov ecx, dword [ebp - 0x9c]
call fcn.10024d42
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x9c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0xc