Function at 0x403110
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push 0xffffffffffffffff
push 0x4a93d7
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x4c8630]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c8630]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
push 0x4b2c60
lea eax, [esp + 0x28]
push eax
call fcn.004200b0
xor ebx, ebx
mov dword [esp + 0xf4], ebx
cmp byte [esp + 0xfc], bl
je 0x403441
lea ecx, [esp + 0x54]
push ecx
call fcn.0041ff40
mov byte [esp + 0xf4], 1
cmp dword [0x4cb514], ebx
jne 0x4031a4
push 1
call fcn.00489136
add esp, 4
push 0x4cb4c8
mov dword [0x4cb514], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea esi, [esp + 0x54]
call fcn.00409900
test al, al
jne 0x4031e5
cmp byte [esp + 0x7e], bl
jne 0x4031cc
mov eax, dword [esp + 0x78]
lea edx, [esp + 0x58]
cmp eax, edx
je 0x4031cc
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0x4e], bl
jne 0x4034f6
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
cmp eax, ecx
jmp 0x4034eb
lea edx, [esp + 0x84]
push edx
call fcn.0041ff40
mov byte [esp + 0xf4], 2
lea eax, [esp + 0x58]
cmp byte [esp + 0x7e], bl
jne 0x403208
mov eax, dword [esp + 0x78]
add eax, 4
push eax
push str.__s___a__SGWPNote
lea edi, [esp + 0x8c]
call fcn.004206c0
add esp, 8
lea eax, [esp + 0xb4]
push eax
call fcn.0041ff40
mov esi, reloc.WS2_32.dll_accept
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], bl
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
mov byte [esp + 0x108], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
sete al
cmp al, bl
je 0x4032ed
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x403278
mov eax, dword [esp + 0x48]
lea edx, [esp + 0xb4]
push edx
add eax, 4
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004223f0
test al, al
je 0x4032ed
lea eax, [esp + 0x84]
lea ecx, [esp + 0xb4]
call fcn.00420270
test al, al
je 0x4032ed
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4032bc
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
lea eax, [esp + 0xb4]
call fcn.00402420
lea eax, [esp + 0x84]
call fcn.00402420
lea eax, [esp + 0x54]
call fcn.00402420
lea eax, [esp + 0x24]
call fcn.00402420
mov al, 1
jmp 0x4034f8
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, ebx
je 0x403302
push eax
call ebp
mov dword [esp + 0x18], ebx
cmp byte [esp + 0xde], bl
jne 0x403326
mov eax, dword [esp + 0xd8]
lea ecx, [esp + 0xb8]
cmp eax, ecx
je 0x403326
push eax
call fcn.0048a268
add esp, 4
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], bl
push ebx
lea edx, [esp + 0x1c]
push edx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
sete al
cmp al, bl
jne 0x403396
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x403365
push eax
call ebp
mov dword [esp + 0x18], ebx
cmp byte [esp + 0xae], bl
jne 0x4031b1
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x88]
cmp eax, ecx
je 0x4031b1
push eax
call fcn.0048a268
add esp, 4
jmp 0x4031b1
lea ecx, [esp + 0x88]
cmp byte [esp + 0xae], bl
jne 0x4033ad
mov ecx, dword [esp + 0xa8]
lea eax, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x4033bb
mov eax, dword [esp + 0x48]
add eax, 4
push eax
lea edi, [ecx + 4]
lea eax, [esp + 0x1c]
call fcn.004224b0
mov byte [esp + 0x17], al
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4033de
push eax
call ebp
mov dword [esp + 0x18], ebx
cmp byte [esp + 0xae], bl
jne 0x403402
mov eax, dword [esp + 0xa8]
lea edx, [esp + 0x88]
cmp eax, edx
je 0x403402
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0x7e], bl
jne 0x40341d
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0x58]
cmp eax, ecx
je 0x40341d
push eax
call fcn.0048a268
add esp, 4
cmp byte [esp + 0x4e], bl
jne 0x403438
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x403438
push eax
call fcn.0048a268
add esp, 4
mov al, byte [esp + 0x17]
jmp 0x4034f8
mov esi, reloc.WS2_32.dll_accept
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], esi
mov byte [esp + 0x20], bl
lea eax, [esp + 0x18]
push eax
push 0xf003f
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
sete al
cmp al, bl
je 0x4034cc
lea ecx, [esp + 0x28]
cmp byte [esp + 0x4e], bl
jne 0x403480
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x40348e
mov byte [esp + 0x17], bl
jmp 0x4034b3
add ecx, 4
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test eax, eax
mov eax, dword [esp + 0x18]
sete byte [esp + 0x17]
cmp eax, ebx
je 0x4034b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x18], ebx
cmp byte [esp + 0x4e], bl
jne 0x403438
mov eax, dword [esp + 0x48]
lea ecx, [esp + 0x28]
cmp eax, ecx
jmp 0x40342d
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4034db
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [esp + 0x4e], bl
jne 0x4034f6
mov eax, dword [esp + 0x48]
lea edx, [esp + 0x28]
cmp eax, edx
je 0x4034f6
push eax
call fcn.0048a268
add esp, 4
xor al, al
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.00488f53
add esp, 0xe4
ret 4