Function at 0x10070810
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10238493
mov eax, dword fs:[0]
push eax
sub esp, 0x3cc
mov eax, dword [0x102ec100]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x398], 0
lea ecx, [ebp - 0x234]
call fcn.100545f0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x2ac]
push eax
call fcn.10070d30
add esp, 4
mov dword [ebp - 0x39c], eax
mov ecx, dword [ebp - 0x39c]
mov dword [ebp - 0x3a0], ecx
mov byte [ebp - 4], 2
push str.config.ini
mov edx, dword [ebp - 0x3a0]
push edx
lea eax, [ebp - 0x24c]
push eax
call fcn.10070760
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2ac]
call fcn.1004d060
lea ecx, [ebp - 0x24c]
push ecx
call fcn.1006b120
add esp, 4
movzx edx, al
test edx, edx
je 0x10070a86
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.1014aba0
add esp, 0xc
lea ecx, [ebp - 0x24c]
call fcn.1004d050
push eax
push 0x104
lea ecx, [ebp - 0x21c]
push ecx
push 0x102cf2cc
push str.Version
push str.Upgrade
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov edx, 2
imul eax, edx, 0
movzx ecx, word [ebp + eax - 0x21c]
test ecx, ecx
je 0x10070a86
lea edx, [ebp - 0x2dc]
push edx
call fcn.10070de0
add esp, 4
mov dword [ebp - 0x3a4], eax
mov eax, dword [ebp - 0x3a4]
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x21c]
push ecx
mov edx, dword [ebp - 0x3a8]
push edx
lea eax, [ebp - 0x2c4]
push eax
call fcn.10070760
add esp, 0xc
mov dword [ebp - 0x3ac], eax
mov ecx, dword [ebp - 0x3ac]
mov dword [ebp - 0x3b0], ecx
mov byte [ebp - 4], 6
mov edx, dword [ebp - 0x3b0]
push edx
lea ecx, [ebp - 0x234]
call fcn.10054460
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c4]
call fcn.1004d060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x2dc]
call fcn.1004d060
lea eax, [ebp - 0x234]
push eax
call fcn.1006b290
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10070a86
push str.ImageApp.dll
lea ecx, [ebp - 0x294]
call fcn.1004d0c0
mov byte [ebp - 4], 7
lea edx, [ebp - 0x294]
push edx
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x264]
push ecx
call fcn.100651f0
add esp, 0xc
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x294]
call fcn.1004d060
lea edx, [ebp - 0x264]
push edx
call fcn.1006b120
add esp, 4
movzx eax, al
test eax, eax
je 0x10070a77
push 0x10
lea ecx, [ebp - 0x234]
push ecx
call fcn.10064670
add esp, 8
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp + 8]
call fcn.100544f0
mov eax, dword [ebp - 0x398]
or eax, 1
mov dword [ebp - 0x398], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.1004d060
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.1004d060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.1004d060
mov eax, dword [ebp + 8]
jmp 0x10070d12
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x264]
call fcn.1004d060
lea ecx, [ebp - 0x394]
call fcn.10052740
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c0]
call fcn.10066270
mov dword [ebp - 0x3b4], eax
mov ecx, dword [ebp - 0x3b4]
mov dword [ebp - 0x3b8], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x3b8]
mov dword [ebp - 0x3bc], edx
push 0
lea eax, [ebp - 0x394]
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3d4], esp
push 0x102cfca8
call fcn.10054880
mov dword [ebp - 0x3d8], eax
mov byte [ebp - 4], 0xc
push 3
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x3bc]
call fcn.100568f0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x3c0]
call fcn.10066430
lea ecx, [ebp - 0x374]
push ecx
lea edx, [ebp - 0x2f4]
push edx
call fcn.10062760
add esp, 8
mov dword [ebp - 0x3c4], eax
mov eax, dword [ebp - 0x3c4]
mov dword [ebp - 0x3c8], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x3c8]
push ecx
lea ecx, [ebp - 0x234]
call fcn.10054460
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x2f4]
call fcn.1004d060
lea edx, [ebp - 0x234]
push edx
call fcn.1006b290
add esp, 4
movzx eax, al
test eax, eax
je 0x10070bd1
push 0x10
lea ecx, [ebp - 0x234]
push ecx
call fcn.10064670
add esp, 8
lea edx, [ebp - 0x234]
push edx
mov ecx, dword [ebp + 8]
call fcn.100544f0
mov eax, dword [ebp - 0x398]
or eax, 1
mov dword [ebp - 0x398], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x394]
call fcn.10052810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.1004d060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.1004d060
mov eax, dword [ebp + 8]
jmp 0x10070d12
lea ecx, [ebp - 0x27c]
push ecx
call fcn.10070e90
add esp, 4
mov byte [ebp - 4], 0xe
lea edx, [ebp - 0x27c]
push edx
lea eax, [ebp - 0x30c]
push eax
call fcn.1006d5a0
add esp, 8
mov dword [ebp - 0x3cc], eax
mov ecx, dword [ebp - 0x3cc]
mov dword [ebp - 0x3d0], ecx
mov byte [ebp - 4], 0xf
mov edx, dword [ebp - 0x3d0]
push edx
lea ecx, [ebp - 0x234]
call fcn.10054460
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x30c]
call fcn.1004d060
lea eax, [ebp - 0x234]
push eax
call fcn.1006b290
add esp, 4
movzx ecx, al
test ecx, ecx
je 0x10070cb7
push 0x10
lea edx, [ebp - 0x234]
push edx
call fcn.10064670
add esp, 8
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp + 8]
call fcn.100544f0
mov ecx, dword [ebp - 0x398]
or ecx, 1
mov dword [ebp - 0x398], ecx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x27c]
call fcn.1004d060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x394]
call fcn.10052810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.1004d060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.1004d060
mov eax, dword [ebp + 8]
jmp 0x10070d12
push 0x102cf2cc
mov ecx, dword [ebp + 8]
call fcn.1004d0c0
mov edx, dword [ebp - 0x398]
or edx, 1
mov dword [ebp - 0x398], edx
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x27c]
call fcn.1004d060
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x394]
call fcn.10052810
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24c]
call fcn.1004d060
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x234]
call fcn.1004d060
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10123194
mov esp, ebp
pop ebp
ret