Function at 0x48bf90
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dab88
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.0041c970
mov dword [ebp - 4], edi
push dword [ebp - 0x5c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or esi, 0xffffffff
test eax, eax
je 0x48c1c5
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.00439160
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 1
call fcn.0048dbe0
mov byte [ebp - 4], 2
cmp dword [eax + 0x14], 8
jb 0x48c013
mov eax, dword [eax]
lea ecx, [ebp - 0x28]
mov edx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.00438720
add esp, 4
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x48c030
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x60]
call fcn.0041c970
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x48c04e
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00433600
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 0x48c077
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00433600
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 0x48c0a4
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00433600
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, 0x4eecc4
lea eax, [ebp - 0x5c]
push eax
je 0x48c12f
lea ecx, [ebp - 0x68]
call fcn.00438410
add esp, 4
push 0x4eecc0
mov edx, eax
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x64]
call fcn.0041c010
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.0048fc00
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 0x48c126
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 0x48c190
lea ecx, [ebp - 0x64]
call fcn.00438410
add esp, 4
push 0x4eecc0
mov edx, eax
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x68]
call fcn.0041c010
add esp, 4
push 0
mov byte [ebp - 4], 0xb
mov ecx, str.regsvr32
mov edx, dword [eax]
push 0
push 0
call fcn.0048fc00
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 0x48c189
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 0x48c1a7
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 0x48c1c5
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 0x48c1e4
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.004a578d
mov esp, ebp
pop ebp
ret