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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
push ebx
push esi
sub esp, 0x18
mov esi, ecx
mov ecx, esp
push 0x4482f8
call fcn.00414750
lea ecx, [ebp - 0x48]
call fcn.004034e0
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x30]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00415420
add esp, 4
lea ecx, [ebp - 0x18]
mov edx, eax
call fcn.00415290
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40d7bf
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40d7d1
mov bl, 1
jmp 0x40d7d9
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 4]
cmp edx, 0x10
jb 0x40d80d
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d803
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df10
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40d853
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d849
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df10
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40d899
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d88f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df10
push edx
push ecx
call fcn.00417582
add esp, 8
test bl, bl
je 0x40d9ac
sub esp, 0x18
mov ecx, esp
push 0x4482f8
call fcn.00414750
lea ecx, [ebp - 0x48]
call fcn.004034e0
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00415420
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.00415290
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40d8e3
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40d920
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d916
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df15
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40d966
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d95c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df15
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40d9ac
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40d9a2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df15
push edx
push ecx
call fcn.00417582
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x4482f8
call fcn.00414750
lea ecx, [ebp - 0x48]
call fcn.004034e0
add esp, 0x18
lea edx, [ebp + 8]
lea ecx, [ebp - 0x18]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00415420
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.00415290
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x40d9ee
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x40da00
xor bl, bl
jmp 0x40da06
shr bl, 4
and bl, 1
mov edx, dword [ebp - 0x1c]
cmp edx, 0x10
jb 0x40da3a
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1a
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40da80
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40da76
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1a
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40dac6
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dabc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1a
push edx
push ecx
call fcn.00417582
add esp, 8
test bl, bl
je 0x40de24
sub esp, 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.00414750
lea ecx, [ebp - 0x48]
call fcn.00405fd0
add esp, 0x18
push eax
sub esp, 0x1c
mov ecx, esp
push 0x4482f8
call fcn.00414750
lea ecx, [ebp - 0x90]
call fcn.004034e0
add esp, 0x1c
lea edx, [ebp + 8]
lea ecx, [ebp - 0x78]
push eax
lea eax, [ebp + 0x20]
push eax
call fcn.00415420
add esp, 4
lea ecx, [ebp - 0x60]
mov edx, eax
call fcn.00415290
add esp, 4
lea ecx, [ebp - 0x30]
mov edx, eax
call fcn.00415290
add esp, 4
mov ecx, eax
push 0x444234
call fcn.00414540
lea edx, [ebp - 0x18]
mov ecx, esi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x18], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp + 0x50]
push eax
call fcn.00415380
mov edx, dword [ebp - 4]
add esp, 4
cmp edx, 0x10
jb 0x40dba5
mov ecx, dword [ebp - 0x18]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40db9b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0xf
mov byte [ebp - 0x18], 0
cmp edx, 0x10
jb 0x40dbeb
mov ecx, dword [ebp - 0x30]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dbe1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0xf
mov byte [ebp - 0x30], 0
cmp edx, 0x10
jb 0x40dc31
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc27
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
cmp edx, 0x10
jb 0x40dc77
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dc6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x40dcc0
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x40dd09
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dcff
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x40dd4f
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
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 0x40dd95
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40dd8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
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 0x40dddb
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ddd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
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 0x40df08
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40defe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
jmp 0x40defe
push 0
push 0x44358f
mov ecx, esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
call fcn.00414eb0
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x40de77
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40de6d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
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 0x40deb9
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40deaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
push edx
push ecx
call fcn.00417582
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 0x40dddb
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x40ddd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40df1f
jmp 0x40ddd1
push edx
push ecx
call fcn.00417582
add esp, 8
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0041ea01
call fcn.0041ea01
call fcn.0041ea01
call fcn.0041ea01
int3