Function at 0x41ab40
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ae76
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x465124]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 4
mov esi, 0xe
mov ecx, esi
mov dword [ebp - 0x60], 0
cmp dword [0x4664a4], ecx
mov eax, 0x466494
mov dword [ebp - 0x50], 0
cmovb ecx, dword [0x4664a4]
cmp dword [0x4664a8], 0x10
push ecx
cmovae eax, dword [0x466494]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00423f40
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.0040a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
push ecx
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x7c]
call fcn.00425430
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
cmovae eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41abfe
mov byte [ebp - 0x44], 1
jmp 0x41ac08
shr al, 4
not al
and al, 1
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41ac3c
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b70c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x41ac8c
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b70c
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x41acdf
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41acd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b70c
push edx
push ecx
call fcn.00429d26
add esp, 8
cmp byte [ebp - 0x44], 0
je 0x41ae3c
mov ecx, esi
mov dword [ebp - 0x60], 0
cmp dword [0x4664a4], ecx
mov eax, 0x466494
mov dword [ebp - 0x50], 0
cmovb ecx, dword [0x4664a4]
cmp dword [0x4664a8], 0x10
push ecx
cmovae eax, dword [0x466494]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00423f40
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.0040a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
push ecx
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x7c]
call fcn.00425430
cmp dword [ebp - 0x68], 0x10
lea eax, [ebp - 0x7c]
push 0
cmovae eax, dword [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41ad99
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b711
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp edx, 0x10
jb 0x41ade9
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41addf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b711
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x41ae3c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ae32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b711
push edx
push ecx
call fcn.00429d26
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x4660ec
call fcn.00423030
lea ecx, [ebp - 0xfc]
call fcn.004061f0
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
mov ecx, esp
push eax
call fcn.00423030
lea ecx, [ebp - 0xe4]
call fcn.00409f00
mov edi, eax
mov ecx, esp
mov byte [ebp - 4], 0xa
push 0x4665e4
call fcn.00423030
lea ecx, [ebp - 0xcc]
call fcn.004061f0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
cmp dword [0x4664a4], 0xe
mov edx, 0xe
mov eax, 0x466494
mov dword [ebp - 0x60], 0
cmovb edx, dword [0x4664a4]
cmp dword [0x4664a8], 0x10
push edx
cmovae eax, dword [0x466494]
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00423f40
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xc
call fcn.0040a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push ecx
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.00425430
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x114]
call fcn.00425430
push edi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.00425430
push 0x45cc94
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.00422eb0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x98], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x88], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x98]
push dword [ebp - 0x44]
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x48]
call fcn.00425430
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41afc3
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41afb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41affb
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aff1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x100]
cmp edx, 0x10
jb 0x41b04b
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b041
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41b083
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b079
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x41b0c1
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b0b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
mov byte [ebp - 4], 0x18
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x41b114
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b10a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x41b152
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0xf
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 0x1a
mov edx, dword [ebp - 0xd0]
cmp edx, 0x10
jb 0x41b1ab
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b1a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
mov dword [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0xf
mov byte [ebp - 0xe4], 0
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0xe8]
cmp edx, 0x10
jb 0x41b204
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b1fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b716
push edx
push ecx
call fcn.00429d26
add esp, 8
sub esp, 0x18
mov dword [ebp - 0xec], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x48], esp
mov ecx, esp
mov dword [ebp - 0xe8], 0xf
mov byte [ebp - 0xfc], 0
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x1b
call fcn.004108b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45cc8c
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042ded0
add esp, 0x38
test eax, eax
je 0x41b4e7
push eax
call fcn.0042e4b9
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423030
call fcn.00409e20
add esp, 0x18
cmp eax, 0x4e20
jle 0x41b4e7
sub esp, 0x18
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x48], esp
lea ecx, [ebp - 0x60]
mov esi, esp
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
push 3
push 0x45ceac
mov byte [ebp - 0x60], 0
call fcn.00423f40
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x98]
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00423030
lea ecx, [ebp - 0x40]
call fcn.00404ef0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x20
push eax
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00405e30
mov byte [ebp - 4], 0x1f
add esp, 0x1c
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41b340
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b71b
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41b37e
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b374
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b720
push edx
push ecx
call fcn.00429d26
add esp, 8
mov byte [ebp - 4], 0x1b
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x84], 0xf
mov byte [ebp - 0x98], 0
cmp edx, 0x10
jb 0x41b3d1
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b720
push edx
push ecx
call fcn.00429d26
add esp, 8
sub esp, 0x18
mov byte [ebp - 4], 0x21
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
push 0
push 0x45be8b
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00423f40
mov byte [ebp - 4], 0x1b
call fcn.004089e0
add esp, 0x48
sub esp, 0x18
cmp dword [0x46ac94], 0x2a
mov esi, esp
jne 0x41b488
mov dword [ebp - 0x80], esp
sub esp, 0x18
mov ecx, esp
push 0x466898
call fcn.00423030
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x466044
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x38]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x26
jmp 0x41b549
mov dword [ebp - 0x9c], esp
sub esp, 0x18
mov ecx, esp
push 0x4665cc
call fcn.00423030
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x466044
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x2a
jmp 0x41b549
sub esp, 0x18
mov dword [ebp - 0x9c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4668f8
call fcn.00423030
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x466044
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x2c
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.00423030
sub esp, 0x18
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x2e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423030
mov byte [ebp - 4], 0x1b
call fcn.004138b0
mov edx, dword [ebp - 0x14]
add esp, 0x78
cmp edx, 0x10
jb 0x41b597
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b58d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x41b5dd
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b5d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x34]
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0xf
mov byte [ebp + 8], 0
cmp edx, 0x10
jb 0x41b623
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b619
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x4c]
mov dword [ebp + 0x30], 0
mov dword [ebp + 0x34], 0xf
mov byte [ebp + 0x20], 0
cmp edx, 0x10
jb 0x41b669
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b65f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x64]
mov dword [ebp + 0x48], 0
mov dword [ebp + 0x4c], 0xf
mov byte [ebp + 0x38], 0
cmp edx, 0x10
jb 0x41b6af
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b6a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.00429d26
add esp, 8
mov edx, dword [ebp + 0x7c]
mov dword [ebp + 0x60], 0
mov dword [ebp + 0x64], 0xf
mov byte [ebp + 0x50], 0
cmp edx, 0x10
jb 0x41b6f1
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b6e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b725
push edx
push ecx
call fcn.00429d26
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004296b0
mov esp, ebp
pop ebp
ret
call fcn.0042ea38
call fcn.0042ea38
call fcn.0042ea38
call fcn.0042ea38
call fcn.0042ea38
call fcn.0042ea38
int3