Function at 0x43dcd6
Capabilities:
Get common file path
Get program files directory
Initialize winsock library
Set current directory

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x44468e
mov eax, dword fs:[0]
push eax
sub esp, 0x9a8
mov eax, dword [0x45b6a0]
xor eax, esp
mov dword [esp + 0x9a0], eax
push ebx
push esi
push edi
mov eax, dword [0x45b6a0]
xor eax, esp
push eax
lea eax, [esp + 0x9b8]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x1c], esi
call fcn.0040d1a8
push dword [esi + 0x7c]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
mov ebx, 0x80
push ebx
push dword [esi + 0x20]
call edi
push dword [esi + 0x7c]
push 0
push ebx
push dword [esi + 0x20]
call edi
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x4c]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x44bde4
lea ecx, [esp + 0x1c]
call fcn.00401c5e
mov edi, eax
and dword [esp + 0x9c0], 0
push str.Language
lea ecx, [esp + 0x24]
call fcn.00401c5e
lea ecx, [esp + 0x14]
push ecx
mov ecx, eax
mov byte [esp + 0x9c4], 1
call fcn.0043da64
lea edi, [esi + 0x104]
push eax
mov ecx, edi
mov byte [esp + 0x9c4], 2
call fcn.0040123b
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401019
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00401019
or dword [esp + 0x9c0], 0xffffffff
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401019
push str.launcher.lang
lea ecx, [esp + 0x14]
call fcn.00403c24
mov dword [esp + 0x9c0], 3
push dword [edi]
lea ebx, [esp + 0x14]
push str.__s.dll
call fcn.00403cf3
pop ecx
pop ecx
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
mov dword [esi + 0x100], eax
jne 0x43de63
call fcn.00404a58
push eax
lea ecx, [esp + 0x18]
call fcn.00401dee
mov byte [esp + 0x9c0], 4
push dword [esp + 0x10]
lea ebx, [esp + 0x18]
push str.Unable_to_load_language_module___s__n
call fcn.00403cf3
mov edi, dword [esp + 0x1c]
pop ecx
pop ecx
push 0
push 0x30
push edi
call fcn.0040f03f
lea ecx, [esi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0xc]
lea ecx, [edi - 0x10]
call fcn.00401019
jmp 0x43e171
push 0x12578
call fcn.00404a23
pop ecx
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x9c0], 5
je 0x43de86
push eax
call fcn.004414e6
jmp 0x43de88
xor eax, eax
mov byte [esp + 0x9c0], 3
mov dword [esi + 0x80], eax
push 0x140
lea esi, [esp + 0x460]
call fcn.0043fa8b
mov eax, esi
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edi, dword [esp + 0x1c]
mov ebx, dword [edi + 0x80]
call fcn.004415e7
test eax, eax
jne 0x43df19
push str.Unable_to_load_config_n
lea ecx, [esp + 0x1c]
call fcn.00403c24
push 0x140
lea eax, [esp + 0x1e0]
push eax
push 0x7f
mov byte [esp + 0x9cc], 6
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
push 0x30
lea eax, [esp + 0x1e4]
push eax
call fcn.0040f03f
lea ecx, [edi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
jmp 0x43de59
xor ebx, ebx
push ebx
lea eax, [edi + 0x10c]
push ebx
push eax
call sub.launcher.lib.dll_LauncherLib_ThereCanBeOnlyOne
add esp, 0xc
cmp eax, 1
jne 0x43df80
mov esi, edi
call fcn.0043d1db
cmp eax, 1
jne 0x43df4a
lea ecx, [edi + 0x74]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x43e171
mov esi, 0x140
push esi
lea eax, [esp + 0x1e0]
push eax
push 0x82
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x34
lea eax, [esp + 0x1e4]
push eax
call fcn.0040f03f
cmp eax, 7
jne 0x43df85
jmp 0x43df3d
mov esi, 0x140
call fcn.004416a0
test eax, eax
jne 0x43dfce
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x43dfce
push esi
lea eax, [esp + 0x1e0]
push eax
push 0x8a
push dword [edi + 0x100]
call dword [sym.imp.USER32.dll_LoadStringW]
push ebx
push 0x30
lea eax, [esp + 0x1e4]
push eax
call fcn.0040f03f
add edi, 0x74
mov eax, dword [edi]
mov ecx, edi
jmp 0x43df42
lea eax, [esp + 0x7a4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
call fcn.00405afe
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x20]
cmp eax, ebx
jne 0x43dff4
xor eax, eax
jmp 0x43dff7
mov eax, dword [eax + 0x20]
push ebx
push 0x26
lea ecx, [esp + 0x5a4]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.004416a0
cmp eax, 1
jne 0x43e03c
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
jne 0x43e03c
lea eax, [esp + 0x59c]
push eax
lea eax, [esp + 0x7a8]
push eax
call fcn.00422353
test eax, eax
pop ecx
pop ecx
jne 0x43df98
mov ecx, dword [edi + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x164]
cmp dword [eax + 0x20], ebx
jne 0x43e05e
mov esi, edi
call fcn.0043db89
test eax, eax
je 0x43e171
mov edi, dword [edi + 0x80]
lea esi, [esp + 0x24]
call fcn.0043fbaf
mov ebx, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
call dword [eax + 0x160]
mov esi, eax
mov edi, 0x574
add esi, edi
call fcn.00402732
push eax
lea eax, [esp + 0x28]
push eax
call sub.launcher.lib.dll_LauncherLib_Init
pop ecx
pop ecx
mov ecx, dword [ebx + 0x80]
mov eax, dword [ecx]
push 0xffffffffffffffff
call dword [eax + 0x160]
mov ecx, eax
add ecx, edi
call fcn.0040274a
mov ecx, ebx
call fcn.0043d6d9
mov edi, dword [ebx + 0x80]
lea esi, [ebx + 0x74]
push esi
call fcn.004411c9
test eax, eax
jne 0x43e102
push 0x140
lea eax, [esp + 0x1e0]
push eax
push 0x7f
push dword [ebx + 0x100]
call dword [sym.imp.USER32.dll_LoadStringW]
push 0
push 0x30
lea eax, [esp + 0x1e4]
push eax
call fcn.0040f03f
mov eax, dword [esi]
mov ecx, esi
jmp 0x43df42
mov edi, dword [ebx + 0x80]
call fcn.00440571
call fcn.00404a58
push eax
lea ecx, [esp + 0x18]
call fcn.00401dee
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x9c4], 7
call fcn.0043e1e1
lea ecx, [esp + 0x14]
mov edi, ebx
call fcn.0043d7cf
call fcn.0043d099
push 0
mov eax, 0x3e8
push eax
push eax
mov eax, edi
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [esp + 0x9c0], 3
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401019
call fcn.0043e1cd
push eax
call fcn.0043fa0f
mov ecx, dword [esp + 0x10]
add ecx, 0xfffffff0
call fcn.00401019
xor eax, eax
inc eax
mov ecx, dword [esp + 0x9b8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x9a0]
xor ecx, esp
call fcn.00420fcd
mov esp, ebp
pop ebp
ret