Function at 0x10008190
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1001331e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
mov dword [esi + 0x88], 0x10014224
mov dword [esp + 0x14], 0x7f8a
mov dword [esp + 0x18], 0x7f00
mov dword [esp + 0x1c], 0x7f03
mov dword [esp + 0x20], 0x7f89
mov dword [esp + 0x24], 0x7f8b
mov dword [esp + 0x28], 0x7f01
mov dword [esp + 0x2c], 0x7f81
mov dword [esp + 0x30], 0x7f88
mov dword [esp + 0x34], 0x7f80
mov dword [esp + 0x38], 0x7f86
mov dword [esp + 0x3c], 0x7f83
mov dword [esp + 0x40], 0x7f85
mov dword [esp + 0x44], 0x7f82
mov dword [esp + 0x48], 0x7f84
mov dword [esp + 0x4c], 0x7f04
mov dword [esp + 0x50], 0x7f02
lea ebx, [esp + 0x14]
lea edi, [esi + 0xcc]
mov ebp, 0x10
mov eax, dword [ebx]
push eax
push 0
mov dword [edi - 0x40], eax
call dword [0x10019464]
mov dword [edi], eax
add ebx, 4
add edi, 4
dec ebp
jne 0x1000824b
xor ebp, ebp
push str.GDI32.dll
mov dword [esp + 0x60], ebp
mov dword [esi], 0x10014228
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ecx, dword [esp + 0x64]
mov dword [0x10019cb4], eax
lea eax, [ecx - 1]
cmp eax, 0x1f
ja case.0x10008294.2
xor edx, edx
mov dl, byte [eax + 0x10008488]
jmp dword [edx*4 + 0x10008480]
mov dword [esi + 0x70], ecx
jmp 0x100082a7
mov dword [esi + 0x70], 8
mov ecx, esi
call fcn.10008cb0
test al, al
jne 0x100082c8
call dword [0x10019420]
push eax
mov dword [esi + 0x10c], eax
call dword [0x10019424]
mov dword [esi + 0x44], eax
mov dword [esi + 0x10], 0xcc0020
mov byte [esi + 4], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x6c]
mov dword [esi + 0x14], eax
mov eax, 0x3e8
xor edx, edx
div ecx
mov edi, dword [0x1001942c]
push ebp
mov dword [esi + 8], ecx
mov dword [esi + 0x18], eax
mov al, byte [esp + 0x6c]
mov byte [esi + 0xc], al
call edi
push 1
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x2c], eax
mov eax, 0x20
cdq
idiv dword [esi + 0x70]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [esi + 0x30], ebp
push str.CreateCompatibleDC
mov byte [esi + 0x24], al
mov ecx, dword [0x10019cb4]
push ecx
call ebx
mov edx, dword [esi + 0x44]
mov edi, eax
push edx
call edi
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x44]
push eax
call edi
push ebp
mov dword [esi + 0x80], eax
call edi
push ebp
mov dword [esi + 0x48], eax
call edi
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x70]
lea ebp, [esi + 0x5c]
push 1
push ecx
push edx
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [ebp], 0
mov dword [esi + 0x60], 0
call fcn.10008920
mov ecx, dword [esi + 0x28]
mov edx, dword [esi + 0x70]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x2c]
push eax
push ecx
push edx
mov ecx, esi
call fcn.10008920
mov ecx, dword [esi + 0x70]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x28]
push 1
push eax
push ecx
mov ecx, esi
call fcn.10008920
mov dword [esi + 0x6c], eax
mov edx, dword [0x10019cb4]
push str.CreateDIBSection
push edx
call ebx
push 0
push 0
push ebp
mov edi, eax
push 0
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x44]
push eax
push ecx
call edi
mov edx, dword [esi + 0x68]
mov dword [esi + 0x54], eax
push 0
lea eax, [esi + 0x60]
push 0
push eax
mov eax, dword [esi + 0x44]
push 0
push edx
push eax
call edi
mov edx, dword [esi + 0x68]
push 0
lea ecx, [esi + 0x78]
push 0
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x44]
push ecx
push 0
push edx
push eax
call edi
mov dword [esi + 0x84], eax
mov ecx, dword [0x10019cb4]
push str.SelectObject
push ecx
call ebx
mov edx, dword [esi + 0x58]
mov edi, eax
mov eax, dword [esi + 0x4c]
push edx
push eax
call edi
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x48]
push ecx
push edx
call edi
mov eax, dword [esi + 0x84]
mov ecx, dword [esi + 0x80]
push eax
push ecx
call edi
mov edx, dword [esi + 0x2c]
mov eax, dword [esi + 0x28]
push edx
push eax
push 0
lea ecx, [esi + 0x34]
push 0
push ecx
call dword [0x10019428]
mov edx, dword [esi + 0x68]
mov eax, dword [edx + 0x14]
shl eax, 1
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
mov ecx, dword [esi + 0x68]
mov dword [esi + 0x1c], eax
xor edx, edx
add esp, 4
mov eax, dword [ecx + 0x14]
mov ecx, dword [esp + 0x54]
div dword [esi + 0x2c]
mov dword [esi + 0x20], 0
pop edi
mov dword [esi + 0x74], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc
add byte [ecx], cl
add byte [eax], al
loop 0x10018586
or dword [eax], eax
add dl, ah
add byte [eax], al
add byte [eax + 7], dl
add byte [eax], al
push eax
pop es
add byte [eax], al
push es
add byte [eax], al
add byte [eax], al
or byte [eax], al
add byte [ecx], bl
add byte [eax], al
add byte [eax], cl
add byte [eax], al
sbb dword [eax], eax
add byte [eax], al
add byte [ecx], cl
add byte [eax], al
xchg edx, eax
add byte [eax], al
add byte [ebx + 7], dl
add byte [eax], al
cmp eax, dword [eax]
add byte [eax], al
add byte [eax], cl
add byte [eax], al
jns 0x100185b6
add byte [eax], al
add byte [eax], cl
add byte [eax], al
cmp dword [eax], eax
add byte [eax], al
add byte [ecx], cl
add byte [eax], al
rol byte [eax], cl
add byte [eax], al
push ecx
pop es
add byte [eax], al
adc dword [eax], eax
add byte [eax], al
add byte [eax], cl
add byte [eax], al
imul eax, dword [eax], 0x8000000
add byte [eax], al
sub dword [eax], eax
add byte [eax], al
add byte [ecx], cl
add byte [eax], al
mov dl, 0
add byte [eax], al
add byte [eax], cl
add byte [eax], al
or dword [eax], eax
add byte [eax], al
add byte [eax], cl
add byte [eax], al
mov dword [eax], eax
add byte [eax], al
add byte [eax], cl
add byte [eax], al
dec ecx
add byte [eax], al
add byte [eax], al
or dword [eax], eax
add dl, dh
add byte [eax], al
add byte [eax + 7], dl
add byte [eax], al
add al, 0
add byte [eax], al
add byte [eax], cl
add byte [eax], al
push ebp
add byte [eax], al
add byte [eax], al
or byte [eax], al
add byte [0x50000000], dl
or byte [eax], al
add byte [edx], al
add dword [eax], eax
add byte [ebx + 7], dl
add byte [eax], al
sub eax, dword [eax]
add byte [eax], al
add byte [eax], cl
add byte [eax], al
jne 0x10018636
add byte [eax], al
add byte [eax], cl
add byte [eax], al
xor eax, 0
or dword [eax], eax
add dl, cl
add byte [eax], al
add byte [ecx + 7], dl
add byte [eax], al
or eax, 0
or byte [eax], al
add byte [ebp], ah
add byte [eax], al
add byte [eax], cl
add byte [eax], al
and eax, 0
or dword [eax], eax
add byte [edx], ch
or byte [eax], al
add byte [0], al
or byte [eax], al
add byte [ebp], al
or byte [eax], al
add byte [ebp], al
add byte [eax], al
add byte [ecx], cl
add byte [eax], al
ljmp 7