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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44bc52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x140
push ebx
push esi
push edi
push 0x2710
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, 0xe
mov dword [ebp - 0x1c], 0
mov ecx, edi
mov dword [ebp - 0x18], 0xf
cmp dword [0x464260], ecx
mov eax, 0x464250
mov byte [ebp - 0x2c], 0
cmovb ecx, dword [0x464260]
cmp dword [0x464264], 0x10
push ecx
cmovae eax, dword [0x464250]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041a7c0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.004081e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x44]
call fcn.0041a910
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4139ff
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x413a11
mov bl, 1
jmp 0x413a19
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x413a4d
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413a43
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414281
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x413a97
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413a8d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414281
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x413ae1
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413ad7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414281
push edx
push ecx
call fcn.0041f5bc
add esp, 8
test bl, bl
je 0x413c21
mov ecx, edi
mov dword [ebp - 0x1c], 0
cmp dword [0x464260], ecx
mov eax, 0x464250
mov dword [ebp - 0x18], 0xf
cmovb ecx, dword [0x464260]
cmp dword [0x464264], 0x10
push ecx
cmovae eax, dword [0x464250]
lea ecx, [ebp - 0x2c]
push eax
mov byte [ebp - 0x2c], 0
call fcn.0041a7c0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.004081e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0x5c]
call fcn.0041a910
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x413b50
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x413b8d
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413b83
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414286
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp edx, 0x10
jb 0x413bd7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413bcd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414286
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
cmp edx, 0x10
jb 0x413c21
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413c17
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414286
push edx
push ecx
call fcn.0041f5bc
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x463ba8
call fcn.00419ff0
lea ecx, [ebp - 0x11c]
call fcn.00405210
add esp, 0x18
push eax
push 0x459f20
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00419ff0
lea ecx, [ebp - 0x104]
call fcn.00407a80
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x464370
call fcn.00419ff0
lea ecx, [ebp - 0xec]
call fcn.00405210
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x2c]
cmp dword [0x464260], 0xe
mov eax, 0x464250
mov dword [ebp - 0x1c], 0
cmovb edi, dword [0x464260]
cmp dword [0x464264], 0x10
push edi
cmovae eax, dword [0x464250]
push eax
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
call fcn.0041a7c0
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 8
call fcn.004081e0
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0xbc]
call fcn.0041a910
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xa4]
call fcn.0041a910
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.0041a910
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x5c]
call fcn.0041abe0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x74]
call fcn.0041a910
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x48]
cmp edx, 0x10
jb 0x413d6d
mov ecx, dword [ebp - 0x5c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413d63
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x30]
cmp edx, 0x10
jb 0x413db7
mov ecx, dword [ebp - 0x44]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413dad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x90]
cmp edx, 0x10
jb 0x413e07
mov ecx, dword [ebp - 0xa4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413dfd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0xf
mov byte [ebp - 0xa4], 0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xa8]
cmp edx, 0x10
jb 0x413e60
mov ecx, dword [ebp - 0xbc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413e56
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0xac], 0
mov dword [ebp - 0xa8], 0xf
mov byte [ebp - 0xbc], 0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xc0]
cmp edx, 0x10
jb 0x413eb9
mov ecx, dword [ebp - 0xd4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413eaf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0xc4], 0
mov dword [ebp - 0xc0], 0xf
mov byte [ebp - 0xd4], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x18]
cmp edx, 0x10
jb 0x413f0c
mov ecx, dword [ebp - 0x2c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413f02
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0xf
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0xd8]
cmp edx, 0x10
jb 0x413f5c
mov ecx, dword [ebp - 0xec]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413f52
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0xdc], 0
mov dword [ebp - 0xd8], 0xf
mov byte [ebp - 0xec], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0xf0]
cmp edx, 0x10
jb 0x413fb5
mov ecx, dword [ebp - 0x104]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413fab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xf
mov byte [ebp - 0x104], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x108]
cmp edx, 0x10
jb 0x41400e
mov ecx, dword [ebp - 0x11c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414004
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41428b
push edx
push ecx
call fcn.0041f5bc
add esp, 8
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push 0x459f18
cmovae eax, dword [ebp - 0x74]
push eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0xf
mov byte [ebp - 0x11c], 0
call fcn.00438786
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x4140f7
push eax
call fcn.00438814
add esp, 4
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00419ff0
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x14c]
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
push eax
call fcn.004394ec
mov edx, dword [ebp - 0x78]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x4140c8
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4140be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414290
push edx
push ecx
call fcn.0041f5bc
add esp, 8
cmp edi, 0x4e20
jle 0x4140f7
sub esp, 0x18
mov dword [ebp - 0x10], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x463bc0
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
mov byte [ebp - 4], 0x18
jmp 0x4141e7
sub esp, 0x18
lea eax, [ebp - 0x74]
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00419ff0
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 0x17
call fcn.0040b880
cmp dword [ebp - 0x60], 0x10
lea eax, [ebp - 0x74]
push 0x459f18
cmovae eax, dword [ebp - 0x74]
push eax
call fcn.00438786
add esp, 0x38
test eax, eax
je 0x4141fe
push eax
call fcn.00438814
add esp, 4
lea eax, [ebp - 0x74]
lea ecx, [ebp - 0x8c]
push eax
call fcn.00419ff0
cmp dword [ebp - 0x78], 0x10
lea ecx, [ebp - 0x14c]
lea eax, [ebp - 0x8c]
cmovae eax, dword [ebp - 0x8c]
push ecx
push eax
call fcn.004394ec
mov edx, dword [ebp - 0x78]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0x138]
cmp edx, 0x10
jb 0x4141bd
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4141b3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x414295
push edx
push ecx
call fcn.0041f5bc
add esp, 8
cmp esi, 0x4e20
jle 0x4141fe
sub esp, 0x18
mov dword [ebp - 0x14], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x463bc0
call fcn.00419ff0
mov ecx, esi
call fcn.00405210
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x74]
mov ecx, esp
push eax
call fcn.00419ff0
mov byte [ebp - 4], 0x17
call fcn.00406be0
add esp, 0x30
mov edx, dword [ebp - 0x60]
cmp edx, 0x10
jb 0x41422e
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414224
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41429a
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
cmp edx, 0x10
jb 0x414270
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414266
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41429a
push edx
push ecx
call fcn.0041f5bc
add esp, 8
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
call fcn.00438cc7
int3