Function at 0x414eda
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465c5a
mov eax, dword fs:[0]
push eax
mov eax, 0x115c
call fcn.00445ce0
mov eax, dword [0x491330]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1158], esi
xor ebx, ebx
lea edi, [esi + 0xc]
mov dword [ebp - 0x114c], ebx
cmp dword [edi + 0x14], 8
jb 0x414f29
mov ecx, dword [edi]
jmp 0x414f2b
mov ecx, edi
call fcn.0040b2ae
test eax, eax
jne 0x414f5f
cmp dword [edi + 0x14], 8
jb 0x414f3c
mov edi, dword [edi]
push edi
push str.File___s__not_exists___
push 0
push 8
push str.ParamMgr.cpp
push 0xb1
call fcn.0042ab69
add esp, 0x18
xor eax, eax
jmp 0x415607
mov eax, dword [esi + 8]
test eax, eax
je 0x414f58
cmp dword [eax + 0x1c], ebx
je 0x414f58
cmp dword [edi + 0x14], 8
jb 0x414f75
mov eax, dword [edi]
jmp 0x414f77
mov eax, edi
push eax
push str.Load_parameter_from___s_
push 0
push 2
push str.ParamMgr.cpp
push 0xb9
call fcn.0042ab69
mov esi, 0x4927b0
add esp, 0x18
mov dword [ebp - 0x1150], esi
cmp dword [esi - 4], 0
je 0x4155ef
push dword [esi - 4]
lea ecx, [ebp - 0x1040]
call fcn.00401720
and dword [ebp - 4], 0
cmp dword [edi + 0x14], 8
jb 0x414fc4
mov ecx, dword [edi]
jmp 0x414fc6
mov ecx, edi
cmp dword [ebp - 0x102c], 8
lea eax, [ebp - 0x1040]
push ecx
cmovae eax, dword [ebp - 0x1040]
lea ecx, [ebp - 0x810]
push 0x400
push ecx
push 0x47bb10
push eax
push dword [esi - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push str.sectionnameEx
call fcn.004012f1
pop ecx
push eax
push str.sectionnameEx
push dword [ebp - 0x1030]
lea ecx, [ebp - 0x1040]
push 0
call fcn.00402823
test eax, eax
jne 0x415367
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1088]
call fcn.00401720
mov byte [ebp - 4], 1
cmp dword [ebp - 0x1078], 0
jne 0x415332
mov ecx, dword [ebp - 0x1158]
push 0x480814
mov eax, dword [ecx + 8]
push dword [ecx + 4]
call dword [eax + 0x20]
push eax
lea ecx, [ebp - 0x1070]
call fcn.004016e7
push str.basicname
lea ecx, [ebp - 0x1058]
mov byte [ebp - 4], 2
call fcn.004016e7
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1058]
push dword [ebp - 0x1048]
cmp dword [ebp - 0x1044], 0x10
lea ecx, [ebp - 0x1070]
push 0
cmovae eax, dword [ebp - 0x1058]
push eax
call fcn.004073f0
push 0x480abc
mov dword [ebp - 0x114c], eax
call fcn.0040135c
pop ecx
push eax
mov eax, dword [ebp - 0x1048]
lea ecx, [ebp - 0x1070]
add eax, dword [ebp - 0x114c]
push eax
push 0x480abc
call fcn.004073f0
cmp dword [ebp - 0x114c], 0xffffffff
mov dword [ebp - 0x115c], eax
je 0x4153cd
cmp eax, 0xffffffff
je 0x4153cd
mov ecx, dword [ebp - 0x1048]
sub eax, ecx
mov esi, dword [ebp - 0x114c]
sub eax, esi
push eax
lea eax, [ecx + esi]
push eax
lea eax, [ebp - 0x10d0]
push eax
lea ecx, [ebp - 0x1070]
call fcn.004072e9
mov byte [ebp - 4], 4
or ebx, 1
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x114c], ebx
jb 0x41512c
mov eax, dword [eax]
push eax
push 0
call fcn.00429ff7
pop ecx
pop ecx
test eax, eax
jg 0x415143
and dword [ebp - 0x1154], 0
jmp 0x415197
mov ecx, dword [ebp - 0x1048]
mov eax, dword [ebp - 0x115c]
sub eax, ecx
sub eax, esi
push eax
lea eax, [ecx + esi]
push eax
lea eax, [ebp - 0x10b8]
push eax
lea ecx, [ebp - 0x1070]
call fcn.004072e9
mov dword [ebp - 4], 5
or ebx, 2
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x114c], ebx
jb 0x415182
mov eax, dword [eax]
push eax
push 0
call fcn.00429ff7
pop ecx
pop ecx
call fcn.00448470
mov dword [ebp - 0x1154], esp
mov ecx, dword [ebp - 0x1048]
mov eax, dword [ebp - 0x115c]
sub eax, ecx
sub eax, esi
push eax
lea eax, [ecx + esi]
push eax
lea eax, [ebp - 0x10a0]
push eax
lea ecx, [ebp - 0x1070]
call fcn.004072e9
mov dword [ebp - 0x1164], eax
mov ecx, dword [ebp - 0x115c]
or ebx, 4
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0x1048]
sub ecx, eax
sub ecx, esi
mov dword [ebp - 0x114c], ebx
push ecx
add eax, esi
lea ecx, [ebp - 0x1070]
push eax
lea eax, [ebp - 0x10e8]
push eax
call fcn.004072e9
mov esi, eax
mov eax, dword [ebp - 0x1164]
or ebx, 8
mov dword [ebp - 4], 7
mov dword [ebp - 0x114c], ebx
cmp dword [eax + 0x14], 0x10
jb 0x41521a
mov eax, dword [eax]
cmp dword [esi + 0x14], 0x10
jb 0x415222
mov esi, dword [esi]
push eax
push 0
call fcn.00429ff7
shr eax, 1
push eax
push dword [ebp - 0x1154]
push esi
push 0
call fcn.00429fa9
mov esi, eax
push esi
call fcn.004012f1
add esp, 0x1c
lea ecx, [ebp - 0x1088]
push eax
push esi
call fcn.00401a41
xor esi, esi
test bl, bl
jns 0x41526d
push esi
push 1
lea ecx, [ebp - 0x1100]
and ebx, 0xffffff7f
call fcn.004017ef
test bl, 0x40
je 0x415283
push esi
push 1
lea ecx, [ebp - 0x1118]
and ebx, 0xffffffbf
call fcn.004017ef
test bl, 0x20
je 0x415299
push esi
push 1
lea ecx, [ebp - 0x1148]
and ebx, 0xffffffdf
call fcn.004017ef
test bl, 0x10
je 0x4152af
push esi
push 1
lea ecx, [ebp - 0x1130]
and ebx, 0xffffffef
call fcn.004017ef
test bl, 8
je 0x4152c5
push esi
push 1
lea ecx, [ebp - 0x10e8]
and ebx, 0xfffffff7
call fcn.004017ef
test bl, 4
je 0x4152db
push esi
push 1
lea ecx, [ebp - 0x10a0]
and ebx, 0xfffffffb
call fcn.004017ef
test bl, 2
je 0x4152f1
push esi
push 1
lea ecx, [ebp - 0x10b8]
and ebx, 0xfffffffd
call fcn.004017ef
mov dword [ebp - 4], 3
test bl, 1
je 0x41530e
push esi
push 1
lea ecx, [ebp - 0x10d0]
and ebx, 0xfffffffe
call fcn.004017ef
mov esi, dword [ebp - 0x1150]
push 0
push 1
lea ecx, [ebp - 0x1058]
call fcn.004017ef
push 0
push 1
lea ecx, [ebp - 0x1070]
call fcn.004017ef
cmp dword [ebp - 0x1074], 8
lea eax, [ebp - 0x1088]
cmovae eax, dword [ebp - 0x1088]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0
push 1
lea ecx, [ebp - 0x1088]
mov byte [ebp - 4], 0
call fcn.00401833
cmp dword [ebp - 0x102c], 8
lea ecx, [ebp - 0x810]
push ecx
lea eax, [ebp - 0x1040]
cmovae eax, dword [ebp - 0x1040]
push eax
push str._s:__s
push 0
push 2
push str.ParamMgr.cpp
push 0xd5
call fcn.0042ab69
add esp, 0x1c
test byte [esi], 1
je 0x4153b0
cmp dword [ebp - 0x1030], 0
je 0x415629
lea eax, [ebp - 0x810]
push eax
push 0
call fcn.0042a06b
pop ecx
pop ecx
test eax, eax
jg 0x4153ee
and dword [ebp - 0x1154], 0
jmp 0x415409
push 0x480ac0
call fcn.004012f1
pop ecx
push eax
push 0x480ac0
lea ecx, [ebp - 0x1088]
call fcn.00401a41
jmp 0x415314
lea eax, [ebp - 0x810]
push eax
push 0
call fcn.0042a06b
pop ecx
pop ecx
call fcn.00448470
mov dword [ebp - 0x1154], esp
lea eax, [ebp - 0x810]
push eax
push 0
call fcn.0042a06b
push eax
push dword [ebp - 0x1154]
lea eax, [ebp - 0x810]
push eax
push 0
call fcn.0042a01b
add esp, 0x18
lea ecx, [ebp - 0x1028]
push eax
call fcn.004016e7
mov byte [ebp - 4], 0xc
test byte [esi], 2
mov edx, dword [ebp - 0x1028]
mov esi, dword [ebp - 0x1014]
je 0x41548e
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp - 0x1028]
cmp esi, 0x10
cmovae ecx, edx
cmp byte [ecx + eax - 1], 0x5c
je 0x41548e
mov esi, 0x480b34
push esi
call fcn.0040135c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1028]
call fcn.0040a597
mov esi, dword [ebp - 0x1014]
mov edx, dword [ebp - 0x1028]
mov eax, dword [ebp - 0x1150]
test byte [eax], 4
je 0x4154d1
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp - 0x1028]
cmp esi, 0x10
cmovae ecx, edx
cmp byte [ecx + eax - 1], 0x2f
je 0x4154d1
mov esi, 0x480b38
push esi
call fcn.0040135c
pop ecx
push eax
push esi
lea ecx, [ebp - 0x1028]
call fcn.0040a597
mov esi, dword [ebp - 0x1014]
mov edx, dword [ebp - 0x1150]
test byte [edx], 8
je 0x41552e
mov eax, dword [ebp - 0x1018]
lea ecx, [ebp - 0x1028]
cmp esi, 0x10
lea edx, [ebp - 0x1028]
push fcn.00442ef1
cmovae ecx, dword [ebp - 0x1028]
cmovae edx, dword [ebp - 0x1028]
add eax, ecx
push edx
cmp esi, 0x10
lea ecx, [ebp - 0x1028]
push eax
cmovae ecx, dword [ebp - 0x1028]
lea eax, [ebp - 0x1168]
push ecx
push eax
call fcn.00415678
mov esi, dword [ebp - 0x1014]
add esp, 0x14
mov edx, dword [ebp - 0x1158]
lea ecx, [ebp - 0x1028]
cmp esi, 0x10
mov esi, dword [ebp - 0x1150]
cmovae ecx, dword [ebp - 0x1028]
mov eax, dword [edx + 8]
push ecx
push dword [esi - 0xc]
push dword [edx + 4]
call dword [eax + 0x1c]
cmp dword [esi - 8], 0
je 0x4155cd
push 0x7ff
lea eax, [ebp - 0x100f]
mov byte [ebp - 0x1010], 0
push 0
push eax
call fcn.00447ae0
cmp dword [ebp - 0x1014], 0x10
lea ecx, [ebp - 0x1160]
push 2
push ecx
lea ecx, [ebp - 0x1010]
mov dword [ebp - 0x1160], 0x800
push ecx
push dword [ebp - 0x1018]
lea eax, [ebp - 0x1028]
cmovae eax, dword [ebp - 0x1028]
push eax
call fcn.0042a1a1
mov ecx, dword [ebp - 0x1158]
lea edx, [ebp - 0x1010]
add esp, 0x20
mov eax, dword [ecx + 8]
push edx
push dword [esi - 8]
push dword [ecx + 4]
call dword [eax + 0x1c]
push 0
push 1
lea ecx, [ebp - 0x1028]
call fcn.004017ef
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1040]
push 0
push 1
call fcn.00401833
add esi, 0x14
mov dword [ebp - 0x1150], esi
cmp esi, 0x492918
jl 0x414f9e
xor eax, eax
inc eax
lea esp, [ebp - 0x1178]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00441f6f
mov esp, ebp
pop ebp
ret
cmp dword [edi + 0x14], 8
jb 0x415631
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push edi
sub esp, 0x18
lea esi, [ebp - 0x1040]
push 6
pop ecx
mov edi, esp
push str.Load___s__from___s__FAILED____ERROR___d
push 0
push 8
push str.ParamMgr.cpp
rep movsd dword es:[edi], dword [esi]
push 0xd8
call fcn.0042ab69
add esp, 0x34
lea ecx, [ebp - 0x1040]
push 0
push 1
call fcn.00401833
jmp 0x414f58