Function at 0x432910
Capabilities:
Check if file exists
Get file attributes
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5bb04d
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x6441a4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x38]
call fcn.00406930
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x24]
call fcn.00406930
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x432964
cmp word [esi], 0
jne 0x432969
mov esi, 0x628fa4
mov edi, dword [ebp - 0x24]
test edi, edi
je 0x432976
cmp word [edi], 0
jne 0x43297b
mov edi, 0x628fa4
lea eax, [ebp - 0x10]
push eax
push 0xf003f
push 0
push str.SoftwareTencentWeChat
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4329cb
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4329a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4329e2
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test eax, eax
je 0x432a0e
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x432a25
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
test eax, eax
je 0x432a43
push eax
call fcn.004d2e13
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.0042e900
push str.All_Users
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.00406cf0
push str.config_
lea ecx, [ebp - 0x24]
call fcn.00406cf0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x432a89
cmp word [eax], 0
je 0x432a89
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x432a89
shr eax, 4
and al, 1
jne 0x432a95
lea ecx, [ebp - 0x24]
call fcn.00432d00
test al, al
je 0x432af0
push str.configEx.ini
lea ecx, [ebp - 0x24]
call fcn.00406cf0
mov esi, dword [ebp - 0x24]
test esi, esi
je 0x432ab1
cmp word [esi], 0
mov edx, esi
jne 0x432ab6
mov edx, 0x628fa4
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x432ac3
cmp word [eax], 0
jne 0x432ac8
mov eax, 0x628fa4
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x432ad5
cmp word [ecx], 0
jne 0x432ada
mov ecx, 0x628fa4
push edx
push eax
push ecx
push 0x62cba8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
test eax, eax
je 0x432af3
mov bl, 1
jmp 0x432af5
mov esi, dword [ebp - 0x24]
xor bl, bl
test esi, esi
je 0x432b02
push esi
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x432b12
push eax
call fcn.004d2e13
add esp, 4
mov eax, dword [ebp + 8]
test eax, eax
je 0x432b29
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp + 8], 0
mov eax, dword [ebp + 0x14]
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0
test eax, eax
je 0x432b55
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp + 0x14], 0
mov dword [ebp + 0x18], 0
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x432b6c
push eax
call fcn.004d2e13
add esp, 4
mov dword [ebp + 0x1c], 0
mov eax, dword [ebp + 0x28]
mov dword [ebp + 0x24], 0
mov dword [ebp + 0x20], 0
test eax, eax
je 0x432b8a
push eax
call fcn.004d2e13
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret