Function at 0x1002bed0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100648f2
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x10081100]
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 esi, ecx
mov dword [ebp - 0x2bc], esi
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x54]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x2c0], eax
mov dword [ebp - method._BaseModule::CAutoLocker.virtual_0], vtable._BaseModule::CAutoLocker.0
mov dword [ebp - 0x2d8], ecx
test ecx, ecx
je 0x1002bf2e
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp byte [esi + 0x50], 0
mov dword [ebp - 4], 0
je 0x1002bf42
mov bl, 1
jmp 0x1002c900
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002bf47
sub ecx, edx
add esi, 0x70
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.10012840
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x1002bf6e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002c900
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
cmp dword [esi + 0x14], 8
mov byte [ebp - 4], 1
jb 0x1002bfa4
mov esi, dword [esi]
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.1002d260
add esp, 8
test eax, eax
jne 0x1002bff8
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], al
cmp edx, 0x10
jb 0x1002c8e5
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c8db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c937
jmp 0x1002c8db
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
push 0x24
push str.0B366EA2_A363_4D44_965A_A63918D5B6A9
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10004a50
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10035ce0
mov edx, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 2
sete bh
cmp edx, 0x10
jb 0x1002c0a8
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c09e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c93c
push edx
push ecx
call fcn.10020dd1
add esp, 8
test bh, bh
je 0x1002c14a
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x1002c0ee
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c0e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c941
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edx, dword [ebp - 0x234]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x1002c8e5
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c8db
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c946
jmp 0x1002c8db
lea ecx, [ebp - 0x2f4]
call fcn.100267d0
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10027260
test al, al
jne 0x1002c195
lea ecx, [ebp - 0x2f4]
call fcn.100238f0
lea ecx, [ebp - 0x290]
call fcn.10003260
lea ecx, [ebp - 0x248]
call fcn.10003260
jmp 0x1002c900
push 4
push str.info
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10004a50
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10026a00
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2d4], edi
call fcn.10003260
call fcn.10003d10
mov ecx, eax
test ecx, ecx
je 0x1002c94b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x1006696c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.1001a290
test al, al
jne 0x1002c236
push 0
push 0x1006696c
lea ecx, [ebp - 0x2ac]
call fcn.100106c0
push 7
push str.version
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 7
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10004a50
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2f4]
call fcn.100270d0
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 4], 9
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c2a0
mov ebx, dword [ebp - 0x2bc]
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x18]
call fcn.10012840
mov edx, dword [ebp - 0x2b4]
or eax, 0xffffffff
mov byte [ebp - 4], 8
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c2e1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.10003260
mov edx, dword [ebp - 0x2ac]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c30e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
mov dword [ebp - 0x2b4], esi
test edi, edi
jle 0x1002c8bd
push dword [ebp - 0x2c0]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call edi
push 4
push str.info
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10004a50
push esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x2f4]
call fcn.10026900
mov ecx, eax
call fcn.10023b90
push eax
lea ecx, [ebp - 0x30c]
call fcn.10026770
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x1002c3c8
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c3be
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c937
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10003d10
mov ecx, eax
test ecx, ecx
je 0x1002c94b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x1006696c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xd
call fcn.1001a290
test al, al
jne 0x1002c42a
push 0
push 0x1006696c
lea ecx, [ebp - 0x2ac]
call fcn.100106c0
push 0xa
push str.product_id
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xe
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.10004a50
push 0xfde9
lea eax, [ebp - 0x2ac]
mov byte [ebp - 4], 0xf
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x30c]
call fcn.100270d0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c4b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.10012840
mov edx, dword [ebp - 0x2c4]
or eax, 0xffffffff
mov byte [ebp - 4], 0x12
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c4ee
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x21c]
mov byte [ebp - 4], 0x13
cmp edx, 0x10
jb 0x1002c52c
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c522
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c937
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
mov edx, dword [ebp - 0x2ac]
or eax, 0xffffffff
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c569
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10003d10
mov ecx, eax
test ecx, ecx
je 0x1002c94b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2b0], eax
push 0x1006696c
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x15
call fcn.1001a290
test al, al
jne 0x1002c5b0
push 0
push 0x1006696c
lea ecx, [ebp - 0x2b0]
call fcn.100106c0
push 0x11
push str.main_process_name
lea ecx, [ebp - 0x260]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.10004a50
push 0xfde9
lea eax, [ebp - 0x2b0]
mov byte [ebp - 4], 0x17
push eax
lea eax, [ebp - 0x260]
push eax
lea eax, [ebp - 0x2c8]
push eax
lea ecx, [ebp - 0x30c]
call fcn.100270d0
mov edx, dword [eax]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 0x18
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1002c632
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.10012840
mov edx, dword [ebp - 0x2c8]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1a
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c670
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0x1b
cmp edx, 0x10
jb 0x1002c6ae
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c6a4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c937
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov edx, dword [ebp - 0x2b0]
or eax, 0xffffffff
mov byte [ebp - 4], 0x1c
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1002c6eb
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp dword [ebp - 0x294], 8
lea eax, [ebp - 0x2a8]
cmovae eax, dword [ebp - 0x2a8]
push eax
lea eax, [ebp - 0x218]
push eax
call edi
cmp dword [ebx + 0x10], 0
jne 0x1002c746
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1002c746
lea eax, [ebp - 0x278]
cmp ebx, eax
je 0x1002c746
cmp dword [ebp - 0x264], 8
mov ecx, ebx
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.10012840
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.10028090
mov esi, eax
cmp esi, dword [ebx + 0x88]
je 0x1002c77c
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.1000ac80
test al, al
je 0x1002c7c4
lea eax, [ebp - 0x278]
mov dword [ebp - 0x2cc], eax
lea ecx, [ebx + 0x88]
lea eax, [ebp - 0x2b5]
push eax
lea eax, [ebp - 0x2cc]
push eax
push 0x1006b7bd
call fcn.10027740
push eax
add eax, 0x10
lea ecx, [ebx + 0x88]
push eax
push esi
lea eax, [ebp - 0x2d0]
push eax
call fcn.10027c30
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x30c]
push eax
lea ecx, [esi + 0x28]
call fcn.10026840
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x1002c817
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c80d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c937
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov edx, dword [ebp - 0x264]
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x294], 7
mov word [ebp - 0x2a8], ax
mov byte [ebp - 4], 0xc
cmp edx, 8
jb 0x1002c878
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1002c86e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002c937
push edx
push ecx
call fcn.10020dd1
add esp, 8
xor eax, eax
mov dword [ebp - 0x268], 0
lea ecx, [ebp - 0x30c]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
mov byte [ebp - 4], 4
call fcn.100238f0
mov esi, dword [ebp - 0x2b4]
inc esi
mov dword [ebp - 0x2b4], esi
cmp esi, dword [ebp - 0x2d4]
jl 0x1002c31e
mov esi, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2f4]
mov bl, 1
mov byte [esi + 0x50], bl
call fcn.100238f0
mov byte [ebp - 4], bl
jmp 0x1002c0b4
push edx
push ecx
call fcn.10020dd1
add esp, 8
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov edx, dword [ebp - 0x2d8]
mov dword [ebp - 4], 0x1d
test edx, edx
je 0x1002c917
mov ecx, dword [edx]
push edx
call dword [ecx + 4]
mov al, bl
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.10021142
mov esp, ebp
pop ebp
ret 8
call fcn.10040839
call fcn.10040839
call fcn.10040839
call fcn.10040839
push 0x80004005
call fcn.10003ae0
int3