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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], 0
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 0x43d856
cmp dword [ebp + 0x10], 0
je 0x43d856
cmp dword [ebp + 0x14], 0
je 0x43d856
cmp dword [ebp + 0x18], 0
jne 0x43d85b
jmp 0x43d93a
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0043cd4a
add esp, 0xc
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x43d93a
cmp dword [ebp - 0xc], 0
je 0x43d93a
lea edx, [ebp - 0xc]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d93a
mov eax, dword [ebp - 0xc]
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00428790
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x43d93a
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 0
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x43d93a
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 1
je 0x43d90c
mov edx, dword [ebp + 0x14]
cmp dword [edx], 2
jne 0x43d925
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cdf3
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x43d93a
mov eax, dword [ebp - 0x10]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0xc]
mov dword [ecx], edx
cmp dword [ebp - 0x14], 0
je 0x43d953
mov eax, dword [ebp - 0x14]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
je 0x43d96c
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004289be
add esp, 4
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x43d9d7
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 0x43da11
cmp dword [ebp + 0x10], 0
je 0x43da11
cmp dword [ebp + 0x18], 0
je 0x43da11
cmp dword [ebp + 0x1c], 0
jne 0x43da16
jmp 0x43daa0
cmp dword [ebp + 0x14], 1
je 0x43da22
cmp dword [ebp + 0x14], 2
jne 0x43da81
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043ca83
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43da41
jmp 0x43daa0
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043ca83
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43da60
jmp 0x43daa0
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 0x43daa0
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 0x43dab9
mov ecx, dword [ebp - 0x10]
push ecx
call fcn.004289be
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x43dad2
mov edx, dword [ebp - 8]
push edx
call fcn.004289be
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43dad9
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 0x43db13
cmp dword [ebp + 0x10], 0
je 0x43db13
cmp dword [ebp + 0x18], 0
je 0x43db13
cmp dword [ebp + 0x1c], 0
jne 0x43db18
jmp 0x43dbaa
cmp dword [ebp + 0x14], 1
je 0x43db24
cmp dword [ebp + 0x14], 2
jne 0x43db8b
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cd4a
add esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x43db43
jmp 0x43dbaa
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cd4a
add esp, 0xc
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x43db62
jmp 0x43dbaa
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 0x43dbaa
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 0x43dbc3
mov edx, dword [ebp - 0x10]
push edx
call fcn.004289be
add esp, 4
mov dword [ebp - 0x10], 0
cmp dword [ebp - 8], 0
je 0x43dbdc
mov eax, dword [ebp - 8]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43dc2f
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 0x43dc69
cmp dword [ebp + 0xc], 0
jne 0x43dc69
jmp 0x43dd11
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 0x43dd11
mov edx, dword [ebp - 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00428790
add esp, 8
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43dd11
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 0x43dd11
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cf47
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43dd11
cmp dword [ebp + 0x10], 0
je 0x43dd0b
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jle 0x43dce5
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.004976c0
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.00496a80
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 8], ecx
cmp dword [ebp - 0xc], 0
je 0x43dd2a
mov edx, dword [ebp - 0xc]
push edx
call fcn.004289be
add esp, 4
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x43dd43
mov eax, dword [ebp - 0xc]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x43dd4a
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 0x43dd84
cmp dword [ebp + 0xc], 0
jne 0x43dd84
jmp 0x43de2e
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 0x43de2e
mov edx, dword [ebp - 0x10]
shl edx, 1
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00428790
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43de2e
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 0x43de2e
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cdf3
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43de2e
cmp dword [ebp + 0x10], 0
je 0x43de28
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x10]
jle 0x43de02
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.004976c0
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.00496a80
add esp, 0xc
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], ecx
cmp dword [ebp - 8], 0
je 0x43de47
mov edx, dword [ebp - 8]
push edx
call fcn.004289be
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 0xc], 0
je 0x43de60
mov eax, dword [ebp - 0xc]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x43df70
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.0043ca83
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43e076
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 0x43e076
cmp dword [ebp + 0x14], 0
je 0x43e076
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00428790
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43e076
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 0x43e076
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cf47
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43e05d
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jle 0x43e03e
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.004985d0
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x10]
mov byte [edx], 0
jmp 0x43e076
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004976c0
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x43e08f
mov edx, dword [ebp - 8]
push edx
call fcn.004289be
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x43e0a8
mov eax, dword [ebp - 4]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
je 0x43e0c1
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004289be
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x43e0c8
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.0043cd4a
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x43e1d0
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 0x43e1d0
cmp dword [ebp + 0x14], 0
je 0x43e1d0
mov ecx, dword [ebp - 0x10]
shl ecx, 1
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00428790
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x43e1d0
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 0x43e1d0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0043cdf3
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x43e1b7
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp + 0x14]
jle 0x43e198
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.004985d0
add esp, 0xc
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x10]
mov byte [edx], 0
jmp 0x43e1d0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 0x14]
push eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.004976c0
add esp, 0xc
cmp dword [ebp - 8], 0
je 0x43e1e9
mov edx, dword [ebp - 8]
push edx
call fcn.004289be
add esp, 4
mov dword [ebp - 8], 0
cmp dword [ebp - 4], 0
je 0x43e202
mov eax, dword [ebp - 4]
push eax
call fcn.004289be
add esp, 4
mov dword [ebp - 4], 0
cmp dword [ebp - 0xc], 0
je 0x43e21b
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004289be
add esp, 4
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret
Function at 0x43fa40
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 0x43fa95
mov edx, dword [ebp - 8]
shr edx, 0x10
and edx, 0xffff
and edx, 0xffff
mov dword [ebp - 0x14], edx
jmp 0x43faba
cmp dword [ebp - 0x10], 4
jae 0x43fab3
mov eax, dword [ebp - 8]
shr eax, 0x10
and eax, 0xffff
and eax, 0xffff
and ah, 0x7f
mov dword [ebp - 0x14], eax
jmp 0x43faba
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 5
jne 0x43facd
cmp dword [ebp - 4], 2
jne 0x43facd
mov dword [ebp - 0xc], 8
cmp dword [ebp - 0x10], 5
jne 0x43fae0
cmp dword [ebp - 4], 1
jne 0x43fae0
mov dword [ebp - 0xc], 7
cmp dword [ebp - 0x10], 5
jne 0x43faf3
cmp dword [ebp - 4], 0
jne 0x43faf3
mov dword [ebp - 0xc], 6
cmp dword [ebp - 0x10], 4
jne 0x43fb06
cmp dword [ebp - 4], 0
jne 0x43fb06
mov dword [ebp - 0xc], 4
cmp dword [ebp - 0x10], 3
jne 0x43fb19
cmp dword [ebp - 4], 0
jne 0x43fb19
mov dword [ebp - 0xc], 5
cmp dword [ebp - 0x10], 4
jne 0x43fb2c
cmp dword [ebp - 4], 1
jne 0x43fb2c
mov dword [ebp - 0xc], 3
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x43fb33
Capabilities:
Check mutex on windows

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
cmp dword [0x50fd18], 0
jne 0x43fd60
call sub.KERNEL32.dll_GetCurrentProcessId
push eax
push str.TerminalServerFlexlmMutex
push 0x4fe548
lea eax, [ebp - 0x104]
push eax
call fcn.004970c0
add esp, 0x10
lea ecx, [ebp - 0x104]
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x11c], eax
cmp dword [ebp - 0x11c], 0
jne 0x43fbe5
xor eax, eax
jmp 0x43fd6c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43fc01
push 0xffffffffffffffff
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x50fd18], 0
jne 0x43fd46
call fcn.0043fa40
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x124], eax
mov ecx, dword [ebp - 0x124]
sub ecx, 4
mov dword [ebp - 0x124], ecx
cmp dword [ebp - 0x124], 4
ja case.default.0x43fc47
mov edx, dword [ebp - 0x124]
jmp dword [edx*4 + 0x43fd71]
push str.wtsapi32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x50fd28], eax
cmp dword [0x50fd28], 0
je 0x43fcff
push str.WTSEnumerateSessionsA
mov eax, dword [0x50fd28]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50fd20], eax
cmp dword [0x50fd20], 0
je 0x43fcff
push str.WTSFreeMemory
mov ecx, dword [0x50fd28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x50fd24], eax
cmp dword [0x50fd24], 0
je 0x43fcff
lea edx, [ebp - 0x10c]
push edx
lea eax, [ebp - 0x114]
push eax
push 1
push 0
push 0
call dword [0x50fd20]
cmp dword [ebp - 0x114], 0
je 0x43fcd9
mov ecx, dword [ebp - 0x114]
cmp dword [ecx + 8], 0
jne 0x43fce8
mov edx, dword [ebp - 0x114]
push edx
call dword [0x50fd24]
jmp 0x43fcff
mov eax, dword [ebp - 0x114]
push eax
call dword [0x50fd24]
mov dword [0x50fd1c], 1
mov ecx, dword [0x50fd28]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [0x50fd28], 0
jmp case.default.0x43fc47
push 0x1000
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
je case.default.0x43fc47
mov dword [0x50fd1c], 1
mov dword [0x50fd18], 1
mov edx, dword [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
cmp dword [0x50fd1c], 0
setne al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x4529c0
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 0x452a4d
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 0x452a42
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
add eax, 1
mov dword [ebp + 8], eax
jmp 0x452a0b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4564d4
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 0x10], 0xffffff9d
jne 0x456529
mov dword [0x4fee10], 0xffffffff
mov dword [ebp - 8], 0
jmp 0x4564fc
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jae 0x456524
mov ecx, dword [ebp - 8]
shl ecx, 4
mov dword [ecx + 0x4fedd8], 0
mov edx, dword [ebp - 8]
shl edx, 4
mov dword [edx + 0x4feddc], 0
jmp 0x4564f3
jmp 0x4566d7
cmp dword [ebp + 0x10], 4
jb 0x456545
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 0x4566d7
cmp dword [ebp + 0x10], 0
jl 0x456551
cmp dword [ebp + 0x10], 4
jb 0x456556
jmp 0x4566d7
cmp dword [0x4fee10], 0
jge 0x456568
cmp dword [0x4fee10], 4
jae 0x45657f
push 0
mov eax, dword [0x4fee10]
shl eax, 4
mov ecx, dword [eax + 0x4fedd8]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [ebp + 0x10]
mov dword [0x4fee10], edx
mov eax, dword [0x4fee10]
shl eax, 4
cmp dword [eax + 0x4feddc], 0
jne 0x4565c8
mov ecx, dword [0x4fee10]
shl ecx, 4
mov edx, dword [ecx + 0x4fedd8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004566db
add esp, 8
mov ecx, dword [0x4fee10]
shl ecx, 4
mov dword [ecx + 0x4feddc], 1
push 0
push 0
push 0xaec
mov edx, dword [0x4fee10]
shl edx, 4
mov eax, dword [edx + 0x4fedd8]
push eax
mov ecx, dword [0x4fee10]
shl ecx, 4
call dword [ecx + 0x4fedd0]
push 5
mov edx, dword [0x4fee10]
shl edx, 4
mov eax, dword [edx + 0x4fedd8]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [ebp - 8], 0
jmp 0x45661a
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 3
jae 0x4566d7
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4fee18]
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 0x4566d2
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4fee1c]
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx + eax + 0x138]
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 + 0x4fee1c]
mov eax, dword [ebp + 0xc]
movsx ecx, byte [eax + edx + 0x138]
and ecx, 2
test ecx, ecx
je 0x4566d2
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4fee1c]
imul eax, eax, 0x32
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + eax + 0x13b]
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 + 0x4fee1c]
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + edx + 0x138]
and cl, 0xfd
mov edx, dword [ebp - 8]
mov eax, dword [edx*8 + 0x4fee1c]
mov edx, dword [ebp + 0xc]
mov byte [edx + eax + 0x138], cl
jmp 0x456611
mov esp, ebp
pop ebp
ret
Function at 0x45d01f
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x404
mov dword [ebp - 0x404], 0
push 0x400
lea eax, [ebp - 0x400]
push eax
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x45d05c
lea ecx, [ebp - 0x400]
push ecx
call fcn.0045d441
add esp, 4
mov dword [ebp - 0x404], eax
mov eax, dword [ebp - 0x404]
mov esp, ebp
pop ebp
ret

Function at 0x45d441
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
mov dword [ebp - 0x408], 0
mov dword [ebp - 0x40c], 0
push 1
call fcn.0045df86
add esp, 4
test eax, eax
jne 0x45d477
mov eax, dword [ebp - 0x408]
jmp 0x45d534
mov dword [ebp - 0x40c], 0
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.dll_gethostbyname
mov dword [ebp - 0x404], eax
cmp dword [ebp - 0x404], 0
jne 0x45d4a4
mov eax, dword [ebp - 0x408]
jmp 0x45d534
push 0x400
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
mov eax, dword [edx + 0xc]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x404]
movsx eax, word [edx + 8]
push eax
call fcn.0045d6ae
add esp, 0x10
test eax, eax
jne 0x45d4db
mov eax, dword [ebp - 0x408]
jmp 0x45d534
lea ecx, [ebp - 0x400]
push ecx
mov edx, dword [ebp - 0x404]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x404]
movsx eax, word [edx + 8]
push eax
call fcn.0045de4f
add esp, 0x10
mov dword [ebp - 0x408], eax
mov ecx, dword [ebp - 0x404]
movsx edx, word [ecx + 0xa]
push edx
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax + 0xc]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x408]
push eax
call fcn.0045df40
add esp, 0xc
mov eax, dword [ebp - 0x408]
mov esp, ebp
pop ebp
ret