Function at 0x438870
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x484730
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c8
mov eax, dword [0x4ac588]
push ebx
push ebp
push esi
push edi
push fcn.00401440
push fcn.00401530
push 0x20
mov dword [esp + 0x1e0], eax
push 4
lea eax, [esp + 0x38]
mov ebp, ecx
push eax
mov dword [esp + 0x34], ebp
call fcn.0044cfec
mov ecx, dword [str.file]
mov dl, byte [0x4911ac]
xor eax, eax
mov dword [esp + 0xad], eax
mov dword [esp + 0xb1], eax
mov dword [esp + 0xb5], eax
mov dword [esp + 0xb9], eax
mov dword [esp + 0xbd], eax
mov dword [esp + 0xc1], eax
mov word [esp + 0xc5], ax
xor esi, esi
mov dword [esp + 0x1e0], esi
mov dword [esp + 0xa8], ecx
mov byte [esp + 0xac], dl
mov byte [esp + 0xc7], al
call fcn.00461fc6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
xor ebx, ebx
mov byte [esp + 0x1e0], 1
mov dword [esp + 0x1c], ebx
lea edi, [esp + 0x28]
lea esp, [esp]
push esi
lea eax, [esp + 0xac]
push eax
lea ecx, [esp + 0x20]
push str._s_d
push ecx
call fcn.004022e0
mov edx, dword [esp + 0x1f8]
mov ecx, dword [esp + 0x28]
add esp, 0x10
push edx
push 0x104
lea eax, [esp + 0xd8]
push eax
push 0x488a08
push ecx
push str.files
inc esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0xd0]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x438940
push 0x48f798
lea eax, [esp + 0xd4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
je 0x4389e2
lea eax, [esp + 0xd0]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4389c0
sub eax, edx
push eax
lea ecx, [esp + 0xd4]
push ecx
mov ecx, edi
call fcn.00401710
inc ebx
add edi, 4
jmp 0x438940
lea edx, [ebx*4]
push edx
mov dword [esp + 0x20], ebx
call fcn.0046705b
mov dword [ebp + 4], eax
mov eax, ebx
imul eax, eax, 0x21c
add eax, 4
push eax
call fcn.0046705b
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
mov byte [esp + 0x1e0], 2
je 0x438a3b
push 0x438410
push 0x4384a0
push ebx
lea esi, [eax + 4]
push 0x21c
push esi
mov dword [eax], ebx
call fcn.0044cfec
mov dword [esp + 0x10], esi
jmp 0x438a43
mov dword [esp + 0x10], 0
xor esi, esi
test ebx, ebx
mov byte [esp + 0x1e0], 1
jle 0x438a93
mov edi, dword [esp + 0x10]
jmp 0x438a60
mov edx, dword [esp + 0x1e8]
lea eax, [esi*4]
mov ecx, dword [esp + eax + 0x28]
push ecx
mov ecx, dword [0x4ae080]
push ecx
mov ecx, dword [ebp + 4]
add ecx, eax
push edx
push ecx
mov ecx, edi
call fcn.00438580
inc esi
add edi, 0x21c
cmp esi, ebx
jl 0x438a60
mov edx, dword [ebp + 4]
push 0xffffffffffffffff
push 1
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov esi, dword [0x4ae080]
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
add esi, 0xfffffff0
call dword [eax + 0x10]
mov ecx, dword [esi + 0xc]
test ecx, ecx
lea edx, [esi + 0xc]
jl 0x438ace
cmp eax, dword [esi]
jne 0x438ace
mov eax, esi
mov ecx, 1
lock xadd dword [edx], ecx
jmp 0x438b01
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
test eax, eax
jne 0x438ae3
call fcn.00401240
mov edx, dword [esi + 4]
mov dword [eax + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov edx, ecx
shr ecx, 2
add esi, 0x10
lea edi, [eax + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
add eax, 0x10
mov dword [esp + 0x24], eax
push 0x1a
push str.updateTempupdateList.ini
lea ecx, [esp + 0x2c]
mov byte [esp + 0x1e8], 3
call fcn.00401870
mov ebp, dword [esp + 0x24]
push ebp
push 0xa
lea eax, [esp + 0xd0]
push eax
push ebx
call fcn.0044ff5e
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push eax
push str.count
push str.files
call edi
xor eax, eax
test ebx, ebx
mov dword [esp + 0x14], eax
jle 0x438bfc
mov esi, dword [esp + 0x10]
add esi, 0x218
mov ecx, dword [esi - 0x218]
test ecx, ecx
je 0x438be9
push eax
lea ecx, [esp + 0xac]
push ecx
lea edx, [esp + 0x20]
push str._s_d
push edx
call fcn.004022e0
mov eax, dword [esi]
add esp, 0x10
push ebp
push eax
mov eax, dword [esp + 0x20]
push eax
push str.files
call edi
mov edx, dword [esi - 0x218]
mov ebx, dword [esi]
push ebp
push 0xa
lea ecx, [esp + 0xd0]
push ecx
push edx
call fcn.0044ff5e
add esp, 0xc
push eax
push str.nAction
push ebx
call edi
mov eax, dword [esi]
push ebp
lea ecx, [esi - 0x214]
push ecx
push str.destinationFile
push eax
call edi
mov eax, dword [esi]
push ebp
lea edx, [esi - 0x110]
push edx
push str.localPath
push eax
call edi
mov ebx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
inc eax
add esi, 0x21c
cmp eax, ebx
mov dword [esp + 0x14], eax
jl 0x438b63
xor esi, esi
test ebx, ebx
jle 0x438c26
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x438c10
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 4]
mov eax, dword [ecx + esi*4]
test eax, eax
je 0x438c21
push eax
call edi
inc esi
cmp esi, ebx
jl 0x438c10
mov eax, dword [esp + 0x10]
test eax, eax
je 0x438c4e
mov edx, dword [eax - 4]
lea esi, [eax - 4]
push 0x438410
push edx
push 0x21c
push eax
call fcn.0044c6af
push esi
call fcn.00467056
add esp, 4
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 4]
push eax
call fcn.00467056
add esp, 4
call fcn.00461fc6
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov edx, dword [0x4ae080]
lea eax, [edi - 0x10]
lea esi, [edx - 0x10]
cmp esi, eax
mov byte [esp + 0x1e0], 4
mov dword [esp + 0x14], eax
je 0x438d31
mov ecx, dword [eax + 0xc]
test ecx, ecx
jl 0x438d1f
mov ecx, dword [esi]
cmp ecx, dword [eax]
jne 0x438d1f
mov eax, dword [ecx]
call dword [eax + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x438cc2
cmp eax, dword [esi]
jne 0x438cc2
mov ebx, esi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x438cf7
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
mov ebx, eax
test ebx, ebx
jne 0x438cd9
call fcn.00401240
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov eax, ecx
shr ecx, 2
add esi, 0x10
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x14]
or ecx, 0xffffffff
add eax, 0xc
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438d16
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
lea edi, [ebx + 0x10]
mov dword [esp + 0x10], edi
jmp 0x438d31
mov eax, dword [edx - 0xc]
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00401710
mov edi, dword [esp + 0x10]
push str.Update.exe
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.00407d70
add esp, 0xc
mov eax, dword [eax]
add edi, 0xfffffff0
lea esi, [eax - 0x10]
cmp esi, edi
mov byte [esp + 0x1e0], 5
mov dword [esp + 0x14], edi
je 0x438df8
mov ecx, dword [edi + 0xc]
test ecx, ecx
jl 0x438dea
mov ecx, dword [esi]
cmp ecx, dword [edi]
jne 0x438dea
mov edx, dword [ecx]
call dword [edx + 0x10]
mov edx, dword [esi + 0xc]
test edx, edx
lea ecx, [esi + 0xc]
jl 0x438d91
cmp eax, dword [esi]
jne 0x438d91
mov ebx, esi
mov eax, 1
lock xadd dword [ecx], eax
jmp 0x438dca
mov ecx, dword [esi + 4]
mov edx, dword [eax]
push 1
push ecx
mov ecx, eax
call dword [edx]
mov ebx, eax
test ebx, ebx
jne 0x438da8
call fcn.00401240
mov edx, dword [esi + 4]
mov dword [ebx + 4], edx
mov ecx, dword [esi + 4]
inc ecx
mov eax, ecx
shr ecx, 2
add esi, 0x10
lea edi, [ebx + 0x10]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
or ecx, 0xffffffff
lea eax, [edi + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438de1
mov ecx, dword [edi]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
add ebx, 0x10
mov dword [esp + 0x10], ebx
jmp 0x438df8
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401710
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov byte [esp + 0x1e0], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x20]
push 0
lea eax, [esp + 0x14]
push eax
call fcn.00438720
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x1e0], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e54
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
add ebp, 0xfffffff0
mov byte [esp + 0x1e0], 1
lea eax, [ebp + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x438e77
mov ecx, dword [ebp]
mov edx, dword [ecx]
push ebp
call dword [edx + 4]
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x1e0], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x438e9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push fcn.00401440
push 0x20
push 4
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x1f0], 0xffffffff
call fcn.0044c6af
mov ecx, dword [esp + 0x1d8]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x1c8]
pop ebx
call fcn.0044af18
add esp, 0x1d4
ret 4