Function at 0x435086
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x464
lea ebp, [esp - 4]
mov eax, dword [0x4b4970]
xor eax, ebp
mov dword [ebp + 0x464], eax
push 0x54
mov eax, 0x48b544
call fcn.00454dca
lea eax, [ebp - 0x14]
push eax
call fcn.00441e69
pop ecx
mov esi, 0x4b6c04
xor ebx, ebx
push eax
mov ecx, esi
mov dword [ebp - 4], ebx
call fcn.0041c246
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0041a963
push str._bdupdate.ini
lea eax, [ebp - 0x14]
push esi
push eax
call fcn.004223c1
add esp, 0xc
xor edi, edi
inc edi
push eax
mov ecx, 0x4b6bdc
mov dword [ebp - 4], edi
call fcn.0041c246
mov ecx, dword [ebp - 0x14]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0041a963
push dword [0x4b6bdc]
push edi
push str.DebugOutput
push str.AutoUpdate
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x14], eax
test al, 1
je 0x4354b1
push str.updatelog
lea eax, [ebp - 0x2c]
push esi
push eax
call fcn.004223c1
add esp, 0xc
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 4], 2
call fcn.0042f59a
mov edi, 0x4b6d04
push edi
lea ecx, [ebp - 0x38]
call fcn.0041acdf
mov esi, str._Y_m_d_H_M_S
push esi
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00422880
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x2c]
mov byte [ebp - 4], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push dword [ebp - 0x28]
push str._s_autoupdate__s__u.log
push eax
call fcn.0041b07c
add esp, 0x14
lea eax, [ebp - 0x38]
push eax
mov ecx, 0x4b6c14
call fcn.0041c246
push dword [0x4b6c14]
call fcn.004417c1
push 0x24
call fcn.004543be
pop ecx
pop ecx
mov ecx, eax
mov dword [ebp - 0x10], ecx
mov byte [ebp - 4], 5
cmp ecx, ebx
je 0x4351dc
push dword [0x4b6c14]
call fcn.0043091a
mov dword [ebp - 0x1c], eax
jmp 0x4351df
mov dword [ebp - 0x1c], ebx
push 1
push 0xff
push dword [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.00422aaf
mov ecx, eax
call fcn.00434af2
push 8
call fcn.004543be
pop ecx
cmp eax, ebx
je 0x435217
mov dword [eax + 4], 0xe
mov dword [eax], vtable.tp::lc_indent.0
mov dword [ebp - 0x3c], eax
jmp 0x43521a
mov dword [ebp - 0x3c], ebx
push 0x24
call fcn.004543be
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 6
cmp ecx, ebx
je 0x43523e
push str.VIED
call fcn.00430bf0
mov dword [ebp - 0x28], eax
jmp 0x435241
mov dword [ebp - 0x28], ebx
push 0x24
mov byte [ebp - 4], 4
call fcn.004543be
pop ecx
mov ecx, eax
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 7
cmp ecx, ebx
je 0x435265
push ebx
call fcn.00430c71
mov dword [ebp - 0x20], eax
jmp 0x435268
mov dword [ebp - 0x20], ebx
push 0x28
mov byte [ebp - 4], 4
call fcn.004543be
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 8
cmp ecx, ebx
je 0x43528f
push 1
push str._Y__m__d__H:_M:_S
call fcn.00430a0d
jmp 0x435291
xor eax, eax
mov ecx, dword [ebp - 0x1c]
push eax
push ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x10], ecx
call fcn.00434eac
pop ecx
pop ecx
push dword [ebp - 0x3c]
mov eax, 0x495258
push dword [ebp - 0x28]
lea ecx, [ebp - 0x10]
push eax
push dword [ebp - 0x20]
push eax
call fcn.00434ed7
mov ecx, eax
call fcn.00434ec1
mov ecx, eax
call fcn.00434ed7
mov ecx, eax
call fcn.00434ec1
mov ecx, eax
call fcn.00434ec1
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041acdf
push ebx
push ebx
push ebx
push 7
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 9
call fcn.0042ebe5
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov edx, dword [ebp - 0x48]
sub edx, ecx
mov ecx, dword [ebp - 0x44]
sbb ecx, eax
push esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x30], ecx
push eax
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x34], edx
call fcn.00422880
push dword [eax]
lea eax, [ebp - 0x1c]
push str.autoupdate__s.log
push eax
mov byte [ebp - 4], 0xa
call fcn.0041b07c
mov ecx, dword [ebp - 0x10]
add esp, 0xc
add ecx, 0xfffffff0
mov byte [ebp - 4], 9
call fcn.0041a963
lea ecx, [ebp - 0x60]
call fcn.0044f845
push 0x5c
pop eax
mov word [ebp + 0x458], ax
mov dword [ebp + 0x45c], ebx
mov dword [ebp + 0x460], ebx
push str._autoupdate_.log
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 4], 0xc
call fcn.004223c1
add esp, 0xc
push dword [eax]
lea ecx, [ebp]
call fcn.0042f5b5
mov esi, eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0041a963
cmp esi, ebx
je 0x4353f4
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp]
call fcn.004315c3
push dword [ebp - 0x1c]
mov ecx, eax
mov byte [ebp - 4], 0xd
call fcn.0041d768
mov ecx, dword [ebp - 0x10]
test eax, eax
setl byte [ebp - 0x15]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.0041a963
cmp byte [ebp - 0x15], bl
je 0x4353e8
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp]
call fcn.004315c3
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call fcn.0042d4d1
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.0041a963
lea ecx, [ebp]
call fcn.0042ec62
test eax, eax
jne 0x43538c
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x435468
push 0x4a1f38
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.004223c1
add esp, 0xc
mov edi, eax
push esi
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xf
call fcn.0042bc73
push eax
lea eax, [ebp - 0x10]
push edi
push eax
call fcn.0042236a
push dword [eax]
mov byte [ebp - 4], 0x10
call fcn.00440061
mov ecx, dword [ebp - 0x10]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov byte [ebp - 4], 0xc
call fcn.0041a963
mov eax, dword [ebp - 0x50]
sub eax, dword [ebp - 0x54]
inc esi
sar eax, 2
cmp esi, eax
jb 0x435403
lea ecx, [ebp]
call fcn.0042ec89
lea ecx, [ebp - 0x60]
call fcn.0042cd8f
push dword [ebp - 0x60]
call fcn.00453f5c
pop ecx
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x40]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffffff0
call fcn.0041a963
mov ecx, dword [ebp - 0x2c]
or dword [ebp - 4], 0xffffffff
add ecx, 0xfffffff0
call fcn.0041a963
test byte [ebp - 0x14], 2
je 0x4354bf
push 1
call fcn.00434f19
pop ecx
test byte [ebp - 0x14], 4
je 0x43554f
push 4
call fcn.004543be
pop ecx
cmp eax, ebx
je 0x4354df
mov dword [eax], vtable.tp::ld_debug_output.0
mov esi, eax
jmp 0x4354e1
xor esi, esi
push 1
push 0xff
push esi
call fcn.00422aaf
mov ecx, eax
call fcn.00434af2
push 8
call fcn.004543be
pop ecx
cmp eax, ebx
je 0x435512
mov dword [eax + 4], 0xe
mov dword [eax], vtable.tp::lc_indent.0
mov edi, eax
jmp 0x435514
xor edi, edi
push 0x24
call fcn.004543be
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0x11
cmp eax, ebx
je 0x435538
push str.VIED
mov ecx, eax
call fcn.00430bf0
jmp 0x43553a
xor eax, eax
or dword [ebp - 4], 0xffffffff
push eax
push esi
call fcn.00434eac
push edi
push esi
call fcn.00434eac
add esp, 0x10
push 0x20
call fcn.004543be
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0x12
cmp eax, ebx
je 0x43556e
mov ecx, eax
call fcn.0043059f
jmp 0x435570
xor eax, eax
or dword [ebp - 4], 0xffffffff
push 1
push 0xff
push eax
mov dword [0x4b6ca8], eax
call fcn.00422aaf
mov ecx, eax
call fcn.00434af2
push 8
call fcn.004543be
pop ecx
cmp eax, ebx
je 0x4355ab
mov dword [eax + 4], 0xe
mov dword [eax], vtable.tp::lc_indent.0
mov dword [ebp - 0x14], eax
jmp 0x4355ae
mov dword [ebp - 0x14], ebx
push 0x24
call fcn.004543be
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0x13
cmp eax, ebx
je 0x4355d4
push str.VIDE
mov ecx, eax
call fcn.00430bf0
mov edi, eax
jmp 0x4355d6
xor edi, edi
or dword [ebp - 4], 0xffffffff
push 0x24
call fcn.004543be
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0x14
cmp eax, ebx
je 0x4355fc
push ebx
mov ecx, eax
call fcn.00430c71
mov esi, eax
jmp 0x4355fe
xor esi, esi
or dword [ebp - 4], 0xffffffff
push 0x28
call fcn.004543be
pop ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0x15
cmp eax, ebx
je 0x435628
push 1
push str._Y__m__d__H:_M:_S
mov ecx, eax
call fcn.00430a0d
jmp 0x43562a
xor eax, eax
mov ecx, dword [0x4b6ca8]
or dword [ebp - 4], 0xffffffff
push eax
push ecx
mov dword [ebp - 0x10], ecx
call fcn.00434eac
pop ecx
pop ecx
push dword [ebp - 0x14]
mov eax, 0x495258
push edi
push eax
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.00434ed7
mov ecx, eax
call fcn.00434ec1
mov ecx, eax
call fcn.00434ed7
mov ecx, eax
call fcn.00434ec1
mov ecx, eax
call fcn.00434ec1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x464]
xor ecx, ebp
call fcn.0045466b
add ebp, 0x468
leave
ret