Function at 0x10013420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007ea8f
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.100132a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0x1007f888
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.0x1001347d.1
mov ecx, dword [ebp - 0x18]
xor eax, eax
mov al, byte [ecx + 0x1001373b]
jmp dword [eax*4 + 0x10013733]
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp + 8]
mov dword [edx + 0x70], eax
jmp 0x10013499
mov ecx, dword [ebp - 0x14]
mov dword [ecx + 0x70], 8
mov ecx, dword [ebp - 0x14]
call fcn.1001407b
and eax, 0xff
test eax, eax
jne 0x100134cf
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.10013c3f
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.10013c3f
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.10013c3f
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 sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
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