Function at 0x4e2c94
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x519c56
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x5675a0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [0x574f08]
push 0
push 0
lea eax, [edi + 0xe0]
push 0x1009
push dword [eax]
mov dword [esp + 0x24], eax
call ebx
lea esi, [esp + 0x20]
call fcn.0042a71b
xor esi, esi
mov dword [esp + 0x48], esi
mov eax, dword [0x5768f8]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
call dword [eax + 0xe0]
lea ecx, [esp + 0x20]
push ecx
push 0x52cea4
push eax
mov byte [esp + 0x54], 1
call fcn.0050e9c2
mov eax, dword [esp + 0x1c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.00410d34
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
lea eax, [esp + 0x2c]
push eax
mov byte [esp + 0x4c], 2
call fcn.004e2bc9
mov esi, dword [edi + 0x13c]
add edi, 0x134
cmp dword [edi + 4], esi
pop ecx
jbe 0x4e2d5c
call fcn.00447be0
mov eax, dword [edi + 4]
cmp eax, dword [edi + 8]
mov dword [esp + 0x10], eax
jbe 0x4e2d71
call fcn.00447be0
mov eax, dword [esp + 0x10]
push esi
push edi
push eax
push edi
lea eax, [esp + 0x28]
push eax
push edi
call fcn.0042a2cb
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x34]
jbe 0x4e2d8f
call fcn.00447be0
lea eax, [esp + 0x2c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x30], eax
mov dword [esp + 0x10], eax
jbe 0x4e2daa
call fcn.00447be0
cmp dword [esp + 0x18], 0
je 0x4e2dbb
lea eax, [esp + 0x2c]
cmp dword [esp + 0x18], eax
je 0x4e2dc0
call fcn.00447be0
cmp esi, dword [esp + 0x10]
je 0x4e2e04
cmp dword [esp + 0x18], 0
jne 0x4e2dd2
call fcn.00447be0
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 8]
jb 0x4e2de0
call fcn.00447be0
mov eax, dword [esi]
call fcn.004e12fd
test al, al
jne 0x4e2df1
push esi
call fcn.004405ab
mov eax, dword [esp + 0x18]
cmp esi, dword [eax + 8]
jb 0x4e2dff
call fcn.00447be0
add esi, 8
jmp 0x4e2daa
mov esi, dword [esp + 0x14]
push 0
push 0
push 0x1004
push dword [esi]
call ebx
push 0
push 1
push 0x1002
push dword [esi]
mov dword [esp + 0x28], eax
call ebx
test eax, eax
mov dword [esp + 0x10], eax
jne 0x4e2e68
push 0x32
pop esi
call fcn.004db3e6
push eax
push 0x31
pop esi
call fcn.004db3e6
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0041b996
push dword [esp + 0x10]
mov eax, dword [esp + 0x18]
push 1
push 0x1003
push dword [eax]
call ebx
test eax, eax
je 0x4e2e68
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
mov eax, edi
call fcn.0043bfb1
inc eax
push eax
push dword [esp + 0x14]
call dword [sym.imp.COMCTL32.dll_ImageList_SetImageCount]
mov eax, edi
xor esi, esi
call fcn.0043bfb1
test eax, eax
jle 0x4e2f2f
mov eax, edi
call fcn.0043bfb1
cmp esi, eax
jb 0x4e2e9c
call fcn.00447be0
mov eax, dword [edi + 4]
mov ecx, esi
shl ecx, 3
add eax, ecx
mov ebx, dword [eax]
mov eax, edi
call fcn.0043bfb1
cmp esi, eax
jb 0x4e2eb8
call fcn.00447be0
mov eax, dword [edi + 4]
mov ecx, esi
shl ecx, 3
push 0
push dword [ebx + 8]
add eax, ecx
mov eax, dword [eax]
push dword [eax + 0xc]
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov ebx, eax
push ebx
push esi
push dword [esp + 0x18]
call dword [sym.imp.COMCTL32.dll_ImageList_ReplaceIcon]
mov eax, edi
call fcn.0043bfb1
cmp esi, eax
jb 0x4e2ef0
call fcn.00447be0
mov eax, dword [edi + 4]
mov ecx, esi
shl ecx, 3
add eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 4]
push esi
push esi
push eax
mov eax, dword [esp + 0x24]
add eax, esi
push eax
push 7
push dword [esp + 0x28]
call fcn.00427c9e
test ebx, ebx
je 0x4e2f1f
push ebx
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, edi
inc esi
call fcn.0043bfb1
cmp esi, eax
jl 0x4e2e8c
lea esi, [esp + 0x2c]
mov byte [esp + 0x48], 0
call fcn.0043b1c6
or dword [esp + 0x48], 0xffffffff
lea eax, [esp + 0x20]
call fcn.0040fdde
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret