Function at 0x476890
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4491
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x4e4050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 2
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [edi + 0x20], eax
mov dword [ebp - 4], 3
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov byte [ebp - 4], 4
lea esi, [edi + 0x24]
push 0x34
push 0
push esi
call fcn.0047fe00
mov dword [esi], 0x34
mov dword [edi + 0x28], 0x100
mov eax, dword [0x4e5400]
mov dword [edi + 0x30], eax
mov dword [edi + 0x44], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x48], 0x4772d0
mov dword [ebp - 4], 5
lea eax, [edi + 0x68]
mov dword [ebp - 0x18], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 6
mov byte [eax + 0x1c], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xffffffff
mov dword [eax + 0x18], 0xffffffff
mov byte [ebp - 4], 7
mov dword [edi + 0x8c], 0
mov byte [ebp - 4], 8
mov dword [edi + 0x90], 0
mov byte [ebp - 4], 9
mov dword [edi + 0x94], 0x1000000
mov dword [ebp - 4], 0xa
lea eax, [edi + 0xa4]
push 0x3b4
push 0
push eax
mov dword [edi + 0x98], 0x4c9f30
call fcn.0047fe00
add esp, 0x18
mov dword [edi + 0xa0], 0x3b8
mov byte [edi + 0x458], 0
mov dword [edi + 0x45c], 0
mov dword [edi + 0x460], 0x40
push str.WM_TRAYICON
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov dword [edi + 0x9c], eax
call fcn.0040af10
test al, al
je 0x476a3f
mov dword [edi + 0x460], 0x80
mov byte [ebp - 4], 0xb
mov eax, dword [ebp + 8]
mov dword [edi + 0x464], 0x4cad44
mov dword [edi + 0x468], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x46c], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x470], eax
mov eax, dword [ebp + 0x14]
mov dword [edi + 0x474], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x478], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi], 0x4cad74
mov dword [edi + 0x64], 0x4cad70
mov dword [edi + 0x98], 0x4cad6c
mov dword [edi + 0x464], 0x4cad58
mov dword [edi + 0x47c], eax
mov dword [edi + 0x480], 0
mov byte [edi + 0x484], 0
mov dword [edi + 0x488], 0
mov dword [edi + 0x48c], 0
mov dword [edi + 0x490], 0
mov byte [ebp - 4], 0xc
mov edx, 0x80
or dword [edi + 0x28], 0x4004112
mov dword [edi + 0x48], 0x476ba0
mov ecx, dword [0x4e53fc]
push 0
push 0
mov dword [0x4e62bc], edi
call fcn.0040d720
add esp, 8
mov dword [edi + 0x34], eax
mov ecx, edi
call fcn.00477270
mov eax, dword [edi + 0x470]
test eax, eax
je 0x476b1c
push eax
call fcn.00477300
mov eax, dword [edi + 0x474]
test eax, eax
je 0x476b2e
push eax
mov ecx, edi
call fcn.00477300
mov eax, dword [edi + 0x478]
test eax, eax
je 0x476b40
push eax
mov ecx, edi
call fcn.00477300
mov eax, dword [edi + 0x47c]
test eax, eax
je 0x476b52
push eax
mov ecx, edi
call fcn.00477300
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c