Function at 0x431840
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5709f8
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5d2614]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, edx
mov ebx, 1
mov dword [ebp - 4], ebx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], eax
cmp eax, 3
je 0x431896
cmp eax, 2
jne 0x431c0e
mov eax, dword [ebp + 0x10]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x14], esp
push eax
call fcn.00402000
mov ecx, dword [ebp - 0x14]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
lea edx, [ebp - 0x10]
push edx
push ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], esp
add eax, 0xfffffff0
mov dword [ebp - 0x14], esp
push eax
call fcn.00402000
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
add eax, 0x10
add esp, 4
mov dword [ecx], eax
mov eax, dword [ebp + 8]
push edx
push eax
mov ecx, esi
mov byte [ebp - 4], bl
call fcn.00422c40
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x431bf3
mov eax, dword [ebp - 0x10]
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.NewVersion
mov dword [edi + 0xa8], eax
mov dword [edi + 0xac], eax
mov dword [edi + 0xc8], ebx
mov dword [edi + 0xcc], ebx
call fcn.00401a30
push ecx
mov byte [ebp - 4], 3
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.DownDLLLog
call fcn.00401a30
push ecx
mov byte [ebp - 4], 4
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x18], esp
sub eax, 0x10
mov dword [ebp - 0x18], esp
push eax
call fcn.00402000
mov ecx, dword [ebp - 0x18]
add eax, 0x10
lea edx, [ebp - 0x10]
add esp, 4
mov dword [ecx], eax
push edx
mov byte [ebp - 4], bl
call fcn.00407a20
add esp, 0x10
lea ecx, [edi + 0x94]
push eax
mov byte [ebp - 4], 5
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431999
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.CurrentVersion
call fcn.00401a30
push ecx
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DownDLLLog
call fcn.00401a30
push ecx
mov byte [ebp - 4], 7
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x18], esp
sub eax, 0x10
mov dword [ebp - 0x18], esp
push eax
call fcn.00402000
mov ecx, dword [ebp - 0x18]
add eax, 0x10
lea edx, [ebp - 0x10]
add esp, 4
mov dword [ecx], eax
push edx
mov byte [ebp - 4], bl
call fcn.00407a20
add esp, 0x10
lea ecx, [edi + 0x98]
push eax
mov byte [ebp - 4], 8
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431a20
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0x74]
push eax
push 0
push str.FileSize
push str.DownDLLLog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0xa4], eax
mov eax, dword [esi + 0x74]
push eax
push 0
push str.FileSize
push str.DownDLLLog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp + 8]
mov dword [edi + 0x3c], eax
mov dword [edi + 0x14], ecx
cmp dword [esi + 0xa4], 0
jne 0x431aef
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.UpdateInfoLocation
call fcn.00401a30
push ecx
mov byte [ebp - 4], 9
mov ecx, esp
mov dword [ebp - 0x1c], esp
push str.DownDLLLog
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0xa
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x18], esp
sub eax, 0x10
mov dword [ebp - 0x18], esp
push eax
call fcn.00402000
mov edx, dword [ebp - 0x18]
add eax, 0x10
mov dword [edx], eax
lea eax, [ebp - 0x10]
add esp, 4
push eax
mov byte [ebp - 4], bl
call fcn.00407a20
add esp, 0x10
lea ecx, [edi + 0xa0]
push eax
mov byte [ebp - 4], 0xb
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431aef
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push str.Message
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0xc
mov ecx, esp
mov dword [ebp - 0x1c], esp
push 0x5a7ab8
call fcn.00401a30
push ecx
mov byte [ebp - 4], 0xd
mov eax, dword [esi + 0x74]
mov dword [ebp - 0x18], esp
sub eax, 0x10
mov dword [ebp - 0x18], esp
push eax
call fcn.00402000
mov ecx, dword [ebp - 0x18]
add eax, 0x10
lea edx, [ebp - 0x10]
add esp, 4
mov dword [ecx], eax
push edx
mov byte [ebp - 4], bl
call fcn.00407a20
add esp, 0x10
lea ecx, [esi + 0xa0]
push eax
mov byte [ebp - 4], 0xe
call fcn.00401f40
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431b76
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esi + 0xa0]
cmp dword [ecx - 0xc], 0
je 0x431b88
mov dword [esi + 0x1f8], ebx
mov eax, dword [ebp + 8]
dec eax
cmp eax, 0x61
ja case.0x431b98.6
movzx edx, byte [eax + 0x431c5c]
jmp dword [edx*4 + 0x431c50]
mov eax, dword [esi + 0x74]
push eax
push 0
push str.Installed
push str.DownDLLLog
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0xb0], eax
jmp 0x431bcf
mov dword [edi + 0xb0], ebx
jmp 0x431bcf
mov dword [edi + 0xb0], 0
cmp dword [edi + 0xb0], 0
je 0x431be8
cmp dword [edi + 0xa8], 0
je 0x431be8
mov eax, dword [ebp + 0xc]
mov dword [eax], ebx
jmp 0x431c01
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0
jmp 0x431c01
call fcn.00429f90
mov edx, dword [ebp + 0xc]
mov dword [edx], 0
push 5
lea ecx, [esi + 0x1fc]
call fcn.004501b6
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x431c31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [ebp + 0x14]
call fcn.00421b00
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x34