Function at 0x4a53f8
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff30
push ebx
push esi
mov dword [ebp - 4], eax
lea ebx, [ebp - 0xac]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebx], 0x6c
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebx + 4], eax
mov eax, dword [ebp - 4]
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 - 0xc]
push eax
push 0
push ebx
push 0
call sub.gdi32.dll_CreateDIBSection
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a56ab
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
call fcn.004a22e0
movzx eax, byte [eax + 0x461]
sub al, 4
je 0x4a54b8
sub al, 2
je 0x4a54b8
xor eax, eax
jmp 0x4a54ba
mov al, 1
mov byte [ebp - 0x21], al
mov eax, dword [ebp - 4]
call fcn.004a39cc
cmp al, 1
sete byte [ebp - 0x22]
mov eax, dword [ebp - 4]
call fcn.004a3b4c
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
dec eax
test eax, eax
jl 0x4a55c0
inc eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x34], eax
cmp byte [ebp - 0x21], 0
je 0x4a5521
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
call fcn.004a3914
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
dec eax
test eax, eax
jl 0x4a55b4
inc eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x18], 0
mov ebx, dword [ebp - 0x1c]
imul ebx, dword [ebp - 0x2c]
add ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x70]
mov edx, dword [ebp - 0xc]
mov ecx, eax
and cl, 0xff
mov byte [edx + ebx*4 + 2], cl
mov edx, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 8
and cl, 0xff
mov byte [edx + ebx*4 + 1], cl
mov edx, dword [ebp - 0xc]
mov ecx, eax
shr ecx, 0x10
and cl, 0xff
mov byte [edx + ebx*4], cl
cmp byte [ebp - 0x21], 0
je 0x4a5592
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x18]
movzx eax, byte [eax + edx]
mov edx, dword [ebp - 0xc]
mov byte [edx + ebx*4 + 3], al
jmp 0x4a55ac
cmp byte [ebp - 0x22], 0
je 0x4a55ac
mov edx, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x28]
setne al
mov ecx, eax
shl eax, 8
sub eax, ecx
mov byte [edx + ebx*4 + 3], al
inc dword [ebp - 0x18]
dec dword [ebp - 0x3c]
jne 0x4a5538
inc dword [ebp - 0x1c]
dec dword [ebp - 0x38]
jne 0x4a5503
mov dl, 1
mov eax, dword [0x43ab2c]
call fcn.004421c8
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x4a568d
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov dl, 1
mov eax, dword [ebp - 0x14]
call fcn.00443cd4
mov eax, dword [ebp - 0x14]
call fcn.00442ae8
mov eax, dword [eax + 0x48]
xor edx, edx
call fcn.0043cc90
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x24]
push eax
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x30]
mov ecx, eax
xor edx, edx
xor eax, eax
call fcn.0042af70
lea eax, [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00442ae8
pop edx
mov ecx, dword [eax]
call dword [ecx + 0x54]
mov dword [ebp - 0xc0], 0xffffffff
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x70]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xc0]
push eax
call sub.user32.dll_CreateIconIndirect
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a5694
mov eax, dword [ebp - 0x14]
call fcn.00404a60
ret