joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47bfd0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x40], 0xc
mov byte [ebp - 0x3f], 0x52
mov byte [ebp - 0x3e], 0xe3
mov byte [ebp - 0x3d], 0xa8
mov byte [ebp - 0x3c], 0xf6
mov byte [ebp - 0x3b], 0xd4
mov byte [ebp - 0x3a], 0xc7
mov byte [ebp - 0x39], 0x68
mov byte [ebp - 0x38], 0xf2
mov byte [ebp - 0x37], 0x36
mov byte [ebp - 0x36], 0x1c
mov byte [ebp - 0x35], 0x88
mov byte [ebp - 0x34], 0x15
mov byte [ebp - 0x33], 0x36
mov byte [ebp - 0x32], 0x97
mov byte [ebp - 0x31], 0xde
mov byte [ebp - 0x30], 0x55
mov byte [ebp - 0x2f], 0x9a
mov byte [ebp - 0x2e], 0x9e
mov byte [ebp - 0x2d], 0xdf
mov byte [ebp - 0x2c], 5
mov byte [ebp - 0x2b], 0xd5
mov byte [ebp - 0x2a], 0xf3
mov byte [ebp - 0x29], 0x52
mov byte [ebp - 0x28], 0xe1
mov byte [ebp - 0x27], 0xe1
mov byte [ebp - 0x26], 0xcb
mov byte [ebp - 0x25], 0xfb
mov byte [ebp - 0x24], 0xb4
mov byte [ebp - 0x23], 0x74
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x21], 0xca
mov byte [ebp - 0x20], 0x29
mov byte [ebp - 0x1f], 0xed
mov byte [ebp - 0x1e], 0x72
mov byte [ebp - 0x1d], 0x62
mov byte [ebp - 0x1c], 0x6a
mov byte [ebp - 0x1b], 0xba
mov byte [ebp - 0x1a], 0x33
mov byte [ebp - 0x19], 0xa1
mov byte [ebp - 0x18], 0xb0
mov byte [ebp - 0x17], 0x2b
mov byte [ebp - 0x16], 0x27
mov byte [ebp - 0x15], 0x60
mov byte [ebp - 0x14], 0x87
mov byte [ebp - 0x13], 0x81
mov byte [ebp - 0x12], 0xd1
mov byte [ebp - 0x11], 0xa4
mov byte [ebp - 0x10], 0x10
mov byte [ebp - 0xf], 0xf7
mov byte [ebp - 0xe], 0xd2
mov byte [ebp - 0xd], 0x6b
mov byte [ebp - 0xc], 0xce
mov byte [ebp - 0xb], 0xb5
mov byte [ebp - 0xa], 0x12
mov byte [ebp - 9], 0xc5
mov dword [ebp - 0x44], 0x38
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x44]
ja 0x47c0f1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 0x10]
lea eax, [ebp + edx - 0x40]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00404340
add esp, 0xc
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret

Function at 0x482c60
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov eax, dword [0x539a68]
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 0x482ca8
lea ecx, [ebp - 0x408]
push ecx
call fcn.004830d0
add esp, 4
mov dword [ebp - 0x40c], eax
mov eax, dword [ebp - 0x40c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x4830d0
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x18], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 0
push 1
call fcn.00483cd0
add esp, 4
test eax, eax
jne 0x483115
mov eax, dword [ebp - 0xc]
jmp 0x4831f7
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00460660
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x483140
mov edx, dword [ebp - 8]
mov dword [ebp - 0x41c], edx
jmp 0x483149
mov eax, dword [ebp + 8]
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp - 0x41c]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 8], 0
je 0x483172
mov edx, dword [ebp - 8]
push edx
call fcn.004039e6
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0x14], 0
jne 0x48317d
mov eax, dword [ebp - 0xc]
jmp 0x4831f7
push 0x400
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 8]
push edx
call fcn.004833a0
add esp, 0x10
test eax, eax
jne 0x4831ab
mov eax, dword [ebp - 0xc]
jmp 0x4831f7
lea eax, [ebp - 0x418]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x14]
movsx edx, word [ecx + 8]
push edx
call fcn.00483b80
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x14]
movsx ecx, word [eax + 8]
push ecx
mov edx, dword [ebp - 0x14]
movsx eax, word [edx + 0xa]
push eax
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.00483c80
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x483cd0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x55b03c], 0
je 0x483cf3
mov eax, 1
jmp 0x483d34
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 0x483d25
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
call dword [sym.imp.WSOCK32.dll_WSACleanup]
xor eax, eax
jmp 0x483d34
mov dword [0x55b03c], 1
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x485bf0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 0xc], 0
je 0x485c11
mov dword [ebp - 8], 1
push 4
lea eax, [ebp - 8]
push eax
push 8
push 0xffff
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_setsockopt]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x48c890
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 0x48c921
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 0x48c916
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x48c8db
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x4b5e70
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x539a68]
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.004057a0
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.004057a0
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 0x54a70c
lea ecx, [ebp - 0x418]
push ecx
call fcn.00443408
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20007
push 0
push 0x54a718
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4b5f89
cmp dword [ebp + 8], 0
je 0x4b5f7b
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x4b5f44
xor ecx, ecx
je 0x4b5f44
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x824], eax
jmp 0x4b5f4e
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.00463eb0
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
jmp 0x4b60b3
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 0x4b60a7
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 0x4b5ff3
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x4b6021
cmp dword [ebp - 4], 2
jge 0x4b6021
push 0x2d
mov edx, dword [ebp - 8]
push edx
call fcn.0040b9d0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4b601f
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x4b5fea
cmp dword [ebp - 8], 0
je 0x4b6098
lea ecx, [ebp - 0x418]
push ecx
call fcn.004038b0
add esp, 4
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.00408ea6
add esp, 0xc
test eax, eax
jne 0x4b6098
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004046b0
add esp, 8
test eax, eax
jne 0x4b6098
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LM_BORROW
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.004b60d0
add esp, 8
mov dword [ebp - 0x41c], 0x400
jmp 0x4b5f89
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.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x4d61d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x539a68]
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], pe_nt_image_headers32
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 0x4d62f1
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.00404340
add esp, 0xc
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x4e5c50
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x4e5ca5
mov dword [0x54ca20], 0xffffffff
mov dword [ebp - 4], 0
jmp 0x4e5c78
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
jae 0x4e5ca0
mov ecx, dword [ebp - 4]
shl ecx, 4
mov dword [ecx + 0x54c9e8], 0
mov edx, dword [ebp - 4]
shl edx, 4
mov dword [edx + 0x54c9ec], 0
jmp 0x4e5c6f
jmp 0x4e5e53
cmp dword [ebp + 0x10], 4
jb 0x4e5cc1
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 0x4e5e53
cmp dword [ebp + 0x10], 0
jl 0x4e5ccd
cmp dword [ebp + 0x10], 4
jb 0x4e5cd2
jmp 0x4e5e53
cmp dword [0x54ca20], 0
jge 0x4e5ce4
cmp dword [0x54ca20], 4
jae 0x4e5cfb
push 0
mov eax, dword [0x54ca20]
shl eax, 4
mov ecx, dword [eax + 0x54c9e8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x54ca20], edx
mov eax, dword [0x54ca20]
shl eax, 4
cmp dword [eax + 0x54c9ec], 0
jne 0x4e5d44
mov ecx, dword [0x54ca20]
shl ecx, 4
mov edx, dword [ecx + 0x54c9e8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004e5e60
add esp, 8
mov ecx, dword [0x54ca20]
shl ecx, 4
mov dword [ecx + 0x54c9ec], 1
push 0
push 0
push 0xaec
mov edx, dword [0x54ca20]
shl edx, 4
mov eax, dword [edx + 0x54c9e8]
push eax
mov ecx, dword [0x54ca20]
shl ecx, 4
mov edx, dword [ecx + 0x54c9e0]
call edx
push 5
mov eax, dword [0x54ca20]
shl eax, 4
mov ecx, dword [eax + 0x54c9e8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 4], 0
jmp 0x4e5d97
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 3
jae 0x4e5e53
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x54ca24]
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 0x4e5e4e
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x54ca28]
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 + 0x54ca28]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 2
je 0x4e5e4e
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x54ca28]
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 + 0x54ca28]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
and edx, 0xfffffffd
mov eax, dword [ebp - 4]
mov ecx, dword [eax*8 + 0x54ca28]
mov eax, dword [ebp + 0xc]
mov byte [eax + ecx + 0x138], dl
jmp 0x4e5d8e
mov esp, ebp
pop ebp
ret
Function at 0x4e5f60
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 0x4e5fb1
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx ecx, ax
mov dword [ebp - 0xc], ecx
jmp 0x4e5fd1
cmp dword [ebp - 0x14], 4
jae 0x4e5fca
mov edx, dword [ebp - 4]
shr edx, 0x10
movzx eax, dx
and eax, 0xffff7fff
mov dword [ebp - 0xc], eax
jmp 0x4e5fd1
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0x14], 6
jb 0x4e5fe0
mov dword [ebp - 0x10], 7
jmp 0x4e602c
cmp dword [ebp - 0x14], 5
jne 0x4e5fef
mov dword [ebp - 0x10], 6
jmp 0x4e602c
cmp dword [ebp - 0x14], 4
jne 0x4e6004
cmp dword [ebp - 8], 0
jne 0x4e6004
mov dword [ebp - 0x10], 4
jmp 0x4e602c
cmp dword [ebp - 0x14], 3
jne 0x4e6019
cmp dword [ebp - 8], 0
jne 0x4e6019
mov dword [ebp - 0x10], 5
jmp 0x4e602c
cmp dword [ebp - 0x14], 4
jne 0x4e602c
cmp dword [ebp - 8], 1
jne 0x4e602c
mov dword [ebp - 0x10], 3
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x4e6040
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x539a68]
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.004057a0
add esp, 0xc
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x12c], 0
cmp dword [0x55c544], 0
jne 0x4e6285
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.TerminalServerFlexlmMutex
push 0x54ca98
lea ecx, [ebp - 0x110]
push ecx
call fcn.00443408
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 0x4e6104
xor eax, eax
jmp 0x4e6291
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4e6120
push 0xffffffffffffffff
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x55c544], 0
jne 0x4e626b
call fcn.004e5f60
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.0x4e6166
mov eax, dword [ebp - 0x130]
jmp dword [eax*4 + 0x4e62a0]
push 0x54caa0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x55c558], eax
cmp dword [0x55c558], 0
je 0x4e6224
push str.WTSEnumerateSessionsA
mov ecx, dword [0x55c558]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c54c], eax
cmp dword [0x55c54c], 0
je 0x4e6224
push 0x54cac8
mov edx, dword [0x55c558]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x55c550], eax
cmp dword [0x55c550], 0
je 0x4e6224
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x128]
push ecx
push 1
push 0
push 0
call dword [0x55c54c]
cmp dword [ebp - 0x128], 0
je 0x4e61fe
mov edx, dword [ebp - 0x128]
cmp dword [edx + 8], 0
jne 0x4e620d
mov eax, dword [ebp - 0x128]
push eax
call dword [0x55c550]
jmp 0x4e6224
mov ecx, dword [ebp - 0x128]
push ecx
call dword [0x55c550]
mov dword [0x55c548], 1
mov edx, dword [0x55c558]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x55c558], 0
jmp case.default.0x4e6166
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x12c], eax
cmp dword [ebp - 0x12c], 0
je case.default.0x4e6166
mov dword [0x55c548], 1
mov dword [0x55c544], 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 [0x55c548], 0
setne al
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x4ebb20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x539a68]
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 0x4ebb55
xor eax, eax
jmp 0x4ebd3b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x80
jne 0x4ebbc8
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.00443408
add esp, 0x14
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004773e0
add esp, 8
test eax, eax
je 0x4ebbc8
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 0x4ebc40
cmp dword [ebp + 8], 0
je 0x4ebc36
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x4ebbff
xor edx, edx
je 0x4ebbff
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d4], ecx
jmp 0x4ebc09
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.00463eb0
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x4ebd3b
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.004ebd50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ebc74
mov eax, dword [ebp - 4]
jmp 0x4ebd3b
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.004ebd50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ebcac
mov eax, dword [ebp - 4]
jmp 0x4ebd3b
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.004ebd50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ebcf2
mov eax, dword [ebp - 4]
jmp 0x4ebd3b
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.004ebd50
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4ebd38
mov eax, dword [ebp - 4]
jmp 0x4ebd3b
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0040553d
mov esp, ebp
pop ebp
ret
Function at 0x4f6820
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x539a68]
xor eax, ebp
mov dword [ebp - 0x14], eax
push 0x54dae8
lea eax, [ebp - 0x28]
push eax
call fcn.00443310
add esp, 8
mov dword [ebp - 0x10], 0
jmp 0x4f6853
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 3
jge 0x4f6874
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4f686a
jmp 0x4f6874
mov al, byte [ebp - 0x28]
add al, 1
mov byte [ebp - 0x28], al
jmp 0x4f684a
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.0040553d
mov esp, ebp
pop ebp
ret

Function at 0x4f70e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0x5624f8
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00500600
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00500810
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 0x4f7134
xor eax, eax
jmp 0x4f7169
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00404340
add esp, 0xc
mov eax, dword [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
push ecx
call fcn.004057a0
add esp, 0xc
mov edx, dword [ebp - 8]
push edx
call fcn.00462990
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret