Function at 0x40bab4
Capabilities:
Check if file exists
Delete file
Manipulate boot configuration
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x433c06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
mov eax, dword [0x4441e0]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x128], eax
mov dword [esi + 0x78], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
call fcn.0040b1b0
or eax, 0xffffffff
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00426313
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
push str.wnwbwnwb.exe
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x140], ebx
call fcn.00405dc0
mov eax, dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bb5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebp, ebx
je 0x40bb66
mov dword [esi + 0x48], 1
mov eax, dword [esi + 8]
push str.wnimedll32wn.ime
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405dc0
mov eax, dword [eax]
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bba1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebp, ebx
je 0x40bbac
mov dword [esi + 0x54], 1
mov eax, dword [esi + 8]
push str.wnimedelboot.ini
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405dc0
mov eax, dword [eax]
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bbe7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebp, ebx
je 0x40bbf2
mov dword [esi + 0x68], 1
mov eax, dword [esi + 8]
push 0x437248
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405dc0
mov eax, dword [eax]
push eax
call edi
mov ebp, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bc2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp ebp, ebx
je 0x40bc38
mov dword [esi + 0x50], 1
mov eax, dword [esi + 8]
push str.wnwb32wnwb.ime
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405dc0
mov eax, dword [eax]
push eax
call edi
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bc73
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
cmp edi, ebx
je 0x40bc7e
mov dword [esi + 0x4c], 1
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x14]
xor ebp, ebp
cmp ecx, ebx
jle 0x40bd55
xor edi, edi
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x20]
lea edx, [eax + 0xc]
lea ecx, [ecx + edi + 0x1c]
push edx
call fcn.004025d0
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x20]
lea eax, [eax + edi + 4]
mov eax, dword [eax]
push 0x435db8
push eax
call fcn.00418d0d
add esp, 8
test eax, eax
jne 0x40bcd9
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x20]
cmp dword [edx + edi + 0xc], ebx
je 0x40bcd9
mov dword [esi + 0x30], 1
mov dword [esi + 0x3c], ebp
jmp 0x40bd43
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x20]
lea eax, [ecx + edi + 4]
mov eax, dword [eax]
push 0x437398
push eax
call fcn.00418d0d
add esp, 8
test eax, eax
jne 0x40bd0f
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x20]
cmp dword [eax + edi + 0xc], ebx
je 0x40bd0f
mov dword [esi + 0x34], 1
mov dword [esi + 0x40], ebp
jmp 0x40bd43
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 0x20]
lea eax, [edx + edi + 4]
mov eax, dword [eax]
push 0x435de8
push eax
call fcn.00418d0d
add esp, 8
test eax, eax
jne 0x40bd43
mov eax, dword [esi + 8]
mov ecx, dword [eax + 0x20]
cmp dword [ecx + edi + 0xc], ebx
je 0x40bd43
mov dword [esi + 0x38], 1
mov dword [esi + 0x44], ebp
mov edx, dword [esi + 8]
mov eax, dword [edx + 0x14]
inc ebp
add edi, 0x20
cmp ebp, eax
jl 0x40bc90
cmp dword [esi + 0x30], ebx
je 0x40bd62
mov eax, dword [esi + 8]
mov ecx, dword [eax]
add dword [esi + 0x78], ecx
cmp dword [esi + 0x34], ebx
je 0x40bd70
mov edx, dword [esi + 8]
mov eax, dword [edx + 4]
add dword [esi + 0x78], eax
cmp dword [esi + 0x38], ebx
je 0x40bd7e
mov ecx, dword [esi + 8]
mov edx, dword [ecx + 8]
add dword [esi + 0x78], edx
mov ax, word [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov ecx, dword [ecx + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
movzx eax, ax
shl eax, 0x10
or eax, 1
push eax
push ebx
push 0x401
push ecx
call edi
cmp dword [esi + 0x30], ebx
je 0x40bdda
mov ecx, esi
call fcn.0040b8e0
mov dword [esp + 0x18], eax
cmp dword [esi + 0x30], ebx
je 0x40bdda
cmp dword [esp + 0x18], ebx
jne 0x40bdda
mov esi, dword [esi + 0x7c]
cmp esi, ebx
je 0x40bf98
mov edx, dword [esi + 0x1c]
push ebx
push ebx
push 0x464
push edx
jmp 0x40bf96
cmp dword [esi + 0x34], ebx
je 0x40bde8
mov ecx, esi
call fcn.0040b9b0
jmp 0x40bdec
mov eax, dword [esp + 0x1c]
cmp dword [esi + 0x34], ebx
je 0x40be05
cmp eax, ebx
jne 0x40be05
mov esi, dword [esi + 0x7c]
cmp esi, ebx
je 0x40bf98
jmp 0x40bf8b
cmp dword [esi + 0x38], ebx
je 0x40be4e
cmp dword [esi + 0x6c], ebx
je 0x40be28
mov eax, dword [esi + 8]
mov ecx, dword [esi + 0x44]
lea edx, [eax + 0x10]
mov eax, dword [eax + 0x20]
shl ecx, 5
lea ecx, [eax + ecx + 0x1c]
push edx
call fcn.004025d0
mov ecx, dword [esi + 0x44]
push ecx
mov ecx, esi
call fcn.0040b350
cmp eax, ebx
je 0x40be4a
push 0x437618
mov ecx, esi
call fcn.00409800
mov ebp, 1
jmp 0x40be52
xor ebp, ebp
jmp 0x40be52
mov ebp, dword [esp + 0x20]
cmp dword [esi + 0x38], ebx
je 0x40be5f
cmp ebp, ebx
je 0x40bdbf
mov ecx, esi
call fcn.004095f0
mov eax, dword [esi + 8]
lea edi, [esi + 0x10]
push eax
mov ecx, edi
call fcn.0040c110
cmp dword [esi + 0x30], ebx
je 0x40be86
cmp dword [esp + 0x18], ebx
je 0x40be86
mov ecx, edi
call fcn.0040d480
cmp dword [esi + 0x38], ebx
je 0x40be96
cmp ebp, ebx
je 0x40be96
mov ecx, edi
call fcn.0040d4b0
cmp dword [esi + 0x30], ebx
je 0x40bee2
cmp dword [esi + 0x50], ebx
jne 0x40bee2
mov eax, dword [esi + 8]
cmp dword [eax + 0x24], ebx
jne 0x40bee2
push str.wnwb32wnwbio.ime
add eax, 0xc
push eax
lea ecx, [esp + 0x18]
push ecx
call fcn.00405dc0
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40bee2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 8]
add eax, 0xc
mov eax, dword [eax]
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
call fcn.00401d40
add eax, 0x10
mov dword [edi], eax
mov eax, dword [esi + 8]
add eax, 0x10
mov eax, dword [eax]
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
push eax
mov byte [esp + 0x140], 1
call fcn.00401d40
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
mov byte [esp + 0x13c], bl
call fcn.0040a150
cmp eax, ebx
jne 0x40bfbc
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x28]
push 0x437688
push eax
call fcn.00418f95
mov eax, dword [esi + 0x78]
mov ecx, dword [esi + 0x88]
mov ecx, dword [ecx + 0x1c]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
add esp, 0xc
push ebx
push eax
push 0x402
push ecx
call edi
mov ecx, dword [esi + 0x7c]
cmp ecx, ebx
je 0x40bf98
push ebx
push 0x43702c
lea edx, [esp + 0x2c]
push edx
call fcn.00427caf
mov esi, dword [esi + 0x7c]
mov eax, dword [esi + 0x1c]
push ebx
push ebx
push 0x464
push eax
call edi
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x134], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x40c07d
mov eax, dword [esi + 0x34]
cmp eax, ebx
jne 0x40bfcc
cmp dword [esi + 0x30], ebx
je 0x40c009
cmp eax, ebx
je 0x40bfdf
cmp dword [esi + 0x68], ebx
je 0x40bfdf
mov ecx, esi
mov dword [esi + 0x70], 1
call fcn.0040a8f0
cmp dword [esi + 0x30], ebx
je 0x40c01c
cmp dword [esi + 0x60], ebx
jne 0x40bff3
cmp dword [esi + 0x5c], ebx
jne 0x40bff3
cmp dword [esi + 0x64], ebx
je 0x40c009
mov eax, dword [esi + 8]
mov dword [esi + 0x70], 1
cmp dword [eax + 0x24], ebx
je 0x40c009
mov ecx, esi
call fcn.0040a640
cmp dword [esi + 0x30], ebx
je 0x40c01c
mov ecx, esi
call fcn.00409880
mov ecx, esi
call fcn.004099d0
cmp dword [esi + 0x70], ebx
je 0x40c045
mov ecx, dword [esi + 0x7c]
cmp ecx, ebx
je 0x40c045
push 1
push 0x43702c
push 0x437630
call fcn.00427caf
cmp eax, 1
jne 0x40c045
mov ecx, esi
call fcn.00409780
mov esi, dword [esi + 0x7c]
cmp esi, ebx
je 0x40c05e
mov ecx, dword [esi + 0x1c]
push ebx
push 1
push 0x464
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x134], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40c087
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x128]
call fcn.004185be
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x128
ret