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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4466ae
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [0x45a400]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push esi
push edi
mov eax, dword [0x45a400]
xor eax, esp
push eax
lea eax, [esp + 0x288]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
push 0x103
lea edx, [esp + 0x179]
push ebx
push edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ecx
mov byte [esp + 0x180], bl
call fcn.0042a4a0
add esp, 0xc
lea eax, [esp + 0x174]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [ebx + 0xf]
test eax, eax
jne 0x41807d
push 0x2f
push str.Cannot_detect_the_path_to_the_temporary_folder.
lea ecx, [esp + 0x64]
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov byte [esp + 0x64], bl
call fcn.0040366e
push 0xffffffffffffffff
mov dword [esp + 0x294], ebx
push ebx
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x144]
mov dword [esp + method.CLightInstallerException.virtual_0], vtable.CLightInstallerException.0
mov dword [esp + 0x158], edi
mov dword [esp + 0x154], ebx
mov byte [esp + 0x144], bl
call fcn.00403978
push 0x455268
lea edx, [esp + 0x138]
push edx
mov dword [esp + 0x170], edi
mov dword [esp + 0x16c], ebx
mov byte [esp + 0x15c], bl
mov dword [esp + 0x178], ebx
call fcn.0042a64b
lea eax, [esp + 0x174]
mov dword [esp + 0x54], edi
mov dword [esp + 0x50], ebx
mov byte [esp + 0x40], bl
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x418093
sub eax, edx
push eax
lea eax, [esp + 0x178]
push eax
lea ecx, [esp + 0x48]
call fcn.0040366e
mov dword [esp + 0x290], 1
mov eax, dword [esp + 0x50]
mov esi, 0x10
cmp eax, ebx
je 0x4180ee
mov ecx, dword [esp + 0x40]
cmp dword [esp + 0x54], esi
jae 0x4180d4
lea ecx, [esp + 0x40]
cmp byte [ecx + eax - 1], 0x5c
je 0x4180ee
push 0x44b3dc
mov ebx, 1
lea eax, [esp + 0x44]
call fcn.004031ee
push str.74712612_2B34_4F3D_821D_D83DE6D973CA_
mov ebx, 0x27
lea eax, [esp + 0x44]
call fcn.004031ee
xor ebx, ebx
push ebx
push 0x44b696
lea ecx, [esp + 0x2c]
mov dword [esp + 0x40], edi
mov dword [esp + 0x3c], ebx
mov byte [esp + 0x2c], bl
call fcn.0040366e
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x24]
mov byte [esp + 0x290], 2
call fcn.00417040
mov byte [esp + 0x290], 1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x38], esi
jb 0x418152
mov ecx, dword [esp + 0x24]
push ecx
call fcn.00428258
add esp, 4
cmp dword [esp + 0x54], esi
mov esi, dword [esp + 0x40]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
jae 0x41816c
lea esi, [esp + 0x40]
mov eax, esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418183
sub eax, ecx
push eax
push esi
lea ecx, [esp + 0x80]
call fcn.0040366e
mov esi, dword [esp + 0x1c]
push 0xffffffffffffffff
mov byte [esp + 0x294], 3
push ebx
lea edx, [esi + 0x3c]
push edx
lea ecx, [esp + 0xa0]
mov dword [esp + 0xb4], edi
mov dword [esp + 0xb0], ebx
mov byte [esp + 0xa0], bl
call fcn.00403978
push 0xffffffffffffffff
mov byte [esp + 0x294], 4
push ebx
lea eax, [esp + 0x80]
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0xd0], edi
mov dword [esp + 0xcc], ebx
mov byte [esp + 0xbc], bl
call fcn.00403978
mov word [esp + 0xcc], 1
mov dword [esp + 0xd0], ebx
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
mov dword [esp + 0xdc], ebx
mov dword [esp + 0xe0], ebx
mov byte [esp + 0x290], 6
cmp dword [esp + 0x8c], 0x10
jb 0x41824e
mov ecx, dword [esp + 0x78]
push ecx
call fcn.00428258
add esp, 4
mov dword [esp + 0x88], ebx
mov byte [esp + 0x78], bl
mov ebx, dword [esp + 0x10]
add ebx, 8
lea ecx, [esp + 0x94]
mov dword [esp + 0x8c], edi
call fcn.00419b70
mov ecx, dword [esp + 0x10]
push 0xffffffffffffffff
xor ebx, ebx
push ebx
lea edx, [esi + 0x20]
push edx
add ecx, 0x28
call fcn.00403978
mov eax, dword [esi + 0x74]
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0x78]
je 0x4184ad
jmp 0x4182a0
mov esi, dword [eax]
cmp esi, ebx
je 0x418499
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x5c], bl
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x5c]
mov byte [esp + 0x290], 7
call fcn.00417040
mov byte [esp + 0x290], 6
cmp dword [esp + 0x70], 0x10
mov dword [esp + 0x14], eax
jb 0x4182eb
mov eax, dword [esp + 0x5c]
push eax
call fcn.00428258
add esp, 4
mov eax, dword [esp + 0x14]
push 0xffffffffffffffff
add eax, 4
push ebx
lea ecx, [esi + 4]
push ecx
lea ecx, [eax + 0x24]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebx
mov byte [esp + 0x68], bl
mov dword [esp + 0x20], eax
call fcn.00403978
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov byte [ecx + 0x51], al
cmp al, bl
je 0x418328
mov byte [ecx + 0x50], bl
cmp dword [esp + 0x54], 0x10
mov ecx, dword [esp + 0x40]
jae 0x418337
lea ecx, [esp + 0x40]
mov eax, ecx
lea edx, [eax + 1]
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov dword [esp + 0x20], edx
lea esp, [esp]
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x418350
sub eax, dword [esp + 0x20]
push eax
push ecx
lea ecx, [esp + 0x2c]
call fcn.0040366e
push 0xffffffffffffffff
mov byte [esp + 0x294], 8
push ebx
lea eax, [esi + 0x20]
push eax
lea ecx, [esp + 0xf0]
mov dword [esp + 0x104], edi
mov dword [esp + 0x100], ebx
mov byte [esp + 0xf0], bl
call fcn.00403978
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x2c]
mov byte [esp + 0x298], 9
push ecx
lea ecx, [esp + 0x10c]
mov dword [esp + 0x120], edi
mov dword [esp + 0x11c], ebx
mov byte [esp + 0x10c], bl
call fcn.00403978
mov word [esp + 0x11c], 1
mov dword [esp + 0x120], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0x128], ebx
mov dword [esp + 0x12c], ebx
mov dword [esp + 0x130], ebx
mov byte [esp + 0x290], 0xb
cmp dword [esp + 0x38], 0x10
jb 0x418410
mov edx, dword [esp + 0x24]
push edx
call fcn.00428258
add esp, 4
mov dword [esp + 0x34], ebx
mov byte [esp + 0x24], bl
mov ebx, dword [esp + 0x14]
add ebx, 4
lea ecx, [esp + 0xe4]
mov dword [esp + 0x38], edi
call fcn.00419b70
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push ecx
mov ecx, esi
call edx
mov esi, 0x10
mov byte [esp + 0x290], 6
cmp dword [esp + 0x114], esi
jb 0x418463
mov eax, dword [esp + 0x100]
push eax
call fcn.00428258
add esp, 4
xor eax, eax
mov dword [esp + 0x114], edi
mov dword [esp + 0x110], eax
mov byte [esp + 0x100], al
cmp dword [esp + 0xf8], esi
jb 0x418493
mov ecx, dword [esp + 0xe4]
push ecx
call fcn.00428258
add esp, 4
mov eax, dword [esp + 0x10]
xor ebx, ebx
mov edx, dword [esp + 0x1c]
add eax, 4
mov dword [esp + 0x10], eax
cmp eax, dword [edx + 0x78]
jne 0x4182a0
mov esi, 0x10
cmp dword [esp + 0xc4], esi
jb 0x4184cb
mov eax, dword [esp + 0xb0]
push eax
call fcn.00428258
add esp, 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc0], ebx
mov byte [esp + 0xb0], bl
cmp dword [esp + 0xa8], esi
jb 0x4184f9
mov ecx, dword [esp + 0x94]
push ecx
call fcn.00428258
add esp, 4
mov dword [esp + 0xa8], edi
mov dword [esp + 0xa4], ebx
mov byte [esp + 0x94], bl
cmp dword [esp + 0x54], esi
jb 0x418521
mov edx, dword [esp + 0x40]
push edx
call fcn.00428258
add esp, 4
mov ecx, dword [esp + 0x288]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00428263
mov esp, ebp
pop ebp
ret 4