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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100dd156
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x10114894]
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 eax, ecx
mov dword [ebp - 0x22c], eax
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x100430b4
xor eax, eax
jmp 0x10043419
cmp dword [ebp + 8], 0
je 0x100433e1
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10066cd0
add esp, 0xc
lea eax, [ebp - 0x218]
push dword [0x101136f0]
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x10043437
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x240], edi
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x10043441
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x23c], eax
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x1004344b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x238], eax
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x10043455
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x234], eax
mov dword [ebp - 4], 0
call fcn.100078b0
mov ecx, eax
test ecx, ecx
je 0x1004345f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x224], eax
lea eax, [ebp - 0x218]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0x224]
push str.__s_
push eax
call fcn.1001abe0
mov eax, dword [ebp - 0x224]
add edi, 0xfffffff0
add esp, 0xc
or esi, 0xffffffff
lea ebx, [eax - 0x10]
cmp ebx, edi
je 0x10043203
cmp dword [edi + 0xc], 0
jl 0x100431f4
mov ecx, dword [ebx]
cmp ecx, dword [edi]
jne 0x100431f4
push ebx
call fcn.10006bd0
add esp, 4
mov dword [ebp - 0x21c], eax
mov ecx, esi
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x100431e9
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x21c]
add eax, 0x10
mov dword [ebp - 0x240], eax
jmp 0x10043203
push dword [eax - 0xc]
lea ecx, [ebp - 0x240]
push eax
call fcn.100070c0
push 0x14
push str._autorun___fromtask
lea ecx, [ebp - 0x238]
call fcn.100070c0
mov edx, dword [str.Starts_greenpomelo_when_a_user_logs_on.]
test edx, edx
jne 0x10043223
xor ecx, ecx
jmp 0x1004323f
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10043230
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x234]
call fcn.100070c0
cmp dword [0x10115290], 0
mov dword [ebp - 0x230], 1
je 0x1004330d
push str.ntdll.dll
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x228], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x10043303
push str.RtlGetNtVersionNumbers
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100432da
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x244]
push ecx
lea ecx, [ebp - 0x21c]
push ecx
call eax
movzx eax, word [ebp - 0x220]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x228], 1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
cmp dword [ebp - 0x228], 0
je 0x10043303
mov eax, dword [0x10119e34]
mov ecx, 1
cmp dword [ebp - 0x21c], 6
cmovae eax, ecx
mov dword [0x10119e34], eax
mov dword [0x10115290], 0
cmp dword [0x10119e34], 0
je 0x10043334
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x240]
push eax
push dword [0x101136f4]
call fcn.10041ca0
mov edi, eax
test edi, edi
jne 0x1004334e
mov ecx, dword [ebp - 0x22c]
lea eax, [ebp - 0x240]
push eax
push dword [0x101136f4]
call fcn.10041ac0
mov edi, eax
mov byte [ebp - 4], 0
mov eax, esi
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x10043366
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x234]
mov eax, esi
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004338a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x238]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100433a7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x23c]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100433c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x240]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x10043417
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x10043417
push dword [0x101136f4]
call fcn.10042ca0
mov edi, dword [str.greenpomelo]
mov esi, dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call esi
push edi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov edi, 1
mov eax, edi
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.1005e6b8
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.10005050
push 0x80004005
call fcn.10005050
push 0x80004005
call fcn.10005050
push 0x80004005
call fcn.10005050
push 0x80004005
call fcn.10005050
int3