Function at 0x48b140
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50fc3e
mov eax, dword fs:[0]
push eax
sub esp, 0x58
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 edi, ecx
push edi
mov dword [ebp - 0x64], 0
xor ebx, ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x48b3c2
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48b3e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 4], ebx
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48b3ea
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.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 0x48b1fc
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 0x48b227
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 edx, [ebp - 0x28]
jb 0x48b260
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x48b260
xor ecx, ecx
jmp 0x48b274
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b265
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x60]
call fcn.0044f580
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48b2bc
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b2b2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b3f4
push edx
push ecx
call fcn.004de0ea
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48b2fa
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b2f0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b3f4
push edx
push ecx
call fcn.004de0ea
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 0x48b34c
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b342
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b3f4
push edx
push ecx
call fcn.004de0ea
add esp, 8
push edi
lea eax, [ebp - 0x5c]
push str._u__s___s_
push eax
call fcn.0048d020
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 0x48b379
push edi
jmp 0x48b37e
push str.regsvr32
call fcn.00490730
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 0x48b3a6
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 0x48b3c2
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.004de0fd
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
call fcn.004e32da
int3