Function at 0x48aee0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c97e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x54b144]
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 edi, ecx
push edi
mov dword [ebp - 0x64], 0
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b162
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x48b180
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], ebx
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x48b18a
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
push 0xd
xor eax, eax
mov dword [ebp - 0x40], ebx
push str._regsvr32.exe
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
call fcn.0044a750
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0048e080
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x48af9c
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 - 0x64], 1
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48afc7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044a750
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048ee10
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
jb 0x48b000
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x48b000
xor ecx, ecx
jmp 0x48b014
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b005
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0044f440
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48b05c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b052
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b194
push edx
push ecx
call fcn.004dafca
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48b09a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b090
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b194
push edx
push ecx
call fcn.004dafca
add esp, 8
xor eax, eax
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp edx, 8
jb 0x48b0ec
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b0e2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b194
push edx
push ecx
call fcn.004dafca
add esp, 8
push edi
lea eax, [ebp - 0x5c]
push str._u__s___s_
push eax
call fcn.0048cb40
mov edi, dword [ebp - 0x60]
add esp, 0xc
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [ebp - 0x5c]
push 0
push 1
push 0xffffffffffffffff
push esi
test eax, eax
je 0x48b119
push edi
jmp 0x48b11e
push str.regsvr32
call fcn.00490270
lea edx, [edi - 0x10]
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov ebx, eax
add esp, 0x14
mov eax, edi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b146
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], edi
dec edi
test edi, edi
jg 0x48b162
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, ebx
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.004dafe6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450130
push 0x80004005
call fcn.00450130
call fcn.004e002c
int3