Function at 0x1001b100
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009c7d2
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x100cc464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x5c], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], esi
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x48], 1
call fcn.100182d0
test al, al
je 0x1001b466
lea eax, [ebp - 0x58]
push eax
call fcn.10049990
add esp, 4
mov edi, eax
mov eax, dword [edi]
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 0
mov ecx, dword [eax - 0x10]
test ecx, ecx
je 0x1001b1a0
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, eax
test ecx, ecx
jne 0x1001b1b8
call fcn.10008980
mov ecx, eax
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
mov ecx, eax
test ecx, ecx
je 0x1001b485
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov dword [ebp - 0x48], 3
lea esi, [eax + 0x10]
mov eax, dword [edi]
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x50], eax
mov edi, dword [eax - 0xc]
mov dword [ebp - 0x54], edi
lea edx, [edi + 0x14]
test edx, edx
js 0x1001b48f
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
jge 0x1001b1ff
push edx
lea ecx, [ebp - 0x44]
call fcn.1000b050
mov esi, dword [ebp - 0x44]
add edi, edi
push edi
push dword [ebp - 0x50]
push edi
push esi
call fcn.1000e340
lea eax, [edi + esi]
add esp, 0x10
test eax, eax
jne 0x1001b228
call fcn.100792d2
mov dword [eax], 0x16
call fcn.100791f9
jmp 0x1001b238
push 0x28
push str.PowerCalculator.exe
push eax
call fcn.100751d0
add esp, 0xc
mov eax, dword [ebp - 0x54]
add eax, 0x14
cmp eax, dword [esi - 8]
jg 0x1001b48f
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
xor eax, eax
mov dword [ebp - 0x18], ecx
mov ecx, esi
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b265
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x28]
call fcn.1000c570
mov dword [ebp - 0x48], 1
lea edx, [esi - 0x10]
mov byte [ebp - 4], 4
or esi, 0xffffffff
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001b2a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x58]
mov byte [ebp - 4], 5
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x1001b2bf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001b42d
xorps xmm0, xmm0
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
movq qword [ebp - 0x30], xmm0
call fcn.10048120
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 6
call fcn.10017fc0
push 0
push 0x100a46c4
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0xf
mov byte [ebp - 0x74], 0
call fcn.1000c470
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x90]
push eax
lea ecx, [ebp - 0x40]
call fcn.10049200
mov esi, dword [ebp - 0x4c]
mov edi, eax
cmp esi, edi
je 0x1001b3a3
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x1001b371
mov eax, dword [esi]
inc ecx
cmp ecx, 0x1000
jb 0x1001b367
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b499
mov eax, edx
push ecx
push eax
call fcn.10057df5
add esp, 8
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
mov byte [esi], 0
movups xmm0, xmmword [edi]
movups xmmword [esi], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
mov edx, dword [ebp - 0x7c]
cmp edx, 0x10
jb 0x1001b3da
mov ecx, dword [ebp - 0x90]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b3d0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b499
push edx
push ecx
call fcn.10057df5
add esp, 8
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0xf
mov byte [ebp - 0x90], 0
cmp edx, 0x10
jb 0x1001b423
mov ecx, dword [ebp - 0x74]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b419
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b49e
push edx
push ecx
call fcn.10057df5
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.10045730
jmp 0x1001b430
mov esi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x1001b466
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1001b45c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001b4a3
push edx
push ecx
call fcn.10057df5
add esp, 8
mov eax, esi
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.10058174
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10007510
push 0x80070057
call fcn.10007510
call fcn.10079209
call fcn.10079209
call fcn.10079209
int3