Function at 0x437380
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59c461
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x6102d4]
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 esi, ecx
xor eax, eax
mov dword [ebp - 0x298], 0
mov dword [ebp - 0x29c], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
mov dword [ebp - 4], eax
mov eax, dword [0x61b9b8]
test eax, eax
jne 0x43741c
push 0x11c
call fcn.0045ec32
add esp, 4
mov dword [ebp - 0x294], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x437411
mov ecx, eax
call fcn.00442a30
jmp 0x437413
xor eax, eax
mov byte [ebp - 4], 0
mov dword [0x61b9b8], eax
mov ecx, eax
call fcn.004132f0
xor ecx, ecx
mov dword [ebp - 0x280], 0
mov word [ebp - 0x290], cx
lea ecx, [ebp - 0x290]
push eax
mov dword [ebp - 0x27c], 7
call fcn.0041e7b0
cmp dword [esi + 0x2c], 8
lea ecx, [esi + 0x18]
mov byte [ebp - 4], 2
jb 0x43745c
mov ecx, dword [esi + 0x18]
push dword [esi + 0x28]
push ecx
lea ecx, [ebp - 0x290]
call fcn.004114b0
xor eax, eax
mov dword [ebp - 0x268], 0
push str.CLSID_
lea ecx, [ebp - 0x278]
mov dword [ebp - 0x264], 7
mov word [ebp - 0x278], ax
call fcn.0041e7b0
push 0x26
push str.E95AFCA5_7A39_42C6_82E7_502AD09FF383
lea ecx, [ebp - 0x278]
mov byte [ebp - 4], 3
call fcn.004114b0
push str.SOFTWAREClassesCLSID_
lea ecx, [ebp - 0x230]
call fcn.0041e7b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x298]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push ecx
push 0xf013f
push 0
push eax
push reloc.WS2_32.dll_bind
call ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x437512
push dword [ebp - 0x298]
mov ecx, esi
call fcn.00434db0
mov eax, dword [ebp - 0x298]
test eax, eax
je 0x437512
push eax
call edi
push str.CLSID_
lea ecx, [ebp - 0x230]
call fcn.0041e7b0
cmp dword [ebp - 0x21c], 8
lea ecx, [ebp - 0x29c]
push ecx
push 0xf013f
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push 0
push eax
push accept
call ebx
test eax, eax
jne 0x43756a
push dword [ebp - 0x29c]
mov ecx, esi
call fcn.00434db0
mov eax, dword [ebp - 0x29c]
test eax, eax
je 0x43756a
push eax
call edi
xor eax, eax
mov dword [ebp - 0x294], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 7
mov word [ebp - 0x248], ax
push 0x208
push eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 4
push eax
call fcn.0056f980
add esp, 0xc
lea ecx, [ebp - 0x248]
push str.SoftwareMicrosoftWindowsCurrentVersionShell_ExtensionsApproved
call fcn.0041e7b0
cmp dword [ebp - 0x234], 8
lea ecx, [ebp - 0x294]
push ecx
push 0xf013f
lea eax, [ebp - 0x248]
cmovae eax, dword [ebp - 0x248]
push 0
push eax
push reloc.WS2_32.dll_bind
call ebx
test eax, eax
jne 0x437692
push str.ChinaYXHShell
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x250], eax
mov dword [ebp - 0x24c], 7
mov word [ebp - 0x260], ax
call fcn.0041e7b0
cmp dword [ebp - 0x24c], 8
lea ecx, [ebp - 0x260]
lea edx, [ebp - 0x218]
cmovae ecx, dword [ebp - 0x260]
sub edx, ecx
nop
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [ecx + edx - 2], ax
test ax, ax
jne 0x437630
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x437650
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push str.E95AFCA5_7A39_42C6_82E7_502AD09FF383
push dword [ebp - 0x294]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x294]
call edi
lea ecx, [ebp - 0x260]
call fcn.0040a530
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x4376d6
mov ecx, dword [ebp - 0x248]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4376cc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377b1
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov ecx, esi
call fcn.00436a30
mov edx, dword [ebp - 0x264]
cmp edx, 8
jb 0x43771d
mov ecx, dword [ebp - 0x278]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x437713
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377b6
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x27c]
cmp edx, 8
jb 0x437759
mov ecx, dword [ebp - 0x290]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43774f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377bb
push edx
push ecx
call fcn.0045ec62
add esp, 8
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x437795
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x43778b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4377c0
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0045ef18
mov esp, ebp
pop ebp
ret
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
call fcn.00572b79
int3