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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44af56
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.00424030
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.00425520
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 0x41ab2e
mov byte [ebp - 0x44], 1
jmp 0x41ab38
shr al, 4
not al
and al, 1
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41ab6c
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ab62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b63c
push edx
push ecx
call fcn.00429e16
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 0x41abbc
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41abb2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b63c
push edx
push ecx
call fcn.00429e16
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 0x41ac0f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ac05
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b63c
push edx
push ecx
call fcn.00429e16
add esp, 8
cmp byte [ebp - 0x44], 0
je 0x41ad6c
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.00424030
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.00425520
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 0x41acc9
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41acbf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b641
push edx
push ecx
call fcn.00429e16
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 0x41ad19
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad0f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b641
push edx
push ecx
call fcn.00429e16
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 0x41ad6c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ad62
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b641
push edx
push ecx
call fcn.00429e16
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x4660ec
call fcn.00423120
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.00423120
lea ecx, [ebp - 0xe4]
call fcn.00409f00
mov edi, eax
mov ecx, esp
mov byte [ebp - 4], 0xa
push 0x4665e4
call fcn.00423120
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.00424030
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.00425520
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x114]
call fcn.00425520
push edi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.00425520
push 0x45cbec
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.00422fa0
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.00425520
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41aef3
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aee9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41af2b
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41af21
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
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 0x41af7b
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41af71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41afb3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41afa9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x41aff1
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41afe7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
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 0x41b044
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b03a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x41b082
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b078
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
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 0x41b0db
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b0d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
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 0x41b134
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b12a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b646
push edx
push ecx
call fcn.00429e16
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.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00423120
mov byte [ebp - 4], 0x1b
call fcn.004108b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45cbe4
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042dfc0
add esp, 0x38
test eax, eax
je 0x41b417
push eax
call fcn.0042e5a6
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423120
call fcn.00409e20
add esp, 0x18
cmp eax, 0x4e20
jle 0x41b417
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 0x45ce04
mov byte [ebp - 0x60], 0
call fcn.00424030
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x98]
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00423120
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 0x41b270
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b64b
push edx
push ecx
call fcn.00429e16
add esp, 8
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41b2ae
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b650
push edx
push ecx
call fcn.00429e16
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 0x41b301
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2f7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b650
push edx
push ecx
call fcn.00429e16
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.00423120
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.00424030
mov byte [ebp - 4], 0x1b
call fcn.004089e0
add esp, 0x48
sub esp, 0x18
cmp dword [0x46ac94], 0x2a
mov esi, esp
jne 0x41b3b8
mov dword [ebp - 0x80], esp
sub esp, 0x18
mov ecx, esp
push 0x466898
call fcn.00423120
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x466044
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x38]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
call fcn.00423120
mov byte [ebp - 4], 0x26
jmp 0x41b479
mov dword [ebp - 0x9c], esp
sub esp, 0x18
mov ecx, esp
push 0x4668f8
call fcn.00423120
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x466044
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423120
mov byte [ebp - 4], 0x2a
jmp 0x41b479
sub esp, 0x18
mov dword [ebp - 0x9c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4668f8
call fcn.00423120
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x466044
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x2c
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.00423120
sub esp, 0x18
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00423120
mov byte [ebp - 4], 0x2e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423120
mov byte [ebp - 4], 0x1b
call fcn.004137e0
mov edx, dword [ebp - 0x14]
add esp, 0x78
cmp edx, 0x10
jb 0x41b4c7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b4bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b655
push edx
push ecx
call fcn.00429e16
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 0x41b50d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b503
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b655
push edx
push ecx
call fcn.00429e16
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 0x41b553
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b549
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b655
push edx
push ecx
call fcn.00429e16
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 0x41b599
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b58f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b655
push edx
push ecx
call fcn.00429e16
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 0x41b5df
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b5d5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b655
push edx
push ecx
call fcn.00429e16
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 0x41b621
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b617
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b655
push edx
push ecx
call fcn.00429e16
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.004297a0
mov esp, ebp
pop ebp
ret
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
call fcn.0042eb25
int3