Function at 0x48d080
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51e5a2
mov eax, dword fs:[0]
push eax
sub esp, 0x300
mov eax, dword [0x55d3e4]
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 0x48d0de
mov eax, dword [ecx]
push ecx
call dword [eax]
cmp byte [esi + 0x50], 0
mov dword [ebp - 4], 0
je 0x48d0f2
mov bl, 1
jmp 0x48dab0
mov ecx, edi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48d0f7
sub ecx, edx
add esi, 0x70
sar ecx, 1
push ecx
push edi
mov ecx, esi
call fcn.004699d1
xor bl, bl
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x48d11e
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48dab0
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 0x48d154
mov esi, dword [esi]
lea eax, [ebp - 0x248]
push eax
push esi
call fcn.0048ee50
add esp, 8
test eax, eax
jne 0x48d1a8
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], al
cmp edx, 0x10
jb 0x48da95
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48da8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dae7
jmp 0x48da8b
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.0040c270
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.004777b0
mov edx, dword [ebp - 0x21c]
add esp, 0xc
test eax, eax
mov byte [ebp - 4], 2
sete bh
cmp edx, 0x10
jb 0x48d258
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d24e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48daec
push edx
push ecx
call fcn.004759bb
add esp, 8
test bh, bh
je 0x48d2fa
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x27c]
cmp edx, 0x10
jb 0x48d29e
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d294
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48daf1
push edx
push ecx
call fcn.004759bb
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 0x48da95
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48da8b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48daf6
jmp 0x48da8b
lea ecx, [ebp - 0x2f4]
call fcn.00485690
lea eax, [ebp - 0x290]
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00486d70
test al, al
jne 0x48d345
lea ecx, [ebp - 0x2f4]
call fcn.0047f5b0
lea ecx, [ebp - 0x290]
call fcn.0040a970
lea ecx, [ebp - 0x248]
call fcn.0040a970
jmp 0x48dab0
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.0040c270
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x2f4]
call fcn.00485ba0
mov edi, eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x2d4], edi
call fcn.0040a970
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x48dafb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x524b7c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 6
call fcn.00425bd0
test al, al
jne 0x48d3e6
push 0
push 0x524b7c
lea ecx, [ebp - 0x2ac]
call fcn.00412010
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.0040c270
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.00486b20
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 0x48d450
mov ebx, dword [ebp - 0x2bc]
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x18]
call fcn.004699d1
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 0x48d491
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x230]
call fcn.0040a970
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 0x48d4be
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 0x48da6d
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.0040c270
push esi
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0x2f4]
call fcn.004858c0
mov ecx, eax
call fcn.0047fd00
push eax
lea ecx, [ebp - 0x30c]
call fcn.00485630
mov edx, dword [ebp - 0x24c]
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x48d578
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d56e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dae7
push edx
push ecx
call fcn.004759bb
add esp, 8
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x48dafb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2ac], eax
push 0x524b7c
lea ecx, [ebp - 0x2ac]
mov byte [ebp - 4], 0xd
call fcn.00425bd0
test al, al
jne 0x48d5da
push 0
push 0x524b7c
lea ecx, [ebp - 0x2ac]
call fcn.00412010
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.0040c270
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.00486b20
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 0x48d660
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x278]
call fcn.004699d1
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 0x48d69e
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 0x48d6dc
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d6d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dae7
push edx
push ecx
call fcn.004759bb
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 0x48d719
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.0040f5e0
mov ecx, eax
test ecx, ecx
je 0x48dafb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x2b0], eax
push 0x524b7c
lea ecx, [ebp - 0x2b0]
mov byte [ebp - 4], 0x15
call fcn.00425bd0
test al, al
jne 0x48d760
push 0
push 0x524b7c
lea ecx, [ebp - 0x2b0]
call fcn.00412010
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.0040c270
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.00486b20
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 0x48d7e2
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a8]
call fcn.004699d1
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 0x48d820
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 0x48d85e
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x48d854
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dae7
push edx
push ecx
call fcn.004759bb
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 0x48d89b
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 0x48d8f6
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48d8f6
lea eax, [ebp - 0x278]
cmp ebx, eax
je 0x48d8f6
cmp dword [ebp - 0x264], 8
mov ecx, ebx
push dword [ebp - 0x268]
cmovae eax, dword [ebp - 0x278]
push eax
call fcn.004699d1
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.004883e0
mov esi, eax
cmp esi, dword [ebx + 0x88]
je 0x48d92c
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x278]
push eax
lea ecx, [ebx + 0x88]
call fcn.00488aa0
test al, al
je 0x48d974
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 0x531f95
call fcn.00487900
push eax
add eax, 0x10
lea ecx, [ebx + 0x88]
push eax
push esi
lea eax, [ebp - 0x2d0]
push eax
call fcn.00487f80
mov esi, dword [ebp - 0x2d0]
lea eax, [ebp - 0x30c]
push eax
lea ecx, [esi + 0x28]
call fcn.00485800
mov edx, dword [ebp - 0x294]
mov byte [ebp - 4], 0x14
cmp edx, 8
jb 0x48d9c7
mov ecx, dword [ebp - 0x2a8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48d9bd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dae7
push edx
push ecx
call fcn.004759bb
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 0x48da28
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48da1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48dae7
push edx
push ecx
call fcn.004759bb
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.0047f5b0
mov esi, dword [ebp - 0x2b4]
inc esi
mov dword [ebp - 0x2b4], esi
cmp esi, dword [ebp - 0x2d4]
jl 0x48d4ce
mov esi, dword [ebp - 0x2bc]
lea ecx, [ebp - 0x2f4]
mov bl, 1
mov byte [esi + 0x50], bl
call fcn.0047f5b0
mov byte [ebp - 4], bl
jmp 0x48d264
push edx
push ecx
call fcn.004759bb
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 0x48dac7
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.00475dd9
mov esp, ebp
pop ebp
ret 8
call fcn.004c7638
call fcn.004c7638
call fcn.004c7638
call fcn.004c7638
push 0x80004005
call fcn.00407af0
int3