joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4072ad
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x46bc7c], 0
jne 0x4072eb
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4072c1
mov dword [ecx*4 + 0x46bc78], eax
inc ecx
cmp ecx, 0x100
jl 0x4072bc
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x407318
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x46bc78]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072f9
not eax
pop ebp
ret 0xc

Function at 0x438c8b
Capabilities:
Encode data using xor

Disassembly:
mov esi, 0x438a14
or edi, edi
and edi, edx
call fcn.00438cd4
mov edi, 0xbda76c6a
add edx, 0xbb541315
sub edx, 0x92bf9f89
xor dword [ebx], esi
add edx, 0x24f2ac66
add edi, 0xd1a653d4
mov edi, 0xf4984551
inc ebx
dec edx
dec edi
cmp ebx, eax
jne fcn.00438c8b
or edi, edx
mov edi, edx
inc edi
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
popal
nop
nop
jmp loc.00401219

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
mov ecx, 0x2ed21100
nop
test eax, eax
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
mov ecx, 0x5d402518
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x49b9c0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8b000]
push edi
jmp 0x49b9da
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x49b9e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49b9d0
mov eax, 1
add ebx, ebx
jne 0x49b9f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x49ba04
jne 0x49ba23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ba23
dec eax
add ebx, ebx
jne 0x49ba10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x49b9e8
add ebx, ebx
jne 0x49ba1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x49ba75
xor ecx, ecx
sub eax, 3
jb 0x49ba3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49baaa
sar eax, 1
mov ebp, eax
jmp 0x49ba46
add ebx, ebx
jne 0x49ba46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ba14
inc ecx
add ebx, ebx
jne 0x49ba54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x49ba14
add ebx, ebx
jne 0x49ba61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x49ba56
jne 0x49ba72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x49ba56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x49ba94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x49ba86
jmp 0x49b9d6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x49ba94
add edi, ecx
jmp 0x49b9d6
pop esi
mov edi, esi
mov ecx, 0xa57
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x49bab2
cmp byte [edi], 0x12
jne 0x49bab2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x49bab7
lea edi, [esi + 0x99000]
mov eax, dword [edi]
or eax, eax
je 0x49bb2f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x111a24]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x111b04]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x49bae4
mov ecx, edi
jns 0x49bb13
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x111b0c]
or eax, eax
je 0x49bb29
mov dword [ebx], eax
add ebx, 4
jmp 0x49bb01
call dword [esi + 0x111b08]
mov ebp, dword [esi + 0x111b10]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x17f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x49bb63
sub esp, 0xffffff80
jmp 0x41942f
Function at 0x100392e
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x100792a
call fcn.01007328
sub esp, 0x14
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x18]
push eax
push 0xf003f
xor ebx, ebx
push ebx
push 0x1001dac
push 0x80000002
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1003a26
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x1003a1d
mov eax, dword [ebp - 0x14]
shr eax, 2
shl eax, 2
push eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
call sub.MFC42.dll_operatornew
or dword [ebp - 4], 0xffffffff
pop ecx
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push esi
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
call edi
test eax, eax
jne 0x1003a16
cmp dword [ebp - 0x14], ebx
je 0x1003a16
xor edx, edx
inc edx
cmp dword [esi], edx
mov eax, edx
jb 0x10039ed
cmp dword [ebp - 0x1c], ebx
jne 0x10039e1
mov ecx, dword [esi + eax*4]
cmp ecx, dword [ebp + 0xc]
jne 0x10039e8
dec dword [esi]
mov ecx, dword [esi]
lea edi, [ecx + 1]
cmp eax, edi
mov dword [ebp - 0x1c], edx
je 0x10039ed
cmp ecx, ebx
je 0x1003a0a
mov ecx, dword [esi + eax*4 + 4]
mov dword [esi + eax*4], ecx
inc eax
cmp eax, dword [esi]
jbe 0x10039c2
cmp dword [esi], ebx
je 0x1003a0a
mov eax, dword [ebp - 0x14]
add eax, 0xfffffffc
push eax
push esi
push 3
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
jmp 0x1003a16
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push esi
call sub.MFC42.dll_operatordelete
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
Function at 0x1004702
Capabilities:
Delete service
Query service configuration

Disassembly:
mov eax, 0x1007afe
call fcn.01007328
sub esp, 0x11c
mov eax, dword [0x10091ec]
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
push 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x120], ebx
call sub.MFC42.dll_CWnd::UpdateData
mov eax, dword [esi + 0x200]
push ebx
lea ecx, [ebp - 0x118]
push ecx
push ebx
push ebx
push eax
call dword [sym.imp.msvcrt.dll__splitpath]
add esp, 0x14
push 0xf01ff
lea eax, [ebp - 0x118]
push eax
push dword [esi + 0x234]
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
cmp eax, ebx
mov dword [ebp - 0x11c], eax
je 0x1004846
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceConfigA]
lea ecx, [ebp - 0x124]
push ecx
push ebx
push ebx
push eax
call edi
push dword [ebp - 0x124]
mov dword [ebp - 4], ebx
call sub.MFC42.dll_operatornew
or dword [ebp - 4], 0xffffffff
pop ecx
mov ebx, eax
lea eax, [ebp - 0x124]
push eax
push dword [ebp - 0x124]
push ebx
push dword [ebp - 0x11c]
call edi
test eax, eax
je 0x10047ca
mov eax, dword [ebx + 0x10]
test eax, eax
je 0x10047ca
push dword [ebx + 0x14]
mov ecx, esi
push eax
call fcn.0100392e
push ebx
call sub.MFC42.dll_operatordelete
pop ecx
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x10047ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
xor ebx, ebx
cmp dword [ebp - 0x11c], ebx
je 0x1004803
push dword [ebp - 0x11c]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 0x120]
mov ecx, esi
call fcn.010038aa
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.010067fd
pop edi
pop esi
pop ebx
leave
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x120], eax
jmp 0x10047ef
Function at 0x1004b9a
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x1007b33
call fcn.01007328
sub esp, 0x10
push ebx
push esi
push edi
lea eax, [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x10], esp
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.msvcrt.dll_time]
pop ecx
lea eax, [ebp - 0x1c]
push eax
push 0xf003f
push edi
push 0x1001dac
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x1004c4f
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x18]
push ecx
push edi
push edi
push edi
push eax
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x1004c46
mov eax, dword [ebp - 0x18]
shr eax, 2
shl eax, 2
push eax
mov dword [ebp - 4], edi
call sub.MFC42.dll_operatornew
mov ebx, dword [ebx]
or dword [ebp - 4], 0xffffffff
pop ecx
mov edi, eax
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push 0
push ebx
push dword [ebp - 0x1c]
call esi
test eax, eax
jne 0x1004c3f
inc eax
cmp dword [edi], eax
jbe 0x1004c3f
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [edi + eax*4]
jne 0x1004c3a
inc dword [ebp - 0x14]
xor eax, eax
inc eax
cmp eax, dword [edi]
jb 0x1004c2d
push edi
call sub.MFC42.dll_operatordelete
pop ecx
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4
Function at 0x1004c70
Capabilities:
Persist via windows service
Set registry value

Disassembly:
mov eax, 0x1007b4a
call fcn.01007328
sub esp, 0x20
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
call sub.MFC42.dll_CString::CString
push 0x1002140
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.01006c3a
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call sub.MFC42.dll_CString::operator_1
lea eax, [ebp - 0x20]
push eax
mov edi, 0xf003f
push edi
push ebx
push dword [ebp - 0x10]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x1004dc8
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push 0x1002134
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x1004dbf
add esi, 0x300
push 0x200
mov ecx, esi
mov dword [ebp - 0x2c], esi
call sub.MFC42.dll_CString::GetBuffer
mov ecx, dword [esi]
push dword [ecx - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push eax
push 1
push ebx
push 0x1002124
push dword [ebp - 0x18]
mov dword [ebp + 8], eax
call esi
cmp eax, ebx
jne 0x1004dac
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push ebx
push ebx
push ebx
push dword [ebp + 8]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x1004dac
mov edi, dword [ebp - 0x1c]
add edi, 0x304
push 0x200
mov ecx, edi
call sub.MFC42.dll_CString::GetBuffer
mov ecx, dword [edi]
push dword [ecx - 8]
push eax
push 1
push ebx
push 0x1002118
push dword [ebp - 0x14]
call esi
push 0xffffffffffffffff
mov ecx, edi
mov dword [ebp + 8], eax
call sub.MFC42.dll_CString::ReleaseBuffer
cmp dword [ebp + 8], ebx
jne 0x1004da3
mov eax, dword [ebp - 0x1c]
push 4
add eax, 0x308
push eax
push 4
push ebx
push 0x1002110
push dword [ebp - 0x14]
call esi
cmp eax, ebx
jne 0x1004da3
mov dword [ebp - 0x24], 1
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x2c]
push 0xffffffffffffffff
call sub.MFC42.dll_CString::ReleaseBuffer
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.01006c22
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x1004ded
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
mov eax, 0x1007b59
call fcn.01007328
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x20], edi
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push edi
push 0x1001dac
push 0x80000002
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, edi
jne 0x1004f11
mov eax, dword [ebx]
lea ecx, [ebp - 0x14]
push ecx
push edi
push edi
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004f25
mov eax, dword [ebp - 0x14]
add eax, 4
mov dword [ebp - 0x14], eax
shr eax, 2
shl eax, 2
push eax
mov dword [ebp - 4], edi
call sub.MFC42.dll_operatornew
pop ecx
mov esi, eax
jmp 0x1004e7e
mov eax, dword [ebx]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
push ecx
push esi
push edi
push edi
push eax
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1004f01
mov eax, dword [ebp - 0x14]
shr eax, 2
dec eax
cmp dword [esi], eax
jbe 0x1004ea6
mov dword [esi], eax
mov ecx, dword [esi]
cmp ecx, edi
jne 0x1004eb1
xor eax, eax
inc eax
jmp 0x1004ebb
mov eax, dword [ebp + 0x10]
cmp eax, ecx
jbe 0x1004ebb
lea eax, [ecx + 1]
cmp ecx, eax
mov dword [ebp + 8], ecx
jb 0x1004ed7
mov ecx, dword [ebp + 8]
shl ecx, 2
dec dword [ebp + 8]
cmp dword [ebp + 8], eax
mov edx, dword [ecx + esi]
mov dword [ecx + esi + 4], edx
jae 0x1004ec2
mov ecx, dword [ebp + 0xc]
mov dword [esi + eax*4], ecx
inc dword [esi]
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebx]
add eax, 4
push eax
push esi
push 3
push edi
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x1004f01
mov dword [ebp - 0x20], 1
push esi
call sub.MFC42.dll_operatordelete
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0xc
push 4
call sub.MFC42.dll_operatornew
pop ecx
push 4
mov esi, eax
pop eax
push eax
push esi
push 3
push edi
mov dword [ebp - 0x14], eax
mov dword [esi], edi
push dword [ebx]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
call sub.MFC42.dll_operatordelete
pop ecx
jmp 0x1004e08
Function at 0x10060b2
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x10091ec]
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
lea ecx, [ebp - 0x114]
push ecx
lea ecx, [ebp - 0x110]
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push eax
push eax
push 0x10023a8
push dword [edi]
mov dword [ebp - 0x10c], 0x100
mov dword [ebp - 0x114], 4
mov dword [ebp - 0x108], eax
call esi
test eax, eax
jne 0x100611f
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], 1
mov dword [ebx + 4], eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x10023a0
push dword [edi]
call esi
test eax, eax
jne 0x1006151
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], 1
mov dword [ebx + 8], eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x1001a1c
push dword [edi]
call esi
test eax, eax
jne 0x1006183
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], 1
mov dword [ebx + 0xc], eax
lea eax, [ebp - 0x114]
push eax
lea eax, [ebp - 0x110]
push eax
push 0
push 0
push 0x1002390
push dword [edi]
call esi
test eax, eax
jne 0x10061b5
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x108], 1
mov dword [ebx + 0x10], eax
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x1002384
push dword [edi]
call esi
test eax, eax
jne 0x10061ed
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebx + 0x14]
mov dword [ebp - 0x108], 1
call fcn.01006c3a
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x100232c
push dword [edi]
mov dword [ebp - 0x10c], 0x100
call esi
test eax, eax
jne 0x100622f
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebx + 0x18]
mov dword [ebp - 0x108], 1
call fcn.01006c3a
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x1002374
push dword [edi]
mov dword [ebp - 0x10c], 0x100
call esi
test eax, eax
jne 0x1006271
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebx + 0x1c]
mov dword [ebp - 0x108], 1
call fcn.01006c3a
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x1002364
push dword [edi]
mov dword [ebp - 0x10c], 0x100
call esi
test eax, eax
jne 0x10062b3
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebx + 0x20]
mov dword [ebp - 0x108], 1
call fcn.01006c3a
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x1002358
push dword [edi]
mov dword [ebp - 0x10c], 0x100
call esi
test eax, eax
jne 0x10062f5
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebx + 0x24]
mov dword [ebp - 0x108], 1
call fcn.01006c3a
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 4]
dec eax
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 0xb
pop ebx
call fcn.010067fd
leave
ret 4
Function at 0x100657a
Capabilities:
Enumerate services

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x226
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], ebx
call sub.MFC42.dll_operatornew
mov esi, eax
pop ecx
mov dword [ebp - 0x18], esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x226
push esi
push 3
push 0xb
push dword [edi + 0xa0]
call dword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x10065d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x10066b8
and dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
mov dword [ebp - 4], esi
jbe 0x100669d
add edi, 0x60
push dword [esi]
mov ecx, edi
push ebx
call fcn.010064a4
push dword [esi + 4]
mov ecx, edi
push 1
push ebx
call sub.MFC42.dll_CListCtrl::SetItemText
mov eax, dword [esi + 8]
dec eax
mov ecx, edi
je 0x100661a
dec eax
je 0x1006613
push 0x1002544
jmp 0x100661f
push 0x1002538
jmp 0x100661f
push 0x1001fbc
push 2
push ebx
call sub.MFC42.dll_CListCtrl::SetItemText
mov esi, dword [esi + 0xc]
dec esi
je 0x1006669
dec esi
je 0x1006662
dec esi
je 0x100665b
dec esi
je 0x1006654
dec esi
je 0x100664d
dec esi
je 0x1006646
dec esi
jne 0x1006678
push 0x1002530
jmp 0x100666e
push 0x1002520
jmp 0x100666e
push 0x100250c
jmp 0x100666e
push 0x1002504
jmp 0x100666e
push 0x10024f4
jmp 0x100666e
push 0x10024e4
jmp 0x100666e
push 0x10024dc
push 3
mov ecx, edi
push ebx
call sub.MFC42.dll_CListCtrl::SetItemText
push ebx
mov ecx, edi
call fcn.010064c5
add dword [ebp - 4], 0x24
mov esi, dword [ebp - 4]
inc ebx
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0xc]
jb 0x10065ea
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
cmp dword [ebp - 0x10], 0
jne 0x100659f
xor edi, edi
inc edi
push esi
call sub.MFC42.dll_operatordelete
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
xor edi, edi
jmp 0x10066aa

Function at 0x10067fd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10091ec]
jne 0x100680e
test ecx, 0xffff0000
jne 0x100680e
ret
jmp fcn.01006818

Function at 0x1007549
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x10025b8
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10075a1
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x100171c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1007594
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x10075a3
xor eax, eax
pop esi
leave
ret 4
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
nop
popal
jmp loc.00401219
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..reloc
nop
nop
push 4
nop
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e072
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x4f912367
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
loop 0x42e060
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x574d4c50
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x42e0c0
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40149d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4014db
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4 - 4]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax]
push str._s:_Error:_missing_argument_to__s_n
push 2
call fcn.00487c90
pop ecx
push eax
call fcn.0040aa3c
add esp, 0x10
push 1
call fcn.00486d64
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + eax*4]
pop ebp
ret