Function at 0x40b3d0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
push ebp
lea ebp, [esp - 0x254]
sub esp, 0x254
push 0xffffffffffffffff
push 0x450c26
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x478024]
xor eax, ebp
mov dword [ebp + 0x250], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
xor esi, esi
mov dword [ebp - 0x2c], 0
cmp dword [ecx + 0x160], esi
jle 0x40b4b5
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
test esi, esi
js 0x40b790
cmp esi, dword [ecx + 0x160]
jge 0x40b790
mov eax, dword [ecx + 0x15c]
lea edi, [esi*4]
push dword [eax + edi]
call ebx
mov eax, dword [ebp - 0x18]
cmp esi, dword [eax + 0x160]
jge 0x40b790
mov edx, dword [eax + 0x15c]
lea ecx, [ebp - 0x14]
add edx, edi
call fcn.004109c0
mov dword [ebp - 4], 0
mov ecx, eax
mov edx, dword [ebp - 0x18]
add edx, 0x18c
call fcn.004111f0
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b4a5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
inc esi
cmp esi, dword [ecx + 0x160]
jl 0x40b427
mov dword [ebp - 4], 2
xor eax, eax
mov dword [ebp - 0x28], eax
xor edx, edx
mov dword [ebp - 0x24], edx
mov edi, dword [ecx + 0x168]
mov ebx, dword [ecx + 0x16c]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x20], eax
cmp edi, ebx
je 0x40b599
mov eax, ebx
sub eax, edi
sar eax, 2
cmp eax, 0x3fffffff
ja 0x40b7a1
lea esi, [eax*4]
cmp esi, 0x1000
jb 0x40b52d
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40b7a1
push eax
call fcn.004388b1
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x40b79c
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x40b53e
test esi, esi
je 0x40b53c
push esi
call fcn.004388b1
add esp, 4
jmp 0x40b53e
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
add eax, esi
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 3
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 4
push edi
mov ecx, esi
call fcn.00407510
add esi, 4
add edi, 4
mov dword [ebp - 0x34], esi
cmp edi, ebx
jne 0x40b563
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 3
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], 2
cmp eax, edx
je 0x40b744
nop dword [eax + eax]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00407510
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1c]
push 2
push 0x4654f4
call fcn.00403530
push 0x250
lea eax, [ebp]
push 0
push eax
call fcn.0043a300
add esp, 0xc
lea eax, [ebp]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40b615
mov byte [ebp - 4], 2
or eax, eax
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b611
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x40b650
xor esi, esi
lea eax, [ebp]
inc esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b617
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
add esi, 0xfffffffe
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40b650
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
mov ecx, dword [ebp - 0x18]
test eax, eax
je 0x40b674
cmp dword [ecx + 0x188], 0
je 0x40b786
mov eax, 1
cmp esi, eax
jle 0x40b732
mov ebx, dword [ecx + 0x16c]
mov edi, dword [ecx + 0x168]
cmp edi, ebx
je 0x40b732
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
test esi, esi
je 0x40b786
mov eax, dword [edi]
mov ecx, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x40b6c7
test dx, dx
je 0x40b6c3
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x40b6c7
add eax, 4
add ecx, 4
test dx, dx
jne 0x40b6a1
xor eax, eax
jmp 0x40b6cc
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b6d7
add edi, 4
cmp edi, ebx
jne 0x40b695
cmp edi, ebx
je 0x40b732
lea esi, [edi + 4]
cmp esi, ebx
je 0x40b732
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
test eax, eax
je 0x40b786
mov ecx, dword [esi]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x40b717
test dx, dx
je 0x40b713
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x40b717
add ecx, 4
add eax, 4
test dx, dx
jne 0x40b6f1
xor eax, eax
jmp 0x40b71c
sbb eax, eax
or eax, 1
test eax, eax
je 0x40b72b
push esi
mov ecx, edi
call fcn.00407c70
add edi, 4
add esi, 4
cmp esi, ebx
jne 0x40b6e2
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp - 0x14]
jne 0x40b5b0
mov eax, 2
mov dword [ebp - 0x2c], eax
and eax, 0xfffffffd
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0040bd00
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x250]
xor ecx, ebp
call fcn.00438889
lea esp, [ebp + 0x254]
pop ebp
ret
push 0x80004005
call fcn.00404020
push 1
push 0xc000008c
call fcn.0040ce70
call fcn.0043c0ef
call fcn.00402660
int3