joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4c0730
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x58c71c], 0
je 0x4c0753
mov eax, 1
jmp 0x4c0794
mov word [ebp - 0x19c], 0x101
lea eax, [ebp - 0x198]
push eax
mov cx, word [ebp - 0x19c]
push ecx
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x4c0785
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
jmp 0x4c0794
mov dword [0x58c71c], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret
Function at 0x4c5ef0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x418], 0
push 0x3ff
push 0
lea eax, [ebp - 0x417]
push eax
call fcn.004054d0
add esp, 0xc
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x820], 0
push 0x3ff
push 0
lea ecx, [ebp - 0x81f]
push ecx
call fcn.004054d0
add esp, 0xc
mov dword [ebp - 0x41c], 0x400
mov dword [ebp - 8], 0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x58]
push eax
push 0x5720b0
lea ecx, [ebp - 0x418]
push ecx
call fcn.004633a8
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20007
push 0
push 0x5720bc
push connect
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4c6009
cmp dword [ebp + 8], 0
je 0x4c5ffb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x4c5fc4
xor ecx, ecx
je 0x4c5fc4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x824], eax
jmp 0x4c5fce
mov dword [ebp - 0x824], 0xffffff86
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x824]
mov dword [ecx + 0x80], edx
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov eax, dword [ebp + 8]
push eax
call fcn.00495fc0
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
jmp 0x4c6133
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x828], edx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x41c]
push eax
lea ecx, [ebp - 0x820]
push ecx
mov edx, dword [ebp - 0x828]
push edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x4c6127
mov edx, dword [ebp - 0x41c]
mov byte [ebp + edx - 0x820], 0
lea eax, [ebp - 0x820]
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
jmp 0x4c6073
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x4c60a1
cmp dword [ebp - 4], 2
jge 0x4c60a1
push 0x2d
mov edx, dword [ebp - 8]
push edx
call fcn.0040ac30
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4c609f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4c606a
cmp dword [ebp - 8], 0
je 0x4c6118
lea ecx, [ebp - 0x418]
push ecx
call fcn.004035e0
add esp, 4
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.00408106
add esp, 0xc
test eax, eax
jne 0x4c6118
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004043e0
add esp, 8
test eax, eax
jne 0x4c6118
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x5720e4
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004c6150
add esp, 8
mov dword [ebp - 0x41c], 0x400
jmp 0x4c6009
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret
Function at 0x4cb2b0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
and ecx, 0xff
movzx edx, cl
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
and eax, 0xffff
movzx ecx, ax
shr ecx, 8
movzx edx, cl
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0x80000000
jae 0x4cb301
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0xc], ecx
jmp 0x4cb321
cmp dword [ebp - 0x14], 4
jae 0x4cb31a
mov edx, dword [ebp - 4]
shr edx, 0x10
movzx eax, dx
and eax, 0xffff7fff
mov dword [ebp - 0xc], eax
jmp 0x4cb321
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 6
jb 0x4cb330
mov dword [ebp - 0x10], 7
jmp 0x4cb37c
cmp dword [ebp - 0x14], 5
jne 0x4cb33f
mov dword [ebp - 0x10], 6
jmp 0x4cb37c
cmp dword [ebp - 0x14], 4
jne 0x4cb354
cmp dword [ebp - 8], 0
jne 0x4cb354
mov dword [ebp - 0x10], 4
jmp 0x4cb37c
cmp dword [ebp - 0x14], 3
jne 0x4cb369
cmp dword [ebp - 8], 0
jne 0x4cb369
mov dword [ebp - 0x10], 5
jmp 0x4cb37c
cmp dword [ebp - 0x14], 4
jne 0x4cb37c
cmp dword [ebp - 8], 1
jne 0x4cb37c
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4cb390
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x118], 0
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004054d0
add esp, 0xc
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x12c], 0
cmp dword [0x58c838], 0
jne 0x4cb5d5
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.TerminalServerFlexlmMutex
push 0x572864
lea ecx, [ebp - 0x110]
push ecx
call fcn.004633a8
add esp, 0x10
lea edx, [ebp - 0x110]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x4cb454
xor eax, eax
jmp 0x4cb5e1
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4cb470
push 0xffffffffffffffff
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x58c838], 0
jne 0x4cb5bb
call fcn.004cb2b0
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x130], ecx
mov edx, dword [ebp - 0x130]
sub edx, 4
mov dword [ebp - 0x130], edx
cmp dword [ebp - 0x130], 3
ja case.default.0x4cb4b6
mov eax, dword [ebp - 0x130]
jmp dword [eax*4 + 0x4cb5f0]
push 0x57286c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x58c84c], eax
cmp dword [0x58c84c], 0
je 0x4cb574
push str.WTSEnumerateSessionsA
mov ecx, dword [0x58c84c]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x58c840], eax
cmp dword [0x58c840], 0
je 0x4cb574
push 0x572894
mov edx, dword [0x58c84c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x58c844], eax
cmp dword [0x58c844], 0
je 0x4cb574
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x128]
push ecx
push 1
push 0
push 0
call dword [0x58c840]
cmp dword [ebp - 0x128], 0
je 0x4cb54e
mov edx, dword [ebp - 0x128]
cmp dword [edx + 8], 0
jne 0x4cb55d
mov eax, dword [ebp - 0x128]
push eax
call dword [0x58c844]
jmp 0x4cb574
mov ecx, dword [ebp - 0x128]
push ecx
call dword [0x58c844]
mov dword [0x58c83c], 1
mov edx, dword [0x58c84c]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x58c84c], 0
jmp case.default.0x4cb4b6
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je case.default.0x4cb4b6
mov dword [0x58c83c], 1
mov dword [0x58c838], 1
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x58c83c], 0
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret
Function at 0x4cba20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
mov edx, dword [ecx + 0x10d4]
and edx, 0x40
jne 0x4cba55
xor eax, eax
jmp 0x4cbc3b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x80
jne 0x4cbac8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
or eax, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2d0]
push edx
call fcn.004633a8
add esp, 0x14
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e740
add esp, 8
test eax, eax
je 0x4cbac8
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
or eax, 0x100
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x13c], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x13c]
and eax, 0x100
je 0x4cbb40
cmp dword [ebp + 8], 0
je 0x4cbb36
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x4cbaff
xor edx, edx
je 0x4cbaff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d4], ecx
jmp 0x4cbb09
mov dword [ebp - 0x2d4], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d4]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00495fc0
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x4cbc3b
mov byte [ebp - 0x208], 0x5c
mov byte [ebp - 0x207], 0
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004cbc50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cbb74
mov eax, dword [ebp - 4]
jmp 0x4cbc3b
push 0x200
lea ecx, [ebp - 0x208]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004cbc50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cbbac
mov eax, dword [ebp - 4]
jmp 0x4cbc3b
mov byte [ebp - 0x208], 0x2f
mov byte [ebp - 0x206], 0x61
mov byte [ebp - 0x205], 0x72
mov byte [ebp - 0x207], 0x76
mov byte [ebp - 0x204], 0
push 0
lea ecx, [ebp - 0x208]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004cbc50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cbbf2
mov eax, dword [ebp - 4]
jmp 0x4cbc3b
mov byte [ebp - 0x208], 0x2f
mov byte [ebp - 0x204], 0
mov byte [ebp - 0x206], 0x6d
mov byte [ebp - 0x207], 0x74
mov byte [ebp - 0x205], 0x70
push 0
lea eax, [ebp - 0x208]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004cbc50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4cbc38
mov eax, dword [ebp - 4]
jmp 0x4cbc3b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret
Function at 0x4e2550
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
mov byte [ebp - 8], cl
mov edx, dword [ebp + 0x10]
sar edx, 8
and edx, 0xff
mov byte [ebp - 7], dl
mov eax, dword [ebp + 0x10]
sar eax, 0x10
and eax, 0xff
mov byte [ebp - 6], al
mov ecx, dword [ebp + 0x10]
sar ecx, 0x18
and ecx, 0xff
mov byte [ebp - 5], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
test edx, edx
je 0x4e25e1
mov ecx, dword [ebp - 4]
movsx edx, byte [ebp + ecx - 8]
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
xor ecx, edx
mov edx, dword [ebp + 8]
mov byte [edx], cl
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 3
jle 0x4e25d6
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x4e259b
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x501e80
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0x10], 0
je 0x501e94
mov eax, dword [ebp + 0x10]
mov dword [0x5d444c], eax
jmp 0x501e9e
mov dword [0x5d444c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [0x5d4444], ecx
cmp dword [0x58cecc], 0
je 0x501ebf
mov edx, dword [0x5d4440]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x501f30
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x5d4440], eax
cmp dword [0x5d4440], 0
jne 0x501edf
xor eax, eax
jmp 0x501f35
push 4
push 1
call fcn.00405d8c
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x501ef8
xor eax, eax
jmp 0x501f35
mov eax, dword [ebp - 4]
mov ecx, dword [0x5d4440]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0x501df0
call fcn.00467683
add esp, 0xc
mov dword [0x58cecc], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x58cecc], 0
jne 0x501f30
xor eax, eax
jmp 0x501f35
mov eax, dword [0x58cecc]
mov esp, ebp
pop ebp
ret

Function at 0x501f70
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call fcn.0040983c
add esp, 4
mov dword [0x58cac0], eax
cmp dword [0x58cac0], 0
je 0x501f97
mov eax, dword [0x58cac0]
jmp 0x502012
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x502010
mov dword [ebp - 0xc], 0x400
lea edx, [ebp - 0xc]
push edx
push 0x58cac8
lea eax, [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x502002
mov dword [0x58cac0], 0x58cac8
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x58cac0]
jmp 0x502012
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x502012
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x505650
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x5762b4
lea eax, [ebp - 0x28]
push eax
call fcn.004639c0
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x505683
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jge 0x5056a4
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x50569a
jmp 0x5056a4
mov al, byte [ebp - 0x28]
add al, 1
mov byte [ebp - 0x28], al
jmp 0x50567a
push 0
push 0
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret
Function at 0x505f10
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5d45f8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0052bab0
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.0052bcc0
add esp, 8
push 0x40
push 0x1000
mov edx, dword [ebp - 0xc]
add edx, 0xa
push edx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x505f64
xor eax, eax
jmp 0x505f99
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00404070
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004054d0
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.00499750
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x50cb50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0xb0
mov byte [ebp - 0x3a], 0x4b
mov byte [ebp - 0x39], 0xa0
mov byte [ebp - 0x38], 0xad
mov byte [ebp - 0x37], 0xef
mov byte [ebp - 0x36], 0x73
mov byte [ebp - 0x35], 0x4e
mov byte [ebp - 0x34], 0xa3
mov byte [ebp - 0x33], 0x2f
mov byte [ebp - 0x32], 0x90
mov byte [ebp - 0x31], 0xd2
mov byte [ebp - 0x30], 0xb0
mov byte [ebp - 0x2f], 0x45
mov byte [ebp - 0x2e], 0xa2
mov byte [ebp - 0x2d], 0x75
mov byte [ebp - 0x2c], 0x85
mov byte [ebp - 0x2b], 0xe8
mov byte [ebp - 0x2a], 0xa3
mov byte [ebp - 0x29], 0xfb
mov byte [ebp - 0x28], 0x7b
mov byte [ebp - 0x27], 0xd4
mov byte [ebp - 0x26], 0x81
mov byte [ebp - 0x25], 0x38
mov byte [ebp - 0x24], 0xd6
mov byte [ebp - 0x23], 0xf5
mov byte [ebp - 0x22], 0xdc
mov byte [ebp - 0x21], 0xa4
mov byte [ebp - 0x20], 0xba
mov byte [ebp - 0x1f], 0x4c
mov byte [ebp - 0x1e], 0xf8
mov byte [ebp - 0x1d], 0xb9
mov byte [ebp - 0x1c], 0xe9
mov byte [ebp - 0x1b], 0x83
mov byte [ebp - 0x1a], 0x8a
mov byte [ebp - 0x19], 0x7f
mov byte [ebp - 0x18], 0xa6
mov byte [ebp - 0x17], 0x18
mov byte [ebp - 0x16], 0xac
mov byte [ebp - 0x15], 0x17
mov byte [ebp - 0x14], 0xb9
mov byte [ebp - 0x13], 0x88
mov byte [ebp - 0x12], 0x11
mov byte [ebp - 0x11], 0xaa
mov byte [ebp - 0x10], 0x7a
mov byte [ebp - 0xf], 0x47
mov byte [ebp - 0xe], 0xf3
mov byte [ebp - 0xd], 0x76
mov byte [ebp - 0xc], 0x37
mov byte [ebp - 0xb], 0x74
mov byte [ebp - 0xa], 2
mov byte [ebp - 9], 0xa
mov byte [ebp - 8], 0x1d
mov byte [ebp - 7], 0x3a
mov byte [ebp - 6], 0x9c
mov byte [ebp - 5], 0x69
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 0x40], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x44]
ja 0x50cc71
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + edx - 0x3c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404070
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret
Function at 0x515180
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x5151d5
mov dword [0x577680], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x5151a8
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x5151d0
mov ecx, dword [ebp - 4]
shl ecx, 4
mov dword [ecx + 0x577648], 0
mov edx, dword [ebp - 4]
shl edx, 4
mov dword [edx + 0x57764c], 0
jmp 0x51519f
jmp 0x515383
cmp dword [ebp + 0x10], 4
jb 0x5151f1
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x30]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x515383
cmp dword [ebp + 0x10], 0
jl 0x5151fd
cmp dword [ebp + 0x10], 4
jb 0x515202
jmp 0x515383
cmp dword [0x577680], 0
jge 0x515214
cmp dword [0x577680], 4
jae 0x51522b
push 0
mov eax, dword [0x577680]
shl eax, 4
mov ecx, dword [eax + 0x577648]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x577680], edx
mov eax, dword [0x577680]
shl eax, 4
cmp dword [eax + 0x57764c], 0
jne 0x515274
mov ecx, dword [0x577680]
shl ecx, 4
mov edx, dword [ecx + 0x577648]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00515390
add esp, 8
mov ecx, dword [0x577680]
shl ecx, 4
mov dword [ecx + 0x57764c], 1
push 0
push 0
push 0xaec
mov edx, dword [0x577680]
shl edx, 4
mov eax, dword [edx + 0x577648]
push eax
mov ecx, dword [0x577680]
shl ecx, 4
mov edx, dword [ecx + 0x577640]
call edx
push 5
mov eax, dword [0x577680]
shl eax, 4
mov ecx, dword [eax + 0x577648]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0
jmp 0x5152c7
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jae 0x515383
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x577684]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x51537e
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x577688]
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx + ecx + 0x138]
and eax, 1
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_EnableWindow]
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x577688]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 2
je 0x51537e
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x577688]
imul ecx, ecx, 0x32
mov edx, dword [ebp + 0xc]
lea eax, [edx + ecx + 0x13b]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp - 4]
mov eax, dword [edx*8 + 0x577688]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 0xfffffffd
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x577688]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx + 0x138], dl
jmp 0x5152be
mov esp, ebp
pop ebp
ret
Function at 0x52aa30
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x563a68]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x10]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x52ab94
mov dword [ebp - 0x18], 0x104
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x130], ecx
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
test eax, eax
jne 0x52ab88
lea edx, [ebp - 0x14]
push edx
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x52ab72
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0
lea eax, [ebp - 4]
push eax
push 0
push 0x578c34
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
call fcn.00405bab
add esp, 4
mov dword [ebp - 0x12c], eax
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x12c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
push str.ServiceName
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 0x12c], 0
je 0x52ab63
mov ecx, dword [ebp - 0x12c]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004639c0
add esp, 8
mov eax, dword [ebp - 0x12c]
push eax
call fcn.00499750
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x18], 0x104
jmp 0x52aa83
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x52ab9b
mov eax, 0xffffff01
jmp 0x52ab9d
xor eax, eax
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.0040526d
mov esp, ebp
pop ebp
ret