Function at 0x48ae90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9658
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x511070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push ecx
lea ecx, [ebp - 0x5c]
xor edi, edi
call fcn.0041c9e0
mov dword [ebp - 4], edi
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x48b0c5
push 0xc
xor eax, eax
mov dword [ebp - 0x14], 7
push str.regsvr32.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov word [ebp - 0x28], ax
call fcn.004393e0
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0048cae0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x48af13
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.004389a0
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x48af30
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041c9e0
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x48af4e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x48af77
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433850
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x48afa4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433850
push dword [ebp - 0x60]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
mov edx, 0x4edd34
lea eax, [ebp - 0x5c]
push eax
je 0x48b02f
lea ecx, [ebp - 0x68]
call fcn.00438690
add esp, 4
push 0x4edd30
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.0041c030
add esp, 4
push 0
mov byte [ebp - 4], 9
mov edx, dword [eax]
mov ecx, dword [ebp - 0x60]
push 0
push 0
call fcn.0048eb00
mov byte [ebp - 4], 8
add esp, 0xc
mov edx, dword [ebp - 0x64]
mov edi, eax
add edx, 0xfffffff0
mov ecx, esi
lock xadd dword [edx + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x48b026
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x68]
jmp 0x48b090
lea ecx, [ebp - 0x64]
call fcn.00438690
add esp, 4
push 0x4edd30
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x68]
call fcn.0041c030
add esp, 4
push 0
mov byte [ebp - 4], 0xb
mov ecx, str.regsvr32
mov edx, dword [eax]
push 0
push 0
call fcn.0048eb00
mov byte [ebp - 4], 0xa
mov edi, eax
mov edx, dword [ebp - 0x68]
add esp, 0xc
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b089
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x64]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b0a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov eax, esi
mov edx, dword [ebp - 0x60]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x48b0c5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x5c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x48b0e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a474b
mov esp, ebp
pop ebp
ret