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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x473566
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x2a8], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f0]
xor eax, esp
push eax
lea eax, [esp + 0x2c0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov esi, 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.0040cc60
mov edx, dword [esi]
mov edx, dword [edx + 0x164]
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
mov dword [esp + 0x1c], edi
call edx
push 0xffffffffffffffff
push ebx
lea ecx, [esp + 0x7c]
mov byte [esp + 0x2d0], 1
call fcn.00401cb0
mov byte [esp + 0x2c8], bl
cmp dword [esp + 0x34], 8
jb 0x41e054
mov eax, dword [esp + 0x20]
push eax
call fcn.004344c6
add esp, 4
push str.index.html
mov ebx, 0xa
lea eax, [esp + 0x78]
call fcn.00403680
cmp eax, 0xffffffff
jne 0x41e07c
push 0xb
push str._index.html
lea ecx, [esp + 0x7c]
call fcn.00413a90
call fcn.00409d00
mov dword [esp + 0x3c], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x3c]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [eax], eax
mov eax, dword [esp + 0x3c]
xor ebx, ebx
mov dword [eax + 8], eax
mov dword [esp + 0x40], ebx
mov byte [esp + 0x2c8], 2
call fcn.00409d00
mov dword [esp + 0x50], eax
mov byte [eax + 0x2d], 1
mov eax, dword [esp + 0x50]
mov dword [eax + 4], eax
mov eax, dword [esp + 0x50]
mov dword [eax], eax
mov eax, dword [esp + 0x50]
mov dword [eax + 8], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
push ebx
push 0x1a
lea ecx, [esp + 0xb4]
push ecx
push ebx
mov byte [esp + 0x2d8], 4
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4838c4
lea edx, [esp + 0xb0]
push edx
call esi
push str.Poker
lea eax, [esp + 0xb0]
push eax
call esi
push 0x4838c4
lea ecx, [esp + 0xb0]
push ecx
call esi
add edi, 0xac0
push edi
lea edx, [esp + 0xb0]
push edx
call esi
push 0x10
call fcn.00434496
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 5
je 0x41e168
lea ebx, [esp + 0xac]
mov edi, eax
call fcn.0042af80
mov edi, eax
xor ebx, ebx
jmp 0x41e16a
xor edi, edi
mov byte [esp + 0x2c8], 4
push 0x12
push str.defaultInstallPath
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x2cc], 6
call fcn.00408d80
mov dword [eax], edi
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x34], 8
jb 0x41e1c5
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004344c6
add esp, 4
push 0x10
call fcn.00434496
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 7
je 0x41e1f6
mov ebx, dword [esp + 0x18]
add ebx, 0xa40
mov edi, eax
call fcn.0042af80
mov edi, eax
xor ebx, ebx
jmp 0x41e1f8
xor edi, edi
mov byte [esp + 0x2c8], 4
push 5
push str.brand
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea edx, [esp + 0x38]
push edx
mov ecx, esi
mov byte [esp + 0x2cc], 8
call fcn.00408d80
mov dword [eax], edi
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x34], 8
jb 0x41e253
mov eax, dword [esp + 0x20]
push eax
call fcn.004344c6
add esp, 4
push 0x10
call fcn.00434496
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 9
je 0x41e284
mov ebx, dword [esp + 0x18]
add ebx, 0xb40
mov edi, eax
call fcn.0042af80
mov edi, eax
xor ebx, ebx
jmp 0x41e286
xor edi, edi
mov byte [esp + 0x2c8], 4
push 0xb
push str.displayName
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea ecx, [esp + 0x38]
push ecx
mov ecx, esi
mov byte [esp + 0x2cc], 0xa
call fcn.00408d80
mov esi, 8
mov dword [eax], edi
mov byte [esp + 0x2c8], 4
cmp dword [esp + 0x34], esi
jb 0x41e2e5
mov edx, dword [esp + 0x20]
push edx
call fcn.004344c6
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x90]
call fcn.0040f4a0
push 0x10
mov byte [esp + 0x2cc], 0xb
call fcn.00434496
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0xc
je 0x41e33b
cmp dword [esp + 0xa8], esi
mov ebx, dword [esp + 0x94]
jae 0x41e32e
lea ebx, [esp + 0x94]
mov edi, eax
call fcn.0042af80
mov edi, eax
xor ebx, ebx
jmp 0x41e33d
xor edi, edi
mov byte [esp + 0x2c8], 0xb
push 0xb
push str.defaultLang
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x2cc], 0xd
call fcn.00408d80
mov dword [eax], edi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x34], 8
jb 0x41e398
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004344c6
add esp, 4
mov esi, dword [esp + 0x18]
mov edi, dword [esi + 0x14]
add esi, 0x10
cmp edi, dword [esi + 8]
jbe 0x41e3ac
call fcn.00452a5a
mov dword [esp + 0x48], edi
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
mov dword [esp + 0x14], edi
jbe 0x41e3c1
call fcn.00452a5a
cmp esi, ebx
je 0x41e3c9
cmp esi, esi
je 0x41e3ce
call fcn.00452a5a
push 0x10
call fcn.00434496
add esp, 4
cmp dword [esp + 0x48], edi
je 0x41e5ee
mov edi, eax
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x2c8], 0xe
je 0x41e42b
cmp esi, ebx
jne 0x41e3fd
call fcn.00452a5a
mov edx, dword [esp + 0x48]
cmp edx, dword [esi + 8]
jb 0x41e40b
call fcn.00452a5a
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx*8 + 0x4a0318]
push edx
call fcn.0042b020
mov edi, eax
jmp 0x41e42d
xor edi, edi
mov byte [esp + 0x2c8], 0xb
push 2
push 0x488a1c
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0x2cc], 0xf
call fcn.00408d80
mov dword [eax], edi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x34], 8
jb 0x41e488
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004344c6
add esp, 4
push 0x10
call fcn.00434496
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebx
mov byte [esp + 0x2c8], 0x10
je 0x41e4e2
mov esi, dword [esp + 0x18]
add esi, 0x10
cmp esi, ebx
jne 0x41e4b4
call fcn.00452a5a
mov edx, dword [esp + 0x48]
cmp edx, dword [esi + 8]
jb 0x41e4c2
call fcn.00452a5a
mov eax, dword [esp + 0x48]
mov eax, dword [eax]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx*8 + 0x4a0334]
push edx
call fcn.0042b020
mov edi, eax
jmp 0x41e4e4
xor edi, edi
mov byte [esp + 0x2c8], 0xb
push 5
push str.value
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea eax, [esp + 0x4c]
push eax
mov ecx, esi
mov byte [esp + 0x2cc], 0x11
call fcn.00408d80
mov dword [eax], edi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x34], 8
jb 0x41e53f
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004344c6
add esp, 4
push 0x10
call fcn.00434496
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0x12
je 0x41e569
lea edx, [esp + 0x4c]
push edx
mov esi, eax
call fcn.0042b120
mov edi, eax
jmp 0x41e56b
xor edi, edi
mov byte [esp + 0x2c8], 0xb
mov esi, dword [esp + 0x5c]
cmp esi, ebx
mov eax, dword [esp + 0x60]
mov dword [esp + 0x14], edi
je 0x41e5a2
mov edx, dword [esp + 0x64]
mov ecx, eax
sub ecx, esi
sub edx, esi
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x41e5a2
mov dword [eax], edi
add eax, 4
mov dword [esp + 0x60], eax
jmp 0x41e5c6
cmp esi, eax
mov edi, eax
jbe 0x41e5ad
call fcn.00452a5a
push edi
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x78]
push ecx
lea eax, [esp + 0x68]
call fcn.00422ee0
mov esi, dword [esp + 0x18]
add esi, 0x10
cmp esi, ebx
jne 0x41e5d6
call fcn.00452a5a
mov edx, dword [esp + 0x48]
cmp edx, dword [esi + 8]
jb 0x41e5e4
call fcn.00452a5a
add dword [esp + 0x48], 4
jmp 0x41e3b0
mov esi, eax
mov dword [esp + 0x14], esi
cmp esi, ebx
mov byte [esp + 0x2c8], 0x13
je 0x41e63d
push 0x10
mov dword [esi], 4
call fcn.00434496
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0x14
je 0x41e634
lea ebx, [esp + 0x58]
mov edi, eax
call fcn.0042bf70
xor ebx, ebx
mov dword [esi + 8], eax
mov edi, esi
jmp 0x41e63f
xor eax, eax
mov dword [esi + 8], eax
mov edi, esi
jmp 0x41e63f
xor edi, edi
mov byte [esp + 0x2c8], 0xb
push 9
push str.languages
lea esi, [esp + 0x24]
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.00401720
lea eax, [esp + 0x38]
push eax
mov ecx, esi
mov byte [esp + 0x2cc], 0x15
call fcn.00408d80
mov dword [eax], edi
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x34], 8
jb 0x41e69a
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004344c6
add esp, 4
push 0x10
call fcn.00434496
add esp, 4
mov dword [esp + 0x44], eax
cmp eax, ebx
mov byte [esp + 0x2c8], 0x16
je 0x41e6c4
lea edx, [esp + 0x38]
push edx
mov esi, eax
call fcn.0042b120
mov edi, eax
jmp 0x41e6c6
xor edi, edi
lea esi, [esp + 0x1c]
mov ecx, edi
mov byte [esp + 0x2c8], 0xb
call fcn.0042b360
mov esi, 8
mov byte [esp + 0x2c8], 0x17
cmp dword [eax + 0x18], esi
jb 0x41e6f0
mov eax, dword [eax + 4]
jmp 0x41e6f3
add eax, 4
cmp dword [esp + 0x8c], esi
mov ecx, dword [esp + 0x78]
jae 0x41e704
lea ecx, [esp + 0x78]
mov edx, dword [esp + 0x18]
add edx, 0x38
push edx
push eax
mov eax, dword [esp + 0x70]
push ecx
push str._s_config_stestData_s
push eax
call fcn.0040a810
add esp, 0x14
mov byte [esp + 0x2c8], 0xb
cmp dword [esp + 0x34], esi
jb 0x41e73b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.004344c6
add esp, 4
cmp edi, ebx
je 0x41e74f
mov ecx, edi
call fcn.0042b1a0
push edi
call fcn.004344c6
add esp, 4
cmp dword [esp + 0xa8], esi
jb 0x41e768
mov edx, dword [esp + 0x94]
push edx
call fcn.004344c6
add esp, 4
mov eax, dword [esp + 0x5c]
cmp eax, ebx
mov dword [esp + 0xa8], 7
mov dword [esp + 0xa4], ebx
mov word [esp + 0x94], bx
je 0x41e793
push eax
call fcn.004344c6
add esp, 4
mov byte [esp + 0x2c8], 2
mov eax, dword [esp + 0x50]
push eax
lea ecx, [esp + 0x50]
push ecx
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea eax, [esp + 0x7c]
push eax
mov edi, ecx
call fcn.004095c0
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004344c6
add esp, 4
mov byte [esp + 0x2c8], bl
mov eax, dword [esp + 0x3c]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebx
mov edx, dword [eax]
push edx
mov esi, ecx
push esi
lea edx, [esp + 0x7c]
push edx
mov edi, ecx
call fcn.004095c0
mov eax, dword [esp + 0x3c]
push eax
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x8c], 8
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
jb 0x41e827
mov ecx, dword [esp + 0x78]
push ecx
call fcn.004344c6
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.00451053
mov esp, ebp
pop ebp
ret 4