Function at 0x40e510
Capabilities:
Get geographical location
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x470777
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4aac
call fcn.00455ee0
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x4aa8], eax
push ebx
push esi
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x4ac0]
mov dword fs:[0], eax
push 0x800
lea eax, [esp + 0x2b8]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x28], ebx
mov edi, edx
call fcn.00454210
add esp, 0xc
push 0x4000
lea ecx, [esp + 0xab8]
push 0
push ecx
call fcn.00454210
add esp, 0xc
push edi
push 0xffffffffffffffff
push str.value
push str.SKIN
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 4
mov dword [ebx + 0x24], eax
lea eax, [ebx + 0x1840]
push eax
push 0x47d880
push str.value
push str.LANG
call esi
push edi
push 4
lea edx, [ebx + 0xa38]
push edx
push 0x47d880
push str.value
push str.COUNTRY
call esi
push edi
push 0x100
lea eax, [ebx + 0x1040]
push eax
push 0x47d880
push str.value
push str.INSTALLER_HOST_URL
call esi
push edi
push 0x100
lea ecx, [ebx + 0x1240]
push ecx
push 0x47d880
push str.value1
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea edx, [ebx + 0x1440]
push edx
push 0x47d880
push str.value2
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea eax, [ebx + 0x1640]
push eax
push 0x47d880
push str.value
push str.INSTALLER_HOST_VER
call esi
push edi
push 0x100
lea ecx, [ebx + 0xc40]
push ecx
push 0x47d880
push str.value
push str.SETUP_HOST_URL
call esi
push edi
push 0x100
lea edx, [ebx + 0xe40]
push edx
push str.http:__setupspoker_lln.images4us.com_
push str.value
push str.SETUP_HOST_URL_DIRECT
call esi
push edi
push 0x100
lea eax, [ebx + 0x838]
push eax
push 0x47d880
push str.value
push str.SERIAL
call esi
push edi
push 0x400
lea ecx, [ebx + 0x38]
push ecx
push 0x47d880
push str.value
push str.TEST_DATA
call esi
push edi
push 0x100
lea edx, [ebx + 0x1848]
push edx
push 0x47d880
push str.value
push str.REPORTING_URL
call esi
push edi
push 0x100
lea eax, [ebx + 0x1a48]
push eax
push 0x47d880
push str.value
push 0x482b8c
call esi
push edi
push 0x100
lea ecx, [ebx + 0x1c48]
push ecx
push 0x47d880
push str.value
push str.NDL_HOST_URL
call esi
sub esp, 0x1c
mov esi, esp
xor eax, eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], 7
mov word [esi + 4], ax
lea eax, [ebx + 0x1840]
mov dword [esp + 0x34], esp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40e746
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebx + 0x1840]
push eax
call fcn.00401690
call fcn.0040ef00
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0xffffffffffffffff
push str.Default_SKIN
push str.DEFAULTS
mov dword [ebx + 0x28], eax
call esi
push edi
push 0xffffffffffffffff
push str.Default_LANG
push str.DEFAULTS
mov dword [ebx + 0x2e80], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 4
lea edx, [ebx + 0x2e88]
push edx
push 0x47d880
push str.Default_COUNTRY
push str.DEFAULTS
mov dword [ebx + 0x2e84], eax
call esi
push edi
push 0x100
lea eax, [ebx + 0x2e90]
push eax
push 0x47d880
push str.Default_SETUP_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x100
lea ecx, [ebx + 0x3090]
push ecx
push 0x47d880
push str.Default_INSTALLER_HOST_URL
push str.DEFAULTS
call esi
push edi
push 1
push str.value
push str.elog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.ENABLE_QUICK_RING_TABLE
mov dword [ebx + 0x1e48], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.ENABLE_QUICK_HISTORY_TABLE
mov dword [ebx + 0x1e4c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.ENABLE_QUICK_TOUR_TABLE
mov dword [ebx + 0x1e50], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.IsBranded
mov dword [ebx + 0x1e54], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push 0x483044
mov dword [ebx + 0x1e58], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.SSL1
mov dword [ebx + 0x1e5c], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0x100
lea edx, [ebx + 0x1e64]
push edx
push str.Brand_
push str.value
push str.BCPath
mov dword [ebx + 0x1e60], eax
call esi
push edi
push 0x100
lea eax, [ebx + 0x2064]
push eax
push str.mainpokerreal.safe_installation.com
push str.value
push str.IP_Main
call esi
push edi
push 0x100
lea ecx, [ebx + 0x2264]
push ecx
push str.cachingreal.safe_installation.com
push str.value
push str.IP_Cache
call esi
push edi
push 0x100
lea edx, [ebx + 0x2464]
push edx
push str.mainproxydemo.safe_installation.com
push str.value
push str.IP1_Main
call esi
push edi
push 0x100
lea eax, [ebx + 0x2664]
push eax
push str.cachingdemo.safe_installation.com
push str.value
push str.IP1_Cache
call esi
push edi
push 0x100
lea ecx, [ebx + 0x2864]
push ecx
push str.sdl.safe_installation.com
push str.value
push str.S_IP
call esi
push edi
push 0x400
lea edx, [esp + 0x2bc]
push edx
push 0x47d880
push str.value
push str.LANGUAGES
call esi
xor edx, edx
lea eax, [esp + 0x2b4]
mov dword [esp + 0x78], 7
mov dword [esp + 0x74], edx
mov word [esp + 0x64], dx
lea ecx, [eax + 2]
mov si, word [eax]
add eax, 2
cmp si, dx
jne 0x40e996
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x2b8]
push eax
lea esi, [esp + 0x68]
call fcn.00401690
xor esi, esi
mov dword [esp + 0x4ac8], esi
lea eax, [esp + 0x2b4]
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
lea edx, [eax + 2]
jmp 0x40e9e0
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40e9e0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2b8]
push ecx
lea esi, [esp + 0x4c]
call fcn.00401690
push 1
push 0x482d28
lea eax, [esp + 0x68]
mov byte [esp + 0x4ad0], 1
call fcn.004015b0
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x40eb7b
jmp 0x40ea34
mov eax, dword [esp + 0x10]
push eax
lea edx, [esp + 0x64]
push edx
xor ecx, ecx
lea esi, [esp + 0x28]
call fcn.00408c90
mov byte [esp + 0x4ac8], 2
cmp dword [eax + 0x18], 8
jb 0x40ea58
mov edx, dword [eax + 4]
jmp 0x40ea5b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ea60
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x4c]
call fcn.00401690
mov esi, 8
mov byte [esp + 0x4ac8], 1
cmp dword [esp + 0x38], esi
jb 0x40ea9a
mov eax, dword [esp + 0x24]
push eax
call fcn.00433096
add esp, 4
cmp dword [esp + 0x5c], esi
mov eax, dword [esp + 0x48]
jae 0x40eaa8
lea eax, [esp + 0x48]
push eax
call fcn.004511b3
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 0x10]
add esp, 4
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x40eac3
xor edx, edx
jmp 0x40eacb
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x40eaec
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x40eaec
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x40eb13
mov eax, dword [esi + 8]
cmp ecx, eax
mov dword [esp + 0x18], eax
jbe 0x40eb00
call fcn.0045160c
mov eax, dword [esp + 0x18]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x48]
push eax
mov eax, esi
call fcn.00412940
mov ecx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x64]
add ecx, 1
push edx
lea esi, [esp + 0x28]
call fcn.00408c90
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x4ad0], 3
call fcn.00401c20
mov byte [esp + 0x4ac8], 1
cmp dword [esp + 0x38], 8
jb 0x40eb5e
mov eax, dword [esp + 0x24]
push eax
call fcn.00433096
add esp, 4
push 1
push 0x482d28
lea eax, [esp + 0x68]
call fcn.004015b0
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x40ea30
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x40eb8a
lea eax, [esp + 0x64]
push eax
call fcn.004511b3
lea esi, [ebx + 0x10]
add esp, 4
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00412410
push edi
push 0xffffffffffffffff
push str.value
push 0x482d2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [esp + 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x40
lea ecx, [esi + 0xa40]
push ecx
push 0x47d880
push str.value
push str.BRAND_NAME
mov dword [esi + 0x20], eax
call ebx
push edi
push 0x40
lea edx, [esi + 0xac0]
push edx
push 0x47d880
push str.value
push str.BRAND_BACKEND_NAME
call ebx
push edi
push 0x40
lea eax, [esi + 0xb40]
push eax
push 0x47d880
push str.value
push str.BRAND_DISPLAY_NAME
call ebx
push edi
push 0x40
lea ecx, [esi + 0xbc0]
push ecx
push 0x47d880
push str.value
push str.SDL_NAME
call ebx
push edi
push 0x1000
lea edx, [esp + 0xabc]
push edx
push 0
push 0
push str.SETUPS
call ebx
mov dword [esp + 0x14], eax
xor eax, eax
mov ecx, 7
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], eax
mov word [esp + 0x80], ax
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xac], eax
mov word [esp + 0x9c], ax
push 0x200
push eax
lea eax, [esp + 0xbc]
push eax
mov byte [esp + 0x4ad4], 4
call fcn.00454210
add esp, 0xc
cmp dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
jbe 0x40ed70
mov edx, dword [esp + 0x10]
lea edx, [esp + edx*2 + 0xab4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ecc0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x84]
call fcn.00401690
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x40ecf5
lea eax, [esp + 0x80]
push edi
push 0x100
lea ecx, [esp + 0xbc]
push ecx
push 0x47d880
push eax
push str.SETUPS
call ebx
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x7c]
push edx
add eax, 4
push eax
call fcn.00412470
lea ecx, [esp + 0xb4]
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40ed30
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0xb8]
push ecx
mov esi, eax
call fcn.00401690
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x90]
lea eax, [eax + edx + 1]
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jb 0x40ecb0
mov esi, dword [esp + 0x1c]
push edi
push 0x100
lea ecx, [esi + 0x3290]
push ecx
push str.https:__dmzls.safe_installation.com:443
push 0x482dbc
push str.ELASTIC_REPORTS
call ebx
push edi
push 0x40
lea edx, [esi + 0x3490]
push edx
push str.poker_installer_logs
push str.target
push str.ELASTIC_REPORTS
call ebx
push edi
push 0x100
lea eax, [esi + 0x2c80]
push eax
push 0x47d880
push str.value
push str.TEST_URL_4_DEBUG
call ebx
or eax, 0xffffffff
cmp dword [esi + 0x24], eax
jne 0x40edd7
cmp dword [esi + 0x2e80], eax
je 0x40ede4
cmp dword [esi + 0x28], eax
jne 0x40ee32
cmp dword [esi + 0x2e84], eax
jne 0x40ee32
lea ecx, [esp + 0x7c]
call fcn.0040b3d0
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x40ee05
mov ecx, dword [esp + 0x48]
push ecx
call fcn.00433096
add esp, 4
xor eax, eax
cmp dword [esp + 0x78], esi
mov dword [esp + 0x5c], 7
mov dword [esp + 0x58], eax
mov word [esp + 0x48], ax
jb 0x40ee2b
mov edx, dword [esp + 0x64]
push edx
call fcn.00433096
add esp, 4
xor al, al
jmp 0x40eed1
mov edi, 8
cmp dword [esp + 0xb0], edi
jb 0x40ee50
mov eax, dword [esp + 0x9c]
push eax
call fcn.00433096
add esp, 4
xor esi, esi
cmp dword [esp + 0x94], edi
mov ebx, 7
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], esi
mov word [esp + 0x9c], si
jb 0x40ee86
mov ecx, dword [esp + 0x80]
push ecx
call fcn.00433096
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], esi
mov word [esp + 0x80], si
jb 0x40eeaf
mov edx, dword [esp + 0x48]
push edx
call fcn.00433096
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
jb 0x40eecf
mov eax, dword [esp + 0x64]
push eax
call fcn.00433096
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x4ac0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4aa8]
xor ecx, esp
call fcn.0044fc05
mov esp, ebp
pop ebp
ret