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

Disassembly:
push 0xffffffffffffffff
push 0x473099
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x49a7f0]
xor eax, esp
mov dword [esp + 0x878], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x49a7f0]
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.00454dc0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push edi
push 0x100
lea ecx, [ebp + 0x1a48]
push ecx
push 0x47e880
push str.value
push 0x483b8c
call esi
push edi
push 0x100
lea edx, [ebp + 0x1c48]
push edx
push 0x47e880
push str.value
push str.NDL_HOST_URL
call esi
push edi
push 0x100
lea eax, [ebp + 0x1240]
push eax
push 0x47e880
push str.value1
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea ecx, [ebp + 0x1440]
push ecx
push 0x47e880
push str.value2
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea edx, [ebp + 0x1640]
push edx
push 0x47e880
push str.value
push str.INSTALLER_HOST_VER
call esi
push edi
push 0x100
lea eax, [ebp + 0x1848]
push eax
push 0x47e880
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 + 0x2e80], eax
call ebx
push edi
push 4
lea ecx, [ebp + 0x2e88]
push ecx
push 0x47e880
push str.Default_COUNTRY
push str.DEFAULTS
mov dword [ebp + 0x2e84], eax
call esi
push edi
push 0x100
lea edx, [ebp + 0x2e90]
push edx
push 0x47e880
push str.Default_SETUP_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x100
lea eax, [ebp + 0x3090]
push eax
push 0x47e880
push str.Default_INSTALLER_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x400
lea ecx, [esp + 0x94]
push ecx
push 0x47e880
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 0x40e170
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x40e170
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
lea esi, [esp + 0x5c]
call fcn.00401690
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 0x40e1c0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x78]
call fcn.00401690
push 1
push 0x483d28
lea eax, [esp + 0x5c]
mov byte [esp + 0x8a4], 1
call fcn.004015a0
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x40e34f
lea ebx, [ebp + 0x10]
jmp 0x40e214
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
xor ecx, ecx
lea esi, [esp + 0x40]
call fcn.00408cf0
mov byte [esp + 0x89c], 2
cmp dword [eax + 0x18], 8
jb 0x40e238
mov edx, dword [eax + 4]
jmp 0x40e23b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40e240
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x78]
call fcn.00401690
mov esi, 8
mov byte [esp + 0x89c], 1
cmp dword [esp + 0x50], esi
jb 0x40e27a
mov edx, dword [esp + 0x3c]
push edx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x88], esi
mov eax, dword [esp + 0x74]
jae 0x40e28b
lea eax, [esp + 0x74]
push eax
call fcn.00451d65
mov ecx, dword [ebx + 4]
add esp, 4
test ecx, ecx
mov dword [esp + 0x14], eax
jne 0x40e2a3
xor esi, esi
jmp 0x40e2ab
mov esi, dword [ebx + 8]
sub esi, ecx
sar esi, 2
test ecx, ecx
je 0x40e2c8
mov edx, dword [ebx + 0xc]
sub edx, ecx
sar edx, 2
cmp esi, edx
jae 0x40e2c8
mov ecx, dword [ebx + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [ebx + 8], ecx
jmp 0x40e2e7
mov esi, dword [ebx + 8]
cmp ecx, esi
jbe 0x40e2d4
call fcn.004521be
push esi
push ebx
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov eax, ebx
call fcn.00412e70
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.00408cf0
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8a4], 3
call fcn.00401c20
mov byte [esp + 0x89c], 1
cmp dword [esp + 0x50], 8
jb 0x40e332
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00433c26
add esp, 4
push 1
push 0x483d28
lea eax, [esp + 0x5c]
call fcn.004015a0
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40e210
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x40e35e
lea eax, [esp + 0x58]
push eax
call fcn.00451d65
add esp, 4
lea esi, [ebp + 0x10]
lea ebx, [esp + 0x14]
mov dword [esp + 0x14], eax
call fcn.00412880
push edi
push 0xffffffffffffffff
push str.value
push 0x483d2c
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 0x47e880
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 0x47e880
push str.value
push str.BRAND_BACKEND_NAME
call esi
push edi
push 0x40
lea ecx, [ebp + 0xb40]
push ecx
push 0x47e880
push str.value
push str.BRAND_DISPLAY_NAME
call esi
push edi
push 0x40
lea edx, [ebp + 0xbc0]
push edx
push 0x47e880
push str.value
push str.SDL_NAME
call esi
push edi
push 0x100
lea eax, [ebp + 0x3290]
push eax
push str.https:__dmzls.safe_installation.com:443
push 0x483dbc
push str.ELASTIC_REPORTS
call esi
push edi
push 0x40
lea ecx, [ebp + 0x3490]
push ecx
push str.poker_installer_logs
push str.target
push str.ELASTIC_REPORTS
call esi
push edi
push 0x100
lea edx, [ebp + 0x2a64]
push edx
push 0x47e880
push str.value
push 0x482b98
call esi
xor eax, eax
mov ebx, 1
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], eax
push str.BINPATH
lea ecx, [esp + 0x1c]
call fcn.00402870
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x20]
mov byte [esp + 0x8a0], 4
call fcn.0040c930
mov byte [esp + 0x8a0], bl
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e4c7
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 0x40e4e4
push 0x104
lea ecx, [ebp + 0x3518]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push str.serial
lea ecx, [esp + 0x20]
call fcn.00402870
lea edx, [esp + 0x1c]
push edx
lea edi, [esp + 0x24]
mov byte [esp + 0x8a0], 5
call fcn.0040c930
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 0x40e532
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 0x40e54f
push eax
lea ecx, [ebp + 0x838]
push 0x100
push ecx
call fcn.004516d6
add esp, 0xc
push str.test_data
lea ecx, [esp + 0x24]
call fcn.00402870
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x18]
mov byte [esp + 0x8a0], 6
call fcn.0040c930
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 0x40e59d
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 0x40e5b7
push eax
lea ecx, [ebp + 0x38]
push 0x400
push ecx
call fcn.004516d6
add esp, 0xc
push str.SC_DESKTOP
lea ecx, [esp + 0x18]
call fcn.00402870
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 7
call fcn.0040c9c0
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 0x40e606
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 + 0x3514], cl
lea ecx, [esp + 0x18]
call fcn.00402870
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 8
call fcn.0040c9c0
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 0x40e662
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 + 0x3515], cl
lea ecx, [esp + 0x18]
call fcn.00402870
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 9
call fcn.0040c9c0
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 0x40e6be
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 + 0x3516], cl
lea ecx, [esp + 0x18]
call fcn.00402870
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x8a4], 0xa
call fcn.0040c9c0
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 0x40e71a
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 0x40e73c
mov edx, dword [esp + 0x74]
push edx
call fcn.00433c26
add esp, 4
cmp dword [esp + 0x6c], edi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
jb 0x40e766
mov eax, dword [esp + 0x58]
push eax
call fcn.00433c26
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.004507b7
add esp, 0x88c
ret 4