Function at 0x435e91
Capabilities:
Set registry value

Disassembly:
push 0x134
mov eax, 0x5b8d61
call fcn.0057194c
lea ecx, [ebp - 0x70]
call fcn.00433176
xor edi, edi
lea ecx, [ebp - 0xc8]
xor ebx, ebx
inc edi
mov dword [ebp - 4], edi
push ebx
mov byte [ebp - 0xd0], bl
call fcn.0040c295
sub esp, 0x10
mov byte [ebp - 4], 2
mov eax, esp
mov dword [ebp - 0xbc], esp
mov dword [ebp - 0xb4], eax
push edi
mov dword [eax + 8], ebx
push 0x18
mov dword [eax + 0xc], ebx
push edi
mov byte [eax], 3
call fcn.00411902
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xb8], esi
mov dword [ebp - 0xc0], esi
mov byte [ebp - 4], 4
test esi, esi
je 0x435f17
push str.syzsdynamic
mov ecx, esi
call fcn.004116f2
mov eax, dword [ebp - 0xb4]
mov dword [eax + 8], esi
push 0x5f8228
push ecx
mov esi, str.head
mov byte [ebp - 4], 5
push esi
lea ecx, [ebp - 0xd0]
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ba77
lea ecx, [ebp - 0x88]
call fcn.0044541d
sub esp, 0x10
mov byte [ebp - 4], 6
mov ecx, esp
mov dword [ebp - 0xc0], esp
push eax
call fcn.0043a3ad
push str.guid
push ecx
push str.userInfo
push ecx
push esi
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 7
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.0040ba77
push ebx
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 2
call fcn.00411ab5
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0xc0], esp
mov dword [ebp - 0xb4], eax
push edi
mov dword [eax + 8], ebx
push 0x18
mov dword [eax + 0xc], ebx
push edi
mov byte [eax], 3
call fcn.00411902
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov byte [ebp - 4], 9
test esi, esi
je 0x436007
push str.AuthName
mov ecx, esi
call fcn.004116f2
mov eax, dword [ebp - 0xb4]
mov dword [eax + 8], esi
push str.businessId
push ecx
push str.authInfo
push ecx
push str.head
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xa
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ba77
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0xc0], esp
mov dword [ebp - 0xb4], eax
push edi
mov dword [eax + 8], ebx
push 0x18
mov dword [eax + 0xc], ebx
push edi
mov byte [eax], 3
call fcn.00411902
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], esi
mov byte [ebp - 4], 0xc
test esi, esi
je 0x43609c
push str.config
mov ecx, esi
call fcn.004116f2
mov eax, dword [ebp - 0xb4]
mov dword [eax + 8], esi
push str.scene
push ecx
push str.hostAppInfo
push ecx
push str.head
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0xd
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ba77
call fcn.00411721
mov edx, str.syzs
mov ecx, str.syzsoversea
cmp dword [eax + 8], 0
cmove ecx, edx
sub esp, 0x10
mov eax, esp
mov dword [ebp - 0xc0], esp
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 0xb8], eax
push edi
mov dword [eax + 8], ebx
push 0x18
mov dword [eax + 0xc], ebx
push edi
mov byte [eax], 3
call fcn.00411902
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x15]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xd4], esi
mov byte [ebp - 4], 0xf
test esi, esi
je 0x43614e
push dword [ebp - 0xb4]
mov ecx, esi
call fcn.004116f2
mov eax, dword [ebp - 0xb8]
mov dword [eax + 8], esi
push 0x5f828c
push ecx
push str.body
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x10
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0040ba77
call fcn.00411721
mov byte [ebp - 0xb8], bl
lea ecx, [ebp - 0x34]
push dword [ebp - 0xb8]
mov dword [ebp - 0x34], ebx
mov eax, dword [eax + 8]
mov dword [ebp - 0xb4], eax
lea eax, [ebp - 0xb0]
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 0x30], ebx
push eax
mov dword [ebp - 0x2c], ebx
call fcn.0041b022
sub esp, 0x10
mov byte [ebp - 4], 0x11
mov eax, esp
mov dword [ebp - 0xd4], esp
mov dword [ebp - 0xbc], eax
push edi
mov dword [eax + 8], ebx
push 0xc
mov dword [eax + 0xc], ebx
push edi
mov byte [eax], 2
call fcn.00411902
mov esi, eax
add esp, 0xc
lea eax, [ebp - 0x15]
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0xc0], esi
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 0x13
test esi, esi
je 0x436224
mov byte [ebp - 0xb8], bl
mov ecx, esi
push dword [ebp - 0xb8]
mov dword [esi], ebx
push dword [ebp - 0x30]
mov dword [esi + 4], ebx
push dword [ebp - 0x34]
mov dword [esi + 8], ebx
call fcn.004398a6
mov eax, dword [ebp - 0xbc]
mov dword [eax + 8], esi
push str.international
push ecx
push str.list_i
push ecx
push str.context
push ecx
push str.body
lea ecx, [ebp - 0xd0]
mov byte [ebp - 4], 0x14
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
pop ecx
mov ecx, eax
call fcn.00420896
mov ecx, eax
mov byte [ebp - 4], 0x11
call fcn.0040ba77
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call fcn.0040663e
push 0x5f4bbf
lea ecx, [ebp - 0x40]
call fcn.004116f2
sub esp, 0x10
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0x88]
lea ecx, [ebp - 0xd0]
push eax
call fcn.0040b47a
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push ecx
push eax
lea edx, [ebp - 0x70]
lea ecx, [ebp - 0xac]
call fcn.00411075
pop ecx
pop ecx
push ebx
push edi
lea ecx, [ebp - 0x88]
call fcn.00411ab5
push ebx
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x19
call fcn.00411ab5
sub esp, 0x24
lea eax, [ebp - 0xac]
mov ecx, esp
push eax
call fcn.0040cd1e
call fcn.0040cd50
add esp, 0x24
push ebx
test al, al
je 0x436498
push ebx
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], ebx
call fcn.0041164f
lea eax, [ebp - 0xa0]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x28]
call fcn.00425e3b
sub esp, 0x28
mov byte [ebp - 4], 0x1c
mov eax, esp
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x38]
push edi
mov dword [eax + 0x24], ebx
call fcn.004039de
add esp, 0x2c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x1e
call fcn.00409d03
push 0x5f82b4
lea ecx, [ebp - 0x38]
call fcn.00420896
push str.components
mov ecx, eax
call fcn.00420896
push ecx
mov ecx, eax
call fcn.004366ee
push str.region
mov ecx, eax
call fcn.00420896
lea ecx, [ebp - 0x88]
push ecx
mov ecx, eax
call fcn.00432353
lea ecx, [ebp - 0x140]
mov byte [ebp - 4], 0x1f
call fcn.0043a2cf
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x20
push ecx
lea ecx, [ebp - 0xec]
push ecx
mov ecx, eax
call fcn.00436954
push eax
lea ecx, [ebp - 0x58]
call fcn.0040d5cc
push ebx
push edi
lea ecx, [ebp - 0xec]
call fcn.0041164f
lea ecx, [ebp - 0x140]
call fcn.00439c2f
push ebx
push edi
lea ecx, [ebp - 0x88]
call fcn.00411ab5
lea ecx, [ebp - 0x38]
call fcn.0040c84c
mov dword [ebp - 4], 0x1a
cmp dword [ebp - 0x48], 0
je 0x43648d
lea eax, [ebp - 0xec]
mov dword [ebp - 0xb0], ebx
push eax
call fcn.004037cf
mov ecx, eax
call fcn.00409ab4
cmp dword [eax + 0x14], 8
jb 0x436412
mov eax, dword [eax]
push ebx
lea ecx, [ebp - 0xb0]
push ecx
push ebx
push 0x20006
push ebx
push ebx
push ebx
push eax
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
push edi
lea ecx, [ebp - 0xec]
mov esi, eax
call fcn.0041164f
lea ecx, [ebp - 0x58]
test esi, esi
jne 0x436490
mov eax, dword [ebp - 0x48]
cmp dword [ebp - 0x44], 8
cmovae ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
push eax
push ecx
push edi
push ebx
push str.Region
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0xb0], esi
je 0x43648d
push dword [ebp - 0xb0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43648d
lea ecx, [ebp - 0x58]
push ebx
push edi
call fcn.0041164f
push ebx
push edi
lea ecx, [ebp - 0xa0]
call fcn.00411ab5
lea ecx, [ebp - 0xd0]
call fcn.0040c84c
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.00411ab5
call fcn.00571899
ret