Function at 0x48aaf0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50c90e
mov eax, dword fs:[0]
push eax
sub esp, 0x60
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 esi, ecx
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x60], 0
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x48aeb7
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.0044f2b0
test al, al
jne 0x48ab7f
test esi, esi
jne 0x48ab61
xor ecx, ecx
jmp 0x48ab75
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ab66
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x5c]
call fcn.0044f440
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 0x48ae7c
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.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 0x48abdf
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 0x48ac10
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 esi, [ebp - 0x28]
cmovae esi, dword [ebp - 0x28]
call fcn.004501e0
mov ecx, eax
test ecx, ecx
je 0x48aec1
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.0044f2b0
test al, al
jne 0x48ac99
test esi, esi
jne 0x48ac73
xor ecx, ecx
jmp 0x48ac8f
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48ac80
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x64]
call fcn.0044f440
mov byte [ebp - 4], 7
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x48acd7
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48accd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48aecb
push edx
push ecx
call fcn.004dafca
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 0x48ad29
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ad1f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48aecb
push edx
push ecx
call fcn.004dafca
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 0x48ad7b
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48ad71
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48aecb
push edx
push ecx
call fcn.004dafca
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 0x5343dc
je 0x48aded
lea eax, [ebp - 0x6c]
push eax
call fcn.0048c6a0
push 0x5343d8
push eax
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0xa
push eax
call fcn.0048bbf0
push 0
push 0
push 0
mov byte [ebp - 4], 0xb
push dword [eax]
push esi
call fcn.00490270
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 0x48ade4
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 0x48ae4a
lea eax, [ebp - 0x68]
push eax
call fcn.0048c6a0
push 0x5343d8
push eax
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 0xc
push eax
call fcn.0048bbf0
push 0
push 0
push 0
mov byte [ebp - 4], 0xd
push dword [eax]
push str.regsvr32
call fcn.00490270
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 0x48ae43
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 0x48ae61
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 0x48ae7c
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 0x48ae98
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.004dafe6
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450130
push 0x80004005
call fcn.00450130
call fcn.004e002c
int3