Function at 0x416c80
Capabilities:
Create directory
Delete file
Enumerate files on windows
Get common file path

Disassembly:
sub esp, 0xabc
mov eax, dword [0x46bd84]
xor eax, esp
mov dword [esp + 0xab8], eax
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenW]
xor ebx, ebx
push edi
push 0x45cdf0
mov edi, ecx
mov dword [esi], vtable.CLogger.0
mov dword [esi + 4], 0xffffffff
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call ebp
cmp eax, 3
jne 0x41702d
cmp dword [esp + 0xacc], eax
je 0x416ce4
mov dword [esp + 0xacc], 1
push 0x1ea
lea ecx, [esp + 0x2be]
xor eax, eax
push ebx
push ecx
mov word [esp + 0x2c4], ax
call fcn.0043f900
add esp, 0xc
push 0x206
lea eax, [esp + 0x4ae]
xor edx, edx
push ebx
push eax
mov word [esp + 0x4b4], dx
call fcn.0043f900
add esp, 0xc
lea ecx, [esp + 0x2b8]
push ecx
push 0xf6
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x41702d
cmp edi, ebx
je 0x416e06
push edi
call ebp
test eax, eax
je 0x416e06
push 0x206
lea eax, [esp + 0x6b6]
xor edx, edx
push ebx
push eax
mov word [esp + 0x6bc], dx
call fcn.0043f900
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add esp, 0xc
mov dword [esp + 0x10], ebx
lea esp, [esp]
lea ecx, [esp + 0x6b0]
push ecx
lea edx, [esp + 0x14]
push edx
mov edx, edi
call fcn.00417990
lea eax, [esp + 0x6b8]
push eax
lea ecx, [esp + 0x2c4]
push 0xf6
push ecx
call fcn.0043eb7b
add esp, 0x14
test eax, eax
jne 0x41702d
push 0x46043c
lea edx, [esp + 0x2bc]
push 0xf6
push edx
call fcn.0043eb7b
add esp, 0xc
test eax, eax
jne 0x41702d
push ebx
lea eax, [esp + 0x2bc]
push eax
call ebp
test eax, eax
jne 0x416dfb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41702d
cmp dword [esp + 0x10], 0xffffffff
jne 0x416d80
mov eax, dword [esp + 0xacc]
cmp eax, 3
jne 0x417049
push 0x206
lea edx, [esp + 0x8be]
xor ecx, ecx
push ebx
push edx
mov word [esp + 0x8c4], cx
call fcn.0043f900
add esp, 0xc
push 0x45cdf0
lea eax, [esp + 0x2bc]
push eax
push 0x460440
lea ecx, [esp + 0x8c4]
push 0x104
push ecx
call fcn.0043dec2
add esp, 0x14
cmp eax, 0xffffffff
jne 0x416e72
mov dword [esp + 0xacc], 1
jmp 0x417052
push 0x24c
lea edx, [esp + 0x20]
push ebx
push edx
mov dword [esp + 0x24], ebx
call fcn.0043f900
add esp, 0xc
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x8bc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x416eb3
mov dword [esp + 0xacc], 1
jmp 0x417052
push 0x206
lea eax, [esp + 0x6b6]
xor edx, edx
push ebx
push eax
mov word [esp + 0x6bc], dx
call fcn.0043f900
mov ebp, dword [sym.imp.KERNEL32.dll_CompareFileTime]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x14]
push edx
call ebp
cmp eax, 0xffffffff
jne 0x416f22
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x6b4]
push 0x104
push ecx
call fcn.0043de53
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 0xc
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x18]
push ecx
push edi
call ebx
test eax, eax
jne 0x416ee7
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [esp + 0x6b0]
push edx
lea eax, [esp + 0x2bc]
push eax
push 0x460454
lea ecx, [esp + 0x4b4]
push 0x104
push ecx
call fcn.0043dec2
add esp, 0x14
cmp eax, 0xffffffff
jne 0x416f76
mov dword [esp + 0xacc], 1
xor ebx, ebx
jmp 0x417052
lea edx, [esp + 0x6b0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042d2aa
add esp, 4
lea ecx, [esp + 0x6b0]
push ecx
push edi
push eax
mov dword [esi + 8], eax
call fcn.0043de53
add esp, 0xc
xor ebx, ebx
mov ecx, dword [esp + 0xacc]
push ebx
push ebx
push ecx
push ebx
push 1
push 0xc0000000
lea edx, [esp + 0x4c0]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
je 0x41702d
push 2
push ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
lea eax, [esp + 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042d2aa
add esp, 4
lea ecx, [esp + 0x4a8]
push ecx
push edi
push eax
mov dword [esi + 0x1c], eax
call fcn.0043de53
add esp, 0xc
mov ecx, dword [esp + 0xac4]
pop edi
pop ebp
pop ebx
xor ecx, esp
mov eax, esi
call fcn.0043d85c
add esp, 0xabc
ret 4
cmp eax, 1
jne 0x416fb9
push 0x4a
lea eax, [esp + 0x26e]
xor edx, edx
push ebx
push eax
mov word [esp + 0x274], dx
call fcn.0043f900
add esp, 0xc
call fcn.00417a20
mov edi, eax
push edi
lea ecx, [esp + 0x26c]
push 0x26
push ecx
call fcn.0043de53
add esp, 0xc
push edi
call fcn.0042d2d9
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
add esp, 4
lea edx, [esp + 0x268]
push edx
call edi
test eax, eax
jle 0x417140
lea eax, [esp + 0x268]
push eax
call edi
push 0x45cdf0
mov ebp, eax
call edi
lea edi, [eax + ebp + 1]
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042d2aa
add esp, 4
lea ecx, [esp + 0x268]
push ecx
push 0x45cdf0
push 0x460454
push edi
push eax
mov dword [esi + 8], eax
call fcn.0043dec2
add esp, 0x14
cmp eax, 0xffffffff
jne 0x417106
mov edx, dword [esi + 8]
push edx
jmp 0x417135
mov eax, dword [esi + 8]
push eax
lea ecx, [esp + 0x2bc]
push ecx
push str._s_s.log
lea edx, [esp + 0x4b4]
push 0x104
push edx
call fcn.0043dec2
add esp, 0x14
cmp eax, 0xffffffff
jne 0x417140
mov eax, dword [esi + 8]
push eax
call fcn.0042d2d9
mov dword [esi + 8], ebx
add esp, 4
cmp dword [esi + 8], ebx
jne 0x416fb9
lea ecx, [esp + 0x4a8]
push ecx
push ebx
push 0x45cdf0
lea edx, [esp + 0x2c4]
push edx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x41702d
push 0x24c
lea eax, [esp + 0x20]
push ebx
push eax
mov dword [esp + 0x24], ebx
call fcn.0043f900
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4ac]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x41702d
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
inc edi
xor ecx, ecx
mov eax, edi
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0042d2aa
add esp, 4
lea ecx, [esp + 0x44]
push ecx
push edi
push eax
mov dword [esi + 8], eax
call fcn.0043de53
add esp, 0xc
test eax, eax
je 0x4171f0
mov edx, dword [esi + 8]
push edx
call fcn.0042d2d9
add esp, 4
mov dword [esi + 8], ebx
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x4a8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x41702d
push str..tmp
push eax
call fcn.0043e12c
xor ecx, ecx
push 0x460480
mov word [eax + 2], cx
mov edx, dword [esi + 8]
push edi
push edx
call fcn.0043eb7b
mov eax, dword [esi + 8]
add esp, 0x14
push eax
lea ecx, [esp + 0x2bc]
push ecx
push 0x460454
lea edx, [esp + 0x4b4]
push 0x104
push edx
call fcn.0043dec2
add esp, 0x14
cmp eax, 0xffffffff
jne 0x416fb9
mov eax, dword [esi + 8]
push eax
call fcn.0042d2d9
add esp, 4
mov dword [esi + 8], ebx
jmp 0x41702d