Function at 0x435f90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c2fc
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x6102d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x208
push 0
push eax
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x25c], 0
mov dword [ebp - 0x258], 0
mov dword [ebp - 0x254], 0
call fcn.0056f980
add esp, 0xc
mov dword [ebp - 0x238], 0
xor eax, eax
mov dword [ebp - 0x234], 7
lea ecx, [ebp - 0x248]
mov word [ebp - 0x248], ax
push 0x5a4d4c
call fcn.0041e7b0
push 0x24
push str.72589155_1C92_4020_8E21_CE8E5A0BBD22
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.004114b0
push 1
push 0x5a4d9c
lea ecx, [ebp - 0x248]
call fcn.004114b0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x24c]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43616a
xor eax, eax
mov dword [ebp - 0x220], 0
push str.ChinaYXHExtern
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0041e7b0
push 6
push str._Class
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.004114b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x436110
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436130
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5a178c
push dword [ebp - 0x24c]
call edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0040a530
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x43648d
push 0
lea ecx, [ebp - 0x250]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.InprocServer32
push eax
call esi
test eax, eax
jne 0x4362ba
call fcn.00410740
mov ecx, eax
call fcn.004132f0
xor ecx, ecx
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
push eax
mov dword [ebp - 0x21c], 7
call fcn.0041e7b0
mov eax, dword [ebp - 0x260]
mov byte [ebp - 4], 2
cmp dword [eax + 0x5c], 8
lea ecx, [eax + 0x48]
jb 0x4361e9
mov ecx, dword [eax + 0x48]
push dword [eax + 0x58]
push ecx
lea ecx, [ebp - 0x230]
call fcn.004114b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x436214
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436230
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5a178c
push dword [ebp - 0x250]
call edi
movups xmm0, xmmword [str.Apartment]
mov eax, dword [0x5a4bd4]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x208], eax
lea edx, [ecx + 2]
movups xmmword [ebp - 0x218], xmm0
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436280
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.ThreadingModel
push dword [ebp - 0x250]
call edi
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.0040a530
push 0
lea eax, [ebp - 0x25c]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.Programmable
push dword [ebp - 0x24c]
call esi
test eax, eax
jne 0x43648d
push eax
lea eax, [ebp - 0x258]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.TypeLib
push dword [ebp - 0x24c]
call esi
test eax, eax
jne 0x4363d6
push 0x5a4d4c
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.0041e7b0
push 0x24
push str.CAF7A7EA_F9D0_4473_88FF_E097545C329D
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.004114b0
push 1
push 0x5a4d9c
lea ecx, [ebp - 0x230]
call fcn.004114b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
sub edx, ecx
nop word [eax + eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x436380
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4363a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5a178c
push dword [ebp - 0x258]
call edi
lea ecx, [ebp - 0x230]
call fcn.0040a530
push 0
lea eax, [ebp - 0x254]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5a5114
push dword [ebp - 0x24c]
call esi
test eax, eax
jne 0x43644b
mov eax, dword [0x5a215c]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
lea edx, [ecx + 2]
mov eax, dword [0x5a2160]
mov dword [ebp - 0x214], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x436420
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5a178c
push dword [ebp - 0x254]
call edi
mov eax, dword [ebp - 0x254]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x43645e
push eax
call esi
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x43646b
push eax
call esi
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x436478
push eax
call esi
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x436485
push eax
call esi
push dword [ebp - 0x24c]
call esi
mov edx, dword [ebp - 0x234]
cmp edx, 8
jb 0x4364c9
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4364bf
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4364e6
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret 4
call fcn.00572b79
int3