Function at 0x4169e0
Capabilities:
Delete file
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44bffd
mov eax, dword fs:[0]
push eax
sub esp, 0x2e8
mov eax, dword [0x45dd50]
xor eax, esp
mov dword [esp + 0x2e0], eax
push ebx
push esi
push edi
mov eax, dword [0x45dd50]
xor eax, esp
push eax
lea eax, [esp + 0x2f8]
mov dword fs:[0], eax
lea edi, [esp + 0x58]
call fcn.0040a8c0
xor esi, esi
mov edi, 8
mov dword [esp + 0x300], esi
cmp dword [eax + 0x18], edi
jb 0x416a41
mov eax, dword [eax + 4]
jmp 0x416a44
add eax, 4
push eax
lea ecx, [esp + 0x38]
call fcn.00404d30
mov byte [esp + 0x300], 2
cmp dword [esp + 0x70], edi
jb 0x416a69
mov eax, dword [esp + 0x5c]
push eax
call fcn.0042123b
add esp, 4
push str.Set.dat
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x30]
xor ecx, ecx
mov ebx, 7
push eax
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x78], esi
mov word [esp + 0x68], cx
call fcn.0040a590
mov eax, dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416abf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.SetNet.dat
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x30]
push edx
call fcn.0040a590
mov eax, dword [eax]
add esp, 0xc
push eax
call edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416afb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x3c]
call fcn.0041d040
mov esi, 8
mov byte [esp + 0x300], 3
cmp dword [eax + 0x18], esi
jb 0x416b1b
mov eax, dword [eax + 4]
jmp 0x416b1e
add eax, 4
push eax
lea ecx, [esp + 0x34]
call fcn.00404d30
mov byte [esp + 0x300], 5
cmp dword [esp + 0x54], esi
jb 0x416b43
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0042123b
add esp, 4
push str.log.txt
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
xor edx, edx
push ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x5c], 0
mov word [esp + 0x4c], dx
call fcn.0040a590
add esp, 0xc
lea edx, [esp + 0x9c]
mov byte [esp + 0x300], 6
mov eax, dword [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x416bf0
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x416ba0
lea ecx, [esp + 0xc8]
push ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x30]
push eax
call fcn.0040a590
mov ecx, dword [esp + 0x34]
add esp, 0xc
push ecx
call edi
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416be1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x9c]
push ecx
push esi
call ebx
test eax, eax
jne 0x416ba0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
call fcn.0041cd80
cmp eax, 4
je 0x416c0f
cmp eax, 5
je 0x416c0f
cmp eax, 6
jne 0x416da3
call fcn.0041cf70
test al, al
je 0x416da3
lea ecx, [esp + 0x10]
call fcn.004174f0
mov byte [esp + 0x300], 7
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, ecx
sub edx, eax
sar edx, 2
xor edi, edi
test edx, edx
jbe 0x416c6f
lea ebx, [esp + 0x74]
call fcn.00415f60
lea esi, [esp + 0x10]
call fcn.00416130
mov esi, ebx
call fcn.004160a0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, ecx
sub edx, eax
inc edi
sar edx, 2
cmp edi, edx
jb 0x416c42
mov ebx, ecx
cmp eax, ecx
jbe 0x416c82
call fcn.0042f0b7
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jbe 0x416c91
call fcn.0042f0b7
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
push eax
lea ebx, [esp + 0x38]
lea esi, [esp + 0x20]
call fcn.0041a590
lea ecx, [esp + 0x74]
push ecx
call fcn.00417950
push eax
mov eax, esi
mov byte [esp + 0x304], 8
call fcn.00418380
mov byte [esp + 0x300], 7
mov eax, dword [esp + 0x80]
xor edi, edi
cmp eax, edi
je 0x416cde
push eax
call fcn.0042123b
add esp, 4
mov edx, dword [esp + 0x74]
push edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], edi
call fcn.0042123b
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov edx, ecx
sub edx, eax
sar edx, 2
add esp, 4
test edx, edx
jbe 0x416d40
lea ebx, [esp + 0x74]
call fcn.00415f60
lea esi, [esp + 0x10]
call fcn.00416130
mov esi, ebx
call fcn.004160a0
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, ecx
sub edx, eax
inc edi
sar edx, 2
cmp edi, edx
jb 0x416d13
mov ebx, ecx
cmp eax, ecx
jbe 0x416d53
call fcn.0042f0b7
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x10]
mov edi, eax
cmp eax, ecx
jbe 0x416d62
call fcn.0042f0b7
mov eax, dword [esp + 0x10]
push ebx
push esi
push edi
push eax
lea ebx, [esp + 0x38]
lea esi, [esp + 0x20]
call fcn.0041a590
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x416d8a
push eax
call fcn.0042123b
add esp, 4
mov ecx, dword [esp + 0x10]
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call fcn.0042123b
add esp, 4
mov byte [esp + 0x300], 5
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416dcb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x300], 2
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416df3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x300], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2f8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2e0]
xor ecx, esp
call fcn.0042eb3c
mov esp, ebp
pop ebp
ret