Function at 0x40e020
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x473a09
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x49b7f0]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49b7f0]
xor eax, esp
push eax
lea eax, [esp + 0x894]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x8a4]
push 0x800
lea eax, [esp + 0x90]
push 0
push eax
mov edi, ecx
call fcn.00455660
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push edi
push 0x100
lea ecx, [ebp + 0x1ac8]
push ecx
push 0x47f880
push str.value
push 0x484b8c
call esi
push edi
push 0x100
lea edx, [ebp + 0x1cc8]
push edx
push 0x47f880
push str.value
push str.NDL_HOST_URL
call esi
push edi
push 0x100
lea eax, [ebp + 0x12c0]
push eax
push 0x47f880
push str.value1
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea ecx, [ebp + 0x14c0]
push ecx
push 0x47f880
push str.value2
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea edx, [ebp + 0x16c0]
push edx
push 0x47f880
push str.value
push str.INSTALLER_HOST_VER
call esi
push edi
push 0x100
lea eax, [ebp + 0x18c8]
push eax
push 0x47f880
push str.value
push str.REPORTING_URL
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0xffffffffffffffff
push str.Default_SKIN
push str.DEFAULTS
call ebx
push edi
push 0xffffffffffffffff
push str.Default_LANG
push str.DEFAULTS
mov dword [ebp + 0x2f00], eax
call ebx
push edi
push 4
lea ecx, [ebp + 0x2f08]
push ecx
push 0x47f880
push str.Default_COUNTRY
push str.DEFAULTS
mov dword [ebp + 0x2f04], eax
call esi
push edi
push 0x100
lea edx, [ebp + 0x2f10]
push edx
push 0x47f880
push str.Default_SETUP_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x100
lea eax, [ebp + 0x3110]
push eax
push 0x47f880
push str.Default_INSTALLER_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x400
lea ecx, [esp + 0x94]
push ecx
push 0x47f880
push str.value
push str.LANGUAGES
call esi
xor ebx, ebx
lea eax, [esp + 0x8c]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], ebx
mov word [esp + 0x58], bx
lea ecx, [eax + 2]
jmp 0x40e200
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x40e200
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
lea esi, [esp + 0x5c]
call fcn.00401720
mov dword [esp + 0x89c], ebx
lea eax, [esp + 0x8c]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], ebx
mov word [esp + 0x74], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x40e250
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x78]
call fcn.00401720
push 1
push 0x484d28
lea eax, [esp + 0x5c]
mov byte [esp + 0x8a4], 1
call fcn.00401630
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x40e3df
lea ebx, [ebp + 0x10]
jmp 0x40e2a4
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
xor ecx, ecx
lea esi, [esp + 0x40]
call fcn.00408d20
mov byte [esp + 0x89c], 2
cmp dword [eax + 0x18], 8
jb 0x40e2c8
mov edx, dword [eax + 4]
jmp 0x40e2cb
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e2d0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x78]
call fcn.00401720
mov esi, 8
mov byte [esp + 0x89c], 1
cmp dword [esp + 0x50], esi
jb 0x40e30a
mov edx, dword [esp + 0x3c]
push edx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x88], esi
mov eax, dword [esp + 0x74]
jae 0x40e31b
lea eax, [esp + 0x74]
push eax
call fcn.00452601
mov ecx, dword [ebx + 4]
add esp, 4
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x40e333
xor esi, esi
jmp 0x40e33b
mov esi, dword [ebx + 8]
sub esi, ecx
sar esi, 2
test ecx, ecx
je 0x40e358
mov edx, dword [ebx + 0xc]
sub edx, ecx
sar edx, 2
cmp esi, edx
jae 0x40e358
mov ecx, dword [ebx + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebx + 8], ecx
jmp 0x40e377
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x40e364
call fcn.00452a5a
push esi
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov eax, ebx
call fcn.00412c50
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x18]
push edx
lea eax, [esp + 0x58]
add ecx, 1
push eax
lea esi, [esp + 0x40]
call fcn.00408d20
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8a4], 3
call fcn.00401cb0
mov byte [esp + 0x89c], 1
cmp dword [esp + 0x50], 8
jb 0x40e3c2
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.004344c6
add esp, 4
push 1
push 0x484d28
lea eax, [esp + 0x5c]
call fcn.00401630
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40e2a0
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x40e3ee
lea eax, [esp + 0x58]
push eax
call fcn.00452601
add esp, 4
lea esi, [ebp + 0x10]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00412760
push edi
push 0xffffffffffffffff
push str.value
push 0x484d2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edi
push 0x40
lea edx, [ebp + 0xa40]
push edx
push 0x47f880
push str.value
push str.BRAND_NAME
mov dword [ebp + 0x20], eax
call esi
push edi
push 0x40
lea eax, [ebp + 0xac0]
push eax
push 0x47f880
push str.value
push str.BRAND_BACKEND_NAME
call esi
push edi
push 0x40
lea ecx, [ebp + 0xb40]
push ecx
push 0x47f880
push str.value
push str.BRAND_DISPLAY_NAME
call esi
push edi
push 0x40
lea edx, [ebp + 0xbc0]
push edx
push 0x47f880
push str.value
push str.SDL_NAME
call esi
push edi
push 0x40
lea eax, [ebp + 0xc40]
push eax
push 0x47f880
push str.value
push str.ALIAS_NAME
call esi
push edi
push 0x100
lea ecx, [ebp + 0x3310]
push ecx
push str.https:__dmzls.safe_installation.com:443
push 0x484dd4
push str.ELASTIC_REPORTS
call esi
push edi
push 0x40
lea edx, [ebp + 0x3510]
push edx
push str.poker_installer_logs
push str.target
push str.ELASTIC_REPORTS
call esi
push edi
push 0x100
lea eax, [ebp + 0x2ae4]
push eax
push 0x47f880
push str.value
push 0x483b98
call esi
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov ebx, 1
push str.BINPATH
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], eax
call fcn.004028f0
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x20]
mov byte [esp + 0x8a0], 4
call fcn.0040c9b0
mov byte [esp + 0x8a0], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e572
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x1c]
xor esi, esi
cmp eax, esi
je 0x40e58f
push 0x104
lea ecx, [ebp + 0x3598]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push str.serial
lea ecx, [esp + 0x20]
call fcn.004028f0
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x24]
mov byte [esp + 0x8a0], 5
call fcn.0040c9b0
mov byte [esp + 0x8a0], bl
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e5dd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
cmp eax, esi
je 0x40e5fa
push eax
lea ecx, [ebp + 0x838]
push 0x100
push ecx
call fcn.00451f72
add esp, 0xc
push str.test_data
lea ecx, [esp + 0x24]
call fcn.004028f0
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x18]
mov byte [esp + 0x8a0], 6
call fcn.0040c9b0
mov byte [esp + 0x8a0], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e648
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40e662
push eax
lea ecx, [ebp + 0x38]
push 0x400
push ecx
call fcn.00451f72
add esp, 0xc
push str.SC_DESKTOP
lea ecx, [esp + 0x18]
call fcn.004028f0
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 7
call fcn.0040ca40
mov byte [esp + 0x8a4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e6b1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], esi
push str.SC_QUICK_LAUNCH
setne cl
mov byte [ebp + 0x3594], cl
lea ecx, [esp + 0x18]
call fcn.004028f0
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 8
call fcn.0040ca40
mov byte [esp + 0x8a4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e70d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], esi
push str.SC_START_MENU
setne cl
mov byte [ebp + 0x3595], cl
lea ecx, [esp + 0x18]
call fcn.004028f0
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 9
call fcn.0040ca40
mov byte [esp + 0x8a4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e769
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x2c], esi
push str.SKIN_ID
setne cl
mov byte [ebp + 0x3596], cl
lea ecx, [esp + 0x18]
call fcn.004028f0
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 0xa
call fcn.0040ca40
mov byte [esp + 0x8a4], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e7c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov edi, 8
cmp dword [esp + 0x88], edi
mov dword [ebp + 0x24], ecx
jb 0x40e7e7
mov edx, dword [esp + 0x74]
push edx
call fcn.004344c6
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
jb 0x40e811
mov eax, dword [esp + 0x58]
push eax
call fcn.004344c6
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x894]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x878]
xor ecx, esp
call fcn.00451053
add esp, 0x88c
ret 4