Function at 0x414a90
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d5623
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x693f30]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x224], 0
mov dword [ebp - 4], 1
call fcn.00409450
mov ecx, eax
test ecx, ecx
je 0x414fcf
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x21c], eax
mov dword [ebp - 4], 2
mov edx, dword [esi + 0x408]
test edx, edx
jne 0x414b29
xor ecx, ecx
jmp 0x414b3f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414b30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x21c]
call fcn.0040f140
mov esi, dword [ebp - 0x21c]
push 0x5c
push esi
call fcn.005a3bac
add esp, 8
test eax, eax
jne 0x414b66
or eax, 0xffffffff
jmp 0x414b6a
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [esi - 0xc]
lea ebx, [esi - 0x10]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00415d70
mov dword [ebp - 0x224], 2
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x220]
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x414bfe
mov ecx, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x414be9
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x414be9
mov ecx, edi
call fcn.0040f050
mov dword [ebp - 0x220], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x414bd8
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
add esi, 0x10
mov dword [ebp - 0x21c], esi
jmp 0x414bfe
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040f140
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x414c17
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2f
push esi
call fcn.005a3bac
add esp, 8
test eax, eax
jne 0x414c2b
or eax, 0xffffffff
jmp 0x414c2f
sub eax, esi
sar eax, 1
lea ecx, [eax + 1]
mov eax, dword [esi - 0xc]
lea ebx, [esi - 0x10]
sub eax, ecx
push eax
push ecx
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x21c]
call fcn.00415d70
mov eax, 6
mov dword [ebp - 0x224], eax
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x220]
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x414cc4
mov ecx, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
shr ecx, 0x1f
test cl, cl
jne 0x414caf
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x414caf
mov ecx, edi
call fcn.0040f050
mov dword [ebp - 0x220], eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x414c9e
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x220]
add esi, 0x10
mov dword [ebp - 0x21c], esi
jmp 0x414cc4
push dword [eax - 0xc]
lea ecx, [ebp - 0x21c]
push eax
call fcn.0040f140
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x414cdd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
push 0x2e
push esi
call fcn.005a3bac
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x414e52
sub ebx, esi
sar ebx, 1
js 0x414e52
cmp ebx, dword [esi - 0xc]
jl 0x414d29
lea ecx, [esi - 0x10]
call fcn.0040f050
add eax, 0x10
mov dword [ebp - 0x224], 0xe
mov dword [ebp - 0x220], eax
mov edi, eax
mov dword [ebp - 0x228], eax
jmp 0x414dd4
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x414d3b
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x414d51
call fcn.00409450
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x414fde
test esi, esi
jne 0x414d5d
test ebx, ebx
jne 0x414fe8
mov eax, dword [ecx]
push 2
push ebx
call dword [eax]
test eax, eax
je 0x414fd9
add eax, 0x10
mov dword [ebp - 0x220], eax
mov edi, eax
mov dword [ebp - 0x228], eax
cmp ebx, dword [eax - 8]
jg 0x414fe8
mov dword [eax - 0xc], ebx
xor ecx, ecx
add ebx, ebx
mov word [eax + ebx], cx
test ebx, ebx
je 0x414dc9
test edi, edi
je 0x414db9
push ebx
test esi, esi
je 0x414daa
push esi
push edi
call fcn.005a4460
add esp, 0xc
jmp 0x414dc9
push 0
push edi
call fcn.005a49e0
add esp, 0xc
test esi, esi
jne 0x414dc9
call fcn.005b46e2
mov dword [eax], 0x16
call fcn.005a7b2f
mov eax, 0xe
mov dword [ebp - 0x224], eax
lea ecx, [edi - 0x10]
mov byte [ebp - 4], 5
lea ebx, [esi - 0x10]
cmp ecx, ebx
je 0x414e30
mov eax, dword [ebx + 0xc]
lea esi, [ebx + 0xc]
shr eax, 0x1f
test al, al
jne 0x414e1b
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x414e1b
call fcn.0040f050
mov edi, eax
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x414e10
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [edi + 0x10]
mov dword [ebp - 0x21c], esi
jmp 0x414e30
push dword [edi - 0xc]
lea ecx, [ebp - 0x21c]
push edi
call fcn.0040f140
mov esi, dword [ebp - 0x21c]
mov byte [ebp - 4], 2
or eax, 0xffffffff
mov edx, dword [ebp - 0x220]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x414e52
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.005a49e0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [ebp + 0xc]
push 0x103
push eax
call fcn.004106c0
lea ecx, [ebp - 0x218]
add esp, 0xc
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x414e90
sub ecx, edx
mov eax, 0x102
sar ecx, 1
cmp ecx, eax
cmova ecx, eax
cmp word [ebp + ecx*2 - 0x21a], 0x5c
je 0x414eda
mov eax, 0x5c
mov word [ebp + ecx*2 - 0x218], ax
inc ecx
add ecx, ecx
cmp ecx, 0x208
jae 0x414ff2
xor eax, eax
mov word [ebp + ecx - 0x218], ax
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x218]
push 0
push eax
call ebx
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push str.PDD_
push eax
call edi
push 0
lea eax, [ebp - 0x218]
push eax
call ebx
push esi
lea eax, [ebp - 0x218]
push eax
call edi
mov byte [ebp - 4], 6
call fcn.00409450
mov ecx, eax
test ecx, ecx
je 0x414fde
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, dword [ebp - 0x22c]
add eax, 0x10
mov byte [ebp - 4], 2
mov dword [edi], eax
or dword [ebp - 0x224], 1
mov ecx, dword [0x699b60]
test ecx, ecx
jne 0x414f5a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
mov dword [0x699b60], ecx
mov edx, dword [ebp - 0x230]
mov eax, 0x63e93c
test edx, edx
cmovne eax, edx
push eax
push ecx
push 0x641498
push dword [ebp - 0x234]
lea eax, [ebp - 0x218]
push 0x641498
push eax
push 0x64149c
push edi
call fcn.0040f520
add esp, 0x20
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x414fb1
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005a1c7e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00409320
call fcn.0040f260
push 0x80004005
call fcn.00409320
push 0x80070057
call fcn.00409320
call fcn.005a1fb7
int3