joyce8/EMBER2024-capa huggingface dataset:
Function at 0x468720
Capabilities:
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffa8
mov dword [esp + 4], edx
mov dword [esp], eax
lea edi, [esp + 0xc]
mov eax, dword [esp + 4]
xor edx, edx
mov dword [eax], edx
lea eax, [esp + 0x18]
push eax
call sub.kernel32.dll_GetSystemInfo
mov esi, dword [esp + 0x1c]
call sub.kernel32.dll_GetCurrentProcessId
mov ebp, eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
xor ebx, ebx
mov eax, dword [esp + 0x14]
mov dword [edi], eax
mov eax, dword [edi]
and eax, 0xffff0000
mov dword [edi], eax
mov eax, ebx
shl eax, 0x10
sub dword [edi], eax
mov eax, esi
not eax
inc eax
and eax, dword [edi]
mov dword [edi], eax
push 4
push 0x3000
push esi
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualAlloc_1
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], 0
je 0x4687b2
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
je 0x4687b2
push 0x8000
push 0
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_VirtualFree_1
inc ebx
jmp 0x46884e
cmp dword [esp + 0x10], 0
jne 0x468857
push 0x1c
lea eax, [esp + 0x40]
push eax
mov eax, dword [edi]
push eax
call sub.kernel32.dll_VirtualQuery_1
cmp dword [esp + 0x48], 0x118
jb 0x468849
mov eax, dword [esp + 0x50]
and eax, 4
cmp eax, 4
jne 0x468849
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 4]
mov eax, dword [eax]
cmp edx, dword [esp + 4]
jne 0x468804
cmp eax, dword [esp]
pop edx
pop eax
jne 0x468849
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
push edx
push eax
mov eax, dword [edi]
mov edx, dword [eax + 0x114]
mov eax, dword [eax + 0x110]
cmp edx, dword [esp + 4]
jne 0x468831
cmp eax, dword [esp]
pop edx
pop eax
jne 0x468849
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
xor ecx, ecx
mov cl, byte [eax]
inc ecx
call fcn.00403598
je 0x468857
inc ebx
xor eax, eax
mov dword [edi], eax
cmp ebx, 0x14
jle 0x468759
xor eax, eax
mov dword [esp + 8], eax
cmp dword [esp + 0x10], 0
je 0x4688d5
mov eax, dword [edi]
cmp eax, dword [esp + 0x10]
jne 0x4688fb
mov eax, ebp
xor edx, edx
xor eax, 0x23456789
xor edx, 0xabcdef01
mov ecx, dword [edi]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov eax, dword [edi]
add eax, 8
mov edx, dword [esp]
call fcn.004034ec
mov eax, ebp
xor edx, edx
xor eax, 0x10fedcba
xor edx, 0x98765432
mov ecx, dword [edi]
mov dword [ecx + 0x110], eax
mov dword [ecx + 0x114], edx
mov eax, dword [edi]
mov dword [eax + 0x108], 1
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov dword [eax], 1
jmp 0x4688fb
cmp dword [edi], 0
je 0x4688fb
mov eax, dword [edi]
inc dword [eax + 0x108]
mov eax, dword [edi]
add eax, 0x118
mov dword [esp + 8], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x108]
mov edx, dword [esp + 4]
mov dword [edx], eax
mov eax, dword [esp + 8]
add esp, 0x58
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46c14c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x46c1dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50c60c]
cmp dword [eax], 2
jne 0x46c18c
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegQueryValueExW
mov ebx, eax
jmp 0x46c1bf
lea eax, [ebp - 8]
mov edx, esi
call fcn.004052dc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404d38
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 0x10]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404f70
push eax
push ebx
call sub.advapi32.dll_RegQueryValueExA_1
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c1e4
lea eax, [ebp - 8]
call fcn.004051bc
lea eax, [ebp - 4]
call fcn.00404ab0
ret

Function at 0x46c1f0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x46c284
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x50c60c]
cmp dword [eax], 2
jne 0x46c233
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
push esi
push ebx
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
jmp 0x46c266
lea eax, [ebp - 8]
mov edx, esi
call fcn.004052dc
mov edx, dword [ebp - 8]
lea eax, [ebp - 4]
call fcn.00404d38
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
push edi
mov eax, dword [ebp - 4]
call fcn.00404f70
push eax
push ebx
call sub.advapi32.dll_RegSetValueExA
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46c28b
lea eax, [ebp - 8]
call fcn.004051bc
lea eax, [ebp - 4]
call fcn.00404ab0
ret

Function at 0x46c900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esi], eax
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov eax, edi
call fcn.00404f70
mov edx, eax
mov eax, ebx
call fcn.0046bd50
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
sete al
mov ebx, eax
test bl, bl
je 0x46c96b
push 0
push 0
push esi
push 0
mov eax, dword [ebp - 4]
call fcn.00404f70
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
sete bl
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x46d710
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe50
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x1b0], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov esi, eax
xor eax, eax
push ebp
push 0x46d82c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00404ab0
lea eax, [ebp - 0x198]
push eax
mov dl, 1
mov al, 1
call fcn.00407e84
push eax
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x46d80b
xor eax, eax
push ebp
push 0x46d804
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov dword [ebp - 0x1ac], esi
mov edx, dword [ebp - 0x1ac]
call fcn.00404b48
cmp dword [ebp - 8], 0
jne 0x46d7a5
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.004050fc
push 0x104
mov eax, dword [ebp - 8]
call fcn.00404f70
push eax
call sub.wsock32.dll_gethostname
mov eax, dword [ebp - 8]
call fcn.00404f70
push eax
call sub.wsock32.dll_gethostbyname
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46d7f1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x1a4], eax
push dword [ebp - 0x1a4]
call sub.wsock32.dll_inet_ntoa
mov edx, eax
lea eax, [ebp - 0x1b0]
call fcn.00404ca8
mov edx, dword [ebp - 0x1b0]
mov eax, ebx
call fcn.00404b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d80b
call sub.wsock32.dll_WSACleanup
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46d833
lea eax, [ebp - 0x1b0]
call fcn.00404ab0
lea eax, [ebp - 8]
call fcn.00404ab0
ret

Function at 0x46d994
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404f70
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f70
mov edi, eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
mov edx, dword [ebp - 8]
inc edx
mov eax, ebx
call fcn.004050fc
mov eax, dword [ebp - 4]
call fcn.0040aa2c
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x46da56
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebx]
call fcn.00404f70
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push eax
push edi
push 0
call sub.advapi32.dll_LookupAccountNameA
test eax, eax
je 0x46da31
mov eax, ebx
call fcn.0046b4f4
jmp 0x46da40
mov eax, ebx
mov edx, dword [0x50c3c8]
mov edx, dword [edx]
call fcn.00404b04
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46da5d
mov eax, dword [ebp - 0xc]
call fcn.00402e54
ret
Function at 0x46e340
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff60
push ebx
xor eax, eax
mov dword [ebp - 0xa0], eax
xor eax, eax
push ebp
push 0x46e400
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [0x50c60c]
cmp dword [eax], 2
jne 0x46e3a8
mov eax, dword [0x50bec8]
cmp dword [eax], 5
jl 0x46e3a8
lea eax, [ebp - 0x9c]
xor ecx, ecx
mov edx, 0x9c
call fcn.00403608
mov dword [ebp - 0x9c], 0x9c
lea eax, [ebp - 0x9c]
push eax
call sub.kernel32.dll_GetVersionExA_1
test eax, eax
je 0x46e3e7
movzx ebx, word [ebp - 8]
jmp 0x46e3e7
push 0
mov ecx, 0x46e418
mov edx, 0x46e42c
mov eax, 0x80000002
call fcn.0046ca98
mov ebx, eax
lea ecx, [ebp - 0xa0]
mov edx, 4
mov eax, ebx
call fcn.0040b29c
mov eax, dword [ebp - 0xa0]
call fcn.0040b2c4
mov ecx, 0x64
cdq
idiv ecx
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e407
lea eax, [ebp - 0xa0]
call fcn.00404ab0
ret
Function at 0x47120c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
xor ecx, ecx
mov edx, 0x24
call fcn.00403608
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0xc]
add esp, 0x24
ret

Function at 0x47122c
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
mov eax, esp
xor ecx, ecx
mov edx, 0x24
call fcn.00403608
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 8]
add esp, 0x24
ret

Function at 0x47124c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov ebx, edx
mov esi, eax
push esp
call sub.user32.dll_GetKeyboardState
test eax, eax
je 0x471267
test byte [esp + esi], bl
jne 0x47126b
xor eax, eax
jmp 0x47126d
mov al, 1
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x4712cc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4714a9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x24
call fcn.00403608
lea eax, [ebp - 0x28]
push eax
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [ebp - 0x14]
mov dword [0x506494], eax
mov eax, dword [ebp - 0xc]
mov dword [0x506498], eax
mov eax, dword [ebp - 0x24]
mov dword [0x50649c], eax
mov eax, dword [0x50c60c]
cmp dword [eax], 2
sete byte [0x505e04]
push 0x4714b4
call sub.kernel32.dll_GetModuleHandleA_2
lea edx, [ebp - 4]
call fcn.00472124
cmp byte [0x505e04], 0
jne 0x471358
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.004722f0
test al, al
je 0x471358
mov eax, dword [ebp - 0x4c]
mov dword [0x51086c], eax
jmp 0x47135f
xor eax, eax
mov dword [0x51086c], eax
call fcn.0046ddfc
and eax, 0x7f
cmp eax, 0x12
ja case.0x471370.0
jmp dword [eax*4 + 0x471377]
mov byte [0x505df0], 1
jmp case.0x471370.0
mov byte [0x505df4], 1
jmp case.0x471370.0
mov byte [0x505df8], 1
jmp case.0x471370.0
mov byte [0x505dfc], 1
jmp case.0x471370.0
mov byte [0x505e00], 1
jmp case.0x471370.0
mov byte [0x505e08], 1
mov byte [0x505e0c], 1
jmp case.0x471370.0
mov byte [0x505e08], 1
mov byte [0x505e10], 1
jmp case.0x471370.0
mov byte [0x505e08], 1
mov byte [0x505e10], 1
mov byte [0x505e14], 1
jmp case.0x471370.0
mov byte [0x505e18], 1
jmp case.0x471370.0
mov byte [0x505e1c], 1
jmp case.0x471370.0
mov byte [0x505e20], 1
jmp case.0x471370.0
mov byte [0x505e24], 1
jmp case.0x471370.0
mov byte [0x505e28], 1
jmp case.0x471370.0
mov byte [0x505e2c], 1
jmp case.0x471370.0
mov byte [0x505e30], 1
jmp case.0x471370.0
mov byte [0x505e34], 1
jmp case.0x471370.0
mov byte [0x505e38], 1
jmp case.0x471370.0
mov byte [0x505e3c], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4714b0
lea eax, [ebp - 4]
call fcn.00404ab0
ret
Function at 0x472268
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4722e0
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 4]
push eax
mov eax, esi
call fcn.00404f70
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x4722ca
lea eax, [ebp - 8]
mov edx, edi
call fcn.004050fc
mov eax, dword [ebp - 8]
call fcn.00404f70
push eax
push edi
mov eax, dword [ebp - 4]
push eax
mov eax, esi
call fcn.00404f70
push eax
call sub.version.dll_GetFileVersionInfoA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4722e7
lea eax, [ebp - 8]
call fcn.00404ab0
ret

Function at 0x4722f0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x472397
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
lea eax, [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f70
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov edi, eax
test edi, edi
jbe 0x472381
lea eax, [ebp - 0x10]
mov edx, edi
call fcn.004050fc
mov eax, dword [ebp - 0x10]
push eax
push edi
mov eax, dword [ebp - 0xc]
push eax
mov eax, esi
call fcn.00404f70
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x472381
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x4723a8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x472381
cmp dword [ebp - 8], 0x34
jne 0x472381
mov bl, 1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
mov esi, eax
mov edi, edx
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47239e
lea eax, [ebp - 0x10]
call fcn.00404ab0
ret

Function at 0x4723ac
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
test dl, dl
je 0x4723c1
add esp, 0xfffffff0
call fcn.00403fbc
mov edi, ecx
mov byte [ebp - 1], dl
mov ebx, eax
lea eax, [ebp - 8]
push eax
mov eax, edi
call fcn.00404f70
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
jne 0x4723f6
mov ecx, dword [0x50c00c]
mov dl, 1
mov eax, dword [0x471cd0]
call fcn.0040ef78
call fcn.00404424
lea eax, [ebx + 4]
mov edx, esi
call fcn.004050fc
mov eax, dword [ebx + 4]
call fcn.00404f70
push eax
push esi
mov eax, dword [ebp - 8]
push eax
mov eax, edi
call fcn.00404f70
push eax
call sub.version.dll_GetFileVersionInfoA
call fcn.00410600
mov eax, ebx
call fcn.004729f0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x47243e
call fcn.00404014
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x473728
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.004736d4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4737a0
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov dword [0x51089c], eax
mov dword [ebp - 4], 0x473660
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x4737a0
xor eax, eax
push ebp
push 0x473799
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4737a0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov esp, ebp
pop ebp
ret

Function at 0x4737a4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
call fcn.004736d4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x473813
mov eax, dword [0x51089c]
mov dword [ebp - 4], eax
lea eax, [ebp - 0xc]
push eax
push 0x40
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x473813
xor eax, eax
push ebp
push 0x47380c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
mov dword [eax], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473813
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 4
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_VirtualProtect
ret
mov esp, ebp
pop ebp
ret

Function at 0x4767a0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.00403608
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.advapi32.dll_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x50c624]
cmp byte [edx + 0xc], 0
je 0x476804
mov edx, dword [0x50c60c]
cmp dword [edx], 2
jne 0x476804
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x476808
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x4768c0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004767a0
test al, al
je 0x4768a2
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404ba0
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4768a2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404f70
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00404f70
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404ca8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x47685b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4768c7
lea eax, [ebp - 0x2c]
call fcn.00404ab0
lea eax, [ebp - 0xc]
call fcn.00404ab0
ret

Function at 0x4768d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x476988
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004767a0
test al, al
je 0x47696a
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00404ba0
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x47696a
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404f70
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumValueA
mov eax, dword [ebp - 0xc]
call fcn.00404f70
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00404ca8
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x476923
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47698f
lea eax, [ebp - 0x2c]
call fcn.00404ab0
lea eax, [ebp - 0xc]
call fcn.00404ab0
ret
Function at 0x476a88
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00404f70
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x476ae0
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x50c630]
mov dl, 1
mov eax, dword [0x476254]
call fcn.0040efb4
call fcn.00404424
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0047635c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x476cf0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov dword [esp], ecx
mov ebx, edx
mov edi, eax
mov eax, dword [esp]
mov edx, ebx
call fcn.004034ec
cmp byte [edi], 0
jbe 0x476d3c
movzx esi, byte [ebx]
test esi, esi
jle 0x476d3c
mov ebp, 1
lea ecx, [ebx + 1]
mov ebx, dword [esp]
inc ebx
mov eax, ebp
dec eax
xor edx, edx
mov dl, byte [edi]
push ecx
mov ecx, edx
cdq
idiv ecx
pop ecx
inc edx
mov al, byte [edi + edx]
mov dl, byte [ecx]
xor al, dl
mov byte [ebx], al
inc ebp
inc ebx
inc ecx
dec esi
jne 0x476d1e
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x476f68
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, eax
push 1
push 0
push 0
push ebx
push 0x476f88
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
pop ebx
ret

Function at 0x47bf14
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x47bf42
mov eax, ebx
call fcn.0047c9c8
cmp dword [ebx + 0x40], 0
je 0x47bf3b
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x47bfb3
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x47bfa5
cmp dword [ebx + 8], 0
je 0x47bf64
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x47bf76
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x47bfa5
cmp dword [ebx + 8], 0
je 0x47bf57
cmp eax, 3
je 0x47bf89
dec eax
jne 0x47bf57
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x47bf57
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x47bf57
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x47bfd1
cmp dword [ebx + 0x14], 0xcc
je 0x47bfd1
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0047bfdc
pop ebx
ret