Function at 0x4343a0
Capabilities:
Encode data using xor
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e15bc
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x676314]
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 dword [ebp - 0x264], ecx
mov eax, dword [ebp + 8]
push 0x208
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x218]
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.004830b0
add esp, 0xc
call fcn.00473856
test al, al
je 0x434440
or al, 0xfd
xchg ebx, eax
inc esi
dec eax
mov esp, 0x19b43c8f
fisttp word [edx - 9]
lahf
rcr byte [esi], cl
cmp ebp, dword [ebx]
push 1
xor eax, eax
mov dword [ebp - 0x234], 7
push 0x5ebfd8
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], 0
mov word [ebp - 0x248], ax
call fcn.00402650
push 0x24
push str.A752F8CC_4848_422F_B528_AF1DF4B898B9
lea ecx, [ebp - 0x248]
mov dword [ebp - 4], 0
call fcn.00405710
push 1
push 0x5ec02c
lea ecx, [ebp - 0x248]
call fcn.00405710
call fcn.00473337
test al, al
je 0x4344c0
xchg edi, eax
and ebx, ebx
xor eax, 0x3296a524
outsb dx, byte [esi]
pop esp
idiv ch
sub bh, byte [ebp + 0x53]
cmp eax, 0x9e4e414e
dec esi
lahf
test dword [edx + ebx*4 + 0x78c3b9ed], edi
call fcn.00473673
test al, al
je 0x4344e2
into
in eax, dx
pop esp
push edx
mov dh, 0xec
xor al, 0xc9
push eax
mov dword [0xe01d8495], eax
test bl, bl
movsb byte es:[edi], byte [esi]
pop ebp
xor al, 0x1d
outsd dx, dword [esi]
push ds
cmp eax, 0x3efa9e8
add byte [eax + eax*8 + 0x5b81874], al
test al, 0x26
cmpsd dword [esi], dword es:[edi]
call fcn.00473490
test al, al
je 0x434503
mov eax, 0xa726a805
test eax, 0xfb0fd563
sub byte [ebx - 0x28aae7c7], dl
stosb byte es:[edi], al
dec esp
fidiv word [ebx + 0x210b8414]
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x24c]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push eax
push dword [ebp - 0x260]
call ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x43461d
push 7
xor eax, eax
mov dword [ebp - 0x21c], 7
push str.ZhiNeng
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
call fcn.00402650
push 6
push str._Class
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 1
call fcn.00405710
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4345b0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4345d0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5e87f0
push dword [ebp - 0x24c]
call esi
salc
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x43461d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402750
call fcn.0047344b
test al, al
je 0x43463c
jae 0x4345fa
jnp 0x434632
movsd dword es:[edi], dword [esi]
fbstp tbyte [esi + 0x76]
inc ebp
and esp, dword [ecx - 0x5ebd2327]
fadd qword [edx - 0x5f]
dec ecx
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [ebp - 0x24c]
test eax, eax
je 0x434b0c
push 0
lea ecx, [ebp - 0x250]
push ecx
push 0
push 0xf003f
push 0
push 0
push 0
push str.InprocServer32
push eax
call ebx
test eax, eax
jne 0x43477d
call fcn.004022d0
mov ecx, eax
call fcn.004710c9
push eax
lea ecx, [ebp - 0x230]
call fcn.00403b30
mov eax, dword [ebp - 0x264]
lea ecx, [ebp - 0x230]
push 0xffffffffffffffff
push 0
add eax, 0x48
mov byte [ebp - 4], 2
push eax
call fcn.00405600
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x4346c0
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4346e0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5e87f0
push dword [ebp - 0x250]
call esi
movups xmm0, xmmword [str.Apartment]
mov eax, dword [0x5ebe50]
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 0x434730
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 esi
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
cmp eax, 8
jb 0x43477d
inc eax
lea ecx, [ebp - 0x230]
push eax
push dword [ebp - 0x230]
call fcn.00402750
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 ebx
test eax, eax
jne 0x434b0c
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 ebx
test eax, eax
jne 0x4348e4
call fcn.00473925
test al, al
je 0x4347f6
sbb esp, dword [0x2f4aac6d]
and eax, 0x2f4aac6d
cdq
jae 0x434816
jge 0x4347da
xchg edx, eax
invalid
add ebp, esi
mov ah, 0x64
outsb dx, byte [esi]
call fcn.004732f2
test al, al
je 0x434817
or dword cs:[ebp + 0x3d], eax
pop esi
xchg dword [eax - 0x3e], ebx
cmc
retf
imul ebp, eax, 0xffffff93
int1
add eax, dword [eax]
call fcn.004739af
test al, al
je 0x434834
mov ecx, 0xf250b762
movsb byte es:[edi], byte [esi]
mov byte [esi], bl
cwde
inc edi
mov bl, 0x7a
jns 0x4348a7
push ss
jb 0x434832
je 0x4347f0
push 0x5ebfd8
lea ecx, [ebp - 0x230]
call fcn.00403b30
push str.32CFDBDB_9FA1_44CE_887B_5E4917AAF92B
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 3
call fcn.0040aae0
push 0x5ec02c
lea ecx, [ebp - 0x230]
call fcn.0040aae0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x230]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x230]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x434882
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
test eax, eax
jne 0x4348a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5e87f0
push dword [ebp - 0x258]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00448f80
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push 0
lea eax, [ebp - 0x254]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push 0x5ec3ac
push dword [ebp - 0x24c]
call ebx
test eax, eax
jne 0x4349cf
call fcn.00473856
test al, al
je 0x434937
in al, 0x29
test eax, 0x70a91046
popal
sub byte [eax - 0x56065bbb], ah
lea ebx, [ecx]
mov bh, 0xe9
push 0xdc5d9f76
test al, 0x90
pop edi
out dx, al
cmpsd dword [esi], dword es:[edi]
mov dh, 0xe8
sti
jmp 0xc0c74941
call fcn.00473337
test al, al
je 0x43495c
into
cmp byte [eax - 0x7c6747a3], dh
iret
call fcn.004733c1
test al, al
je 0x43497b
imul ebx, dword [edx + 0x7c], 0xffffff8a
mov esp, 0x20d5089b
outsd dx, dword [esi]
xor byte [ebp + 0x30edeb5b], bl
jnp 0x4349c8
xor al, 0x93
ja 0x4349bf
mov eax, dword [0x5e8a44]
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x218], eax
lea edx, [ecx + 2]
mov eax, dword [0x5e8a48]
mov dword [ebp - 0x214], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4349a0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push 0x5e87f0
lock xchg dword [esi], ebx
push dword [ebp - 0x254]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
invalid
call fcn.0047337c
test al, al
je 0x4349ef
retf 0x5aa0
mov ecx, dword [ebp - 0x254]
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ecx, ecx
je 0x434a06
push ecx
call eax
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x258]
test ecx, ecx
je 0x434a13
push ecx
call eax
call fcn.004732ad
test al, al
je 0x434a35
salc
sub esp, dword fs:[edi + 0x6acf5e03]
stosb byte es:[edi], al
in eax, 0x67
dec ebx
adc edx, dword [ebx - 0x48ef6b8d]
sub ecx, dword [edx]
add ebx, dword [edi]
pop ds
sub edx, ebp
call fcn.00473742
test al, al
je 0x434a55
add edi, edx
pop ebp
xor bl, byte [ebp + 0x3b14322e]
out dx, al
ja 0x434a32
test eax, 0xd2287082
jp 0x434ab3
mov dl, 0xee
mov al, byte [0xe853e880]
add eax, dword [eax]
call fcn.004732ad
test al, al
je 0x434a75
pop es
cmp dh, byte [edi - 0x669a2b62]
sahf
aam 0x65
cdq
sub esi, dword [ebp - 0x27]
call 0xc75c4dfc
mov ebx, gs
sub al, 0x49
xchg esi, eax
out 0x13, al
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x434a86
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0047362e
test al, al
je 0x434aaf
pop esi
xchg ebp, eax
mov byte [0x434ca89], al
jae 0x434a26
invalid
call fcn.0047351a
test al, al
je 0x434acf
add byte [eax + eax*8 - 0x5fa7e88c], al
dec esi
sbb ah, byte [esi - 0x347634f9]
salc
sar dword [edx], 1
cmpsd dword [esi], dword es:[edi]
push ecx
out dx, eax
xor ecx, dword [ecx]
jp 0x434a98
pop eax
mov al, byte [0x7a61a4e]
retf
lodsb al, byte [esi]
jb 0x434b06
shr al, cl
in eax, dx
call 0xc0c74ad9
call fcn.004733c1
test al, al
je 0x434aef
push ds
cmp byte [edi - 0x1a], 8
je 0x434a61
daa
mov al, byte [0xdf6fe55a]
retf
mov eax, dword [ebp - 0x250]
test eax, eax
je 0x434b00
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x24c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x234]
cmp eax, 8
jb 0x434b2a
inc eax
lea ecx, [ebp - 0x248]
push eax
push dword [ebp - 0x248]
call fcn.00402750
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.0046ce06
mov esp, ebp
pop ebp
ret 4