Function at 0x43b760
Capabilities:
Query or enumerate registry value
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b844b
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x5603e8]
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, dword [ebp + 8]
mov ecx, dword [0x565030]
mov eax, dword [ebp + 0x14]
push 0x104
push ebx
push ecx
mov dword [ebp - 0x644], eax
mov dword [ebp - 0x640], 0x80004005
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x206
xor esi, esi
lea eax, [ebp - 0x41e]
xor edx, edx
push esi
push eax
mov word [ebp - 0x420], dx
call sub.MSVCR100.dll_memset
add esp, 0xc
cmp dword [ebp + 0x10], esi
jne 0x43b932
mov dword [ebp - 0x630], 0x208
mov dword [ebp - 0x63c], esi
mov dword [ebp - 0x638], esi
mov dword [ebp - 0x634], esi
push 0x206
lea edx, [ebp - 0x216]
xor ecx, ecx
push esi
push edx
mov dword [ebp - 4], esi
mov word [ebp - 0x218], cx
call sub.MSVCR100.dll_memset
mov edi, dword [sym.imp.MSVCR100.dll__snwprintf]
push str.SoftwareKingsoftOffice6.0common
push str._sLocal
lea eax, [ebp - 0x218]
push 0x104
push eax
call edi
add esp, 0x1c
push 0x20019
lea ecx, [ebp - 0x218]
push ecx
push 0x80000001
lea ecx, [ebp - 0x63c]
call fcn.00412570
test eax, eax
jne 0x43b897
lea edx, [ebp - 0x630]
push edx
mov edx, dword [ebp - 0x63c]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push esi
push 0x4d26f4
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b897
mov eax, dword [ebp - 0x62c]
cmp eax, 4
je 0x43b8eb
cmp eax, 1
je 0x43b911
push 0x20019
push str.SoftwareKingsoftOffice6.0common
call fcn.0043b2e0
push eax
lea ecx, [ebp - 0x63c]
call fcn.00412570
test eax, eax
jne 0x43b90a
lea edx, [ebp - 0x630]
push edx
mov edx, dword [ebp - 0x63c]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x62c]
push ecx
push esi
push 0x4d26d4
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43b90a
cmp dword [ebp - 0x62c], 4
jne 0x43b911
mov eax, dword [ebp - 0x420]
push eax
push 0x4d26cc
lea ecx, [ebp - 0x420]
push 0x104
push ecx
call edi
add esp, 0x10
jmp 0x43b911
mov dword [ebp + 0x10], 1
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 4], 0xffffffff
cmp eax, esi
je 0x43b929
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x10], esi
je 0x43b9d2
push 0x206
lea eax, [ebp - 0x216]
xor edx, edx
push esi
push eax
mov word [ebp - 0x218], dx
call sub.MSVCR100.dll_memset
lea edx, [ebp - 0x218]
add esp, 0xc
mov eax, ebx
sub edx, ebx
lea ebx, [ebx]
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x43b960
lea ecx, [ebp - 0x218]
push 0x5c
push ecx
call dword [sym.imp.MSVCR100.dll_wcsrchr]
add esp, 8
xor edx, edx
mov word [eax], dx
lea edi, [eax - 2]
lea esp, [esp]
mov ax, word [edi + 2]
add edi, 2
cmp ax, si
jne 0x43b990
lea eax, [ebp - 0x218]
push eax
push 0x104
mov ecx, 8
mov esi, 0x4d26ac
rep movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x420]
push ecx
push str.1033
push 0x4d26f4
push str.Local
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor esi, esi
cmp dword [ebp + 0xc], esi
je 0x43b9fc
lea eax, [ebp - 0x420]
mov edx, ebx
mov ecx, eax
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, si
jne 0x43b9e3
mov eax, 0x80004005
jmp 0x43bacf
push 0x206
lea eax, [ebp - 0x626]
xor edx, edx
push esi
push eax
mov word [ebp - 0x628], dx
call sub.MSVCR100.dll_memset
mov eax, dword [ebp - 0x644]
add esp, 0xc
cmp eax, esi
je 0x43ba2c
cmp word [eax], si
je 0x43ba2c
push eax
jmp 0x43ba33
lea ecx, [ebp - 0x420]
push ecx
call dword [sym.imp.MSVCR100.dll__wtoi]
add esp, 4
push 0x5c
push ebx
mov edi, eax
call dword [sym.imp.MSVCR100.dll_wcsrchr]
xor edx, edx
add esp, 8
mov esi, eax
mov word [esi], dx
test edi, edi
je 0x43bac9
push 0x104
lea eax, [ebp - 0x628]
push eax
push edi
call fcn.004523d0
add esp, 0xc
test al, al
je 0x43bac9
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call sub.MSVCR100.dll_memset
lea eax, [ebp - 0x628]
push eax
push str.mui_s
lea ecx, [ebp - 0x218]
push 0x104
push ecx
call dword [sym.imp.MSVCR100.dll__snwprintf]
lea eax, [ebp - 0x218]
mov edx, esi
mov ecx, eax
add esp, 0x1c
sub edx, ecx
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x43bab6
xor eax, eax
jmp 0x43bacf
mov eax, dword [ebp - 0x640]
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.004b12f6
mov esp, ebp
pop ebp
ret