Function at 0x4116b0
Capabilities:
Delete file
Set current directory

Disassembly:
mov eax, 0x450e03
call fcn.0041e4b8
sub esp, 0x38
push esi
push edi
lea eax, [ebp - 0x1c]
push eax
mov esi, ecx
call fcn.004048c7
mov ecx, dword [eax]
mov dword [esi + 0x4c], ecx
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x44]
mov dword [esi + 0x50], eax
call fcn.00415382
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], edi
call fcn.0042dd95
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
push edi
push edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 1
call fcn.00410649
mov ecx, dword [eax]
mov edx, dword [esi + 0x4c]
mov eax, dword [eax + 4]
sub edx, ecx
mov ecx, dword [esi + 0x50]
sbb ecx, eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x28], ecx
call fcn.0042dd95
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x2c]
push eax
mov byte [ebp - 4], 2
call fcn.0041ed8a
cmp eax, edi
pop ecx
je 0x41174a
mov esi, dword [eax + 0xc]
jmp 0x41174c
xor esi, esi
lea eax, [ebp - 0x2c]
push eax
call fcn.0041ed8a
cmp eax, edi
pop ecx
je 0x411760
mov eax, dword [eax + 0x10]
inc eax
jmp 0x411762
xor eax, eax
push esi
push eax
lea ecx, [ebp - 0x2c]
call fcn.004106a7
push eax
lea eax, [ebp + 0xc]
push str._04d_02d_02d
push eax
call fcn.00401c5e
mov eax, dword [ebp + 8]
add esp, 0x14
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push edi
push edi
lea ecx, [ebp - 0x44]
call fcn.00415415
test eax, eax
je 0x4119ad
push ebx
lea ecx, [ebp - 0x44]
call fcn.00415163
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov esi, str..TXT
jmp 0x4118b2
call fcn.0042dd95
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0041563d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.00401c11
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.004011ce
push 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00410951
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 5
call fcn.00401c11
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.004011ce
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.0041fc74
test eax, eax
pop ecx
pop ecx
je 0x41183d
push str..txt
push edi
call fcn.0041fc74
test eax, eax
pop ecx
pop ecx
jne 0x41189e
push 8
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041099a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 6
call fcn.00401c11
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 3
call fcn.004011ce
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004107d2
test al, al
pop ecx
pop ecx
je 0x41189e
push esi
lea ecx, [ebp - 0x10]
call fcn.0040150b
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00401370
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00410795
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 2
call fcn.004011ce
lea ecx, [ebp - 0x44]
call fcn.00415163
test eax, eax
jne 0x4117b4
call fcn.0042dd95
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 7
call fcn.0041563d
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.00401c11
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004011ce
push 4
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x10]
call fcn.00410951
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 9
call fcn.00401c11
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004011ce
mov edi, dword [ebp + 8]
push esi
push edi
call fcn.0041fc74
test eax, eax
pop ecx
pop ecx
je 0x411943
push str..txt
push edi
call fcn.0041fc74
test eax, eax
pop ecx
pop ecx
jne 0x4119a4
push 8
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
call fcn.0041099a
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.00401c11
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 7
call fcn.004011ce
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004107d2
test al, al
pop ecx
pop ecx
je 0x4119a4
push esi
lea ecx, [ebp - 0x10]
call fcn.0040150b
mov eax, dword [ebp - 0x10]
push dword [eax - 0xc]
lea ecx, [ebp - 0x10]
call fcn.00401370
push eax
call ebx
push 0xffffffffffffffff
lea ecx, [ebp - 0x10]
call fcn.00410795
lea ecx, [edi - 0x10]
call fcn.004011ce
pop ebx
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004011ce
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004011ce
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.004153a6
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8