Function at 0x1000f030
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1007825b
mov eax, dword fs:[0]
push eax
sub esp, 0x378
mov eax, dword [0x10098f00]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x37c], ecx
mov eax, dword [ebp - 0x37c]
cmp dword [eax + 0xd4], 0
je 0x1000f140
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x37c]
mov ecx, dword [edx + 0xd4]
call fcn.10022520
jmp 0x1000f099
lea ecx, [ebp - 0x234]
call fcn.1003aac0
lea eax, [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x37c]
mov ecx, dword [ecx + 0xd4]
call fcn.10033780
push eax
lea ecx, [ebp - 0x234]
call fcn.1003e630
movzx edx, al
test edx, edx
je 0x1000f12f
lea ecx, [ebp - 0x234]
call fcn.10022550
mov eax, dword [eax]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
je 0x1000f12a
mov ecx, dword [ebp - 0x238]
mov dword [ebp - 0x308], ecx
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0x304], edx
cmp dword [ebp - 0x304], 0
je 0x1000f116
push 1
mov ecx, dword [ebp - 0x304]
call fcn.10010750
mov dword [ebp - 0x380], eax
jmp 0x1000f120
mov dword [ebp - 0x380], 0
mov dword [ebp - 0x238], 0
jmp 0x1000f08e
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax + 0xd4]
call fcn.10038230
mov byte [ebp - 0x22c], 0
push 0x1f3
push 0
lea ecx, [ebp - 0x22b]
push ecx
call fcn.1005bf00
add esp, 0xc
mov dword [ebp - 0x30], 0
call fcn.10012680
mov ecx, eax
call fcn.10017670
push eax
lea ecx, [ebp - 0x2c]
call fcn.10001230
mov dword [ebp - 4], 0
push 0x100803e8
lea ecx, [ebp - 0x2c]
call fcn.100110b0
lea ecx, [ebp - 0x2c]
call fcn.100110d0
push eax
call fcn.10017b60
add esp, 4
mov edx, dword [ebp - 0x37c]
cmp dword [edx + 0xdc], 0
je 0x1000f7e2
lea ecx, [ebp - 0x24c]
call fcn.100449b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.100449b0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x37c]
mov dword [eax + 0xc], 0
lea ecx, [ebp - 0x264]
push ecx
mov edx, dword [ebp - 0x37c]
mov ecx, dword [edx + 0xdc]
call fcn.10022520
jmp 0x1000f20a
push 0
lea eax, [ebp - 0x310]
push eax
lea ecx, [ebp - 0x264]
call fcn.100112b0
lea ecx, [ebp - 0x318]
push ecx
mov edx, dword [ebp - 0x37c]
mov ecx, dword [edx + 0xdc]
call fcn.10033780
push eax
lea ecx, [ebp - 0x264]
call fcn.1003e630
movzx eax, al
test eax, eax
je 0x1000f2f5
lea ecx, [ebp - 0x264]
call fcn.10022550
mov ecx, dword [eax]
mov dword [ebp - 0x268], ecx
push 0x100803f8
mov ecx, dword [ebp - 0x268]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f2f0
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
call fcn.10017cc0
add esp, 8
push 0
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x37c]
add ecx, 0x54
call fcn.10010fb0
cmp eax, 0xffffffff
jne 0x1000f2f0
mov ecx, dword [ebp - 0x37c]
mov edx, dword [ecx + 0xc]
add edx, 1
mov eax, dword [ebp - 0x37c]
mov dword [eax + 0xc], edx
mov ecx, dword [ebp - 0x268]
push ecx
mov ecx, dword [ebp - 0x37c]
call fcn.10010410
test eax, eax
jne 0x1000f2f0
mov edx, dword [ebp - 0x268]
push edx
mov ecx, dword [ebp - 0x37c]
call fcn.10010490
test eax, eax
jne 0x1000f2f0
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x24c]
call fcn.100337e0
jmp 0x1000f1f6
mov ecx, dword [ebp - 0x37c]
mov ecx, dword [ecx + 0xe0]
call fcn.10038420
mov edx, dword [ebp - 0x37c]
mov ecx, dword [edx + 0xc]
sub ecx, eax
mov edx, dword [ebp - 0x37c]
mov dword [edx + 0xc], ecx
lea ecx, [ebp - 0x24c]
call fcn.10038420
mov dword [ebp - 0x23c], eax
lea ecx, [ebp - 0x25c]
call fcn.10038230
cmp dword [ebp - 0x23c], 3
jge 0x1000f4b8
mov eax, 3
sub eax, dword [ebp - 0x23c]
mov dword [ebp - 0x270], eax
mov dword [ebp - 0x26c], 0
lea ecx, [ebp - 0x278]
push ecx
mov edx, dword [ebp - 0x37c]
mov ecx, dword [edx + 0xe4]
call fcn.10022520
jmp 0x1000f38c
push 0
lea eax, [ebp - 0x320]
push eax
lea ecx, [ebp - 0x278]
call fcn.100112b0
lea ecx, [ebp - 0x328]
push ecx
mov edx, dword [ebp - 0x37c]
mov ecx, dword [edx + 0xe4]
call fcn.10033780
push eax
lea ecx, [ebp - 0x278]
call fcn.1003e630
movzx eax, al
test eax, eax
je 0x1000f416
mov ecx, dword [ebp - 0x26c]
cmp ecx, dword [ebp - 0x270]
jl 0x1000f3c7
jmp 0x1000f416
lea ecx, [ebp - 0x278]
call fcn.10022550
mov edx, dword [eax]
mov dword [ebp - 0x27c], edx
mov eax, dword [ebp - 0x27c]
push eax
mov ecx, dword [ebp - 0x37c]
call fcn.10010490
test eax, eax
jne 0x1000f411
lea ecx, [ebp - 0x27c]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.100337e0
mov edx, dword [ebp - 0x26c]
add edx, 1
mov dword [ebp - 0x26c], edx
jmp 0x1000f378
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax + 0xe4]
call fcn.10038230
lea ecx, [ebp - 0x284]
push ecx
lea ecx, [ebp - 0x24c]
call fcn.10022520
jmp 0x1000f44f
push 0
lea edx, [ebp - 0x330]
push edx
lea ecx, [ebp - 0x284]
call fcn.100112b0
lea eax, [ebp - 0x338]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10033780
push eax
lea ecx, [ebp - 0x284]
call fcn.1003e630
movzx ecx, al
test ecx, ecx
je 0x1000f4b3
lea ecx, [ebp - 0x284]
call fcn.10022550
mov edx, dword [eax]
mov dword [ebp - 0x288], edx
lea eax, [ebp - 0x288]
push eax
mov ecx, dword [ebp - 0x37c]
mov ecx, dword [ecx + 0xe4]
call fcn.100337e0
lea edx, [ebp - 0x288]
push edx
lea ecx, [ebp - 0x25c]
call fcn.100337e0
jmp 0x1000f43b
jmp 0x1000f592
mov dword [ebp - 0x28c], 0
jmp 0x1000f4d3
mov eax, dword [ebp - 0x28c]
add eax, 1
mov dword [ebp - 0x28c], eax
cmp dword [ebp - 0x28c], 3
jge 0x1000f592
lea ecx, [ebp - 0x24c]
call fcn.10038420
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
jle 0x1000f58d
mov dword [ebp - 0x294], 0
mov ecx, dword [ebp - 0x290]
sub ecx, 1
mov dword [ebp - 0x29c], ecx
mov dword [ebp - 0x298], 0
mov edx, dword [ebp - 0x298]
push edx
lea ecx, [ebp - 0x24c]
call fcn.100112f0
mov eax, dword [eax]
mov dword [ebp - 0x2a0], eax
mov ecx, dword [ebp - 0x298]
push ecx
lea edx, [ebp - 0x348]
push edx
lea eax, [ebp - 0x340]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10022520
mov ecx, eax
call fcn.10033c50
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x350]
push eax
lea ecx, [ebp - 0x24c]
call fcn.10011340
lea ecx, [ebp - 0x2a0]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.100337e0
jmp 0x1000f4c4
lea edx, [ebp - 0x2a8]
push edx
lea ecx, [ebp - 0x25c]
call fcn.10022520
jmp 0x1000f5ba
push 0
lea eax, [ebp - 0x358]
push eax
lea ecx, [ebp - 0x2a8]
call fcn.100112b0
lea ecx, [ebp - 0x360]
push ecx
lea ecx, [ebp - 0x25c]
call fcn.10033780
push eax
lea ecx, [ebp - 0x2a8]
call fcn.1003e630
movzx edx, al
test edx, edx
je 0x1000f7c4
lea ecx, [ebp - 0x2a8]
call fcn.10022550
mov eax, dword [eax]
mov dword [ebp - 0x2b0], eax
push 0x90
call fcn.10048b29
add esp, 4
mov dword [ebp - 0x368], eax
mov byte [ebp - 4], 3
cmp dword [ebp - 0x368], 0
je 0x1000f629
mov ecx, dword [ebp - 0x368]
call fcn.10010c70
mov dword [ebp - 0x384], eax
jmp 0x1000f633
mov dword [ebp - 0x384], 0
mov ecx, dword [ebp - 0x384]
mov dword [ebp - 0x364], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x364]
mov dword [ebp - 0x2ac], edx
push 0x10080410
mov ecx, dword [ebp - 0x2b0]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f681
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
call fcn.1005c2ee
add esp, 4
mov ecx, dword [ebp - 0x2ac]
mov dword [ecx], eax
push 0x1008041c
mov ecx, dword [ebp - 0x2b0]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f6b1
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x20
call fcn.10011070
push 0x1008042c
mov ecx, dword [ebp - 0x2b0]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f6e1
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x3c
call fcn.10011070
push str.AppName
mov ecx, dword [ebp - 0x2b0]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f711
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 4
call fcn.10011070
push str.PackageName
mov ecx, dword [ebp - 0x2b0]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f741
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x58
call fcn.10011070
push str.ActivityName
mov ecx, dword [ebp - 0x2b0]
call fcn.10001180
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x1000f771
mov ecx, dword [ebp - 0x30]
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x74
call fcn.10011070
lea edx, [ebp - 0x22c]
push edx
mov ecx, dword [ebp - 0x2ac]
add ecx, 0x58
call fcn.100110d0
push eax
call fcn.10017cc0
add esp, 8
lea eax, [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x37c]
mov ecx, dword [ecx + 0xe4]
call fcn.100337e0
lea edx, [ebp - 0x2ac]
push edx
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax + 0xd4]
call fcn.100337e0
jmp 0x1000f5a6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x25c]
call fcn.10022af0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24c]
call fcn.10022af0
mov ecx, dword [ebp - 0x37c]
cmp dword [ecx + 0xd4], 0
je 0x1000f938
lea edx, [ebp - 0x2b8]
push edx
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax + 0xd4]
call fcn.10022520
jmp 0x1000f823
push 0
lea ecx, [ebp - 0x370]
push ecx
lea ecx, [ebp - 0x2b8]
call fcn.100112b0
lea edx, [ebp - 0x378]
push edx
mov eax, dword [ebp - 0x37c]
mov ecx, dword [eax + 0xd4]
call fcn.10033780
push eax
lea ecx, [ebp - 0x2b8]
call fcn.1003e630
movzx ecx, al
test ecx, ecx
je 0x1000f938
lea ecx, [ebp - 0x2b8]
call fcn.10022550
mov edx, dword [eax]
mov dword [ebp - 0x2bc], edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10001ef0
mov byte [ebp - 4], 4
mov ecx, dword [0x1007d7bc]
push ecx
push 0x2f
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x20
call fcn.100110f0
add eax, 1
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x20
call fcn.10010f70
push eax
mov edx, dword [ebp - 0x2f8]
push edx
lea eax, [ebp - 0x2d8]
push eax
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x20
call fcn.10011110
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2d8]
push ecx
lea ecx, [ebp - 0x2f4]
call fcn.10011090
lea ecx, [ebp - 0x2f4]
call fcn.100110d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x1000f915
lea ecx, [ebp - 0x2f4]
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x2bc]
add ecx, 0x20
call fcn.100110d0
push eax
mov ecx, dword [ebp - 0x37c]
call fcn.10010300
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2d8]
call fcn.10001270
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2f4]
call fcn.10001270
jmp 0x1000f80f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10001270
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005b2a2
mov esp, ebp
pop ebp
ret