Function at 0x48ad50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fbce
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x550144]
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 - 0x60], 0
mov dword [ebp - 0x60], 0
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48b117
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
push esi
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.0044f3f0
test al, al
jne 0x48addf
test esi, esi
jne 0x48adc1
xor ecx, ecx
jmp 0x48add5
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48adc6
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.0044f580
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x5c]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x48b0dc
push 0xc
xor eax, eax
mov dword [ebp - 0x40], 0
push str.regsvr32.exe
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0044a770
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0048e560
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x48ae3f
mov edx, dword [edx]
mov byte [ebp - 4], 4
mov ecx, edx
xor eax, eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov dword [ebp - 0x60], 1
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ae70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044a770
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048f2f0
cmp dword [ebp - 0x14], 8
lea esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48b121
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x64], eax
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 5
call fcn.0044f3f0
test al, al
jne 0x48aef9
test esi, esi
jne 0x48aed3
xor ecx, ecx
jmp 0x48aeef
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48aee0
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.0044f580
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48af37
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48af2d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b12b
push edx
push ecx
call fcn.004de0ea
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 8
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48af89
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48af7f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b12b
push edx
push ecx
call fcn.004de0ea
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x48afdb
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48afd1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b12b
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov esi, dword [ebp - 0x64]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
lea eax, [ebp - 0x5c]
push eax
push 0x53837c
je 0x48b04d
lea eax, [ebp - 0x6c]
push eax
call fcn.0048cb80
push 0x538378
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xa
push eax
call fcn.0048c0d0
push 0
push 0
push 0
mov byte [ebp - 4], 0xb
push dword [eax]
push esi
call fcn.00490730
mov byte [ebp - 4], 0xa
add esp, 0x2c
mov edx, dword [ebp - 0x68]
mov ecx, ebx
mov dword [ebp - 0x60], eax
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48b044
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x6c]
jmp 0x48b0aa
lea eax, [ebp - 0x68]
push eax
call fcn.0048cb80
push 0x538378
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
push eax
call fcn.0048c0d0
push 0
push 0
push 0
mov byte [ebp - 4], 0xd
push dword [eax]
push str.regsvr32
call fcn.00490730
mov byte [ebp - 4], 0xc
add esp, 0x2c
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x60], eax
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b0a3
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 9
mov edx, dword [ebp - 0x68]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b0c1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x48b0dc
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add edi, 0xfffffff0
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x48b0f8
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x60]
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.004de0fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
call fcn.004e32da
int3