joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5f3c78
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.005dffc3
mov dword [ebp - 0x14], eax
cmp dword [0x79fb34], esi
jne 0x5f3d6b
push 0x800
push esi
push 0x750540
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x5f3cf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x5f3e4b
push esi
push esi
push 0x750540
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x5f3e4b
push 0x750558
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x5f3e4b
push eax
call ebx
push 0x750564
push edi
mov dword [0x79fb34], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x750574
push edi
mov dword [0x79fb38], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x750588
push edi
mov dword [0x79fb3c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x79fb44], eax
test eax, eax
je 0x5f3d68
push 0x7505a4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x79fb40], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5f3d90
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5f3d83
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5f3da5
push 4
pop eax
jmp 0x5f3e4d
cmp dword [ebp - 0x14], esi
je 0x5f3da5
push dword [0x79fb34]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5f3d8a
mov eax, dword [0x79fb40]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x5f3e03
cmp dword [0x79fb44], edi
je 0x5f3e03
push eax
call ebx
push dword [0x79fb44]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x5f3e03
test eax, eax
je 0x5f3e03
call ecx
test eax, eax
je 0x5f3df8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x5f3df8
test byte [ebp - 8], 1
jne 0x5f3e03
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x5f3e33
mov eax, dword [0x79fb38]
cmp eax, edi
je 0x5f3e30
push eax
call ebx
test eax, eax
je 0x5f3e30
call eax
mov esi, eax
test esi, esi
je 0x5f3e30
mov eax, dword [0x79fb3c]
cmp eax, edi
je 0x5f3e30
push eax
call ebx
test eax, eax
je 0x5f3e30
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x79fb34]
call ebx
test eax, eax
je 0x5f3e4b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x5f3e4d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x6100b0
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x828
mov eax, dword [0x78ca90]
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.005cfab0
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.005cfab0
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 0x774b10
lea ecx, [ebp - 0x418]
push ecx
call fcn.005d3f03
add esp, 0xc
lea edx, [ebp - 0x10]
push edx
push 0x20007
push 0
push 0x774b1c
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x6101c9
cmp dword [ebp + 8], 0
je 0x6101bb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x80], 0
je 0x610184
xor ecx, ecx
je 0x610184
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x824], eax
jmp 0x61018e
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.00610900
add esp, 0x1c
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x80]
jmp 0x6102fb
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 0x6102ef
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 0x610233
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x610263
cmp dword [ebp - 4], 2
jge 0x610263
push 0
push 0x2d
mov edx, dword [ebp - 8]
push edx
call fcn.00401680
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x610261
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
jmp 0x61022a
cmp dword [ebp - 8], 0
je 0x6102e0
push 0
push 0
lea ecx, [ebp - 0x418]
push ecx
call fcn.00401610
add esp, 8
push eax
lea edx, [ebp - 0x418]
push edx
lea eax, [ebp - 0x820]
push eax
call fcn.004014e0
add esp, 0x10
test eax, eax
jne 0x6102e0
push 0
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004013c0
add esp, 0xc
test eax, eax
jne 0x6102e0
lea eax, [ebp - 0x820]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push 0x774b44
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.00610310
add esp, 8
mov dword [ebp - 0x41c], 0x400
jmp 0x6101c9
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.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x617d40
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x200
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x1dc], 0
mov byte [ebp - 0x1d8], 0
push 0x3b
push 0
lea eax, [ebp - 0x1d7]
push eax
call fcn.005cfab0
add esp, 0xc
lea ecx, [ebp - 0x198]
push ecx
push 0x101
call fcn.0065db30
push 0
push 0x20
push 0
lea edx, [ebp - 0x1fc]
push edx
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0x1fc], 1
mov dword [ebp - 0x1f4], 1
push 0x3c
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x1d8]
push ecx
call fcn.00636d20
add esp, 0xc
lea edx, [ebp - 0x1dc]
push edx
lea eax, [ebp - 0x1fc]
push eax
push 0
lea ecx, [ebp - 0x1d8]
push ecx
call dword [sym.imp.WS2_32.dll_getaddrinfo]
cmp dword [ebp - 0x1dc], 0
je 0x617e43
mov edx, dword [ebp - 0x1dc]
cmp dword [edx + 4], 0x17
je 0x617e10
mov eax, dword [ebp - 0x1dc]
cmp dword [eax + 4], 2
je 0x617e10
mov ecx, dword [ebp - 0x1dc]
cmp dword [ecx + 4], 2
jne 0x617e43
push 0x3c
lea edx, [ebp - 0x1d8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xd4]
add ecx, 0x846
push ecx
call fcn.00636d20
add esp, 0xc
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0xd4]
mov byte [eax + 0x882], 0
jmp 0x617eb3
cmp dword [ebp + 8], 0
je 0x617ea4
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x617e6a
xor edx, edx
je 0x617e6a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x200], ecx
jmp 0x617e74
mov dword [ebp - 0x200], 0xffffff37
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x200]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x522e
push 0xffffff37
mov ecx, dword [ebp + 8]
push ecx
call fcn.00610900
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
mov dword [ebp - 0x19c], eax
cmp dword [ebp - 0x1dc], 0
je 0x617ed3
mov ecx, dword [ebp - 0x1dc]
push ecx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov dword [ebp - 0x1dc], 0
call fcn.0065db50
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x62de50
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 8], 0
mov eax, dword [ebp + 0x18]
push eax
call fcn.0062f560
add esp, 4
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0062f3c0
add esp, 8
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x62df50
push 0
call fcn.0062dff0
add esp, 4
push 1
call fcn.0062dff0
add esp, 4
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x62df50
mov eax, dword [ebp - 0x10]
push eax
call fcn.0062c1c0
add esp, 4
cmp dword [ebp + 8], 0
je 0x62df46
cmp dword [ebp + 8], 0
je 0x62df46
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x62df15
xor edx, edx
je 0x62df15
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x14], ecx
jmp 0x62df1c
mov dword [ebp - 0x14], 0xffffffc1
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x14]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x1de
push 0xffffffffffffffc1
mov ecx, dword [ebp + 8]
push ecx
call fcn.00610900
add esp, 0x1c
mov eax, 1
jmp 0x62dfde
mov edx, dword [ebp - 0x10]
push edx
call fcn.0062c1c0
add esp, 4
cmp dword [ebp + 0x10], 0
je 0x62df7a
cmp dword [ebp + 0x14], 0
jne 0x62df8a
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.00401610
add esp, 8
test eax, eax
jne 0x62df8a
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
jmp 0x62dfd2
cmp dword [ebp + 0x14], 0
je 0x62df98
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x18], eax
jmp 0x62dfac
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00401610
add esp, 8
add eax, 1
mov dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
xor ecx, ecx
cmp dword [ebp + 0x14], 0
setne cl
lea ecx, [ecx + ecx + 1]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00666b80
add esp, 0x14
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 0x62f560
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
je 0x62f580
mov eax, SysReAllocString
jmp 0x62f5ce
push 0
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x62f5c9
cmp dword [ebp + 8], 0
jne 0x62f5c9
cmp dword [ebp - 0x9c], 6
jb 0x62f5c9
mov eax, SysReAllocString
jmp 0x62f5ce
mov eax, reloc.OLEAUT32.dll_SysReAllocString
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret

Function at 0x632330
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x63235e
cmp dword [ebp + 0x10], 0
jne 0x632360
jmp 0x6323b8
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00665c40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x6323b8
cmp dword [ebp - 0xc], 0
je 0x6323b8
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00665c40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6323b8
cmp dword [ebp - 0xc], 0
je 0x6323b8
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.005d9325
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 8], 0
je 0x6323d1
mov eax, dword [ebp - 8]
push eax
call fcn.0062c1c0
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x6323ea
mov ecx, dword [ebp - 4]
push ecx
call fcn.0062c1c0
add esp, 4
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x632400
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0xffffffff
cmp dword [ebp + 0xc], 0
je 0x63242e
cmp dword [ebp + 0x10], 0
jne 0x632430
jmp 0x632488
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.00665f40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x632488
cmp dword [ebp - 0xc], 0
je 0x632488
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
call fcn.00665f40
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x632488
cmp dword [ebp - 0xc], 0
je 0x632488
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.005d93e8
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 4], 0
je 0x6324a1
mov eax, dword [ebp - 4]
push eax
call fcn.0062c1c0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 8], 0
je 0x6324ba
mov ecx, dword [ebp - 8]
push ecx
call fcn.0062c1c0
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x644290
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 0x68], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x10], 0xffffffff
mov byte [ebp - 0x60], 0
push 0x45
push 0
lea eax, [ebp - 0x5f]
push eax
call fcn.005cfab0
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
push 0x20
push 0
lea ecx, [ebp - 0x88]
push ecx
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x80], 1
cmp dword [ebp + 8], 0
je 0x644423
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00401610
add esp, 8
mov dword [ebp - 8], eax
push 0
push 0x40
mov eax, dword [ebp + 8]
push eax
call fcn.00401680
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x644351
lea ecx, [ebp - 0x60]
push ecx
push str.__69_0_9a_fA_F:_
mov edx, dword [ebp - 0xc]
push edx
call fcn.005d4bf6
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
call fcn.00644550
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 1
jle 0x644423
lea ecx, [ebp - 0x68]
push ecx
lea edx, [ebp - 0x88]
push edx
push 0
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.WS2_32.dll_getaddrinfo]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x68], 0
je 0x6443eb
mov ecx, dword [ebp - 0x68]
cmp dword [ecx + 4], 0x17
jne 0x6443eb
push 0
push 0x77b9cc
mov edx, dword [ebp + 8]
push edx
call fcn.004017d0
add esp, 0xc
mov esi, eax
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.00401610
add esp, 8
lea ecx, [esi + eax + 1]
cmp dword [ebp - 8], ecx
jne 0x6443eb
push 0
lea edx, [ebp - 0x60]
push edx
call fcn.00401610
add esp, 8
mov esi, eax
push 0
push 0x77b9d0
mov eax, dword [ebp + 8]
push eax
call fcn.004017d0
add esp, 0xc
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
jmp 0x644413
push 0
push 0x77b9d4
mov edx, dword [ebp + 8]
push edx
call fcn.004017d0
add esp, 0xc
mov esi, eax
lea eax, [ebp - 0x60]
push eax
call fcn.00644440
add esp, 4
lea ecx, [esi + eax + 1]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x68], 0
je 0x644423
mov edx, dword [ebp - 0x68]
push edx
call dword [sym.imp.WS2_32.dll_freeaddrinfo]
mov eax, dword [ebp - 0x64]
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x645fe0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d4
mov eax, dword [0x78ca90]
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 + 0x10e0]
and edx, 0x40
jne 0x646015
xor eax, eax
jmp 0x6461fb
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x13c]
and ecx, 0x80
jne 0x646088
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.005d3f03
add esp, 0x14
lea eax, [ebp - 0x2d0]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0062e6c0
add esp, 8
test eax, eax
je 0x646088
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 0x646100
cmp dword [ebp + 8], 0
je 0x6460f6
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x6460bf
xor edx, edx
je 0x6460bf
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d4], ecx
jmp 0x6460c9
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.00610900
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x6461fb
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.00646210
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x646134
mov eax, dword [ebp - 4]
jmp 0x6461fb
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.00646210
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x64616c
mov eax, dword [ebp - 4]
jmp 0x6461fb
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.00646210
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6461b2
mov eax, dword [ebp - 4]
jmp 0x6461fb
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.00646210
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6461f8
mov eax, dword [ebp - 4]
jmp 0x6461fb
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x664900
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 0x664991
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 0x664986
mov dword [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x66494b
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x665b80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x78ca90]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x795444], 0
jne 0x665c23
push 0
push 0x94
push 0
lea eax, [ebp - 0xa0]
push eax
call fcn.00401ca0
add esp, 0x10
mov dword [ebp - 0xa0], 0x94
lea ecx, [ebp - 0xa0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x665c19
cmp dword [ebp - 0x90], 1
jne 0x665be8
mov dword [0x795440], 2
jmp 0x665c19
cmp dword [ebp - 0x90], 2
je 0x665bfa
cmp dword [ebp - 0x9c], 6
jb 0x665c06
mov dword [0x795440], 1
jmp 0x665c19
cmp dword [ebp - 0x90], 0
jne 0x665c19
mov dword [0x795440], 3
mov dword [0x795444], 1
mov eax, dword [0x795440]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005cfbcb
mov esp, ebp
pop ebp
ret
Function at 0x6668c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
je 0x666901
cmp dword [ebp + 0xc], 0
je 0x666901
cmp dword [ebp + 0x10], 0
je 0x666901
cmp dword [ebp + 0x14], 0
jne 0x666906
jmp 0x6669d9
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.00665c40
add esp, 8
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x6669d9
cmp dword [ebp - 0x14], 0
je 0x6669d9
lea ecx, [ebp - 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6669d9
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
call fcn.005d4c93
add esp, 4
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x6669d9
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x6669d9
mov edx, dword [ebp + 0x10]
cmp dword [edx], 1
je 0x6669af
mov eax, dword [ebp + 0x10]
cmp dword [eax], 2
jne 0x6669c4
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00666150
add esp, 8
mov dword [ebp - 8], eax
jmp 0x6669d9
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
cmp dword [ebp - 4], 0
je 0x6669f2
mov eax, dword [ebp - 4]
push eax
call fcn.0062c1c0
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
je 0x666a0b
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.0062c1c0
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret