Function at 0x4113f5
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43f09f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
add ecx, 0x88
call fcn.00410930
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x440b78
push str.GDI32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x453cfc], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
sub edx, 1
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x1f
ja case.0x411462.1
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [ecx + 0x411720]
jmp dword [eax*4 + 0x411718]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 0x70], eax
jmp 0x41147e
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x70], 8
mov ecx, dword [ebp - 0x14]
call fcn.00411129
and eax, 0xff
test eax, eax
jne 0x4114b4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10c], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x10c]
push ecx
call dword [sym.imp.USER32.dll_GetDC]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x10], 0xcc0020
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov dword [eax + 8], ecx
mov eax, 0x3e8
xor edx, edx
div dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x18], eax
mov eax, dword [ebp - 0x14]
mov cl, byte [ebp + 0xc]
mov byte [eax + 0xc], cl
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x28], eax
push 1
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x2c], eax
mov ecx, dword [ebp - 0x14]
mov eax, 0x20
cdq
idiv dword [ecx + 0x70]
mov edx, dword [ebp - 0x14]
mov byte [edx + 0x24], al
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x30], 0
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x4c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x80], eax
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x48], eax
push 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x50], eax
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x5c], 0
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x60], 0
push 1
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x28]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x70]
push ecx
mov ecx, dword [ebp - 0x14]
call fcn.00410ade
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x64], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x2c]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x70]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00410ade
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x68], eax
push 1
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x28]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x70]
push edx
mov ecx, dword [ebp - 0x14]
call fcn.00410ade
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x6c], eax
push 0
push 0
mov edx, dword [ebp - 0x14]
add edx, 0x5c
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x64]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x54], eax
push 0
push 0
mov edx, dword [ebp - 0x14]
add edx, 0x60
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x58], eax
push 0
push 0
mov edx, dword [ebp - 0x14]
add edx, 0x78
push edx
push 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x44]
push eax
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x84], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x4c]
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x54]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x48]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x84]
push edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x80]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 0x2c]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x28]
push edx
push 0
push 0
mov eax, dword [ebp - 0x14]
add eax, 0x34
push eax
call dword [sym.imp.USER32.dll_SetRect]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0x68]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call fcn.00433c24
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax + 0x68]
mov esi, dword [ebp - 0x14]
mov eax, dword [ecx + 0x14]
xor edx, edx
div dword [esi + 0x2c]
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x74], eax
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
mov ebx, dword [esi + 0x54]
lea eax, [edi + 1]
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], eax
lea eax, [ebp + 0xc]
mov ecx, ebx
push eax
call fcn.004218f4
test al, al
je 0x42180e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebx + 0x10]
lea eax, [eax + eax*2]
shl eax, 4
mov eax, dword [eax + ecx]
jmp 0x421810
xor eax, eax
push eax
lea ecx, [ebp - 4]
call fcn.004381d4
invalid
add byte [ebx + 0x75ff0845], cl
cld
mov eax, dword [ebp + 8]
push dword [ebp - 4]
mov eax, dword [eax + 0x9c]
push eax
call fcn.004265bc
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 4]
inc bl
call fcn.00438158
test bl, bl
jne 0x42188b
mov edi, dword [ebp - 8]
cmp edi, dword [esi + 0x10]
jl 0x4217e2
mov eax, dword [ebp + 8]
and dword [eax + 0x90], 0
jmp 0x4218ed
mov ecx, dword [esi + 0x14]
push dword [ebp + 8]
lea eax, [edi + edi*4]
mov ecx, dword [ecx + eax*8 + 0x24]
call fcn.00433882
jmp 0x4218ed
pop edi
pop esi
pop ebx
leave
ret 8