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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d72a
mov eax, dword fs:[0]
push eax
sub esp, 0x1c4
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x148], 0xf
mov byte [ebp - 0x15c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x144]
push 1
push str.0123456789
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x130], 0xf
mov byte [ebp - 0x144], 0
call fcn.0041a950
mov byte [ebp - 4], 9
lea eax, [ebp + 0x38]
mov ecx, 1
mov dword [ebp - 0x1a4], 0
cmp dword [ebp + 0x48], ecx
mov dword [ebp - 0x1a0], 0xf
cmovb ecx, dword [ebp + 0x48]
cmp dword [ebp + 0x4c], 0x10
push ecx
cmovae eax, dword [ebp + 0x38]
lea ecx, [ebp - 0x1b4]
push eax
mov byte [ebp - 0x1b4], 0
call fcn.0041a950
mov edi, dword [ebp - 0x1a0]
lea ecx, [ebp - 0x1b4]
mov esi, dword [ebp - 0x1b4]
cmp edi, 0x10
mov edx, dword [ebp - 0x1a4]
push 1
cmovae ecx, esi
push 0x45be04
call fcn.0041bd00
add esp, 8
mov bl, al
cmp edi, 0x10
jb 0x412a0e
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x412a04
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push ecx
push esi
call fcn.0041fef8
add esp, 8
test bl, bl
je 0x412abc
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
cmp eax, 1
jb 0x4136f7
dec eax
mov ecx, 0x100
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp + 0x4c], 0x10
lea eax, [ebp + 0x38]
cmovae eax, dword [ebp + 0x38]
push ecx
inc eax
lea ecx, [ebp - 0x1b4]
push eax
call fcn.0041a950
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041a070
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x412aaa
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412aa0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
push 1
push 0x45bd6c
lea ecx, [ebp - 0x144]
call fcn.0041a950
sub esp, 0x18
mov ecx, esp
push 0x466b90
call fcn.0041a130
lea ecx, [ebp - 0x1d0]
call fcn.00405ec0
add esp, 0x18
mov byte [ebp - 4], 0xa
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x412ae7
mov edx, dword [eax]
push dword [eax + 0x10]
mov edi, dword [ebp + 0x4c]
lea ecx, [ebp + 0x38]
mov ebx, dword [ebp + 0x38]
cmp edi, 0x10
mov esi, dword [ebp + 0x48]
push edx
cmovae ecx, ebx
mov edx, esi
push 0
call fcn.0041b430
add esp, 0xc
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
lea edx, [eax + 3]
cmp esi, edx
jb 0x4136fc
sub esi, edx
lea eax, [ebp + 0x38]
mov ecx, 0x1e
cmp esi, ecx
cmovb ecx, esi
cmp edi, 0x10
push ecx
cmovae eax, ebx
lea ecx, [ebp - 0x1b4]
add eax, edx
push eax
call fcn.0041a950
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp - 0x15c]
call fcn.0041a070
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x412b9f
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412b95
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413701
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb 0x412bdd
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412bd3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413701
push edx
push ecx
call fcn.0041fef8
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x466b90
call fcn.0041a130
lea ecx, [ebp - 0x1d0]
call fcn.00405ec0
add esp, 0x18
mov byte [ebp - 4], 0xb
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x412c08
mov edx, dword [eax]
push dword [eax + 0x10]
cmp dword [ebp + 0x4c], 0x10
lea ecx, [ebp + 0x38]
mov esi, dword [ebp + 0x48]
cmovae ecx, dword [ebp + 0x38]
push edx
push 0
mov edx, esi
call fcn.0041b430
add esp, 0xc
mov dword [ebp - 0x1a4], 0
cmp esi, eax
mov dword [ebp - 0x1a0], 0xf
lea ecx, [ebp + 0x38]
mov byte [ebp - 0x1b4], 0
cmovb eax, esi
cmp dword [ebp + 0x4c], 0x10
push eax
cmovae ecx, dword [ebp + 0x38]
push ecx
lea ecx, [ebp - 0x1b4]
call fcn.0041a950
lea eax, [ebp - 0x1b4]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041a070
mov edx, dword [ebp - 0x1a0]
cmp edx, 0x10
jb 0x412ca7
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412c9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413706
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb 0x412ce5
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412cdb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413706
push edx
push ecx
call fcn.0041fef8
add esp, 8
call fcn.00439da3
cmp dword [ebp + 0x7c], 0x10
lea esi, [ebp + 0x68]
mov edi, eax
lea eax, [ebp - 0x190]
cmovae esi, dword [ebp + 0x68]
push 0xa
push eax
push esi
mov dword [edi], 0
call fcn.0043b2d9
add esp, 0xc
cmp esi, dword [ebp - 0x190]
je 0x41370b
cmp dword [edi], 0x22
je 0x413724
cmp eax, 3
ja case.default.0x412d2d
jmp dword [eax*4 + 0x413730]
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
mov dword [ebp - 0x19c], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0xc
lea eax, [ebp + 0x38]
mov dword [ebp - 0x190], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0xd
lea eax, [ebp + 0x50]
mov dword [ebp - 0x194], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0xe
mov ecx, esp
call fcn.004090d0
lea ecx, [ebp - 0x1d0]
mov byte [ebp - 4], 9
call fcn.0040f7e0
add esp, 0x60
lea ecx, [ebp - 0x12c]
push eax
call fcn.0041a070
mov edx, dword [ebp - 0x1bc]
cmp edx, 0x10
jb case.default.0x412d2d
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x412f37
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
jmp 0x412f37
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
mov dword [ebp - 0x198], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0xf
lea eax, [ebp + 0x38]
mov dword [ebp - 0x194], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x10
lea eax, [ebp + 0x50]
mov dword [ebp - 0x19c], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x11
mov esi, esp
lea eax, [ebp - 0x114]
mov dword [ebp - 0x190], esi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [ebp - 0x114]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x412e66
sub ecx, edx
lea eax, [ebp - 0x114]
push ecx
push eax
mov ecx, esi
call fcn.0041a950
jmp 0x412d89
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
mov dword [ebp - 0x198], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x12
lea eax, [ebp + 0x38]
mov dword [ebp - 0x194], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x13
lea eax, [ebp + 0x50]
mov dword [ebp - 0x19c], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x14
mov ecx, esp
call fcn.004093d0
jmp 0x412d89
sub esp, 0x18
lea eax, [ebp + 0x80]
mov ecx, esp
mov dword [ebp - 0x198], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x15
lea eax, [ebp + 0x38]
mov dword [ebp - 0x194], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x16
lea eax, [ebp + 0x50]
mov dword [ebp - 0x19c], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov ecx, esp
call fcn.00409250
jmp 0x412d89
push edx
push ecx
call fcn.0041fef8
add esp, 8
sub esp, 0x18
lea eax, [ebp - 0x12c]
mov ecx, esp
mov dword [ebp - 0x198], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x18
lea eax, [ebp + 0x38]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 9
call fcn.0040d270
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push 0x45bdc8
cmovae eax, dword [ebp - 0x12c]
push eax
call fcn.00438fb9
mov edi, dword [ebp - 0x144]
add esp, 0x38
test eax, eax
je 0x4133a8
push eax
call fcn.00439047
add esp, 4
lea eax, [ebp - 0x12c]
lea ecx, [ebp - 0x1b4]
push eax
call fcn.0041a130
cmp dword [ebp - 0x1a0], 0x10
lea ecx, [ebp - 0x18c]
lea eax, [ebp - 0x1b4]
cmovae eax, dword [ebp - 0x1b4]
push ecx
push eax
call fcn.00439d1f
mov edx, dword [ebp - 0x1a0]
or ebx, 0xffffffff
add esp, 8
test eax, eax
cmove ebx, dword [ebp - 0x178]
cmp edx, 0x10
jb 0x413028
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41301e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
call fcn.00439da3
cmp dword [ebp + 0xac], 0x10
lea esi, [ebp + 0x98]
mov dword [ebp - 0x19c], eax
cmovae esi, dword [ebp + 0x98]
mov dword [eax], 0
lea eax, [ebp - 0x190]
push 0xa
push eax
push esi
call fcn.0043b2d9
add esp, 0xc
mov ecx, eax
cmp esi, dword [ebp - 0x190]
je 0x41371a
mov eax, dword [ebp - 0x19c]
cmp dword [eax], 0x22
je 0x413724
cmp ebx, ecx
jle 0x4133a8
sub esp, 0x18
lea eax, [ebp - 0x15c]
mov ecx, esp
mov dword [ebp - 0x198], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp - 0x12c]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 9
call fcn.00407c00
add esp, 0x30
sub esp, 0x18
mov esi, esp
test al, al
je 0x413340
mov dword [ebp - 0x198], esp
sub esp, 0x18
mov ecx, esp
push 0x466e18
call fcn.0041a130
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x1a
mov ecx, esp
mov dword [ebp - 0x194], esp
push 0x466da0
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x1b
lea eax, [ebp + 0x50]
mov dword [ebp - 0x19c], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x1c
lea eax, [ebp + 0x20]
mov dword [ebp - 0x190], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x1d
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 9
call fcn.0040f240
cmp dword [ebp - 0x130], 0x10
lea ecx, [ebp - 0x144]
mov edx, dword [ebp - 0x134]
push 1
cmovae ecx, edi
push 0x45bd6c
call fcn.0041bd00
add esp, 0x80
test al, al
je 0x41342d
sub esp, 0x18
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x1b8], esp
mov esi, esp
push eax
push 0x45bdc4
lea eax, [ebp - 0x12c]
push eax
sub esp, 0x18
mov ecx, esp
push 0x466998
call fcn.0041a130
lea ecx, [ebp - 0x174]
call fcn.00405ec0
add esp, 0x18
mov edx, eax
mov byte [ebp - 4], 0x1e
lea ecx, [ebp - 0x1d0]
call fcn.0041abb0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x1b4]
call fcn.0041ae70
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0x20
mov ecx, esi
call fcn.0041abb0
sub esp, 0x14
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x198], esp
lea eax, [ebp - 0x12c]
mov esi, esp
sub esp, 0x18
mov ecx, esp
push eax
call fcn.0041a130
mov ecx, esi
call fcn.00408d20
mov esi, esp
mov byte [ebp - 4], 0x22
sub esp, 0x18
mov ecx, esp
push 0x4669b0
call fcn.0041a130
mov ecx, esi
call fcn.00405ec0
add esp, 0x18
mov byte [ebp - 4], 0x20
call fcn.004061a0
mov edx, dword [ebp - 0x1a0]
add esp, 0x48
cmp edx, 0x10
jb 0x41328d
mov ecx, dword [ebp - 0x1b4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413283
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp - 0x1bc]
mov dword [ebp - 0x1a4], 0
mov dword [ebp - 0x1a0], 0xf
mov byte [ebp - 0x1b4], 0
cmp edx, 0x10
jb 0x4132e2
mov ecx, dword [ebp - 0x1d0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4132d8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x1c0], 0
mov dword [ebp - 0x1bc], 0xf
mov byte [ebp - 0x1d0], 0
cmp edx, 0x10
jb 0x41342d
mov ecx, dword [ebp - 0x174]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413331
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
jmp 0x41342d
mov dword [ebp - 0x1b8], esp
sub esp, 0x18
mov ecx, esp
push 0x467550
call fcn.0041a130
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x23
mov ecx, esp
mov dword [ebp - 0x198], esp
push 0x466da0
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x24
lea eax, [ebp + 0x50]
mov dword [ebp - 0x194], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x25
lea eax, [ebp + 0x20]
mov dword [ebp - 0x19c], esp
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 0x26
jmp 0x413413
sub esp, 0x18
mov dword [ebp - 0x1b8], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x4673b8
call fcn.0041a130
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x27
mov ecx, esp
mov dword [ebp - 0x198], esp
push 0x466da0
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x28
lea eax, [ebp + 0x50]
mov dword [ebp - 0x194], esp
mov ecx, esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x29
lea eax, [ebp + 0x20]
mov dword [ebp - 0x19c], esp
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 0x2a
sub esp, 0x18
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 9
call fcn.0040f240
add esp, 0x78
mov eax, dword [ebp - 0x130]
cmp eax, 0x10
jb 0x413463
lea ecx, [eax + 1]
mov eax, edi
cmp ecx, 0x1000
jb 0x413459
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push ecx
push edi
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp - 0x148]
cmp edx, 0x10
jb 0x41349d
mov ecx, dword [ebp - 0x15c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413493
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 0x10
jb 0x4134d7
mov ecx, dword [ebp - 0x12c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4134cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp + 0x1c]
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0xf
mov byte [ebp - 0x12c], 0
cmp edx, 0x10
jb 0x413526
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41351c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
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 0x41356c
mov ecx, dword [ebp + 0x20]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413562
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
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 0x4135b2
mov ecx, dword [ebp + 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4135a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
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 0x4135f8
mov ecx, dword [ebp + 0x50]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4135ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
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 0x41363e
mov ecx, dword [ebp + 0x68]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413634
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp + 0x94]
mov dword [ebp + 0x78], 0
mov dword [ebp + 0x7c], 0xf
mov byte [ebp + 0x68], 0
cmp edx, 0x10
jb 0x41368a
mov ecx, dword [ebp + 0x80]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413680
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov edx, dword [ebp + 0xac]
mov dword [ebp + 0x90], 0
mov dword [ebp + 0x94], 0xf
mov byte [ebp + 0x80], 0
cmp edx, 0x10
jb 0x4136db
mov ecx, dword [ebp + 0x98]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4136d1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x413715
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f881
mov esp, ebp
pop ebp
ret
call fcn.0041aa90
call fcn.0041aa90
call fcn.004394fa
call fcn.004394fa
push str.invalid_stoi_argument
call fcn.0041ea29
call fcn.004394fa
push str.invalid_stoi_argument
call fcn.0041ea29
push str.stoi_argument_out_of_range
call fcn.0041ea69
nop
xor al, 0x2d
inc ecx
add ah, ah
sub eax, 0x2e830041
inc ecx
add ch, bl
inc ecx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44d80e
mov eax, dword fs:[0]
push eax
sub esp, 0x144
mov eax, dword [0x466014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
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 edi, 0xe
mov dword [ebp - 0x68], 0
mov ecx, edi
mov dword [ebp - 0x64], 0xf
cmp dword [0x4671e8], ecx
mov eax, 0x4671d8
mov byte [ebp - 0x78], 0
cmovb ecx, dword [0x4671e8]
cmp dword [0x4671ec], 0x10
push ecx
cmovae eax, dword [0x4671d8]
lea ecx, [ebp - 0x78]
push eax
call fcn.0041a950
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 1
call fcn.004090d0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
push ecx
mov edx, eax
lea ecx, [ebp - 0x90]
call fcn.0041aab0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x4137f2
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x413804
mov bl, 1
jmp 0x41380c
shr bl, 4
not bl
and bl, 1
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x413843
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413839
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140ce
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x94]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x413896
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41388c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140ce
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x4138e9
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4138df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140ce
push edx
push ecx
call fcn.0041fef8
add esp, 8
test bl, bl
je 0x413a44
mov ecx, edi
mov dword [ebp - 0x68], 0
cmp dword [0x4671e8], ecx
mov eax, 0x4671d8
mov dword [ebp - 0x64], 0xf
cmovb ecx, dword [0x4671e8]
cmp dword [0x4671ec], 0x10
push ecx
cmovae eax, dword [0x4671d8]
lea ecx, [ebp - 0x78]
push eax
mov byte [ebp - 0x78], 0
call fcn.0041a950
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.004090d0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
push ecx
mov edx, eax
lea ecx, [ebp - 0xa8]
call fcn.0041aab0
add esp, 4
cmp dword [eax + 0x14], 0x10
jb 0x41395e
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x4139a1
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413997
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d3
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
cmp edx, 0x10
jb 0x4139f7
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4139ed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d3
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov byte [ebp - 4], 0
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x413a44
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413a3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d3
push edx
push ecx
call fcn.0041fef8
add esp, 8
sub esp, 0x18
mov ecx, esp
push 0x466ba8
call fcn.0041a130
lea ecx, [ebp - 0x150]
call fcn.00405ec0
add esp, 0x18
push eax
push 0x45bdd0
sub esp, 0x18
mov byte [ebp - 4], 5
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041a130
lea ecx, [ebp - 0x138]
call fcn.00408b70
add esp, 0x18
push eax
sub esp, 0x18
mov byte [ebp - 4], 6
mov ecx, esp
push 0x4672e0
call fcn.0041a130
lea ecx, [ebp - 0x120]
call fcn.00405ec0
add esp, 0x18
mov esi, eax
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x78]
cmp dword [0x4671e8], 0xe
mov eax, 0x4671d8
mov dword [ebp - 0x68], 0
cmovb edi, dword [0x4671e8]
cmp dword [0x4671ec], 0x10
push edi
cmovae eax, dword [0x4671d8]
push eax
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
call fcn.0041a950
lea ecx, [ebp - 0x108]
mov byte [ebp - 4], 8
call fcn.004090d0
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 9
push ecx
mov edx, eax
lea ecx, [ebp - 0xf0]
call fcn.0041aab0
push esi
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xd8]
call fcn.0041aab0
add esp, 8
mov edx, eax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x90]
call fcn.0041aab0
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xa8]
call fcn.0041ae70
add esp, 4
mov edx, eax
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x28]
call fcn.0041aab0
add esp, 4
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x94]
cmp edx, 0x10
jb 0x413b9c
mov ecx, dword [ebp - 0xa8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413b92
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0xf
mov byte [ebp - 0xa8], 0
mov byte [ebp - 4], 0x10
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x413bf2
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413be8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0xc4]
cmp edx, 0x10
jb 0x413c45
mov ecx, dword [ebp - 0xd8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413c3b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0xf
mov byte [ebp - 0xd8], 0
mov byte [ebp - 4], 0x12
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x413c9e
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413c94
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0xf
mov byte [ebp - 0xf0], 0
mov byte [ebp - 4], 0x13
mov edx, dword [ebp - 0xf4]
cmp edx, 0x10
jb 0x413cf7
mov ecx, dword [ebp - 0x108]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413ced
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0xf
mov byte [ebp - 0x108], 0
mov byte [ebp - 4], 0x14
mov edx, dword [ebp - 0x64]
cmp edx, 0x10
jb 0x413d4a
mov ecx, dword [ebp - 0x78]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413d40
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0xf
mov byte [ebp - 0x78], 0
mov byte [ebp - 4], 0x15
mov edx, dword [ebp - 0x10c]
cmp edx, 0x10
jb 0x413d9a
mov ecx, dword [ebp - 0x120]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413d90
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0x110], 0
mov dword [ebp - 0x10c], 0xf
mov byte [ebp - 0x120], 0
mov byte [ebp - 4], 0x16
mov edx, dword [ebp - 0x124]
cmp edx, 0x10
jb 0x413df3
mov ecx, dword [ebp - 0x138]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413de9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x124], 0xf
mov byte [ebp - 0x138], 0
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x13c]
cmp edx, 0x10
jb 0x413e4c
mov ecx, dword [ebp - 0x150]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413e42
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140d8
push edx
push ecx
call fcn.0041fef8
add esp, 8
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45bdc8
cmovae eax, dword [ebp - 0x28]
push eax
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0xf
mov byte [ebp - 0x150], 0
call fcn.00438fb9
add esp, 8
or esi, 0xffffffff
test eax, eax
je 0x413f35
push eax
call fcn.00439047
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0041a130
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push ecx
push eax
call fcn.00439d1f
mov edx, dword [ebp - 0xac]
add esp, 8
test eax, eax
mov edi, esi
cmove edi, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x413f06
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413efc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140dd
push edx
push ecx
call fcn.0041fef8
add esp, 8
cmp edi, 0x4e20
jle 0x413f35
sub esp, 0x18
mov dword [ebp - 0x5c], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466bc0
call fcn.0041a130
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x18
jmp 0x414025
sub esp, 0x18
lea eax, [ebp - 0x28]
mov ecx, esp
mov dword [ebp - 0x60], esp
push eax
call fcn.0041a130
sub esp, 0x18
mov byte [ebp - 4], 0x19
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 0x17
call fcn.0040d270
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push 0x45bdc8
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00438fb9
add esp, 0x38
test eax, eax
je 0x41403c
push eax
call fcn.00439047
add esp, 4
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0xc0]
push eax
call fcn.0041a130
cmp dword [ebp - 0xac], 0x10
lea ecx, [ebp - 0x58]
lea eax, [ebp - 0xc0]
cmovae eax, dword [ebp - 0xc0]
push ecx
push eax
call fcn.00439d1f
mov edx, dword [ebp - 0xac]
add esp, 8
test eax, eax
cmove esi, dword [ebp - 0x44]
cmp edx, 0x10
jb 0x413ffb
mov ecx, dword [ebp - 0xc0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x413ff1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140e2
push edx
push ecx
call fcn.0041fef8
add esp, 8
cmp esi, 0x4e20
jle 0x41403c
sub esp, 0x18
mov dword [ebp - 0x60], esp
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x466bc0
call fcn.0041a130
mov ecx, esi
call fcn.00405ec0
mov byte [ebp - 4], 0x1a
lea eax, [ebp - 0x28]
mov ecx, esp
push eax
call fcn.0041a130
mov byte [ebp - 4], 0x17
call fcn.00407c00
add esp, 0x30
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x414070
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x414066
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140e7
push edx
push ecx
call fcn.0041fef8
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 0x4140b2
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4140a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4140e7
push edx
push ecx
call fcn.0041fef8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041f881
mov esp, ebp
pop ebp
ret
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
call fcn.004394fa
int3