joyce8/EMBER2024-capa huggingface dataset:
Function at 0x434217
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x434251
cmp dword [ebp + 0x10], 0
je 0x434251
cmp dword [ebp + 0x18], 0
je 0x434251
cmp dword [ebp + 0x1c], 0
jne 0x434256
jmp 0x4342e0
cmp dword [ebp + 0x14], 1
je 0x434262
cmp dword [ebp + 0x14], 2
jne 0x4342c1
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004332c3
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x434281
jmp 0x4342e0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004332c3
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4342a0
jmp 0x4342e0
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
jmp 0x4342e0
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x4342f9
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004176ae
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x434312
mov edx, dword [ebp - 8]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x434319
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
je 0x434353
cmp dword [ebp + 0x10], 0
je 0x434353
cmp dword [ebp + 0x18], 0
je 0x434353
cmp dword [ebp + 0x1c], 0
jne 0x434358
jmp 0x4343ea
cmp dword [ebp + 0x14], 1
je 0x434364
cmp dword [ebp + 0x14], 2
jne 0x4343cb
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043358a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x434383
jmp 0x4343ea
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043358a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4343a2
jmp 0x4343ea
mov eax, dword [ebp - 0xc]
shl eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [ebp - 4], eax
jmp 0x4343ea
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
push 0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x10], 0
je 0x434403
mov edx, dword [ebp - 0x10]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x43441c
mov eax, dword [ebp - 8]
push eax
call fcn.004176ae
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43446f
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
cmp dword [ebp + 0x10], 0
je 0x4344a9
cmp dword [ebp + 0xc], 0
jne 0x4344a9
jmp 0x434551
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
cmp dword [ebp - 0x10], 0
je 0x434551
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417480
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x434551
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x434551
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00433787
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434551
cmp dword [ebp + 0x10], 0
je 0x43454b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jle 0x434525
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b4340
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b43a0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], 0
je 0x43456a
mov edx, dword [ebp - 0xc]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x434583
mov eax, dword [ebp - 0xc]
push eax
call fcn.004176ae
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x43458a
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 0x10], 0
je 0x4345c4
cmp dword [ebp + 0xc], 0
jne 0x4345c4
jmp 0x43466e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
cmp dword [ebp - 0x10], 0
je 0x43466e
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00417480
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43466e
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43466e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00433633
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43466e
cmp dword [ebp + 0x10], 0
je 0x434668
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jle 0x434642
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp + 0x10]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b4340
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004b43a0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x434687
mov edx, dword [ebp - 8]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x4346a0
mov eax, dword [ebp - 0xc]
push eax
call fcn.004176ae
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4347b0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004332c3
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4348b6
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4348b6
cmp dword [ebp + 0x14], 0
je 0x4348b6
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00417480
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4348b6
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4348b6
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00433787
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43489d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jle 0x43487e
mov ecx, dword [ebp + 0x14]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b4a70
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x10]
mov byte [edx], 0
jmp 0x4348b6
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b4340
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x4348cf
mov edx, dword [ebp - 8]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x4348e8
mov eax, dword [ebp - 4]
push eax
call fcn.004176ae
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
je 0x434901
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004176ae
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x434908
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043358a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x434a10
push 0
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x434a10
cmp dword [ebp + 0x14], 0
je 0x434a10
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00417480
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x434a10
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x434a10
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00433633
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4349f7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jle 0x4349d8
mov ecx, dword [ebp + 0x14]
sub ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b4a70
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x10]
mov byte [edx], 0
jmp 0x434a10
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004b4340
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x434a29
mov edx, dword [ebp - 8]
push edx
call fcn.004176ae
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x434a42
mov eax, dword [ebp - 4]
push eax
call fcn.004176ae
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
je 0x434a5b
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004176ae
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x439e12
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 0x439e33
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 sub.WSOCK32.dll_setsockopt
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x439ea0
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 0x439f2d
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 0x439f22
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x439eeb
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x44285c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0xb0
mov byte [ebp - 0x3e], 0x4b
mov byte [ebp - 0x3d], 0xa0
mov byte [ebp - 0x3c], 0xad
mov byte [ebp - 0x3b], 0xef
mov byte [ebp - 0x3a], 0x73
mov byte [ebp - 0x39], 0x4e
mov byte [ebp - 0x38], 0xa3
mov byte [ebp - 0x37], 0x2f
mov byte [ebp - 0x36], 0x90
mov byte [ebp - 0x35], 0xd2
mov byte [ebp - 0x34], 0xb0
mov byte [ebp - 0x33], 0x45
mov byte [ebp - 0x32], 0xa2
mov byte [ebp - 0x31], 0x75
mov byte [ebp - 0x30], 0x85
mov byte [ebp - 0x2f], pe_nt_image_headers32
mov byte [ebp - 0x2e], 0xa3
mov byte [ebp - 0x2d], 0xfb
mov byte [ebp - 0x2c], 0x7b
mov byte [ebp - 0x2b], 0xd4
mov byte [ebp - 0x2a], 0x81
mov byte [ebp - 0x29], 0x38
mov byte [ebp - 0x28], 0xd6
mov byte [ebp - 0x27], 0xf5
mov byte [ebp - 0x26], 0xdc
mov byte [ebp - 0x25], 0xa4
mov byte [ebp - 0x24], 0xba
mov byte [ebp - 0x23], 0x4c
mov byte [ebp - 0x22], 0xf8
mov byte [ebp - 0x21], 0xb9
mov byte [ebp - 0x20], 0xe9
mov byte [ebp - 0x1f], 0x83
mov byte [ebp - 0x1e], 0x8a
mov byte [ebp - 0x1d], 0x7f
mov byte [ebp - 0x1c], 0xa6
mov byte [ebp - 0x1b], 0x18
mov byte [ebp - 0x1a], 0xac
mov byte [ebp - 0x19], 0x17
mov byte [ebp - 0x18], 0xb9
mov byte [ebp - 0x17], 0x88
mov byte [ebp - 0x16], 0x11
mov byte [ebp - 0x15], 0xaa
mov byte [ebp - 0x14], 0x7a
mov byte [ebp - 0x13], 0x47
mov byte [ebp - 0x12], 0xf3
mov byte [ebp - 0x11], 0x76
mov byte [ebp - 0x10], 0x37
mov byte [ebp - 0xf], 0x74
mov byte [ebp - 0xe], 2
mov byte [ebp - 0xd], 0xa
mov byte [ebp - 0xc], 0x1d
mov byte [ebp - 0xb], 0x3a
mov byte [ebp - 0xa], 0x9c
mov byte [ebp - 9], 0x69
mov dword [ebp - 8], 0x38
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x10]
add eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 8]
ja 0x442973
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.004b43a0
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45619b
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
push esi
push edi
mov byte [ebp - 0x404], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x403]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x80c], 0
mov dword [ebp - 0x808], 0
mov byte [ebp - 0x804], 0
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x803]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 4], 0x400
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x50]
push ecx
push 0x4d3ee4
lea edx, [ebp - 0x404]
push edx
call fcn.004b486f
add esp, 0xc
lea eax, [ebp - 0x80c]
push eax
push 0x20007
push 0
push 0x4d3ef0
push reloc.WSOCK32.dll_accept
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x456298
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x456253
xor edx, edx
test edx, edx
je 0x456253
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x810], ecx
jmp 0x45625d
mov dword [ebp - 0x810], 0xffffff86
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x810]
mov dword [edx + 0x80], eax
push 0
push 0xff
push 0
push 0
push 0x267
push 0xffffffffffffff86
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417930
add esp, 0x1c
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x80]
jmp 0x4563b9
push 0
push 0
push 0
push 0
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x804]
push ecx
mov edx, dword [ebp - 0x808]
mov dword [ebp - 0x814], edx
mov eax, dword [ebp - 0x814]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
mov edx, dword [ebp - 0x808]
add edx, 1
mov dword [ebp - 0x808], edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x4563aa
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x804], 0
lea ecx, [ebp - 0x404]
push ecx
call fcn.004b4950
add esp, 4
push eax
lea edx, [ebp - 0x404]
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004b4770
add esp, 0xc
test eax, eax
jne 0x45639e
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.004b4950
add esp, 4
push eax
mov edx, dword [ebp + 0xc]
add edx, 4
push edx
lea eax, [ebp - 0x804]
push eax
call fcn.004b4950
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0xc]
add ecx, 4
push ecx
call fcn.004b4950
add esp, 4
sub esi, eax
lea edx, [ebp + esi - 0x804]
push edx
call fcn.004b4770
add esp, 0xc
test eax, eax
jne 0x45639e
lea eax, [ebp - 0x804]
push eax
mov ecx, dword [ebp - 0x80c]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push str.LM_BORROW
mov edx, dword [ebp - 0x80c]
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.004563bf
add esp, 8
mov dword [ebp - 4], 0x400
jmp 0x456298
mov edx, dword [ebp - 0x80c]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x46be59
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
je 0x46bf8f
mov eax, dword [ebp + 8]
cmp dword [eax + 0x198], 0
je 0x46bf8f
push 0x20
mov ecx, dword [ebp + 8]
push ecx
call fcn.00417480
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x46bf73
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov ecx, dword [ebp - 8]
mov dword [eax + 0x1d04], ecx
push str.IBFS32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 8]
mov dword [edx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
je 0x46bf71
push str.TMExtendedStartSession
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 4], eax
push str.TMEndSession
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 8], eax
push str.TMFirst
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0xc], eax
push str.TMNext
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x10], eax
push str.TMRom
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x14], eax
push str.TMSetup
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x18], eax
push str.TMTouchByte
mov edx, dword [ebp - 8]
mov eax, dword [edx]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [ebp - 8]
mov dword [ecx + 0x1c], eax
jmp 0x46bf8d
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x198]
mov dword [eax + 0x1d04], 0
mov dword [ebp - 4], 0xffffffd8
jmp 0x46bf96
mov dword [ebp - 4], 0xffffffd6
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x47b950
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 + 0xd0]
mov edx, dword [ecx + 0x10a4]
and edx, 0x40
test edx, edx
jne 0x47b97d
xor eax, eax
jmp 0x47bb5e
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x134]
and ecx, 0x80
test ecx, ecx
jne 0x47b9ed
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
or al, 0x80
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x134], eax
push str.BUG_B
push 0x45
push 0x44
push str.FLEXLM__c_c_sADDATE
lea edx, [ebp - 0x2cc]
push edx
call fcn.004b486f
add esp, 0x14
lea eax, [ebp - 0x2cc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00423df4
add esp, 8
test eax, eax
je 0x47b9ed
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
or ah, 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x134], eax
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x134]
and eax, 0x100
test eax, eax
je 0x47ba63
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x80], 0
je 0x47ba22
xor edx, edx
test edx, edx
je 0x47ba22
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
mov dword [ebp - 0x2d0], ecx
jmp 0x47ba2c
mov dword [ebp - 0x2d0], 0xffffffa8
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x2d0]
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.00417930
add esp, 0x1c
mov eax, 0xffffffa8
jmp 0x47bb5e
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.0047bb62
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47ba97
mov eax, dword [ebp - 4]
jmp 0x47bb5e
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.0047bb62
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47bacf
mov eax, dword [ebp - 4]
jmp 0x47bb5e
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.0047bb62
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47bb15
mov eax, dword [ebp - 4]
jmp 0x47bb5e
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.0047bb62
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x47bb5b
mov eax, dword [ebp - 4]
jmp 0x47bb5e
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x480dd0
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 0x480e25
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
mov dword [ebp - 0x14], edx
jmp 0x480e4a
cmp dword [ebp - 0x10], 4
jae 0x480e43
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and ah, 0x7f
mov dword [ebp - 0x14], eax
jmp 0x480e4a
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 5
jne 0x480e5d
cmp dword [ebp - 4], 2
jne 0x480e5d
mov dword [ebp - 0xc], 8
cmp dword [ebp - 0x10], 5
jne 0x480e70
cmp dword [ebp - 4], 1
jne 0x480e70
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x10], 5
jne 0x480e83
cmp dword [ebp - 4], 0
jne 0x480e83
mov dword [ebp - 0xc], 6
cmp dword [ebp - 0x10], 4
jne 0x480e96
cmp dword [ebp - 4], 0
jne 0x480e96
mov dword [ebp - 0xc], 4
cmp dword [ebp - 0x10], 3
jne 0x480ea9
cmp dword [ebp - 4], 0
jne 0x480ea9
mov dword [ebp - 0xc], 5
cmp dword [ebp - 0x10], 4
jne 0x480ebc
cmp dword [ebp - 4], 1
jne 0x480ebc
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret