Function at 0x41bc60
Capabilities:
Get common file path
Get program files directory
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46ff36
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x498700]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x498700]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov edi, ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x8c], 7
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
mov dword [esp + 0x2c8], ebx
call fcn.0040ae90
mov edx, dword [edi]
mov edx, dword [edx + 0x168]
mov esi, eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
mov dword [esp + 0x40], esi
call edx
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x2d4], 1
call fcn.00406a70
mov byte [esp + 0x2c8], bl
cmp dword [esp + 0x30], 8
jb 0x41bd18
mov eax, dword [esp + 0x1c]
push eax
call fcn.00430f55
add esp, 4
push str.index.html
mov ebx, 0xa
lea eax, [esp + 0x78]
call fcn.0041ff40
cmp eax, 0xffffffff
jne 0x41bd40
push 0xb
push str._index.html
lea ecx, [esp + 0x7c]
call fcn.00412070
call fcn.00408240
mov dword [esp + 0x44], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x44]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x44]
mov dword [eax], eax
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x48], ebx
mov byte [esp + 0x2c8], 2
call fcn.00408240
mov dword [esp + 0x60], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x60]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x60]
mov dword [eax], eax
mov eax, dword [esp + 0x60]
mov dword [eax + 8], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
push ebx
push 0x26
lea ecx, [esp + 0xb4]
push ecx
push ebx
mov byte [esp + 0x2d8], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x480d88
lea edx, [esp + 0xb0]
push edx
call edi
lea eax, [esi + 0xac0]
push eax
lea ecx, [esp + 0xb0]
push ecx
call edi
push 0x10
call fcn.00430f25
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 5
je 0x41be0e
lea ebx, [esp + 0xac]
mov edi, eax
call fcn.004273b0
mov edi, eax
xor ebx, ebx
jmp 0x41be10
xor edi, edi
mov byte [esp + 0x2c8], 4
push 0x12
push str.defaultInstallPath
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 6
call fcn.00406640
mov dword [eax], edi
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x30], 8
jb 0x41be6d
mov eax, dword [esp + 0x1c]
push eax
call fcn.00430f55
add esp, 4
push 0x10
call fcn.00430f25
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 7
je 0x41be9a
lea ebx, [esi + 0xa40]
mov edi, eax
call fcn.004273b0
mov edi, eax
xor ebx, ebx
jmp 0x41be9c
xor edi, edi
mov byte [esp + 0x2c8], 4
push 5
push str.brand
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 8
call fcn.00406640
mov dword [eax], edi
mov edi, 8
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x30], edi
jb 0x41befd
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430f55
add esp, 4
push 0x10
call fcn.00430f25
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 9
je 0x41bf2f
lea ebx, [esi + 0xb40]
mov edi, eax
call fcn.004273b0
mov esi, eax
xor ebx, ebx
mov edi, 8
jmp 0x41bf31
xor esi, esi
mov byte [esp + 0x2c8], 4
push 0xb
push str.displayName
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 0xa
call fcn.00406640
mov dword [eax], esi
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x30], edi
jb 0x41bf8d
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00430f55
add esp, 4
mov ecx, dword [esp + 0x3c]
lea esi, [esp + 0x90]
call fcn.0040d380
push 0x10
mov byte [esp + 0x2cc], 0xb
call fcn.00430f25
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0xc
je 0x41bfe8
cmp dword [esp + 0xa8], edi
mov ebx, dword [esp + 0x94]
jae 0x41bfd6
lea ebx, [esp + 0x94]
mov edi, eax
call fcn.004273b0
mov esi, eax
xor ebx, ebx
mov edi, 8
jmp 0x41bfea
xor esi, esi
mov byte [esp + 0x2c8], 0xb
push 0xb
push str.defaultLang
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 0xd
call fcn.00406640
mov dword [eax], esi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x30], edi
jb 0x41c046
mov eax, dword [esp + 0x1c]
push eax
call fcn.00430f55
add esp, 4
mov edi, dword [esp + 0x3c]
mov eax, dword [edi + 0x14]
add edi, 0x10
cmp eax, dword [edi + 8]
mov dword [esp + 0x14], eax
jbe 0x41c05e
call fcn.0044ec76
mov ecx, dword [esp + 0x14]
mov esi, edi
mov dword [esp + 0x38], ecx
jmp 0x41c070
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x14], eax
jbe 0x41c081
call fcn.0044ec76
cmp esi, ebx
je 0x41c089
cmp esi, edi
je 0x41c08e
call fcn.0044ec76
mov edx, dword [esp + 0x14]
cmp dword [esp + 0x38], edx
push 0x10
je 0x41c2b1
call fcn.00430f25
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x2c8], 0xe
je 0x41c0ef
cmp esi, ebx
jne 0x41c0c1
call fcn.0044ec76
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 8]
jb 0x41c0cf
call fcn.0044ec76
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
lea eax, [edx*8 + 0x49d358]
push eax
call fcn.00427450
mov edi, eax
jmp 0x41c0f1
xor edi, edi
mov byte [esp + 0x2c8], 0xb
push 2
push 0x484d1c
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 0xf
call fcn.00406640
mov dword [eax], edi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x30], 8
jb 0x41c14e
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430f55
add esp, 4
push 0x10
call fcn.00430f25
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x2c8], 0x10
je 0x41c1a1
cmp esi, ebx
jne 0x41c173
call fcn.0044ec76
mov eax, dword [esp + 0x38]
cmp eax, dword [esi + 8]
jb 0x41c181
call fcn.0044ec76
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
lea eax, [edx*8 + 0x49d374]
push eax
call fcn.00427450
mov edi, eax
jmp 0x41c1a3
xor edi, edi
mov byte [esp + 0x2c8], 0xb
push 5
push str.value
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 0x11
call fcn.00406640
mov dword [eax], edi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x30], 8
jb 0x41c200
mov edx, dword [esp + 0x1c]
push edx
call fcn.00430f55
add esp, 4
push 0x10
call fcn.00430f25
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0x12
je 0x41c22a
lea ecx, [esp + 0x5c]
push ecx
mov esi, eax
call fcn.00427550
mov esi, eax
jmp 0x41c22c
xor esi, esi
mov byte [esp + 0x2c8], 0xb
mov edi, dword [esp + 0x50]
cmp edi, ebx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], esi
je 0x41c263
mov edx, dword [esp + 0x58]
mov ecx, eax
sub ecx, edi
sub edx, edi
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x41c263
mov dword [eax], esi
add eax, 4
mov dword [esp + 0x54], eax
jmp 0x41c287
cmp edi, eax
mov esi, eax
jbe 0x41c26e
call fcn.0044ec76
push esi
lea eax, [esp + 0x50]
push eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x5c]
call fcn.00407040
mov edi, dword [esp + 0x3c]
add edi, 0x10
mov esi, edi
cmp esi, ebx
jne 0x41c299
call fcn.0044ec76
mov ecx, dword [esp + 0x38]
cmp ecx, dword [esi + 8]
jb 0x41c2a7
call fcn.0044ec76
add dword [esp + 0x38], 4
jmp 0x41c070
call fcn.00430f25
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x2c8], 0x13
je 0x41c304
push 0x10
mov dword [esi], 4
call fcn.00430f25
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0x14
je 0x41c2fd
lea ebx, [esp + 0x4c]
mov edi, eax
call fcn.00428350
xor ebx, ebx
mov dword [esi + 8], eax
jmp 0x41c306
xor eax, eax
mov dword [esi + 8], eax
jmp 0x41c306
xor esi, esi
mov byte [esp + 0x2c8], 0xb
push 9
push str.languages
lea ecx, [esp + 0x20]
mov dword [esp + 0x38], 7
mov dword [esp + 0x34], ebx
mov word [esp + 0x24], bx
call fcn.00406b60
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2cc], 0x15
call fcn.00406640
mov dword [eax], esi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x30], 8
jb 0x41c363
mov eax, dword [esp + 0x1c]
push eax
call fcn.00430f55
add esp, 4
push 0x10
call fcn.00430f25
add esp, 4
mov dword [esp + 0x34], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0x16
je 0x41c38d
lea ecx, [esp + 0x40]
push ecx
mov esi, eax
call fcn.00427550
mov edi, eax
jmp 0x41c38f
xor edi, edi
lea esi, [esp + 0x18]
mov ecx, edi
mov byte [esp + 0x2c8], 0xb
call fcn.00427740
mov esi, 8
mov byte [esp + 0x2c8], 0x17
cmp dword [eax + 0x18], esi
jb 0x41c3b9
mov eax, dword [eax + 4]
jmp 0x41c3bc
add eax, 4
cmp dword [esp + 0x8c], esi
mov ecx, dword [esp + 0x78]
jae 0x41c3cd
lea ecx, [esp + 0x78]
mov edx, dword [esp + 0x3c]
add edx, 0x38
push edx
push eax
mov eax, dword [esp + 0x70]
push ecx
push str._s_config_stestData_s
push eax
call fcn.004090f0
add esp, 0x14
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x30], esi
jb 0x41c404
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00430f55
add esp, 4
cmp edi, ebx
je 0x41c418
mov ecx, edi
call fcn.004275d0
push edi
call fcn.00430f55
add esp, 4
cmp dword [esp + 0xa8], esi
jb 0x41c431
mov edx, dword [esp + 0x94]
push edx
call fcn.00430f55
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, ebx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
je 0x41c45c
push eax
call fcn.00430f55
add esp, 4
lea eax, [esp + 0x5c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
mov byte [esp + 0x2c8], 2
call fcn.00406fe0
lea eax, [esp + 0x40]
mov byte [esp + 0x2c8], bl
call fcn.00406fe0
cmp dword [esp + 0x8c], esi
jb 0x41c49f
mov eax, dword [esp + 0x78]
push eax
call fcn.00430f55
add esp, 4
mov ecx, dword [esp + 0x2c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x2a8]
xor ecx, esp
call fcn.0044de0c
mov esp, ebp
pop ebp
ret 4