Function at 0x54eefc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff44
push ebx
push esi
push edi
mov esi, eax
lea ebx, [ebp - 0x98]
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebx], 0x6c
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebx + 4], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebx + 8], eax
mov word [ebx + 0xc], 1
mov word [ebx + 0xe], 0x20
mov dword [ebx + 0x10], 3
xor eax, eax
mov dword [ebx + 0x14], eax
xor eax, eax
mov dword [ebx + 0x18], eax
xor eax, eax
mov dword [ebx + 0x1c], eax
xor eax, eax
mov dword [ebx + 0x20], eax
xor eax, eax
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], 0xff0000
mov dword [ebx + 0x2c], 0xff00
mov dword [ebx + 0x30], 0xff
mov dword [ebx + 0x34], 0xff000000
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push ebx
push 0
call sub.gdi32.dll_CreateDIBSection
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x54f1dd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, esi
call fcn.00549ff4
movzx eax, byte [eax + 0x461]
sub al, 4
je 0x54efb9
sub al, 2
je 0x54efb9
xor eax, eax
jmp 0x54efbb
mov al, 1
mov byte [ebp - 0x19], al
mov eax, esi
call fcn.0054b7c8
cmp al, 1
sete byte [ebp - 0x1a]
mov eax, esi
call fcn.0054ba4c
mov dword [ebp - 0x20], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
dec eax
test eax, eax
jl 0x54f0e6
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], 0
cmp byte [ebp - 0x19], 0
je 0x54f00d
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
sub edx, dword [ebp - 0x14]
dec edx
mov eax, esi
call fcn.0054b710
mov dword [ebp - 0x18], eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
dec eax
test eax, eax
jl 0x54f0da
inc eax
mov dword [ebp - 0x28], eax
xor ebx, ebx
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov ecx, eax
sub ecx, dword [ebp - 0x14]
dec ecx
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0x70]
mov edi, eax
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x14]
add eax, ebx
mov edx, dword [ebp - 8]
mov ecx, edi
and cl, 0xff
mov byte [edx + eax*4 + 2], cl
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x14]
add eax, ebx
mov edx, dword [ebp - 8]
mov ecx, edi
shr ecx, 8
and cl, 0xff
mov byte [edx + eax*4 + 1], cl
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x14]
add eax, ebx
mov edx, dword [ebp - 8]
mov ecx, edi
shr ecx, 0x10
and cl, 0xff
mov byte [edx + eax*4], cl
cmp byte [ebp - 0x19], 0
je 0x54f0aa
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x14]
add eax, ebx
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
movzx ecx, byte [ecx + ebx]
mov byte [edx + eax*4 + 3], cl
jmp 0x54f0d0
cmp byte [ebp - 0x1a], 0
je 0x54f0d0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
imul dword [ebp - 0x14]
add eax, ebx
mov edx, dword [ebp - 8]
cmp edi, dword [ebp - 0x20]
setne cl
mov edi, ecx
shl ecx, 8
sub ecx, edi
mov byte [edx + eax*4 + 3], cl
inc ebx
dec dword [ebp - 0x28]
jne 0x54f023
inc dword [ebp - 0x14]
dec dword [ebp - 0x24]
jne 0x54eff0
mov dl, 1
mov eax, dword [0x45d114]
call fcn.004667b0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x54f1bf
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x30]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x24]
mov edx, eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dl, 1
mov eax, dword [ebp - 0x10]
call fcn.0046842c
mov eax, dword [ebp - 0x10]
call fcn.004670d0
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.00460634
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.00440510
lea eax, [ebp - 0xbc]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004670d0
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xac], 0xffffffff
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x10]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0xa0], eax
lea eax, [ebp - 0xac]
push eax
call sub.user32.dll_CreateIconIndirect
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x54f1c6
mov eax, dword [ebp - 0x10]
call fcn.00405080
ret