Function at 0x411390
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b6ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x4eb86c]
xor eax, esp
mov dword [esp + 0x64], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4eb86c]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x90]
mov ebp, dword [esp + 0x8c]
mov ebx, dword [esp + 0x94]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ebx
call fcn.0045a356
xor ecx, ecx
xor edi, edi
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x4113ff
push 0x80004005
call fcn.00401000
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x20], eax
mov ecx, dword [0x4ed0d4]
push str.setup.log
push ecx
lea edx, [esp + 0x28]
push str._s_s
push edx
mov dword [esp + 0x94], edi
call fcn.00404ae0
mov esi, dword [esp + 0x30]
add esp, 0x10
push esi
push 0x40
lea eax, [esp + 0x40]
push eax
push edi
push ebp
push str.FILEREVISION
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x38]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x411634
lea edx, [esp + 0x38]
push edx
lea ecx, [esp + 0x1c]
call fcn.00405b00
lea eax, [esp + 0x14]
push eax
push 0x4c1250
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 1
xor esi, esi
mov dword [esp + 0x20], edi
call fcn.004063d0
mov edx, dword [esp + 0x24]
push 0xa
push esi
push edx
mov byte [esp + 0x90], 2
call fcn.00489758
add esp, 0xc
mov dword [ebx], eax
lea eax, [esp + 0x14]
push eax
push 0x4c15f0
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
call fcn.004063d0
cmp dword [esp + 0x14], 0xffffffff
mov bl, 3
mov byte [esp + 0x84], bl
je 0x411564
mov ebp, 0x30
nop
cmp ebp, 0xfffffff0
jle 0x411560
mov edx, dword [esp + 0x1c]
push 0xa
push 0
push edx
call fcn.00489758
movzx eax, ax
cdq
add esp, 0xc
mov ecx, ebp
call fcn.00489850
add esi, eax
lea eax, [esp + 0x14]
push eax
push 0x4c15f0
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x24]
adc edi, edx
call fcn.004063d0
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x88], 4
call fcn.004047c0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x84], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x411556
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub ebp, 0x10
cmp dword [esp + 0x14], 0xffffffff
jne 0x4114e0
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov dword [eax], esi
mov dword [eax + 4], edi
mov edx, dword [ecx]
push edx
push edi
push esi
push ebp
push str._INFO_SETUP.LOG:FileVersion_Revision:_s__I64x__d_
call fcn.0044f300
push eax
call fcn.0044fb20
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0x84], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x84], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4115da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x84], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x411602
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
mov dword [esp + 0x84], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41162d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x411670
push str._INFO_SETUP.LOG:FileVersion_Revision_entry_not_exists
call fcn.0044f300
push eax
call fcn.0044fb20
lea eax, [esi - 0x10]
add esp, 8
mov dword [esp + 0x84], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41166e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x64]
xor ecx, esp
call fcn.004888ae
add esp, 0x74
ret 0xc