Function at 0x41b100
Capabilities:
Access peb ldr_data
Check if file exists
Delete file
Get file attributes
Move file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4983f0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4cf500]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x1c]
push 0x4da310
push eax
mov ebx, esi
mov dword [esp + 0x18], 1
call fcn.0040b4f0
lea ecx, [esp + 0x2c]
push 0x4da318
push ecx
mov dword [esp + 0x48], 0
call fcn.0040b4f0
lea edx, [esp + 0x28]
push 0x4da31c
push edx
mov byte [esp + 0x50], 1
call fcn.0040b4f0
add esp, 0x18
mov byte [esp + 0x38], 2
mov eax, dword [section..data]
mov edx, dword [eax + 0xc]
mov ecx, section..data
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
mov byte [esp + 0x3c], 3
call fcn.00474040
push edx
push eax
lea eax, [esp + 0x20]
push str._I64d.dll
push eax
call fcn.0040bea0
mov ecx, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
add esp, 0x14
push ecx
call edi
cmp eax, 0xffffffff
je 0x41b27e
test al, 0x10
jne 0x41b27e
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b27e
lea eax, [esp + 0x28]
push esi
push eax
mov ebx, str.BHO
call fcn.004066b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, eax
mov byte [esp + 0x48], 4
call fcn.0040b4f0
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b22f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push edx
call ebx
test eax, eax
jne 0x41b24b
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push 4
push 0
push eax
call ebx
test eax, eax
jne 0x41b25e
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b27e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
push ecx
call edi
cmp eax, 0xffffffff
je 0x41b2a1
test al, 0x10
jne 0x41b2a1
mov edx, dword [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b2a1
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x18]
push eax
call edi
cmp eax, 0xffffffff
je 0x41b369
test al, 0x10
jne 0x41b369
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x41b369
lea edx, [esp + 0x28]
push esi
push edx
mov ebx, str.NPFS
call fcn.004066b0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x2c]
push edx
mov ebx, eax
mov byte [esp + 0x48], 5
call fcn.0040b4f0
mov byte [esp + 0x48], 3
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b31a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
push 1
push ecx
push edx
call esi
test eax, eax
jne 0x41b336
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
push 4
push 0
push eax
call esi
test eax, eax
jne 0x41b349
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b369
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 2
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b38e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b3b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x38], 0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b3d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41b400
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret