Function at 0x52e2a0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x63d022
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x6d1554]
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 0x52e2fe
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp byte [esi + 0x50], 0
mov dword [ebp - 4], 0
je 0x52e312
mov bl, 1
jmp 0x52ecd0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52e317
sub ecx, edx
add esi, 0x70
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.00483a10
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x52e33e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52ecd0
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 0x52e374
mov esi, dword [esi]
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.00539d10
add esp, 8
test eax, eax
jne 0x52e3c8
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], al
cmp edx, 0x10
jb 0x52ecb5
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52ecab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed07
jmp 0x52ecab
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.00483920
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.0054ed10
mov edx, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 2
sete bh
cmp edx, 0x10
jb 0x52e478
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52e46e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed0c
push edx
push ecx
call fcn.0054cd75
add esp, 8
test bh, bh
je 0x52e51a
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x52e4be
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52e4b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed11
push edx
push ecx
call fcn.0054cd75
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 0x52ecb5
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52ecab
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed16
jmp 0x52ecab
lea ecx, [ebp - 0x2f4]
call fcn.00537920
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00539000
test al, al
jne 0x52e565
lea ecx, [ebp - 0x2f4]
call fcn.00531740
lea ecx, [ebp - 0x290]
call fcn.0047cee0
lea ecx, [ebp - 0x248]
call fcn.0047cee0
jmp 0x52ecd0
push 4
push 0x664120
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00483920
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00537e30
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2d4], edi
call fcn.0047cee0
call fcn.0047fb20
mov ecx, eax
test ecx, ecx
je 0x52ed1b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x65503c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.0047d4d0
test al, al
jne 0x52e606
push 0
push 0x65503c
lea ecx, [ebp - 0x2ac]
call fcn.00481fe0
push 7
push 0x664128
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.00483920
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.00538db0
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 0x52e670
mov ebx, dword [ebp - 0x2bc]
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x18]
call fcn.00483a10
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 0x52e6b1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0047cee0
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 0x52e6de
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 0x52ec8d
push dword [ebp - 0x2c0]
mov edi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call edi
push 4
push 0x664120
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.00483920
push esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00537b50
mov ecx, eax
call fcn.00531e90
push eax
lea ecx, [ebp - 0x30c]
call fcn.005378c0
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x52e798
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52e78e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed07
push edx
push ecx
call fcn.0054cd75
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0047fb20
mov ecx, eax
test ecx, ecx
je 0x52ed1b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x65503c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xd
call fcn.0047d4d0
test al, al
jne 0x52e7fa
push 0
push 0x65503c
lea ecx, [ebp - 0x2ac]
call fcn.00481fe0
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.00483920
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.00538db0
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 0x52e880
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.00483a10
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 0x52e8be
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 0x52e8fc
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52e8f2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed07
push edx
push ecx
call fcn.0054cd75
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 0x52e939
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0047fb20
mov ecx, eax
test ecx, ecx
je 0x52ed1b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2b0], eax
push 0x65503c
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x15
call fcn.0047d4d0
test al, al
jne 0x52e980
push 0
push 0x65503c
lea ecx, [ebp - 0x2b0]
call fcn.00481fe0
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.00483920
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.00538db0
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 0x52ea02
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.00483a10
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 0x52ea40
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 0x52ea7e
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x52ea74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed07
push edx
push ecx
call fcn.0054cd75
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 0x52eabb
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 0x52eb16
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x52eb16
lea eax, [ebp - 0x278]
cmp ebx, eax
je 0x52eb16
cmp dword [ebp - 0x264], 8
mov ecx, ebx
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.00483a10
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.005285f0
mov esi, eax
cmp esi, dword [ebx + 0x88]
je 0x52eb4c
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.00525580
test al, al
je 0x52eb94
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 0x663af9
call fcn.00527e00
push eax
add eax, 0x10
lea ecx, [ebx + 0x88]
push eax
push esi
lea eax, [ebp - 0x2d0]
push eax
call fcn.00528190
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x30c]
push eax
lea ecx, [esi + 0x28]
call fcn.00537a90
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x52ebe7
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x52ebdd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed07
push edx
push ecx
call fcn.0054cd75
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 0x52ec48
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x52ec3e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x52ed07
push edx
push ecx
call fcn.0054cd75
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.00531740
mov esi, dword [ebp - 0x2b4]
inc esi
mov dword [ebp - 0x2b4], esi
cmp esi, dword [ebp - 0x2d4]
jl 0x52e6ee
mov esi, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2f4]
mov bl, 1
mov byte [esi + 0x50], bl
call fcn.00531740
mov byte [ebp - 4], bl
jmp 0x52e484
push edx
push ecx
call fcn.0054cd75
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 0x52ece7
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.0054d193
mov esp, ebp
pop ebp
ret 8
call fcn.005d1f0f
call fcn.005d1f0f
call fcn.005d1f0f
call fcn.005d1f0f
push 0x80004005
call fcn.0047d4b0
int3