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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b476
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x466124]
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 [0x4674a4], ecx
mov eax, 0x467494
mov dword [ebp - 0x50], 0
cmovb ecx, dword [0x4674a4]
cmp dword [0x4674a8], 0x10
push ecx
cmovae eax, dword [0x467494]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004242f0
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.004257e0
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 0x41ae3e
mov byte [ebp - 0x44], 1
jmp 0x41ae48
shr al, 4
not al
and al, 1
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41ae7c
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41ae72
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b94c
push edx
push ecx
call fcn.0042a0d6
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 0x41aecc
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41aec2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b94c
push edx
push ecx
call fcn.0042a0d6
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 0x41af1f
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41af15
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b94c
push edx
push ecx
call fcn.0042a0d6
add esp, 8
cmp byte [ebp - 0x44], 0
je 0x41b07c
mov ecx, esi
mov dword [ebp - 0x60], 0
cmp dword [0x4674a4], ecx
mov eax, 0x467494
mov dword [ebp - 0x50], 0
cmovb ecx, dword [0x4674a4]
cmp dword [0x4674a8], 0x10
push ecx
cmovae eax, dword [0x467494]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004242f0
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.004257e0
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 0x41afd9
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41afcf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b951
push edx
push ecx
call fcn.0042a0d6
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 0x41b029
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b01f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b951
push edx
push ecx
call fcn.0042a0d6
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 0x41b07c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b072
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b951
push edx
push ecx
call fcn.0042a0d6
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x4670ec
call fcn.004233e0
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.004233e0
lea ecx, [ebp - 0xe4]
call fcn.00409f00
mov edi, eax
mov ecx, esp
mov byte [ebp - 4], 0xa
push 0x4675e4
call fcn.004233e0
lea ecx, [ebp - 0xcc]
call fcn.004061f0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
cmp dword [0x4674a4], 0xe
mov edx, 0xe
mov eax, 0x467494
mov dword [ebp - 0x60], 0
cmovb edx, dword [0x4674a4]
cmp dword [0x4674a8], 0x10
push edx
cmovae eax, dword [0x467494]
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.004242f0
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.004257e0
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x114]
call fcn.004257e0
push edi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.004257e0
push 0x45dc1c
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.00423260
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.004257e0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41b203
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b1f9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x41b23b
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b231
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
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 0x41b28b
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b281
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x41b2c3
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b2b9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x41b301
mov ecx, dword [ebp - 0xb4]
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 0x41b956
push edx
push ecx
call fcn.0042a0d6
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 0x41b354
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b34a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x41b392
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b388
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
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 0x41b3eb
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b3e1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
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 0x41b444
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b43a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b956
push edx
push ecx
call fcn.0042a0d6
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.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 0x1b
call fcn.00410af0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45dc14
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042e280
add esp, 0x38
test eax, eax
je 0x41b727
push eax
call fcn.0042e866
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.004233e0
call fcn.00409e20
add esp, 0x18
cmp eax, 0x4e20
jle 0x41b727
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 0x45de38
mov byte [ebp - 0x60], 0
call fcn.004242f0
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x98]
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.004233e0
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 0x41b580
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b576
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b95b
push edx
push ecx
call fcn.0042a0d6
add esp, 8
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x41b5be
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b5b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b960
push edx
push ecx
call fcn.0042a0d6
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 0x41b611
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b607
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b960
push edx
push ecx
call fcn.0042a0d6
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.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
push 0
push 0x45ce7b
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.004242f0
mov byte [ebp - 4], 0x1b
call fcn.004089e0
add esp, 0x48
sub esp, 0x18
cmp dword [0x46bc94], 0x2a
mov esi, esp
jne 0x41b6c8
mov dword [ebp - 0x80], esp
sub esp, 0x18
mov ecx, esp
push 0x467898
call fcn.004233e0
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x48], esp
push 0x467044
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x38]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 0x26
jmp 0x41b789
mov dword [ebp - 0x9c], esp
sub esp, 0x18
mov ecx, esp
push 0x4675cc
call fcn.004233e0
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x467044
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 0x2a
jmp 0x41b789
sub esp, 0x18
mov dword [ebp - 0x9c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4678f8
call fcn.004233e0
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x64], esp
push 0x467044
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x2c
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.004233e0
sub esp, 0x18
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 0x2e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004233e0
mov byte [ebp - 4], 0x1b
call fcn.00413af0
mov edx, dword [ebp - 0x14]
add esp, 0x78
cmp edx, 0x10
jb 0x41b7d7
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b7cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b965
push edx
push ecx
call fcn.0042a0d6
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 0x41b81d
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b813
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b965
push edx
push ecx
call fcn.0042a0d6
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 0x41b863
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b859
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b965
push edx
push ecx
call fcn.0042a0d6
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 0x41b8a9
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b89f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b965
push edx
push ecx
call fcn.0042a0d6
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 0x41b8ef
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b8e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b965
push edx
push ecx
call fcn.0042a0d6
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 0x41b931
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41b927
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41b965
push edx
push ecx
call fcn.0042a0d6
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.00429a60
mov esp, ebp
pop ebp
ret
call fcn.0042f0c9
call fcn.0042f0c9
call fcn.0042f0c9
call fcn.0042f0c9
call fcn.0042f0c9
call fcn.0042f0c9
int3