Function at 0x440e50
Capabilities:
Create directory
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f6fd5
mov eax, dword fs:[0]
push eax
sub esp, 0x60c
mov eax, dword [0x68a300]
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 edi, ecx
mov dword [ebp - 0x614], edi
push 0x60c6dc
push 1
push 0x322
push 0x60c180
xor ebx, ebx
push 0x60c700
mov dword [ebp - 0x60c], ebx
call fcn.004f8b80
mov ecx, dword [edi]
lea eax, [ebp - 0x2ac]
add esp, 0x14
add ecx, 0x6e4
push eax
call fcn.0042c510
lea eax, [ebp - 0x2ac]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x294]
push eax
call fcn.00442b30
mov dword [ebp - 0x27c], 0xffffffff
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], ebx
mov byte [ebp - 0x278], bl
mov dword [ebp - 0x604], ebx
mov dword [ebp - 0x600], ebx
mov dword [ebp - 0x5fc], ebx
lea eax, [ebp - 0x294]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x604]
push eax
lea eax, [ebp - 0x27c]
push eax
call fcn.0043fb20
add esp, 0x14
cmp dword [ebp - 0x27c], 1
je 0x441004
mov eax, dword [ebp - 0x604]
test eax, eax
je 0x440f79
push dword [ebp - 0x608]
lea ecx, [ebp - 0x5f6]
push ecx
push dword [ebp - 0x600]
push eax
call fcn.0043fe40
push dword [ebp - 0x604]
call fcn.005ba02a
add esp, 0x14
mov dword [ebp - 0x604], ebx
mov dword [ebp - 0x600], ebx
mov dword [ebp - 0x5fc], ebx
cmp dword [ebp - 0x264], 0x10
jb 0x440f90
push dword [ebp - 0x278]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x280], 0x10
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jb 0x440fc2
push dword [ebp - 0x294]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x298], 8
mov dword [ebp - 0x280], 0xf
mov dword [ebp - 0x284], 0
mov byte [ebp - 0x294], 0
mov dword [ebp - 4], 0xffffffff
jb 0x441893
push dword [ebp - 0x2ac]
call fcn.005ba02a
add esp, 4
jmp 0x441893
mov ecx, dword [ebp - 0x600]
mov eax, 0x38e38e39
sub ecx, dword [ebp - 0x604]
imul ecx
mov eax, dword [edi]
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [eax + 0x754], ecx
mov ecx, dword [edi]
cmp dword [ecx + 0x754], 0
jle 0x441188
lea eax, [ebp - 0x2dc]
add ecx, 0x6e4
push eax
call fcn.00442af0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 4
jb 0x441056
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x468]
call fcn.0044ba2d
mov esi, eax
mov ecx, dword [edi]
lea eax, [ebp - 0x3e4]
push 0x60c334
push eax
add ecx, 0x4b8
mov byte [ebp - 4], 5
call fcn.0044bc11
push esi
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 6
push ecx
mov ecx, eax
call fcn.0044bbe6
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.0044c110
mov edx, eax
mov dword [ebp - 0x21c], 7
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [edx], ax
jne 0x4410c9
xor ecx, ecx
jmp 0x4410df
mov ecx, edx
lea esi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4410d0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00423820
lea ecx, [ebp - 0x360]
mov byte [ebp - 4], 9
call fcn.0044baf0
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 0xa
call fcn.0044baf0
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xb
call fcn.0044baf0
cmp dword [ebp - 0x2c8], 8
jb 0x441130
push dword [ebp - 0x2dc]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x44116d
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 0
cmovae eax, dword [ebp - 0x230]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp dword [ebp - 0x21c], 8
mov byte [ebp - 4], 3
jb 0x441188
push dword [ebp - 0x230]
call fcn.005ba02a
add esp, 4
mov edi, dword [ebp - 0x600]
xor ecx, ecx
mov esi, dword [ebp - 0x604]
mov eax, 0x38e38e39
mov dword [ebp - 0x618], ecx
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x4417c7
xor edi, edi
mov dword [ebp - 0x610], edi
jmp 0x4411c7
mov edi, dword [ebp - 0x610]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.005bc550
mov eax, dword [ebp - 0x618]
inc eax
push eax
push 0x60c5d8
mov dword [ebp - 0x618], eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.005bcda4
mov ecx, dword [ebp - 0x614]
lea eax, [ebp - 0x2dc]
add esp, 0x1c
mov ecx, dword [ecx]
push eax
add ecx, 0x6e4
call fcn.00442af0
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0xd
jb 0x44122f
mov eax, dword [eax]
push 0xffffffffffffffff
push eax
lea ecx, [ebp - 0x4ec]
call fcn.0044ba2d
mov esi, eax
push 0x60c334
lea eax, [ebp - 0x5f4]
mov byte [ebp - 4], 0xe
push eax
mov eax, dword [ebp - 0x614]
mov ecx, dword [eax]
add ecx, 0x4b8
call fcn.0044bc11
push esi
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call fcn.0044bbe6
push 0x65e8e0
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 0x10
push ecx
mov ecx, eax
call fcn.0044bc11
lea ecx, [ebp - 0x218]
mov byte [ebp - 4], 0x11
push ecx
lea ecx, [ebp - 0x468]
push ecx
mov ecx, eax
call fcn.0044bc11
mov ecx, eax
mov byte [ebp - 4], 0x12
call fcn.0044c110
mov edx, eax
mov dword [ebp - 0x24c], 7
xor eax, eax
mov dword [ebp - 0x250], 0
mov word [ebp - 0x260], ax
cmp word [edx], ax
jne 0x4412d8
xor ecx, ecx
jmp 0x4412ef
mov ecx, edx
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4412e0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x260]
call fcn.00423820
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0x14
call fcn.0044baf0
lea ecx, [ebp - 0x3e4]
mov byte [ebp - 4], 0x15
call fcn.0044baf0
lea ecx, [ebp - 0x570]
mov byte [ebp - 4], 0x16
call fcn.0044baf0
lea ecx, [ebp - 0x5f4]
mov byte [ebp - 4], 0x17
call fcn.0044baf0
lea ecx, [ebp - 0x4ec]
mov byte [ebp - 4], 0x18
call fcn.0044baf0
cmp dword [ebp - 0x2c8], 8
mov byte [ebp - 4], 0x19
jb 0x441362
push dword [ebp - 0x2dc]
call fcn.005ba02a
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c8], 7
mov word [ebp - 0x2dc], ax
lea eax, [ebp - 0x260]
push eax
mov dword [ebp - 0x2cc], 0
call fcn.00431140
add esp, 4
mov byte [ebp - 0x5f6], al
test al, al
je 0x44151d
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x2c4]
push eax
call fcn.00442ca0
add esp, 8
mov edx, eax
or ebx, 1
mov byte [ebp - 4], 0x1a
cmp dword [edx + 0x14], 0x10
mov dword [ebp - 0x60c], ebx
jb 0x4413c9
mov edx, dword [edx]
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
cmp byte [edx], 0
jne 0x4413ed
xor ecx, ecx
jmp 0x4413fb
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4413f2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x230]
call fcn.00421120
mov edx, dword [ebp - 0x604]
or ebx, 2
add edx, 0x30
mov dword [ebp - 4], 0x1b
add edx, edi
mov dword [ebp - 0x60c], ebx
cmp dword [edx + 0x14], 0x10
jb 0x44142b
mov edx, dword [edx]
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
cmp byte [edx], 0
jne 0x44144f
xor ecx, ecx
jmp 0x44145d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x441454
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x248]
call fcn.00421120
mov esi, dword [ebp - 0x238]
or ebx, 4
mov dword [ebp - 0x60c], ebx
cmp esi, dword [ebp - 0x220]
jne 0x44151d
cmp dword [ebp - 0x21c], 0x10
lea ecx, [ebp - 0x230]
mov edx, dword [ebp - 0x234]
lea eax, [ebp - 0x248]
cmovae ecx, dword [ebp - 0x230]
lea edi, [ebp - 0x248]
cmp edx, 0x10
cmovae eax, dword [ebp - 0x248]
add esi, eax
cmp edx, 0x10
cmovae edi, dword [ebp - 0x248]
cmp edi, esi
je 0x44150e
sub ecx, edi
mov dword [ebp - 0x608], ecx
lea ecx, [ecx]
mov al, byte [edi + ecx]
mov byte [ebp - 0x5f5], al
movsx eax, byte [edi]
push eax
call dword [sym.imp.USER32.dll_CharLowerA]
movsx ecx, byte [ebp - 0x5f5]
mov ebx, eax
push ecx
call dword [sym.imp.USER32.dll_CharLowerA]
cmp ebx, eax
jne 0x441517
mov ecx, dword [ebp - 0x608]
inc edi
cmp edi, esi
jne 0x4414d0
mov edx, dword [ebp - 0x234]
mov ebx, dword [ebp - 0x60c]
mov byte [ebp - 0x5f5], 0
jmp 0x44152a
mov ebx, dword [ebp - 0x60c]
mov edx, dword [ebp - 0x234]
mov byte [ebp - 0x5f5], 1
test bl, 4
je 0x441560
and ebx, 0xfffffffb
cmp edx, 0x10
jb 0x441545
push dword [ebp - 0x248]
call fcn.005ba02a
add esp, 4
mov dword [ebp - 0x234], 0xf
mov dword [ebp - 0x238], 0
mov byte [ebp - 0x248], 0
test bl, 2
je 0x44159a
and ebx, 0xfffffffd
cmp dword [ebp - 0x21c], 0x10
jb 0x44157f
push dword [ebp - 0x230]
call fcn.005ba02a
add esp, 4
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
mov dword [ebp - 4], 0x19
test bl, 1
je 0x4415c0
and ebx, 0xfffffffe
cmp dword [ebp - 0x2b0], 0x10
jb 0x4415c0
push dword [ebp - 0x2c4]
call fcn.005ba02a
add esp, 4
cmp byte [ebp - 0x5f5], 0
je 0x441770
cmp byte [ebp - 0x5f6], 0
je 0x4415f1
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x604]
sub esp, 0x18
mov edi, dword [ebp - 0x610]
mov ecx, esp
add eax, 0x18
add eax, edi
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00420f90
lea eax, [ebp - 0x2c4]
push eax
call fcn.0043e330
add esp, 0x1c
mov esi, eax
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0x1c
mov byte [ebp - 0x5f5], 0
call fcn.004896d0
sub esp, 0x18
mov byte [ebp - 4], 0x1d
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push esi
mov word [ecx], ax
call fcn.00423cd0
lea ecx, [ebp - 0x350]
call fcn.00489140
test al, al
je 0x441695
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x350]
call fcn.00489860
mov byte [ebp - 0x5f5], al
lea ecx, [ebp - 0x350]
mov byte [ebp - 4], 0x1c
call fcn.004896f0
cmp byte [ebp - 0x5f5], 0
mov byte [ebp - 4], 0x19
sete al
cmp dword [ebp - 0x2b0], 8
mov byte [ebp - 0x5f6], al
jb 0x4416d5
push dword [ebp - 0x2c4]
call fcn.005ba02a
mov al, byte [ebp - 0x5f6]
add esp, 4
test al, al
je 0x441776
cmp dword [ebp - 0x24c], 8
lea eax, [ebp - 0x260]
cmovae eax, dword [ebp - 0x260]
push eax
mov eax, dword [ebp - 0x604]
sub esp, 0x18
mov ecx, esp
add eax, 0x18
add eax, edi
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.00420f90
lea eax, [ebp - 0x2c4]
push eax
call fcn.0043e330
add esp, 0x1c
cmp dword [eax + 0x14], 8
mov byte [ebp - 4], 0x1e
jb 0x441738
mov eax, dword [eax]
push eax
push 0x60c7b0
push 1
push 0x346
push 0x60c180
push 0x60c700
call fcn.004f8b80
add esp, 0x1c
cmp dword [ebp - 0x2b0], 8
jb 0x441776
push dword [ebp - 0x2c4]
call fcn.005ba02a
add esp, 4
jmp 0x441776
mov edi, dword [ebp - 0x610]
cmp dword [ebp - 0x24c], 8
mov byte [ebp - 4], 3
jb 0x441791
push dword [ebp - 0x260]
call fcn.005ba02a
add esp, 4
mov esi, dword [ebp - 0x604]
add edi, 0x48
mov dword [ebp - 0x610], edi
mov eax, 0x38e38e39
mov edi, dword [ebp - 0x600]
mov ecx, edi
sub ecx, esi
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [ebp - 0x618], eax
jb 0x4411c1
test esi, esi
je 0x44180b
push dword [ebp - 0x608]
lea eax, [ebp - 0x5f6]
push eax
push edi
push esi
call fcn.0043fe40
push dword [ebp - 0x604]
call fcn.005ba02a
add esp, 0x14
mov dword [ebp - 0x604], 0
mov dword [ebp - 0x600], 0
mov dword [ebp - 0x5fc], 0
cmp dword [ebp - 0x264], 0x10
jb 0x441822
push dword [ebp - 0x278]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x280], 0x10
mov dword [ebp - 0x264], 0xf
mov dword [ebp - 0x268], 0
mov byte [ebp - 0x278], 0
jb 0x441854
push dword [ebp - 0x294]
call fcn.005ba02a
add esp, 4
cmp dword [ebp - 0x298], 8
mov dword [ebp - 0x280], 0xf
mov dword [ebp - 0x284], 0
mov byte [ebp - 0x294], 0
mov dword [ebp - 4], 0xffffffff
jb 0x44188d
push dword [ebp - 0x2ac]
call fcn.005ba02a
add esp, 4
mov edi, dword [ebp - 0x614]
xor eax, eax
mov dword [ebp - 0x298], 7
mov word [ebp - 0x2ac], ax
mov cl, 1
mov dword [ebp - 0x29c], eax
mov eax, dword [edi]
add eax, 0x758
xchg byte [eax], cl
push 0x60c80c
push 1
push 0x34e
push 0x60c180
push 0x60c700
call fcn.004f8b80
add esp, 0x14
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.005ba7b4
mov esp, ebp
pop ebp
ret