Function at 0x40d0d0
Capabilities:
Access peb ldr_data
Delete file
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46a500
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x48794c]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x48794c]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0040ebba
call fcn.0040fce6
mov eax, dword [eax + 8]
push 0x80
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
mov edi, eax
mov eax, dword [esi + 0x20]
push edi
push 1
push 0x80
push eax
call ebx
mov ecx, dword [esi + 0x20]
push edi
push 0
push 0x80
push ecx
call ebx
lea edx, [esp + 0x14]
push edx
call fcn.0040aec0
add esp, 4
lea edi, [esi + 0x74]
push eax
mov ecx, edi
mov dword [esp + 0x54], 0
call fcn.00404c20
or ebx, 0xffffffff
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d18c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.0040af50
add esp, 4
push eax
mov ecx, edi
mov dword [esp + 0x54], 1
call fcn.00404c20
mov dword [esp + 0x50], ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
lock xadd dword [edx], ebx
dec ebx
test ebx, ebx
jg 0x40d1ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [0x4781f8]
mov ecx, dword [0x4781f4]
mov edi, dword [sym.imp.USER32.dll_RegisterDeviceNotificationW]
xor eax, eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov eax, dword [0x4781fc]
mov dword [esp + 0x30], edx
push 0
lea edx, [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x478200]
push edx
push eax
mov dword [0x499f24], 1
mov dword [esp + 0x2c], 0x20
mov dword [esp + 0x30], 5
mov dword [esp + 0x44], ecx
call edi
mov edx, dword [0x477f1c]
mov ecx, dword [0x477f18]
mov dword [esi + 0x78], eax
mov eax, dword [0x477f20]
mov dword [esp + 0x30], edx
push 0
lea edx, [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0x20]
mov dword [esp + 0x30], ecx
mov ecx, dword [0x477f24]
push edx
push eax
mov dword [esp + 0x44], ecx
call edi
mov dword [esi + 0x7c], eax
call fcn.0040e5e6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d29d
push 0x80004005
call fcn.004014a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x50], 2
call fcn.0040e5e6
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x40d2cf
push 0x80004005
call fcn.004014a0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
push 0x95
mov byte [esp + 0x54], 3
call fcn.0040e6f6
test eax, eax
je 0x40d305
push 0x95
push eax
lea ecx, [esp + 0x20]
call fcn.00401690
mov edi, dword [esp + 0x18]
mov ecx, dword [esi + 0x94]
inc ecx
push ecx
lea edx, [esp + 0x18]
push edi
push edx
call fcn.00403600
mov ebx, dword [esp + 0x20]
add esp, 0xc
push ebx
push 0x464
mov ecx, esi
call fcn.00416739
mov ecx, eax
call fcn.0041684f
lea eax, [edi - 0x10]
mov byte [esp + 0x50], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d354
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov dword [esp + 0x50], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d378
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043ea11
mov esp, ebp
pop ebp
ret