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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x472509
mov eax, dword fs:[0]
push eax
sub esp, 0x888
mov eax, dword [0x4997f0]
xor eax, esp
mov dword [esp + 0x880], eax
push ebx
push esi
push edi
mov eax, dword [0x4997f0]
xor eax, esp
push eax
lea eax, [esp + 0x898]
mov dword fs:[0], eax
push 0x800
lea eax, [esp + 0x90]
mov ebx, ecx
push 0
push eax
mov dword [esp + 0x28], ebx
mov edi, edx
call fcn.00454210
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
push edi
push 0x100
lea ecx, [ebx + 0x1a48]
push ecx
push 0x47d880
push str.value
push 0x482b8c
call esi
push edi
push 0x100
lea edx, [ebx + 0x1c48]
push edx
push 0x47d880
push str.value
push str.NDL_HOST_URL
call esi
push edi
push 0x100
lea eax, [ebx + 0x1240]
push eax
push 0x47d880
push str.value1
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea ecx, [ebx + 0x1440]
push ecx
push 0x47d880
push str.value2
push str.INSTALLER_HOST_URL_AB
call esi
push edi
push 0x100
lea edx, [ebx + 0x1640]
push edx
push 0x47d880
push str.value
push str.INSTALLER_HOST_VER
call esi
push edi
push 0x100
lea eax, [ebx + 0x1848]
push eax
push 0x47d880
push str.value
push str.REPORTING_URL
call esi
push edi
push 0xffffffffffffffff
push str.Default_SKIN
push str.DEFAULTS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 0xffffffffffffffff
push str.Default_LANG
push str.DEFAULTS
mov dword [ebx + 0x2e80], eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push edi
push 4
lea ecx, [ebx + 0x2e88]
push ecx
push 0x47d880
push str.Default_COUNTRY
push str.DEFAULTS
mov dword [ebx + 0x2e84], eax
call esi
push edi
push 0x100
lea edx, [ebx + 0x2e90]
push edx
push 0x47d880
push str.Default_SETUP_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x100
lea eax, [ebx + 0x3090]
push eax
push 0x47d880
push str.Default_INSTALLER_HOST_URL
push str.DEFAULTS
call esi
push edi
push 0x400
lea ecx, [esp + 0x94]
push ecx
push 0x47d880
push str.value
push str.LANGUAGES
call esi
xor esi, esi
lea eax, [esp + 0x8c]
mov dword [esp + 0x6c], 7
mov dword [esp + 0x68], esi
mov word [esp + 0x58], si
lea ecx, [eax + 2]
mov edi, edi
mov dx, word [eax]
add eax, 2
cmp dx, si
jne 0x40ded0
sub eax, ecx
sar eax, 1
push eax
lea edx, [esp + 0x90]
push edx
lea esi, [esp + 0x5c]
call fcn.00401690
xor esi, esi
mov dword [esp + 0x8a0], esi
lea eax, [esp + 0x8c]
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
lea edx, [eax + 2]
jmp 0x40df20
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x40df20
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x90]
push eax
lea esi, [esp + 0x78]
call fcn.00401690
push 1
push 0x482d28
lea eax, [esp + 0x5c]
mov byte [esp + 0x8a8], 1
call fcn.004015b0
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
je 0x40e0be
jmp 0x40df74
mov eax, dword [esp + 0x18]
push eax
lea ecx, [esp + 0x58]
push ecx
xor ecx, ecx
lea esi, [esp + 0x40]
call fcn.00408c90
mov byte [esp + 0x8a0], 2
cmp dword [eax + 0x18], 8
jb 0x40df98
mov edx, dword [eax + 4]
jmp 0x40df9b
lea edx, [eax + 4]
mov eax, edx
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40dfa0
sub eax, esi
sar eax, 1
push eax
push edx
lea esi, [esp + 0x78]
call fcn.00401690
mov esi, 8
mov byte [esp + 0x8a0], 1
cmp dword [esp + 0x50], esi
jb 0x40dfda
mov edx, dword [esp + 0x3c]
push edx
call fcn.00433096
add esp, 4
cmp dword [esp + 0x88], esi
mov eax, dword [esp + 0x74]
jae 0x40dfeb
lea eax, [esp + 0x74]
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 0x40e006
xor edx, edx
jmp 0x40e00e
mov edx, dword [esi + 8]
sub edx, ecx
sar edx, 2
test ecx, ecx
je 0x40e02f
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x40e02f
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
add eax, 4
mov dword [esi + 8], eax
jmp 0x40e056
mov eax, dword [esi + 8]
cmp ecx, eax
mov dword [esp + 0x10], eax
jbe 0x40e043
call fcn.0045160c
mov eax, dword [esp + 0x10]
push eax
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x2c]
push eax
mov eax, esi
call fcn.00412940
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x58]
add ecx, 1
push edx
lea esi, [esp + 0x40]
call fcn.00408c90
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x8a8], 3
call fcn.00401c20
mov byte [esp + 0x8a0], 1
cmp dword [esp + 0x50], 8
jb 0x40e0a1
mov eax, dword [esp + 0x3c]
push eax
call fcn.00433096
add esp, 4
push 1
push 0x482d28
lea eax, [esp + 0x5c]
call fcn.004015b0
cmp eax, 0xffffffff
mov dword [esp + 0x18], eax
jne 0x40df70
cmp dword [esp + 0x6c], 8
mov eax, dword [esp + 0x58]
jae 0x40e0cd
lea eax, [esp + 0x58]
push eax
call fcn.004511b3
lea esi, [ebx + 0x10]
add esp, 4
lea ebx, [esp + 0x10]
mov dword [esp + 0x10], 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 0x100
lea edx, [esi + 0x3290]
push edx
push str.https:__dmzls.safe_installation.com:443
push 0x482dbc
push str.ELASTIC_REPORTS
call ebx
push edi
push 0x40
lea eax, [esi + 0x3490]
push eax
push str.poker_installer_logs
push str.target
push str.ELASTIC_REPORTS
call ebx
push edi
push 0x100
add esi, 0x2a64
push esi
push 0x47d880
push str.value
push 0x481b98
call ebx
xor eax, eax
mov ebx, 1
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], 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 + 0x18]
call fcn.00402870
lea ecx, [esp + 0x14]
push ecx
lea edi, [esp + 0x1c]
mov byte [esp + 0x8a4], 4
call fcn.0040c690
mov byte [esp + 0x8a4], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40e23a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
test eax, eax
mov esi, dword [esp + 0x1c]
je 0x40e259
push 0x104
lea ecx, [esi + 0x3518]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
push str.serial
lea ecx, [esp + 0x18]
call fcn.00402870
lea edx, [esp + 0x14]
push edx
lea edi, [esp + 0x24]
mov byte [esp + 0x8a4], 5
call fcn.0040c690
mov byte [esp + 0x8a4], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e2a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
je 0x40e2c4
push eax
lea ecx, [esi + 0x838]
push 0x100
push ecx
call fcn.00450b24
add esp, 0xc
push str.test_data
lea ecx, [esp + 0x24]
call fcn.00402870
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x14]
mov byte [esp + 0x8a4], 6
call fcn.0040c690
mov byte [esp + 0x8a4], 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 0x40e312
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, edi
je 0x40e32e
push eax
lea ecx, [esi + 0x38]
push 0x400
push ecx
call fcn.00450b24
add esp, 0xc
push str.SC_DESKTOP
lea ecx, [esp + 0x14]
call fcn.00402870
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x8a8], 7
call fcn.0040c720
mov byte [esp + 0x8a8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e37d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x34], edi
push str.SC_QUICK_LAUNCH
setne cl
mov byte [esi + 0x3514], cl
lea ecx, [esp + 0x14]
call fcn.00402870
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x8a8], 8
call fcn.0040c720
mov byte [esp + 0x8a8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e3d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x28], edi
push str.SC_START_MENU
setne cl
mov byte [esi + 0x3515], cl
lea ecx, [esp + 0x14]
call fcn.00402870
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x8a8], 9
call fcn.0040c720
mov byte [esp + 0x8a8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e435
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [esp + 0x2c], edi
push str.SKIN_ID
setne cl
mov byte [esi + 0x3516], cl
lea ecx, [esp + 0x14]
call fcn.00402870
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x14]
push eax
mov byte [esp + 0x8a8], 0xa
call fcn.0040c720
mov byte [esp + 0x8a8], bl
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40e491
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x24], ecx
mov esi, 8
cmp dword [esp + 0x88], esi
jb 0x40e4b3
mov edx, dword [esp + 0x74]
push edx
call fcn.00433096
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x88], 7
mov dword [esp + 0x84], edi
mov word [esp + 0x74], di
jb 0x40e4dd
mov eax, dword [esp + 0x58]
push eax
call fcn.00433096
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x898]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x880]
xor ecx, esp
call fcn.0044fc05
mov esp, ebp
pop ebp
ret