Function at 0x88f1ec
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], eax
mov edi, dword [ebp + 8]
add edi, 0xfffffffc
xor eax, eax
push ebp
push 0x88f748
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x88f22b
sub eax, 4
mov eax, dword [eax]
mov ebx, eax
lea eax, [ebx + 1]
push eax
mov eax, dword [edi]
add eax, 0x518
mov ecx, 1
mov edx, dword [0x8948c8]
call fcn.0040c7c8
add esp, 4
mov eax, dword [ebp + 8]
imul esi, dword [eax - 8], 0x22
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + esi*8 + 0xec]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jge 0x88f271
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x88f277
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + esi*8 + 0xf4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x88f296
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x88f29c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + esi*8 + 0xe8]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jge 0x88f2bb
xor eax, eax
mov dword [ebp - 0x20], eax
jmp 0x88f2c1
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + esi*8 + 0xf0]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jge 0x88f2e0
xor eax, eax
mov dword [ebp - 0x28], eax
jmp 0x88f2e6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x28]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + esi*8 + 0xf8]
push eax
push 1
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov edx, dword [eax + esi*8 + 0xfc]
mov eax, dword [edi]
mov eax, dword [eax + 0x520]
mov eax, dword [eax + esi*8 + 0x100]
xor ecx, ecx
call fcn.007cfe00
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
add eax, eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
pop edx
call fcn.008a0988
lea esi, [ebx + ebx*8]
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov dword [edx + esi*8], eax
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov edx, dword [edi]
mov edx, dword [edx + 0x520]
cmp dword [edx + eax*8 + 0xdc], 3
jne 0x88f3b8
push 0xff00ff
push 0xff00ff
push 0xff00ff
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.008704e0
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
mov eax, dword [ecx + eax*8 + 0x100]
push eax
lea eax, [ebx + ebx*8]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x518]
mov eax, dword [ecx + eax*8]
pop ecx
call fcn.0088492c
jmp 0x88f433
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov edx, dword [edi]
mov edx, dword [edx + 0x520]
mov eax, dword [edx + eax*8 + 0x104]
push eax
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov edx, dword [edi]
mov edx, dword [edx + 0x520]
mov eax, dword [edx + eax*8 + 0x108]
push eax
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov edx, dword [edi]
mov edx, dword [edx + 0x520]
mov eax, dword [edx + eax*8 + 0x10c]
push eax
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.008704e0
lea edx, [ebp - 0x38]
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
mov eax, dword [ecx + eax*8 + 0x100]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8]
pop ecx
call fcn.0088492c
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.005209e0
call fcn.0051a144
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
push 0
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8]
call fcn.005209e0
call fcn.0051a144
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebp + 8]
imul eax, dword [eax - 8], 0x22
mov edx, dword [edi]
mov edx, dword [edx + 0x520]
mov dword [edx + eax*8 + 0xe0], ebx
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8]
lea edx, [ebp - 0x38]
call fcn.008704e0
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
push esi
push edi
lea edi, [eax + esi*8 + 0xc]
lea esi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8]
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov dword [edx + esi*8 + 0x40], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov dword [edx + esi*8 + 0x44], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8 + 0x40]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
add eax, dword [ecx + edx*8 + 0xe8]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
sub eax, dword [ecx + edx*8 + 0xf0]
sar eax, 1
jns 0x88f539
adc eax, 0
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov word [edx + esi*8 + 0x28], ax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov eax, dword [eax + esi*8 + 0x40]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
add eax, dword [ecx + edx*8 + 0xf0]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
sub eax, dword [ecx + edx*8 + 0xe8]
sar eax, 1
jns 0x88f585
adc eax, 0
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov word [edx + esi*8 + 0x2c], ax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
add eax, dword [ecx + edx*8 + 0xec]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
sub eax, dword [ecx + edx*8 + 0xf4]
sar eax, 1
jns 0x88f5cd
adc eax, 0
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov word [edx + esi*8 + 0x2a], ax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
add eax, dword [ecx + edx*8 + 0xf4]
mov edx, dword [ebp + 8]
imul edx, dword [edx - 8], 0x22
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x520]
sub eax, dword [ecx + edx*8 + 0xec]
sar eax, 1
jns 0x88f615
adc eax, 0
mov edx, dword [edi]
mov edx, dword [edx + 0x518]
mov word [edx + esi*8 + 0x2e], ax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
push dword [eax + esi*8 + 4]
push 0x88f764
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
push dword [eax + esi*8 + 8]
lea eax, [ebp - 0x3c]
mov edx, 3
call fcn.0040b118
mov eax, dword [ebp - 0x3c]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
lea eax, [eax + esi*8 + 0xc]
push eax
push 0
lea eax, [ebp - 0x38]
push eax
xor ecx, ecx
xor edx, edx
xor eax, eax
call fcn.008704bc
lea eax, [ebp - 0x38]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x20]
push eax
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
movsx eax, word [eax + esi*8 + 0x1e]
push eax
lea edx, [ebp - 0x44]
mov eax, ebx
call fcn.00425c70
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
mov edx, 0x88f774
call fcn.0040b090
mov ecx, dword [ebp - 0x40]
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov edx, dword [eax + esi*8]
mov eax, dword [edi]
call fcn.0088ee78
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov word [eax + esi*8 + 0x1c], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov word [eax + esi*8 + 0x1e], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov word [eax + esi*8 + 0x20], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov byte [eax + esi*8 + 0x22], 0
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
mov dword [eax + esi*8 + 0x24], edx
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
xor edx, edx
mov dword [eax + esi*8 + 0x30], edx
mov eax, dword [edi]
mov eax, dword [eax + 0x518]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 8]
mov dword [eax + esi*8 + 0x3c], edx
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [ebp - 4], edx
call fcn.00408198
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x88f74f
lea eax, [ebp - 0x44]
mov edx, 3
call fcn.0040a020
ret