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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44b4e7
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
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
push 0x2710
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 0xe
mov dword [ebp - 0x60], 0
mov ecx, esi
mov dword [ebp - 0x50], 0
cmp dword [0x4674a4], ecx
mov eax, 0x467494
mov dword [ebp - 0x4c], 0xf
cmovb ecx, dword [0x4674a4]
cmp dword [0x4674a8], 0x10
push ecx
cmovae eax, dword [0x467494]
lea ecx, [ebp - 0x60]
push eax
mov byte [ebp - 0x60], 0
call fcn.00424640
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00425b30
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x419706
mov byte [ebp - 0x2c], 1
jmp 0x419710
shr al, 4
not al
and al, 1
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x419744
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41973a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e90
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x41978e
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419784
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e90
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x4197d8
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4197ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e90
push edx
push ecx
call fcn.0042a429
add esp, 8
cmp byte [ebp - 0x2c], 0
je 0x419923
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.00424640
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 3
call fcn.0040a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 4
push ecx
push eax
push dword [ebp - 0x2c]
lea ecx, [ebp - 0x48]
call fcn.00425b30
cmp dword [ebp - 0x34], 0x10
lea eax, [ebp - 0x48]
push 0
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x41988f
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419885
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e95
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
cmp edx, 0x10
jb 0x4198d9
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4198cf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e95
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
cmp edx, 0x10
jb 0x419923
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419919
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e95
push edx
push ecx
call fcn.0042a429
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x466dec
call fcn.00423730
lea ecx, [ebp - 0xc0]
call fcn.004061f0
mov dword [ebp - 0x2c], eax
lea eax, [ebp + 8]
mov byte [ebp - 4], 5
mov ecx, esp
push eax
call fcn.00423730
lea ecx, [ebp - 0xa8]
call fcn.00409f00
mov edi, eax
mov ecx, esp
mov byte [ebp - 4], 6
push 0x4675e4
call fcn.00423730
lea ecx, [ebp - 0x90]
call fcn.004061f0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 7
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.00424640
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 8
call fcn.0040a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 9
push ecx
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x108]
call fcn.00425b30
push esi
lea eax, [ebp - 0x108]
mov byte [ebp - 4], 0xa
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0xf0]
call fcn.00425b30
push edi
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 0xb
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x48]
call fcn.00425b30
push 0x45dc1c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xc
call fcn.004235b0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0xd8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0xc8], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
push dword [ebp - 0x2c]
lea eax, [ebp - 0xd8]
mov byte [ebp - 4], 0xd
push eax
push dword [ebp - 0x30]
lea ecx, [ebp - 0x28]
call fcn.00425b30
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x419aad
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419aa3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x34]
cmp edx, 0x10
jb 0x419ae5
mov ecx, dword [ebp - 0x48]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419adb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0xf
mov byte [ebp - 0x48], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x419b35
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b2b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x419b73
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419b69
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x419bab
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419ba1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x4c]
cmp edx, 0x10
jb 0x419bf5
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419beb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x419c30
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419c26
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x419c83
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419c79
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xac]
cmp edx, 0x10
jb 0x419cdc
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419cd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9a
push edx
push ecx
call fcn.0042a429
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45dc14
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0xf
mov byte [ebp - 0xc0], 0
call fcn.0042e5d0
add esp, 8
test eax, eax
je 0x419d5e
push eax
call fcn.0042ebb6
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423730
call fcn.00409e20
add esp, 0x18
cmp eax, 0x4e20
jle 0x419d5e
sub esp, 0x18
mov dword [ebp - 0x30], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466e04
call fcn.00423730
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x18
jmp 0x419dec
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x30], esp
push eax
call fcn.00423730
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00423730
mov byte [ebp - 4], 0x17
call fcn.00410af0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45dc14
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0042e5d0
add esp, 0x38
test eax, eax
je 0x419e03
push eax
call fcn.0042ebb6
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423730
call fcn.00409e20
add esp, 0x18
cmp eax, 0x4e20
jle 0x419e03
sub esp, 0x18
mov dword [ebp - 0x30], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466e04
call fcn.00423730
mov ecx, esi
call fcn.004061f0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00423730
mov byte [ebp - 4], 0x17
call fcn.00408c00
add esp, 0x30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x419e33
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419e29
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9f
push edx
push ecx
call fcn.0042a429
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 0x419e75
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x419e6b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x419e9f
push edx
push ecx
call fcn.0042a429
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.00429db0
mov esp, ebp
pop ebp
ret
call fcn.0042f419
call fcn.0042f419
call fcn.0042f419
call fcn.0042f419
int3