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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x471c17
mov eax, dword fs:[0]
push eax
push ecx
mov eax, 0x4aac
call fcn.00457330
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x4aa8], eax
push ebx
push esi
push edi
mov eax, dword [0x49b7f0]
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.00455660
add esp, 0xc
push 0x4000
lea ecx, [esp + 0xab8]
push 0
push ecx
call fcn.00455660
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 + 0x18c0]
push eax
push 0x47f880
push str.value
push str.LANG
call esi
push edi
push 4
lea edx, [ebx + 0xa38]
push edx
push 0x47f880
push str.value
push str.COUNTRY
call esi
push edi
push 0x100
lea eax, [ebx + 0x10c0]
push eax
push 0x47f880
push str.value
push str.INSTALLER_HOST_URL
call esi
push edi
push 0x100
lea ecx, [ebx + 0x12c0]
push ecx
push 0x47f880
push str.value1
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea edx, [ebx + 0x14c0]
push edx
push 0x47f880
push str.value2
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea eax, [ebx + 0x16c0]
push eax
push 0x47f880
push str.value
push str.INSTALLER_HOST_VER
call esi
push edi
push 0x100
lea ecx, [ebx + 0xcc0]
push ecx
push 0x47f880
push str.value
push str.SETUP_HOST_URL
call esi
push edi
push 0x100
lea edx, [ebx + 0xec0]
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 0x47f880
push str.value
push str.SERIAL
call esi
push edi
push 0x400
lea ecx, [ebx + 0x38]
push ecx
push 0x47f880
push str.value
push str.TEST_DATA
call esi
push edi
push 0x100
lea edx, [ebx + 0x18c8]
push edx
push 0x47f880
push str.value
push str.REPORTING_URL
call esi
push edi
push 0x100
lea eax, [ebx + 0x1ac8]
push eax
push 0x47f880
push str.value
push 0x484b8c
call esi
push edi
push 0x100
lea ecx, [ebx + 0x1cc8]
push ecx
push 0x47f880
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 + 0x18c0]
mov dword [esp + 0x34], esp
lea ecx, [eax + 2]
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x40ea76
sub eax, ecx
sar eax, 1
push eax
lea eax, [ebx + 0x18c0]
push eax
call fcn.00401720
call fcn.0040f250
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 + 0x2f00], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 4
lea edx, [ebx + 0x2f08]
push edx
push 0x47f880
push str.Default_COUNTRY
push str.DEFAULTS
mov dword [ebx + 0x2f04], eax
call esi
push edi
push 0x100
lea eax, [ebx + 0x2f10]
push eax
push 0x47f880
push str.Default_SETUP_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x100
lea ecx, [ebx + 0x3110]
push ecx
push 0x47f880
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 + 0x1ec8], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.ENABLE_QUICK_HISTORY_TABLE
mov dword [ebx + 0x1ecc], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.ENABLE_QUICK_TOUR_TABLE
mov dword [ebx + 0x1ed0], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.IsBranded
mov dword [ebx + 0x1ed4], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push 0x48505c
mov dword [ebx + 0x1ed8], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 1
push str.value
push str.SSL1
mov dword [ebx + 0x1edc], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0x100
lea edx, [ebx + 0x1ee4]
push edx
push str.Brand_
push str.value
push str.BCPath
mov dword [ebx + 0x1ee0], eax
call esi
push edi
push 0x100
lea eax, [ebx + 0x20e4]
push eax
push str.mainpokerreal.safe_installation.com
push str.value
push str.IP_Main
call esi
push edi
push 0x100
lea ecx, [ebx + 0x22e4]
push ecx
push str.cachingreal.safe_installation.com
push str.value
push str.IP_Cache
call esi
push edi
push 0x100
lea edx, [ebx + 0x24e4]
push edx
push str.mainproxydemo.safe_installation.com
push str.value
push str.IP1_Main
call esi
push edi
push 0x100
lea eax, [ebx + 0x26e4]
push eax
push str.cachingdemo.safe_installation.com
push str.value
push str.IP1_Cache
call esi
push edi
push 0x100
lea ecx, [ebx + 0x28e4]
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 0x47f880
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 0x40ecc6
sub eax, ecx
sar eax, 1
push eax
lea eax, [esp + 0x2b8]
push eax
lea esi, [esp + 0x68]
call fcn.00401720
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 0x40ed10
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40ed10
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x2b8]
push ecx
lea esi, [esp + 0x4c]
call fcn.00401720
push 1
push 0x484d28
lea eax, [esp + 0x68]
mov byte [esp + 0x4ad0], 1
call fcn.00401630
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x40eeab
jmp 0x40ed64
mov eax, dword [esp + 0x10]
push eax
lea edx, [esp + 0x64]
push edx
xor ecx, ecx
lea esi, [esp + 0x28]
call fcn.00408d20
mov byte [esp + 0x4ac8], 2
cmp dword [eax + 0x18], 8
jb 0x40ed88
mov edx, dword [eax + 4]
jmp 0x40ed8b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40ed90
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x4c]
call fcn.00401720
mov esi, 8
mov byte [esp + 0x4ac8], 1
cmp dword [esp + 0x38], esi
jb 0x40edca
mov eax, dword [esp + 0x24]
push eax
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x5c], esi
mov eax, dword [esp + 0x48]
jae 0x40edd8
lea eax, [esp + 0x48]
push eax
call fcn.00452601
mov ecx, dword [ebx + 0x14]
lea esi, [ebx + 0x10]
add esp, 4
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x40edf3
xor edx, edx
jmp 0x40edfb
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x40ee1c
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x40ee1c
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x40ee43
mov eax, dword [esi + 8]
cmp ecx, eax
mov dword [esp + 0x18], eax
jbe 0x40ee30
call fcn.00452a5a
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.00412c50
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.00408d20
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x68]
mov byte [esp + 0x4ad0], 3
call fcn.00401cb0
mov byte [esp + 0x4ac8], 1
cmp dword [esp + 0x38], 8
jb 0x40ee8e
mov eax, dword [esp + 0x24]
push eax
call fcn.004344c6
add esp, 4
push 1
push 0x484d28
lea eax, [esp + 0x68]
call fcn.00401630
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
jne 0x40ed60
cmp dword [esp + 0x78], 8
mov eax, dword [esp + 0x64]
jae 0x40eeba
lea eax, [esp + 0x64]
push eax
call fcn.00452601
lea esi, [ebx + 0x10]
add esp, 4
lea ebx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.00412760
push edi
push 0xffffffffffffffff
push str.value
push 0x484d2c
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 0x47f880
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 0x47f880
push str.value
push str.BRAND_BACKEND_NAME
call ebx
push edi
push 0x40
lea eax, [esi + 0xb40]
push eax
push 0x47f880
push str.value
push str.BRAND_DISPLAY_NAME
call ebx
push edi
push 0x40
lea ecx, [esi + 0xbc0]
push ecx
push 0x47f880
push str.value
push str.SDL_NAME
call ebx
push edi
push 0x40
lea edx, [esi + 0xc40]
push edx
push 0x47f880
push str.value
push str.ALIAS_NAME
call ebx
push edi
push 0x1000
lea eax, [esp + 0xabc]
push eax
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 ecx, [esp + 0xbc]
push ecx
mov byte [esp + 0x4ad4], 4
call fcn.00455660
add esp, 0xc
mov dword [esp + 0x10], 0
cmp dword [esp + 0x14], 0
jbe 0x40f0c0
mov edx, dword [esp + 0x10]
lea edx, [esp + edx*2 + 0xab4]
mov eax, edx
lea esi, [eax + 2]
jmp 0x40f010
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f010
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x84]
call fcn.00401720
cmp dword [esp + 0x94], 8
mov eax, dword [esp + 0x80]
jae 0x40f045
lea eax, [esp + 0x80]
push edi
push 0x100
lea edx, [esp + 0xbc]
push edx
push 0x47f880
push eax
push str.SETUPS
call ebx
lea eax, [esp + 0x7c]
push eax
mov eax, dword [esp + 0x20]
add eax, 4
push eax
call fcn.004127c0
lea ecx, [esp + 0xb4]
lea esi, [ecx + 2]
lea esp, [esp]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40f080
sub ecx, esi
sar ecx, 1
push ecx
lea ecx, [esp + 0xb8]
push ecx
mov esi, eax
call fcn.00401720
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 0x40effb
mov esi, dword [esp + 0x1c]
push edi
push 0x100
lea ecx, [esi + 0x3310]
push ecx
push str.https:__dmzls.safe_installation.com:443
push 0x484dd4
push str.ELASTIC_REPORTS
call ebx
push edi
push 0x40
lea edx, [esi + 0x3510]
push edx
push str.poker_installer_logs
push str.target
push str.ELASTIC_REPORTS
call ebx
push edi
push 0x100
lea eax, [esi + 0x2d00]
push eax
push 0x47f880
push str.value
push str.TEST_URL_4_DEBUG
call ebx
or eax, 0xffffffff
cmp dword [esi + 0x24], eax
jne 0x40f127
cmp dword [esi + 0x2f00], eax
je 0x40f134
cmp dword [esi + 0x28], eax
jne 0x40f182
cmp dword [esi + 0x2f04], eax
jne 0x40f182
lea ecx, [esp + 0x7c]
call fcn.0040b490
mov esi, 8
cmp dword [esp + 0x5c], esi
jb 0x40f155
mov ecx, dword [esp + 0x48]
push ecx
call fcn.004344c6
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 0x40f17b
mov edx, dword [esp + 0x64]
push edx
call fcn.004344c6
add esp, 4
xor al, al
jmp 0x40f221
mov edi, 8
cmp dword [esp + 0xb0], edi
jb 0x40f1a0
mov eax, dword [esp + 0x9c]
push eax
call fcn.004344c6
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 0x40f1d6
mov ecx, dword [esp + 0x80]
push ecx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x5c], edi
mov dword [esp + 0x94], ebx
mov dword [esp + 0x90], esi
mov word [esp + 0x80], si
jb 0x40f1ff
mov edx, dword [esp + 0x48]
push edx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x78], edi
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], esi
mov word [esp + 0x48], si
jb 0x40f21f
mov eax, dword [esp + 0x64]
push eax
call fcn.004344c6
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.00451053
mov esp, ebp
pop ebp
ret