Function at 0x48b0d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51005e
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 0x48b352
call fcn.00450310
mov ecx, eax
test ecx, ecx
je 0x48b370
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 0x48b37a
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.0044a760
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 2
push eax
call fcn.0048e4e0
add esp, 4
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x48b18c
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 0x48b1b7
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.0044a760
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.0048f270
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x28]
jb 0x48b1f0
mov edx, dword [ebp - 0x28]
test edx, edx
jne 0x48b1f0
xor ecx, ecx
jmp 0x48b204
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48b1f5
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 0x48b24c
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b242
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b384
push edx
push ecx
call fcn.004de50a
add esp, 8
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x48b28a
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b280
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b384
push edx
push ecx
call fcn.004de50a
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 0x48b2dc
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x48b2d2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x48b384
push edx
push ecx
call fcn.004de50a
add esp, 8
push edi
lea eax, [ebp - 0x5c]
push str._u__s___s_
push eax
call fcn.0048cfa0
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 0x48b309
push edi
jmp 0x48b30e
push str.regsvr32
call fcn.004906b0
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 0x48b336
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 0x48b352
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.004de51d
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00450260
push 0x80004005
call fcn.00450260
call fcn.004e36fa
int3