Function at 0x4071d0
Capabilities:
Check os version
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7160
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x50545c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 0x18], 0
push 0x4d1180
lea ecx, [ebp - 0x14]
call fcn.00412290
mov dword [ebp - 4], 0
push 0x4d1180
lea ecx, [ebp - 0x10]
call fcn.00412290
mov byte [ebp - 4], 1
mov ecx, 0x506c08
call fcn.0043cbb0
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, 0x506c08
call fcn.00432f50
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], ecx
mov byte [ebp - 4], 2
push str.clientEstConfig.ini
mov edx, dword [ebp - 0xe0]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0xe4], eax
mov ecx, dword [ebp - 0xe4]
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x5c]
push edx
lea ecx, [ebp - 0x14]
call fcn.00412a10
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x20]
sub eax, 0x10
mov dword [ebp - 0x60], eax
mov ecx, dword [ebp - 0x60]
call fcn.004029d0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x64]
call fcn.004029d0
cmp dword [ebp - 0x18], 0
je 0x40734b
lea edx, [ebp - 0x24]
push edx
mov ecx, 0x506c08
call fcn.00432f50
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 4
push str.client_64EstConfig.ini
mov ecx, dword [ebp - 0xec]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.0040f270
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x14]
call fcn.00412a10
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x28]
sub edx, 0x10
mov dword [ebp - 0x6c], edx
mov ecx, dword [ebp - 0x6c]
call fcn.004029d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x24]
sub eax, 0x10
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.004029d0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 0x74]
push edx
push 0
push 0x4d27cc
push str.MAILLOCK
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xd8]
mov dword [ecx + 0xc], eax
mov edx, str..sys
test edx, edx
jne 0x407382
mov dword [ebp - 0x78], 0
jmp 0x407392
push str..sys
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
push eax
push str..sys
lea ecx, [ebp - 0x10]
call fcn.00412d00
cmp dword [ebp - 0x18], 0
je 0x4073dc
mov ecx, str.64.sys
test ecx, ecx
jne 0x4073bb
mov dword [ebp - 0x7c], 0
jmp 0x4073cb
push str.64.sys
call fcn.004939fc
add esp, 4
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
push edx
push str.64.sys
lea ecx, [ebp - 0x10]
call fcn.00412d00
mov eax, dword [ebp - 0xd8]
cmp dword [eax + 0xc], 0
je 0x407627
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
cmp edx, 6
jg 0x40744a
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx eax, ax
and eax, 0xff
movzx ecx, al
cmp ecx, 6
jl 0x4075ae
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx edx, ax
shr edx, 8
and edx, 0xff
movzx eax, dl
cmp eax, 1
jl 0x4075ae
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
cmp edx, 6
jne 0x407526
call dword [sym.imp.KERNEL32.dll_GetVersion]
and eax, 0xffff
movzx eax, ax
shr eax, 8
and eax, 0xff
movzx ecx, al
cmp ecx, 1
jne 0x407526
push str.maillockwp
lea ecx, [ebp - 0x2c]
call fcn.00412290
mov dword [ebp - 0xf4], eax
mov edx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], edx
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xf8]
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x88]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412a10
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x30]
sub edx, 0x10
mov dword [ebp - 0x8c], edx
mov ecx, dword [ebp - 0x8c]
call fcn.004029d0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x2c]
sub eax, 0x10
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x90]
call fcn.004029d0
jmp 0x4075ac
push str.maillockw8wp
lea ecx, [ebp - 0x34]
call fcn.00412290
mov dword [ebp - 0x100], eax
mov ecx, dword [ebp - 0x100]
mov dword [ebp - 0x104], ecx
mov byte [ebp - 4], 8
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x108], eax
mov edx, dword [ebp - 0x108]
mov dword [ebp - 0x9c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x9c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00412a10
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x38]
sub ecx, 0x10
mov dword [ebp - 0xa0], ecx
mov ecx, dword [ebp - 0xa0]
call fcn.004029d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.004129d0
jmp 0x407625
push str.maillock
lea ecx, [ebp - 0x3c]
call fcn.00412290
mov dword [ebp - 0x10c], eax
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0x110], edx
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x110]
push ecx
lea edx, [ebp - 0x40]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xb0], eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0xb0]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412a10
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x40]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.004129d0
jmp 0x40769e
push str.maillock
lea ecx, [ebp - 0x44]
call fcn.00412290
mov dword [ebp - 0x118], eax
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x11c]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.0040f190
add esp, 0xc
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0xc4], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0xc4]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00412a10
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x48]
call fcn.004129d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.004129d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004129d0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004129d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4