Function at 0x41dc16
Capabilities:
Create directory
Delete file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x61c], eax
cmp dword [edi + 0x1c], 0
jne 0x41dc47
mov eax, 0x80004005
jmp 0x41de7e
push ebx
lea ecx, [edi + 0x54]
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
push esi
push 0x28
cdq
pop ebx
idiv ebx
cmp dword [edi + 0x60], eax
ja 0x41dcec
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv ebx
mov esi, dword [ecx]
mov ebx, eax
sub ebx, dword [edi + 0x60]
add ebx, 1
je 0x41dce9
cmp esi, dword [edi + 0x58]
jae 0x41dce6
test esi, esi
je 0x41dcdf
cmp dword [edi + 0x1c], 0
je 0x41dcdf
cmp dword [esi + 0x14], 8
jb 0x41dc8d
mov ecx, dword [esi]
jmp 0x41dc8f
mov ecx, esi
lea eax, [edi + 0xc]
cmp dword [eax + 0x14], 8
jb 0x41dc9a
mov eax, dword [eax]
push ecx
push eax
push 0x4050d4
lea eax, [ebp - 0x614]
push 0x104
push eax
call fcn.00419392
add esp, 0x14
test eax, eax
js 0x41dcdf
lea eax, [ebp - 0x614]
push eax
call dword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteFileW]
test eax, eax
je 0x41dcdf
push esi
lea eax, [ebp - 0x618]
push eax
lea ecx, [edi + 0x54]
call fcn.0041dff1
dec ebx
mov esi, dword [eax]
jmp 0x41dce2
add esi, 0x28
test ebx, ebx
jne 0x41dc74
lea ecx, [edi + 0x54]
push 0x28
pop ebx
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv ebx
cmp dword [edi + 0x60], eax
jbe 0x41de34
mov eax, dword [ecx + 4]
sub eax, dword [ecx]
cdq
idiv ebx
test eax, eax
je 0x41ddd7
mov ecx, dword [edi + 0x58]
sub ecx, ebx
cmp dword [ecx + 0x14], 8
jb 0x41dd1a
mov ecx, dword [ecx]
mov eax, dword [edi + 0x34]
lea eax, [ecx + eax*2]
push eax
call dword [sym.imp.msvcrt.dll__wtoi]
inc eax
pop ecx
cdq
mov ecx, 0x2710
idiv ecx
cmp dword [edi + 0x50], 8
mov dword [ebp - 0x618], edx
jb 0x41dd42
mov ecx, dword [edi + 0x3c]
jmp 0x41dd45
lea ecx, [edi + 0x3c]
lea ebx, [edi + 0x24]
cmp dword [ebx + 0x14], 8
jb 0x41dd52
mov eax, dword [ebx]
jmp 0x41dd54
mov eax, ebx
push ecx
push edx
push eax
push 0x4050c0
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.00419392
mov esi, dword [edi + 0x54]
add esp, 0x18
jmp 0x41dda5
cmp dword [esi + 0x14], 8
jb 0x41dd7f
mov eax, dword [esi]
jmp 0x41dd81
mov eax, esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x204]
push ecx
push 0xffffffffffffffff
push eax
push 1
push 0x409
call dword [sym.imp.api_ms_win_core_string_l1_1_0.dll_CompareStringW]
dec eax
sub eax, 1
je 0x41ddac
push 0x28
pop eax
add esi, eax
cmp esi, dword [edi + 0x58]
jb 0x41dd75
jmp 0x41de0a
mov eax, dword [ebp - 0x618]
mov ecx, 0x2710
inc eax
cdq
idiv ecx
cmp dword [edi + 0x50], 8
mov dword [ebp - 0x618], edx
jb 0x41ddcf
mov ecx, dword [edi + 0x3c]
jmp 0x41dd48
lea ecx, [edi + 0x3c]
jmp 0x41dd48
lea eax, [edi + 0x3c]
cmp dword [eax + 0x14], 8
jb 0x41dde2
mov eax, dword [eax]
lea ecx, [edi + 0x24]
cmp dword [ecx + 0x14], 8
jb 0x41dded
mov ecx, dword [ecx]
push eax
push 1
push ecx
push 0x4050c0
lea eax, [ebp - 0x204]
push 0x100
push eax
call fcn.00419392
add esp, 0x18
lea esi, [edi + 0xc]
cmp dword [esi + 0x14], 8
jb 0x41de17
mov eax, dword [esi]
jmp 0x41de19
mov eax, esi
push 0
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x41de3b
cmp eax, 0x50
je 0x41de3b
cmp eax, 0xb7
je 0x41de3b
mov eax, 0x80004005
jmp 0x41de7c
cmp dword [esi + 0x14], 8
jb 0x41de43
mov esi, dword [esi]
lea eax, [ebp - 0x204]
push eax
push esi
push 0x4050d4
lea eax, [ebp - 0x40c]
push 0x104
push eax
call fcn.00419392
add esp, 0x14
lea eax, [ebp - 0x40c]
push dword [ebp - 0x61c]
push eax
call fcn.0041db79
test eax, eax
js 0x41de7c
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0042f1b0
mov esp, ebp
pop ebp
ret 8