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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x24ae76
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x265124]
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 [0x2664a4], ecx
mov eax, 0x266494
mov dword [ebp - 0x50], 0
cmovb ecx, dword [0x2664a4]
cmp dword [0x2664a8], 0x10
push ecx
cmovae eax, dword [0x266494]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00223f40
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 5
call fcn.0020a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 6
push ecx
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x7c]
call fcn.00225430
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 0x21abfe
mov byte [ebp - 0x44], 1
jmp 0x21ac08
shr al, 4
not al
and al, 1
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x21ac3c
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21ac32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b70c
push edx
push ecx
call fcn.00229d26
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 0x21ac8c
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21ac82
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b70c
push edx
push ecx
call fcn.00229d26
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 0x21acdf
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21acd5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b70c
push edx
push ecx
call fcn.00229d26
add esp, 8
cmp byte [ebp - 0x44], 0
je 0x21ae3c
mov ecx, esi
mov dword [ebp - 0x60], 0
cmp dword [0x2664a4], ecx
mov eax, 0x266494
mov dword [ebp - 0x50], 0
cmovb ecx, dword [0x2664a4]
cmp dword [0x2664a8], 0x10
push ecx
cmovae eax, dword [0x266494]
lea ecx, [ebp - 0x60]
push eax
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00223f40
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], 7
call fcn.0020a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
push ecx
push eax
push dword [ebp - 0x44]
lea ecx, [ebp - 0x7c]
call fcn.00225430
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 0x21ad99
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21ad8f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b711
push edx
push ecx
call fcn.00229d26
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 0x21ade9
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21addf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b711
push edx
push ecx
call fcn.00229d26
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 0x21ae3c
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21ae32
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b711
push edx
push ecx
call fcn.00229d26
add esp, 8
sub esp, 0x18
mov ecx, esp
push str.W1im
call fcn.00223030
lea ecx, [ebp - 0xfc]
call fcn.002061f0
mov dword [ebp - 0x44], eax
lea eax, [ebp + 0x50]
mov byte [ebp - 4], 9
mov ecx, esp
push eax
call fcn.00223030
lea ecx, [ebp - 0xe4]
call fcn.00209f00
mov edi, eax
mov ecx, esp
mov byte [ebp - 4], 0xa
push str.UE
call fcn.00223030
lea ecx, [ebp - 0xcc]
call fcn.002061f0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x60]
cmp dword [0x2664a4], 0xe
mov edx, 0xe
mov eax, 0x266494
mov dword [ebp - 0x60], 0
cmovb edx, dword [0x2664a4]
cmp dword [0x2664a8], 0x10
push edx
cmovae eax, dword [0x266494]
push eax
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0xf
mov byte [ebp - 0x60], 0
call fcn.00223f40
lea ecx, [ebp - 0xb4]
mov byte [ebp - 4], 0xc
call fcn.0020a470
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xd
push ecx
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x40]
call fcn.00225430
push esi
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 0xe
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x114]
call fcn.00225430
push edi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 0xf
push eax
push dword [ebp - 0x48]
lea ecx, [ebp - 0x7c]
call fcn.00225430
push 0x25cc84
lea ecx, [ebp - 0x7c]
mov byte [ebp - 4], 0x10
call fcn.00222eb0
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.00225430
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x21afc3
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21afb9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
add esp, 8
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x68]
cmp edx, 0x10
jb 0x21affb
mov ecx, dword [ebp - 0x7c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21aff1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
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 0x21b04b
mov ecx, dword [ebp - 0x114]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b041
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
add esp, 8
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x21b083
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b079
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
add esp, 8
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0xa0]
cmp edx, 0x10
jb 0x21b0c1
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b0b7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
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 0x21b114
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b10a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
add esp, 8
mov byte [ebp - 4], 0x19
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x21b152
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
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 0x21b1ab
mov ecx, dword [ebp - 0xe4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b1a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
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 0x21b204
mov ecx, dword [ebp - 0xfc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b1fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b716
push edx
push ecx
call fcn.00229d26
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.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x50]
mov ecx, esp
push eax
call fcn.00223030
mov byte [ebp - 4], 0x1b
call fcn.002108b0
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x25cc7c
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.0022ded0
add esp, 0x38
test eax, eax
je 0x21b4e7
push eax
call fcn.0022e4b9
sub esp, 0x14
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.00223030
call fcn.00209e20
add esp, 0x18
cmp eax, 0x4e20
jle 0x21b4e7
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 0x25ce9c
mov byte [ebp - 0x60], 0
call fcn.00223f40
lea eax, [ebp + 0x68]
mov byte [ebp - 4], 0x1d
push eax
lea ecx, [ebp - 0x98]
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x1f
lea eax, [ebp - 0x98]
mov ecx, esp
push eax
call fcn.00223030
lea ecx, [ebp - 0x40]
call fcn.00204ef0
lea eax, [ebp - 0x60]
mov byte [ebp - 4], 0x20
push eax
lea edx, [ebp - 0x40]
mov ecx, esi
call fcn.00205e30
mov byte [ebp - 4], 0x1f
add esp, 0x1c
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x21b340
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b336
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b71b
push edx
push ecx
call fcn.00229d26
add esp, 8
mov byte [ebp - 4], 0x1e
mov edx, dword [ebp - 0x84]
cmp edx, 0x10
jb 0x21b37e
mov ecx, dword [ebp - 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b374
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b720
push edx
push ecx
call fcn.00229d26
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 0x21b3d1
mov ecx, dword [ebp - 0x60]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b3c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b720
push edx
push ecx
call fcn.00229d26
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.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x22
mov ecx, esp
push 0
push 0x25be8b
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
call fcn.00223f40
mov byte [ebp - 4], 0x1b
call fcn.002089e0
add esp, 0x48
sub esp, 0x18
cmp dword [0x26ac94], 0x2a
mov esi, esp
jne 0x21b488
mov dword [ebp - 0x80], esp
sub esp, 0x18
mov ecx, esp
push str.WHF
call fcn.00223030
mov ecx, esi
call fcn.002061f0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x48], esp
push str.220794414126
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x38]
mov dword [ebp - 0x44], esp
mov ecx, esp
push eax
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x64], esp
mov ecx, esp
push eax
call fcn.00223030
mov byte [ebp - 4], 0x26
jmp 0x21b549
mov dword [ebp - 0x9c], esp
sub esp, 0x18
mov ecx, esp
push str.WXJ
call fcn.00223030
mov ecx, esi
call fcn.002061f0
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.220794414126
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00223030
mov byte [ebp - 4], 0x2a
jmp 0x21b549
sub esp, 0x18
mov dword [ebp - 0x9c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push str.WXF
call fcn.00223030
mov ecx, esi
call fcn.002061f0
mov byte [ebp - 4], 0x2b
mov ecx, esp
mov dword [ebp - 0x64], esp
push str.220794414126
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x2c
lea eax, [ebp + 0x38]
mov dword [ebp - 0x80], esp
mov ecx, esp
push eax
call fcn.00223030
sub esp, 0x18
mov byte [ebp - 4], 0x2d
lea eax, [ebp + 0x20]
mov dword [ebp - 0x48], esp
mov ecx, esp
push eax
call fcn.00223030
mov byte [ebp - 4], 0x2e
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00223030
mov byte [ebp - 4], 0x1b
call fcn.002138b0
mov edx, dword [ebp - 0x14]
add esp, 0x78
cmp edx, 0x10
jb 0x21b597
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b58d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b725
push edx
push ecx
call fcn.00229d26
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 0x21b5dd
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b5d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b725
push edx
push ecx
call fcn.00229d26
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 0x21b623
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b619
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b725
push edx
push ecx
call fcn.00229d26
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 0x21b669
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b65f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b725
push edx
push ecx
call fcn.00229d26
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 0x21b6af
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b6a5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b725
push edx
push ecx
call fcn.00229d26
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 0x21b6f1
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x21b6e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x21b725
push edx
push ecx
call fcn.00229d26
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.002296b0
mov esp, ebp
pop ebp
ret
call fcn.0022ea38
call fcn.0022ea38
call fcn.0022ea38
call fcn.0022ea38
call fcn.0022ea38
call fcn.0022ea38
int3