Function at 0x411900
Capabilities:
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x447b49
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x45c070]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [esi + 4]
push eax
mov ecx, 0x450dd8
mov dword [esi], vtable.CService.0
call fcn.004037b0
lea ecx, [esi + 8]
push ecx
xor ebx, ebx
mov ecx, 0x451820
mov dword [ebp - 4], ebx
call fcn.004037b0
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x20], 0x120
mov dword [esi + 0x28], 5
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], 0x7d0
mov dword [ebp - 4], 1
lea eax, [esi + 0x54]
push connect
push eax
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov byte [esi + 0x50], bl
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
push ebx
push 0x1000
push 0x40000
mov dword [esi + 0x6c], ebx
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov dword [esi + 0x70], eax
mov dword [esi], vtable.CInstaller.0
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov byte [ebp - 4], 3
mov byte [esi + 0x7c], bl
mov edx, dword [0x46023c]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
mov edi, 0x104
sub eax, edi
or eax, ecx
jge 0x4119f6
mov ecx, edi
mov eax, 0x46023c
call fcn.00403660
mov edx, dword [0x46023c]
cmp dword [edx - 8], edi
jge 0x411a05
push 0x80070057
call fcn.004036b0
mov dword [edx - 0xc], edi
mov ecx, dword [0x46023c]
push edi
xor eax, eax
push edx
mov word [ecx + 0x208], ax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, dword [0x46023c]
cmp edx, ebx
jne 0x411a2d
xor eax, eax
jmp 0x411a45
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411a32
sub eax, edi
sar eax, 1
cmp eax, ebx
jl 0x4119fb
cmp eax, dword [edx - 8]
jg 0x4119fb
mov dword [edx - 0xc], eax
mov ecx, dword [0x46023c]
xor edx, edx
mov word [ecx + eax*2], dx
mov edx, str.SysWOW64765C06F0_9640_46EC_8490_0097238389D7
cmp dword [0x45f3e8], ebx
jne 0x411a6b
mov edx, str.System32765C06F0_9640_46EC_8490_0097238389D7
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411a70
sub eax, edi
sar eax, 1
push eax
push edx
push 0x46023c
call fcn.00403a80
mov edx, dword [0x460238]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x411aba
mov ecx, 0x104
mov eax, 0x460238
call fcn.00403660
mov edx, dword [0x460238]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edx, dword [0x460238]
cmp edx, ebx
jne 0x411ad4
xor eax, eax
jmp 0x411af7
mov eax, edx
lea edi, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x411ae0
sub eax, edi
sar eax, 1
cmp eax, ebx
jl 0x4119fb
cmp eax, dword [edx - 8]
jg 0x4119fb
mov dword [edx - 0xc], eax
mov ecx, dword [0x460238]
xor edx, edx
mov word [ecx + eax*2], dx
lea edx, [ebp - 0x14]
push 0x460238
push edx
mov ebx, str.sca_installer.log
call fcn.00406e80
add esp, 8
mov byte [ebp - 4], 4
mov ecx, dword [eax]
mov ebx, dword [0x45f3ec]
lea eax, [ecx - 0x10]
add ebx, 0xfffffff0
cmp eax, ebx
je 0x411b84
cmp dword [ebx + 0xc], 0
lea edi, [ebx + 0xc]
jl 0x411b76
mov edx, dword [eax]
cmp edx, dword [ebx]
jne 0x411b76
call fcn.00403230
mov dword [ebp - 0x10], eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x411b68
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
mov dword [0x45f3ec], ecx
jmp 0x411b84
mov ebx, dword [ecx - 0xc]
push ecx
push 0x45f3ec
call fcn.004036d0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411ba7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 9
push str.StaffCop_
push 0x460238
call fcn.00403a80
push str.Tahoma
xor edi, edi
push edi
push 2
push edi
push 4
push edi
push edi
push edi
push edi
push 0x2bc
push edi
push edi
push edi
push 0x10
call dword [sym.imp.GDI32.dll_CreateFontW]
mov dword [0x460244], eax
mov dword [0x45f350], edi
mov dword [0x45f34c], edi
push edi
push edi
push 1
push edi
mov byte [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov ebx, eax
mov dword [ebp - 0x14], ebx
cmp ebx, edi
jne 0x411c07
call fcn.00421ef0
lea ecx, [ebp - 0x14]
lea edi, [esi + 0x78]
cmp edi, ecx
je 0x411c28
mov eax, dword [edi]
test eax, eax
je 0x411c24
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov dword [edi], ebx
jmp 0x411c2f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4