joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407e56
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x98]
sub esp, 0x118
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp + 0x94], eax
mov eax, dword [ebp + 0xa4]
push ebx
push esi
mov esi, dword [ebp + 0xa0]
push edi
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x74]
push eax
push str.SOFTWAREESRIArcGIS_10.2_License_Manager
push reloc.WSOCK32.dll_bind
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x407eea
lea eax, [ebp - 0x78]
push eax
push ebx
push ebx
push ebx
push esi
push dword [ebp - 0x74]
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call esi
mov edi, eax
cmp edi, ebx
jne 0x407ee1
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push ebx
push ebx
push dword [ebp - 0x7c]
push dword [ebp - 0x74]
call esi
push dword [ebp - 0x78]
mov edi, eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x80]
call sub.MSVCR90.dll__mbsnbcpy
add esp, 0xc
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp + 0x94]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00472edc
add ebp, 0x98
leave
ret

Function at 0x419220
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
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 - 0x10], 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 0x419271
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0xc], ecx
jmp 0x419291
cmp dword [ebp - 0x10], 4
jae 0x41928a
mov edx, dword [ebp - 4]
shr edx, 0x10
movzx eax, dx
and eax, 0xffff7fff
mov dword [ebp - 0xc], eax
jmp 0x419291
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x10], 6
jb 0x4192a0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
cmp dword [ebp - 0x10], 5
jne 0x4192b5
cmp dword [ebp - 8], 2
jne 0x4192b5
mov edx, dword [ebp + 0x10]
mov dword [edx], 1
cmp dword [ebp - 0x10], 5
jne 0x4192ca
cmp dword [ebp - 8], 1
jne 0x4192ca
mov eax, dword [ebp + 0x10]
mov dword [eax], 1
cmp dword [ebp - 0x10], 5
jne 0x4192df
cmp dword [ebp - 8], 0
jne 0x4192df
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 1
cmp dword [ebp - 0x10], 4
jne 0x4192f4
cmp dword [ebp - 8], 0
jne 0x4192f4
mov edx, dword [ebp + 8]
mov dword [edx], 1
cmp dword [ebp - 0x10], 3
jne 0x419309
cmp dword [ebp - 8], 0
jne 0x419309
mov eax, dword [ebp + 8]
mov dword [eax], 1
cmp dword [ebp - 0x10], 4
jne 0x41931e
cmp dword [ebp - 8], 1
jne 0x41931e
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x43fe60
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
push 4
call sub.MSVCR90.dll_malloc
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43fe95
mov eax, dword [ebp - 4]
jmp 0x43fed2
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call sub.MSVCR90.dll__beginthreadex
add esp, 0x18
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov edx, dword [ebp - 4]
cmp dword [edx], 0
jne 0x43fecf
mov eax, dword [ebp - 4]
push eax
call sub.MSVCR90.dll_free
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x440300
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x580da8
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
push str.SELECT__FROM_Win32_BaseBoard
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x44036b
jmp 0x4403fa
cmp dword [ebp - 4], 0
je 0x4403fa
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4403fa
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.Product
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x28]
push edx
push str.Virtual_Machine
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4403e0
mov dword [ebp - 0xc], 1
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
jmp 0x440383
cmp dword [ebp - 4], 0
je 0x44040e
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x440430
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x580e1c
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push str.SELECT__FROM_Win32_BIOS
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x44049b
jmp 0x440538
cmp dword [ebp - 4], 0
je 0x440538
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x440538
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.SerialNumber
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
push str.VMware
mov edx, dword [ebp - 0x28]
push edx
call sub.MSVCR90.dll_wcsstr
add esp, 8
test eax, eax
je 0x440514
mov dword [ebp - 0xc], 1
jmp 0x44051b
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
jmp 0x4404b3
cmp dword [ebp - 4], 0
je 0x44054c
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x440570
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xc], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
jge 0x4405db
cmp dword [ebp - 0x14], 0x80010106
je 0x4405db
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
jmp 0x4406ed
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x44060a
cmp dword [ebp - 0x14], 0x80010119
je 0x44060a
jmp 0x4406a9
lea edx, [ebp - 0x18]
push edx
push 0x562800
push 1
push 0
push 0x5628d0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x44062d
jmp 0x4406a9
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x44065a
jmp 0x4406a9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x44067d
jmp 0x4406a9
cmp dword [ebp + 8], 1
jne 0x440694
lea ecx, [ebp - 0x10]
push ecx
call fcn.00440300
add esp, 4
mov dword [ebp - 8], eax
jmp 0x4406a9
cmp dword [ebp + 8], 0
jne 0x4406a9
lea edx, [ebp - 0x10]
push edx
call fcn.00440430
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x4406bd
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x18], 0
je 0x4406d1
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 4], 0x80010106
je 0x4406e0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x441e70
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov eax, dword [0x59226c]
push eax
call sub.MSVCR90.dll__strdup
add esp, 4
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], ecx
jmp 0x441ea2
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
movsx ecx, byte [eax]
test ecx, ecx
je 0x441eb9
mov edx, dword [ebp - 0xc]
movsx eax, byte [edx]
cmp eax, 0x3a
je 0x441eb9
jmp 0x441e99
mov ecx, dword [ebp - 0xc]
movsx edx, byte [ecx]
test edx, edx
jne 0x441ed7
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCR90.dll_free
add esp, 4
or eax, 0xffffffff
jmp 0x441fba
mov ecx, dword [ebp - 0xc]
mov byte [ecx], 0
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
push eax
call sub.MSVCR90.dll_atoi
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 8]
push ecx
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 8]
push edx
call sub.MSVCR90.dll_free
add esp, 4
cmp dword [ebp - 0x18], 0
jne 0x441f1b
or eax, 0xffffffff
jmp 0x441fba
push 0x10
push 0
lea eax, [ebp - 0x2c]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov ecx, dword [ebp - 0x18]
movsx edx, word [ecx + 8]
cmp edx, 2
jne 0x441f79
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
mov word [ecx], 2
mov dx, word [ebp - 4]
push edx
call sub.WSOCK32.dll_htons
mov ecx, dword [ebp - 0x30]
mov word [ecx + 2], ax
push 4
mov edx, dword [ebp - 0x18]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x30]
add edx, 4
push edx
call sub.MSVCR90.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x14], 0x10
jmp 0x441f7e
or eax, 0xffffffff
jmp 0x441fba
push 0
push 1
mov eax, dword [ebp - 0x18]
movsx ecx, word [eax + 8]
push ecx
call sub.WSOCK32.dll_socket
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x441f9d
or eax, 0xffffffff
jmp 0x441fba
mov edx, dword [ebp - 0x14]
push edx
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call sub.WSOCK32.dll_connect
test eax, eax
je 0x441fb7
or eax, 0xffffffff
jmp 0x441fba
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret

Function at 0x4421e0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
push 0
push 0
push 0x441fd0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
sete al
mov esp, ebp
pop ebp
ret
Function at 0x442890
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x4428f2
push 0
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 1
je 0x4428c4
mov eax, dword [ebp - 4]
neg eax
mov dword [ebp - 4], eax
jmp 0x4428f2
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
cmp eax, 0xd
jne 0x4428da
jmp 0x44289b
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x4428e7
jmp 0x4428f2
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x44289b
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x442bf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x442c08
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x442c42
push 0
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x442c37
mov eax, dword [ebp - 4]
neg eax
jmp 0x442c45
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov dword [ebp + 0xc], edx
jmp 0x442bff
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x448790
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [eax + 0x16164], 1
cmp dword [0x592364], 0
je 0x4487bf
xor eax, eax
jmp 0x4487e5
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call sub.WSOCK32.dll_WSAStartup
test eax, eax
je 0x4487d9
or eax, 0xffffffff
jmp 0x4487e5
mov dword [0x592364], 1
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret
Function at 0x459f60
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0x10], 0
jne 0x459f91
mov eax, dword [ebp + 0x14]
add eax, 2
cdq
mov ecx, 3
idiv ecx
lea edx, [eax*4 + 1]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0044a920
add esp, 8
mov dword [ebp + 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x459f9e
xor eax, eax
jmp 0x45a115
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0x10]
mov byte [edx], 0
cmp dword [ebp + 0xc], 0
jne 0x459fb8
mov eax, dword [ebp - 4]
jmp 0x45a115
jmp 0x459fcc
mov eax, dword [ebp + 0x14]
sub eax, 3
mov dword [ebp + 0x14], eax
mov ecx, dword [ebp + 0xc]
add ecx, 3
mov dword [ebp + 0xc], ecx
cmp dword [ebp + 0x14], 2
jle 0x45a044
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 1]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 2]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 4
jmp 0x45a011
mov ecx, dword [ebp - 0xc]
shr ecx, 6
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 8], 0
jle 0x45a036
mov edx, dword [ebp - 8]
sub edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0xc]
and eax, 0x3f
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 8]
mov dl, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [ecx], dl
jmp 0x45a008
mov eax, dword [ebp + 0x10]
add eax, 4
mov dword [ebp + 0x10], eax
jmp 0x459fba
mov ecx, dword [ebp + 0x10]
mov byte [ecx], 0
cmp dword [ebp + 0x14], 0
jle 0x45a112
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
jmp 0x45a06d
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jge 0x45a091
mov ecx, dword [ebp - 0xc]
shl ecx, 8
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx]
or ecx, eax
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 1
mov dword [ebp + 0xc], ecx
jmp 0x45a064
jmp 0x45a09c
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 3
jge 0x45a0ad
mov eax, dword [ebp - 0xc]
shl eax, 8
mov dword [ebp - 0xc], eax
jmp 0x45a093
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
jmp 0x45a0c1
mov edx, dword [ebp - 0xc]
shr edx, 6
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jle 0x45a0e6
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0xc]
and ecx, 0x3f
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 8]
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [edx], al
jmp 0x45a0b8
mov dword [ebp - 8], 3
jmp 0x45a0f8
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 0x14]
jle 0x45a10b
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 8]
mov byte [eax], 0x3d
jmp 0x45a0ef
mov ecx, dword [ebp + 0x10]
mov byte [ecx + 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x472edc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x58b7c8]
jne 0x472ee6
repz ret
jmp fcn.00473648
Function at 0x473f80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a8
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x2a8], 0
push 0x103
push 0
lea eax, [ebp - 0x2a7]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 0x19c], 0
mov dword [ebp - 0x1a0], 0
push 0xc8
lea ecx, [ebp - 0x2a8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
movsx edx, byte [ebp - 0x2a8]
cmp edx, 0x41
jne 0x473fef
mov eax, dword [str.c:_flexlm_]
mov cl, byte [ebp - 0x2a8]
mov byte [eax], cl
lea edx, [ebp - 0x198]
push edx
push 0x101
call fcn.004a2c90
lea eax, [ebp - 0x1a0]
push eax
call fcn.004e5dc0
add esp, 4
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x19c], 0
jne 0x47404c
push str.Initialization_error__exiting._n
call sub.MSVCR90.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR90.dll_fprintf
add esp, 8
call sub.MSVCR90.dll___iob_func
add eax, 0x40
push eax
call sub.MSVCR90.dll_fflush
add esp, 4
mov eax, 1
jmp 0x474092
mov ecx, dword [ebp - 0x19c]
push ecx
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.0042d110
add esp, 8
call fcn.004a2cb0
cmp dword [ebp - 0x19c], 0
je 0x474090
mov eax, dword [ebp - 0x19c]
push eax
mov ecx, dword [ebp - 0x1a0]
push ecx
call fcn.004e6180
add esp, 8
mov dword [ebp - 0x19c], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret
Function at 0x48acd0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x228], 0
push 0x103
push 0
lea eax, [ebp - 0x227]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea ecx, [ebp - 0x11f]
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x48ad44
jmp 0x48addf
mov edx, dword [ebp + 8]
push edx
push str._s_EventLoggingMode
lea eax, [ebp - 0x228]
push eax
call sub.MSVCR90.dll_sprintf
add esp, 0xc
lea ecx, [ebp - 4]
push ecx
push 0x20019
push 0
push str.SOFTWAREFNPlmLicense_Server
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48ad9a
lea edx, [ebp - 4]
push edx
push 0x20019
push 0
push str.SOFTWAREMacrovision_CorporationFLEXlm_License_Manager
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x48addf
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x120]
push ecx
lea edx, [ebp - 8]
push edx
push 0
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x48addf
push str.ENABLE
lea edx, [ebp - 0x120]
push edx
call sub.MSVCR90.dll__stricmp
add esp, 8
test eax, eax
jne 0x48addf
mov dword [ebp - 0x10], 1
cmp dword [ebp - 4], 0
je 0x48adf6
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret
Function at 0x48ae60
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x11c], 0xffffff77
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x118], 0
push 0x103
push 0
lea eax, [ebp - 0x117]
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
cmp dword [0x5904a0], 0
je 0x48aec6
movzx ecx, word [ebp + 0x18]
test ecx, ecx
je 0x48aecb
cmp dword [ebp + 0x1c], 0
jne 0x48aecb
jmp 0x48afb7
mov dx, word [ebp + 0x18]
add dx, 1
mov word [ebp + 0x18], dx
movzx eax, word [ebp + 0x18]
shl eax, 2
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e2b0
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48afad
call sub.MSVCR90.dll__getpid
push eax
push 0x574cd4
lea edx, [ebp - 0x118]
push edx
call sub.MSVCR90.dll_sprintf
add esp, 0xc
mov eax, dword [ebp - 4]
lea ecx, [ebp - 0x118]
mov dword [eax], ecx
mov dword [ebp - 8], 1
jmp 0x48af2f
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
movzx eax, word [ebp + 0x18]
cmp dword [ebp - 8], eax
jge 0x48af70
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax + edx*4 - 4]
push ecx
call fcn.004e55f0
add esp, 8
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov dword [ecx + edx*4], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + edx*4], 0
jne 0x48af6e
mov cx, word [ebp - 8]
mov word [ebp + 0x18], cx
jmp 0x48afb7
jmp 0x48af26
mov edx, dword [ebp + 0x24]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov dx, word [ebp + 0x18]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
mov cx, word [ebp + 0x10]
push ecx
mov dx, word [ebp + 0xc]
push edx
mov eax, dword [0x5904a0]
push eax
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
je 0x48afab
mov dword [ebp - 0x11c], 0
jmp 0x48afb7
mov dword [ebp - 0x11c], 0xffffffd8
cmp dword [ebp - 4], 0
je 0x48b018
mov dword [ebp - 8], 1
jmp 0x48afcf
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
movzx edx, word [ebp + 0x18]
cmp dword [ebp - 8], edx
jge 0x48b005
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
cmp dword [ecx + eax*4], 0
je 0x48b003
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + edx*4]
push ecx
call fcn.0048e500
add esp, 4
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
mov dword [eax + edx*4], 0
jmp 0x48afc6
mov ecx, dword [ebp - 4]
push ecx
call fcn.0048e500
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret

Function at 0x491ef0
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x58b7c8]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x40c], 0
push 0x400
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
test eax, eax
jne 0x491f38
lea ecx, [ebp - 0x408]
push ecx
call fcn.00492360
add esp, 4
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00472edc
mov esp, ebp
pop ebp
ret