Function at 0x431340
Capabilities:
Delete directory
Delete file
Enumerate files on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0e6d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x4f6108]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebx + 8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x454], xmm0
mov dword [ebp - 0x444], 0
push 8
mov dword [ebp - 0x454], 0
mov dword [ebp - 0x450], 0
mov dword [ebp - 0x44c], 0
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0
call fcn.0047a764
add esp, 4
mov dword [ebp - 0x454], eax
test eax, eax
je 0x4313f1
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x454]
lea ecx, [ebp - 0x454]
mov dword [eax], ecx
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x468], xmm0
mov dword [ebp - 0x458], 0
push 8
mov dword [ebp - 0x468], 0
mov dword [ebp - 0x464], 0
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0
mov dword [ebp - 0x458], 0
call fcn.0047a764
add esp, 4
mov dword [ebp - 0x468], eax
test eax, eax
je 0x43146d
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x468]
lea ecx, [ebp - 0x468]
mov dword [eax], ecx
cmp dword [ebx + 0xc], 0
mov byte [ebp - 4], 1
jne 0x4314c3
push esi
lea ecx, [ebp - 0x6d0]
call fcn.004244e0
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x468]
call fcn.00434230
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x4314c3
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.00424d30
xor eax, eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
mov word [ebp - 0x440], ax
cmp word [esi], ax
jne 0x4314e9
xor ecx, ecx
jmp 0x4314ff
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4314f0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x440]
call fcn.00424bc0
lea eax, [ebp - 0x440]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x454]
call fcn.00434230
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x431544
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00424d30
cmp dword [ebp - 0x444], 0
je 0x4318cb
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
nop word [eax + eax]
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x454]
call fcn.00434570
mov edx, eax
mov ecx, dword [edx]
test ecx, ecx
jne 0x43157e
xor eax, eax
jmp 0x431580
mov eax, dword [ecx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x440], cx
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
call fcn.004248d0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x44c]
mov eax, dword [ebp - 0x450]
dec ecx
and ecx, dword [ebp - 0x448]
mov esi, dword [eax + ecx*4]
mov eax, dword [esi + 0x14]
cmp eax, 8
jb 0x431625
mov ecx, dword [esi]
inc eax
cmp eax, 0x7fffffff
ja 0x4318fc
add eax, eax
cmp eax, 0x1000
jb 0x43161c
test cl, 0x1f
jne 0x4318fc
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4318fc
sub ecx, eax
cmp ecx, 4
jb 0x4318fc
cmp ecx, 0x23
ja 0x4318fc
mov ecx, eax
push ecx
call fcn.0047a678
add esp, 4
mov dword [esi + 0x14], 7
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], 0
jb 0x43163b
mov esi, dword [esi]
xor eax, eax
mov word [esi], ax
sub dword [ebp - 0x444], 1
jne 0x431651
mov dword [ebp - 0x448], eax
jmp 0x431657
inc dword [ebp - 0x448]
push 0x208
lea eax, [ebp - 0x428]
push 0
push eax
call fcn.00493690
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x428]
push 0x4dcee4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x428]
push 0x4dceec
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0x250
lea eax, [ebp - 0x6b8]
push 0
push eax
call fcn.00493690
add esp, 0xc
lea eax, [ebp - 0x6b8]
push eax
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x431740
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4318be
mov ecx, dword [ebp - 0x440]
inc eax
cmp eax, 0x7fffffff
ja 0x4318fc
add eax, eax
cmp eax, 0x1000
jb 0x43172f
test cl, 0x1f
jne 0x4318fc
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x4318fc
sub ecx, eax
cmp ecx, 4
jb 0x4318fc
cmp ecx, 0x23
ja 0x4318fc
mov ecx, eax
push ecx
call fcn.0047a678
add esp, 4
jmp 0x4318be
cmp word [ebp - 0x68c], 0x2e
je 0x43187f
push 0x208
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.00493690
cmp dword [ebp - 0x42c], 8
lea ecx, [ebp - 0x68c]
push ecx
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
lea eax, [ebp - 0x220]
push 0x4dcef4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x1c
test byte [ebp - 0x6b8], 0x10
je 0x431876
xor eax, eax
mov dword [ebp - 0x6bc], 7
mov dword [ebp - 0x6c0], 0
mov word [ebp - 0x6d0], ax
cmp word [ebp - 0x220], ax
je 0x4317df
lea eax, [ebp - 0x220]
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4317d0
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.00424bc0
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x454]
call fcn.00434230
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x43182a
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.00424d30
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x6d0]
call fcn.004244e0
lea eax, [ebp - 0x6d0]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x468]
call fcn.00434230
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x6bc]
cmp eax, 8
jb 0x43187f
inc eax
lea ecx, [ebp - 0x6d0]
push eax
push dword [ebp - 0x6d0]
call fcn.00424d30
jmp 0x43187f
lea eax, [ebp - 0x220]
push eax
call edi
lea eax, [ebp - 0x6b8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x431740
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x4318be
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00424d30
cmp dword [ebp - 0x444], 0
jne 0x431560
cmp dword [ebp - 0x458], 0
je 0x431989
mov esi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
nop
lea eax, [ebp - 0x6e0]
push eax
lea ecx, [ebp - 0x468]
call fcn.00434570
mov edx, eax
mov eax, dword [edx]
test eax, eax
jne 0x431901
jmp 0x431903
call fcn.00496681
mov eax, dword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [edx + 8]
push 0xffffffffffffffff
mov eax, dword [eax + ecx*4]
xor ecx, ecx
push ecx
mov word [ebp - 0x440], cx
lea ecx, [ebp - 0x440]
push eax
mov dword [ebp - 0x42c], 7
mov dword [ebp - 0x430], 0
call fcn.004248d0
lea ecx, [ebp - 0x468]
call fcn.00433dc0
cmp dword [ebp - 0x42c], 8
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call esi
mov eax, dword [ebp - 0x42c]
cmp eax, 8
jb 0x43197c
inc eax
lea ecx, [ebp - 0x440]
push eax
push dword [ebp - 0x440]
call fcn.00424d30
cmp dword [ebp - 0x458], 0
jne 0x4318e0
lea ecx, [ebp - 0x468]
call fcn.00434030
push 8
push 1
push dword [ebp - 0x468]
call fcn.00403cb0
add esp, 0xc
mov dword [ebp - 0x468], 0
lea ecx, [ebp - 0x454]
call fcn.00434030
push 8
push 1
push dword [ebp - 0x454]
call fcn.00403cb0
add esp, 0xc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0047ac53
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc