Function at 0x47a390
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x507d46
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x567e00]
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 ebx, ecx
call fcn.00410170
mov edx, dword [eax]
mov esi, dword [edx + 0xc4]
lea edx, [ebx + 0x78]
push edx
push eax
call esi
call fcn.00410170
mov ecx, dword [eax]
mov edx, dword [ecx + 0x54]
lea ecx, [ebx + 0x90]
push ecx
push eax
call edx
push 0
push 0
push 0
lea eax, [ebx + 0xa8]
push eax
push str._belongdir_wpsupdate.exe
push 0x527ba0
call fcn.00480ad0
add esp, 0x18
call fcn.00410170
mov ecx, dword [eax]
mov edx, dword [ecx + 0x90]
lea ecx, [ebx + 0xc0]
push ecx
push eax
call edx
call fcn.00410170
mov ecx, dword [eax]
mov edx, dword [ecx + 0x94]
lea ecx, [ebx + 0xd8]
push ecx
push eax
call edx
lea eax, [ebp - 0x264]
push 0x1d
push eax
call fcn.00417040
add esp, 8
mov edx, eax
cmp dword [edx + 0x14], 8
mov dword [ebp - 4], 0
jb 0x47a457
mov edx, dword [edx]
xor eax, eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 7
mov word [ebp - 0x24c], ax
mov ecx, edx
mov byte [ebp - 4], 1
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a487
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24c]
call fcn.00403a70
mov edx, dword [ebp - 0x250]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x47a4e9
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a4df
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a4df
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
xor eax, eax
mov dword [ebp - 0x254], 0
push 0xa000
mov dword [ebp - 0x250], 7
mov word [ebp - 0x264], ax
call fcn.004c6f7d
add esp, 4
lea ecx, [ebp - 0x24c]
cmp dword [ebp - 0x238], 8
mov esi, eax
cmovae ecx, dword [ebp - 0x24c]
push ecx
push 0x5000
push esi
push 0x516c74
push str.BuildId
push str.Info
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 7
lea edx, [ecx + 2]
jmp 0x47a570
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a570
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x234]
call fcn.00403a70
push esi
call fcn.004c6f86
lea esi, [ebx + 0xf0]
add esp, 4
lea eax, [ebp - 0x234]
cmp esi, eax
je 0x47a5e3
mov ecx, esi
call fcn.00403430
mov eax, dword [ebp - 0x234]
mov dword [esi], eax
mov eax, dword [ebp - 0x230]
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x22c]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x228]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x224]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x220]
mov dword [esi + 0x14], eax
jmp 0x47a623
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x47a623
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a619
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47a814
push edx
push ecx
call fcn.004c6f6f
add esp, 8
call fcn.00410170
lea ecx, [ebx + 0x108]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0xd0]
call fcn.00410170
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.00447f10
mov esi, eax
lea edi, [ebx + 0x120]
cmp edi, esi
je 0x47a693
mov ecx, edi
call fcn.00403430
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x47a6d5
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a6cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a6cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
call fcn.00410170
lea ecx, [ebp - 0x234]
push ecx
mov ecx, eax
call fcn.00444980
mov esi, eax
lea edi, [ebx + 0x138]
cmp edi, esi
je 0x47a730
mov ecx, edi
call fcn.00403430
mov ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [esi + 4]
mov dword [edi + 4], eax
mov eax, dword [esi + 8]
mov dword [edi + 8], eax
mov eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [edi + 0x14], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x220]
cmp edx, 8
jb 0x47a772
mov ecx, dword [ebp - 0x234]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a768
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a768
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
call fcn.00410170
lea ecx, [ebx + 0x150]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x50]
push 0x20a
lea eax, [ebp - 0x21c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push 0
push 0x104
lea eax, [ebp - 0x21c]
push eax
push str.HKEY_CURRENT_USERSoftwareKingsoftOffice6.0pluginsklocalpersonalite_apiversion
call fcn.0044cf60
lea ecx, [ebp - 0x21c]
add esp, 0x1c
lea edx, [ecx + 2]
jmp 0x47a7c0
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x47a7c0
sub ecx, edx
lea eax, [ebp - 0x21c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebx + 0x168]
call fcn.00403a70
mov edx, dword [ebp - 0x238]
cmp edx, 8
jb 0x47a824
mov ecx, dword [ebp - 0x24c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x47a81a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x47a81a
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.004c6f6f
add esp, 8
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.004c6f8b
mov esp, ebp
pop ebp
ret