joyce8/EMBER2024-capa huggingface dataset:
Function at 0x464de6
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x464e3b
mov dword [0x4da5d0], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x464e0e
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jae 0x464e36
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ecx + 0x4da598], 0
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [edx + 0x4da59c], 0
jmp 0x464e05
jmp 0x464fe9
cmp dword [ebp + 0x10], 4
jb 0x464e57
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x34]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_EndDialog]
jmp 0x464fe9
cmp dword [ebp + 0x10], 0
jl 0x464e63
cmp dword [ebp + 0x10], 4
jb 0x464e68
jmp 0x464fe9
cmp dword [0x4da5d0], 0
jge 0x464e7a
cmp dword [0x4da5d0], 4
jae 0x464e91
push 0
mov eax, dword [0x4da5d0]
shl eax, 4
mov ecx, dword [eax + 0x4da598]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x4da5d0], edx
mov eax, dword [0x4da5d0]
shl eax, 4
cmp dword [eax + 0x4da59c], 0
jne 0x464eda
mov ecx, dword [0x4da5d0]
shl ecx, 4
mov edx, dword [ecx + 0x4da598]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00464fed
add esp, 8
mov ecx, dword [0x4da5d0]
shl ecx, 4
mov dword [ecx + 0x4da59c], 1
push 0
push 0
push 0xaec
mov edx, dword [0x4da5d0]
shl edx, 4
mov eax, dword [edx + 0x4da598]
push eax
mov ecx, dword [0x4da5d0]
shl ecx, 4
call dword [ecx + 0x4da590]
push 5
mov edx, dword [0x4da5d0]
shl edx, 4
mov eax, dword [edx + 0x4da598]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x464f2c
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jae 0x464fe9
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4da5d8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x464fe4
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4da5dc]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x13c]
and edx, 1
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x4da5dc]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx + 0x13c]
and ecx, 2
test ecx, ecx
je 0x464fe4
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4da5dc]
imul eax, eax, 0x32
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x13f]
push edx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*8 + 0x4da5dc]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + edx + 0x13c]
and cl, 0xfd
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4da5dc]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 0x13c], cl
jmp 0x464f23
mov esp, ebp
pop ebp
ret
Function at 0x467258
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
add eax, 0x80000002
mov dword [ebp - 8], eax
cmp dword [ebp + 0x14], 0
je 0x46727c
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
mov edx, dword [ebp + 0x10]
mov dword [edx], 0
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046839a
add esp, 8
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x18]
push edx
push 1
push 0
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 0x14]
push edx
call fcn.00465d6b
add esp, 4
cmp dword [ebp - 0xc], 0
jne 0x46738e
lea eax, [ebp - 0x10]
push eax
push 0
lea ecx, [ebp - 4]
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x46737d
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x52c], 0
je 0x46730c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x52c]
push eax
call fcn.00465d6b
add esp, 4
mov ecx, dword [ebp - 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00465c90
add esp, 8
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x52c], eax
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x52c]
push ecx
lea edx, [ebp - 4]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x14], 0
je 0x46735b
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x10]
mov dword [edx], eax
cmp dword [ebp - 0xc], 0
jne 0x46737d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x52c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4673f4
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
jmp 0x4673f4
cmp dword [ebp - 0xc], 2
jne 0x46739b
mov eax, 1
jmp 0x4673f4
cmp dword [ebp - 0xc], 5
jne 0x4673ef
cmp dword [ebp + 8], 0
je 0x4673ef
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x4673c1
xor ecx, ecx
test ecx, ecx
je 0x4673c1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x4673c8
mov dword [ebp - 0x1c], 0xffffffc1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [ecx + 0x14], edx
push 0
push 0xff
push 0
push 0
push 0x193
push 0xffffffffffffffc1
mov eax, dword [ebp + 8]
push eax
call fcn.00463180
add esp, 0x1c
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x4674a0
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 0x18]
neg eax
sbb eax, eax
add eax, 0x80000002
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046839a
add esp, 8
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46757e
push 0
call fcn.0046760c
add esp, 4
push 1
call fcn.0046760c
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x46757e
mov eax, dword [ebp - 0xc]
push eax
call fcn.00465d6b
add esp, 4
cmp dword [ebp + 8], 0
je 0x467574
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x467546
xor edx, edx
test edx, edx
je 0x467546
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14], ecx
jmp 0x46754d
mov dword [ebp - 0x14], 0xffffffc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
mov eax, 1
jmp 0x467608
mov edx, dword [ebp - 0xc]
push edx
call fcn.00465d6b
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x4675a6
cmp dword [ebp + 0x14], 0
jne 0x4675b6
mov eax, dword [ebp + 0x10]
push eax
call sub.MSVCRT.dll_strlen
add esp, 4
test eax, eax
jne 0x4675b6
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x4675fc
cmp dword [ebp + 0x14], 0
je 0x4675c4
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x4675d6
mov ecx, dword [ebp + 0x10]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0x14]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4684aa
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
pop ebp
ret
Function at 0x46f85a
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0
je 0x46f870
mov eax, dword [ebp + 0x10]
mov dword [0x4e421c], eax
jmp 0x46f87a
mov dword [0x4e421c], 0xffffffff
mov ecx, dword [ebp + 0x14]
mov dword [0x4e4218], ecx
cmp dword [0x4e29a0], 0
je 0x46f89b
mov edx, dword [0x4e4224]
push edx
call dword [sym.imp.KERNEL32.dll_SetEvent]
jmp 0x46f90e
push 0
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4e4224], eax
cmp dword [0x4e4224], 0
jne 0x46f8bb
xor eax, eax
jmp 0x46f913
push 4
push 1
call dword [sym.imp.MSVCRT.dll_calloc]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x46f8d5
xor eax, eax
jmp 0x46f913
mov eax, dword [ebp - 4]
mov ecx, dword [0x4e4224]
mov dword [eax], ecx
mov edx, dword [ebp - 4]
push edx
push 0
push 0x46f7c6
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [0x4e29a0], eax
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [0x4e29a0], 0
jne 0x46f90e
xor eax, eax
jmp 0x46f913
mov eax, dword [0x4e29a0]
mov esp, ebp
pop ebp
ret

Function at 0x46f938
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov dword [0x4e2998], eax
cmp dword [0x4e2998], 0
je 0x46f960
mov eax, dword [0x4e2998]
jmp 0x46f9d9
lea ecx, [ebp - 0x10]
push ecx
push 1
push 0
push str.SOFTWAREFLEXlm_License_Manager
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46f9d7
mov dword [ebp - 0xc], 0xc7
lea edx, [ebp - 0xc]
push edx
push 0x4e28d0
lea eax, [ebp - 4]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x46f9c9
mov dword [0x4e2998], 0x4e28d0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4e2998]
jmp 0x46f9d9
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x46f9d9
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x46fa30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
and eax, 0xff
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 8]
and ecx, 0xffff
sar ecx, 8
and ecx, 0xff
and ecx, 0xff
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0x80000000
jae 0x46fa85
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
mov dword [ebp - 0x14], edx
jmp 0x46faaa
cmp dword [ebp - 0x10], 4
jae 0x46faa3
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and ah, 0x7f
mov dword [ebp - 0x14], eax
jmp 0x46faaa
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 5
jne 0x46fabd
cmp dword [ebp - 4], 2
jne 0x46fabd
mov dword [ebp - 0xc], 8
cmp dword [ebp - 0x10], 5
jne 0x46fad0
cmp dword [ebp - 4], 1
jne 0x46fad0
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x10], 5
jne 0x46fae3
cmp dword [ebp - 4], 0
jne 0x46fae3
mov dword [ebp - 0xc], 6
cmp dword [ebp - 0x10], 4
jne 0x46faf6
cmp dword [ebp - 4], 0
jne 0x46faf6
mov dword [ebp - 0xc], 4
cmp dword [ebp - 0x10], 3
jne 0x46fb09
cmp dword [ebp - 4], 0
jne 0x46fb09
mov dword [ebp - 0xc], 5
cmp dword [ebp - 0x10], 4
jne 0x46fb1c
cmp dword [ebp - 4], 1
jne 0x46fb1c
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x46fb23
Capabilities:
Check mutex on windows
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x124
push edi
mov dword [ebp - 0x114], 0
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x120], 0
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0
push str.FLEXLM_TS_GATE
call dword [sym.imp.MSVCRT.dll_getenv]
add esp, 4
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0
je 0x46fbbe
push str.bypass
mov eax, dword [ebp - 0x120]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x46fbbe
xor eax, eax
jmp 0x46fd9f
cmp dword [0x4e29ac], 0
jne 0x46fd93
call sub.MSVCRT.dll__getpid
push eax
push str.TerminalServerFlexlmMutex
push 0x4db344
lea ecx, [ebp - 0x104]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea edx, [ebp - 0x104]
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x46fc12
xor eax, eax
jmp 0x46fd9f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x46fc2e
push 0xffffffffffffffff
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x4e29ac], 0
jne 0x46fd79
call fcn.0046fa30
mov dword [ebp - 0x110], eax
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x124], ecx
mov edx, dword [ebp - 0x124]
sub edx, 1
mov dword [ebp - 0x124], edx
cmp dword [ebp - 0x124], 7
ja case.0x46fc74.1
mov eax, dword [ebp - 0x124]
jmp dword [eax*4 + 0x46fda4]
jmp case.0x46fc74.1
push 0x4db34c
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x4e29bc], eax
cmp dword [0x4e29bc], 0
je 0x46fd32
push str.WTSEnumerateSessionsA
mov ecx, dword [0x4e29bc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e29b4], eax
cmp dword [0x4e29b4], 0
je 0x46fd32
push str.WTSFreeMemory
mov edx, dword [0x4e29bc]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4e29b8], eax
cmp dword [0x4e29b8], 0
je 0x46fd32
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0x114]
push ecx
push 1
push 0
push 0
call dword [0x4e29b4]
cmp dword [ebp - 0x114], 0
je 0x46fd0c
mov edx, dword [ebp - 0x114]
cmp dword [edx + 8], 0
jne 0x46fd1b
mov eax, dword [ebp - 0x114]
push eax
call dword [0x4e29b8]
jmp 0x46fd32
mov ecx, dword [ebp - 0x114]
push ecx
call dword [0x4e29b8]
mov dword [0x4e29b0], 1
mov edx, dword [0x4e29bc]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x4e29bc], 0
jmp case.0x46fc74.1
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je case.0x46fc74.1
mov dword [0x4e29b0], 1
mov dword [0x4e29ac], 1
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [ebp - 0x11c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x4e29b0], 0
setne al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x46fdd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov edx, dword [ecx + 0x3a8]
and edx, 0x40
test edx, edx
jne 0x46fdfa
xor eax, eax
jmp 0x46ffd3
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3fc]
and ecx, 0x80
test ecx, ecx
jne 0x46fe6b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
or al, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3fc], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2cc]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004677b2
add esp, 8
test eax, eax
je 0x46fe6b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
or ah, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3fc], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x3fc]
and eax, 0x100
test eax, eax
je 0x46fed8
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0
je 0x46fe9a
xor edx, edx
test edx, edx
je 0x46fe9a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x2d0], ecx
jmp 0x46fea4
mov dword [ebp - 0x2d0], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d0]
mov dword [edx + 0x14], eax
push 0
push 0xff
push 0
push 0
push 0x138
push 0xffffffffffffffa8
mov ecx, dword [ebp + 8]
push ecx
call fcn.00463180
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x46ffd3
mov byte [ebp - 0x204], 0x5c
mov byte [ebp - 0x203], 0
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046ffd7
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46ff0c
mov eax, dword [ebp - 4]
jmp 0x46ffd3
push 0x200
lea ecx, [ebp - 0x204]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0046ffd7
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46ff44
mov eax, dword [ebp - 4]
jmp 0x46ffd3
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x202], 0x61
mov byte [ebp - 0x201], 0x72
mov byte [ebp - 0x203], 0x76
mov byte [ebp - 0x200], 0
push 0
lea ecx, [ebp - 0x204]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0046ffd7
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46ff8a
mov eax, dword [ebp - 4]
jmp 0x46ffd3
mov byte [ebp - 0x204], 0x2f
mov byte [ebp - 0x200], 0
mov byte [ebp - 0x202], 0x6d
mov byte [ebp - 0x203], 0x74
mov byte [ebp - 0x201], 0x70
push 0
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046ffd7
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x46ffd0
mov eax, dword [ebp - 4]
jmp 0x46ffd3
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x486a2e
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
cmp dword [ebp + 0x14], 0
je 0x486a9b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x486a9b
mov ecx, dword [ebp - 8]
cmp dword [ecx + 4], 2
jne 0x486a91
mov edx, dword [ebp - 8]
mov eax, dword [edx + 8]
push eax
push 0x4e3360
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x4e3360
call fcn.00487142
add esp, 4
test eax, eax
je 0x486a8a
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4e3360
mov eax, 1
jmp 0x486c4d
xor eax, eax
jmp 0x486c4d
mov edx, dword [ebp - 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
jmp 0x486a43
cmp dword [ebp + 0x10], 0
je 0x486b62
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 0xc], 0
je 0x486b62
mov edx, dword [ebp - 0xc]
cmp dword [edx + 4], 1
jne 0x486b55
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 8]
push ecx
push 0x4e3360
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
push 0x4e3360
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x486b0f
push 0xff
push 0x4e3360
call dword [sym.imp.MSVCRT.dll__getcwd]
add esp, 8
test eax, eax
jne 0x486b0d
xor eax, eax
jmp 0x486c4d
jmp 0x486b15
mov edx, dword [ebp - 4]
mov byte [edx], 0
push 0x4e3360
call fcn.00487142
add esp, 4
test eax, eax
je 0x486b4e
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4e3360
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x4e3360
mov edx, dword [ebp + 8]
push edx
call fcn.004872c5
add esp, 0xc
mov eax, 1
jmp 0x486c4d
xor eax, eax
jmp 0x486c4d
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x486aab
push 0x4dcdb0
push 0x4e3360
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
push 0x4e3360
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov byte [edx], 0
push 0x4e3360
call fcn.00487142
add esp, 4
test eax, eax
je 0x486bc6
mov eax, dword [ebp + 0xc]
mov dword [eax], 0x4e3360
mov ecx, dword [ebp + 0x1c]
push ecx
push 0x4e3360
mov edx, dword [ebp + 8]
push edx
call fcn.004872c5
add esp, 0xc
mov eax, 1
jmp 0x486c4d
push str.C:_flexlmlicense.dat
lea eax, [ebp - 0x110]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x5c
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x486bfb
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
test eax, eax
jne 0x486c47
push 0x4e3360
call fcn.00487142
add esp, 4
test eax, eax
je 0x486c45
mov ecx, dword [ebp + 0xc]
mov dword [ecx], 0x4e3360
mov edx, dword [ebp + 0x1c]
push edx
push 0x4e3360
mov eax, dword [ebp + 8]
push eax
call fcn.004872c5
add esp, 0xc
mov eax, 1
jmp 0x486c4d
jmp 0x486c4b
xor eax, eax
jmp 0x486c4d
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x48bbf0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
and ecx, 0xff
mov byte [ebp - 0xc], cl
mov edx, dword [ebp + 0x10]
sar edx, 8
and edx, 0xff
mov byte [ebp - 0xb], dl
mov eax, dword [ebp + 0x10]
sar eax, 0x10
and eax, 0xff
mov byte [ebp - 0xa], al
mov ecx, dword [ebp + 0x10]
sar ecx, 0x18
and ecx, 0xff
mov byte [ebp - 9], cl
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp + 0xc], eax
test edx, edx
je 0x48bc7d
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 8]
mov al, byte [ecx]
xor al, byte [ebp + edx - 0xc]
mov ecx, dword [ebp + 8]
mov byte [ecx], al
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 3
jle 0x48bc72
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x48bc3b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x48cf00
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], 0x14
cmp dword [ebp + 0xc], 0
je 0x48cf2f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, byte [ecx + 0x48]
test edx, edx
je 0x48cf2f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
add ecx, 0x48
mov dword [ebp - 4], ecx
jmp 0x48cf6b
lea edx, [ebp - 8]
push edx
push 0x4e36c0
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x48cf4b
mov dword [ebp - 4], 0x4e36c0
jmp 0x48cf6b
push 0x13
push 0x4e36c0
call fcn.004762b0
test eax, eax
jne 0x48cf64
mov dword [ebp - 4], 0x4e36c0
jmp 0x48cf6b
mov dword [ebp - 4], str.Unknown
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
movsx edx, byte [ecx + 0x48]
test edx, edx
jne 0x48cf9c
push 0x14
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x6c]
add edx, 0x48
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x6c]
mov byte [ecx + 0x5c], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x48cfb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push 0x4dd420
lea eax, [ebp - 0x14]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
mov dword [ebp - 0x24], 0
jmp 0x48cfd9
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 3
jge 0x48cffa
lea edx, [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x48cff0
jmp 0x48cffa
mov al, byte [ebp - 0x14]
add al, 1
mov byte [ebp - 0x14], al
jmp 0x48cfd0
push 0
push 0
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x1c]
push eax
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret