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

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x1c]
test esi, esi
mov dword [esp + 8], 1
mov dword [esp + 4], 0
jne 0x48f780
lea esi, [esp + 4]
mov eax, dword [esp + 0x10]
test eax, eax
je 0x48f79d
lea eax, [esp + 0x1c]
push eax
push 1
push 0
push str.SoftwareEA_GamesMedal_of_Honor_Allied_Assault_Spearhead2.0
push bind
jmp 0x48f7b0
lea ecx, [esp + 0x1c]
push ecx
push 1
push 0
push str.SoftwareEA_GamesMedal_of_Honor_Allied_Assault_Spearhead2.0
push reloc.WSOCK32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x48f7c1
xor eax, eax
pop esi
add esp, 8
ret
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push esi
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x24]
push eax
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov esi, eax
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
test esi, esi
sete al
pop esi
add esp, 8
ret

Function at 0x48f990
Capabilities:
Set registry value

Disassembly:
push ecx
mov eax, dword [0x9975a8]
test eax, eax
jne 0x48f982
mov eax, dword [0x9975ac]
test eax, eax
je 0x48f982
lea eax, [esp]
mov dword [0x9975ac], 0
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x48f936
mov dword [0x9975a8], 1
pop ecx
ret
mov ecx, dword [esp]
push esi
push 4
push 0x9975a4
push 4
push 0
push str.EnableAutodial
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 4]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
je 0x48f970
mov dword [0x9975a8], 1
pop ecx
ret
push 0x58b6e4
push str.com_autodialdata
call fcn.0045de20
add esp, 8
pop ecx
ret
push 1
push 0x58b6e4
push str.com_autodialdata
call fcn.0045d890
mov eax, dword [eax + 0x20]
add esp, 0xc
test eax, eax
je 0x48f9d1
push 0x58b6e4
push str.com_autodialdata
mov dword [0x9975a4], eax
mov dword [0x9975ac], 1
call fcn.0045de20
add esp, 8
jmp 0x48f8f0
ret
Function at 0x4913d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x54a623
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, ecx
xor eax, eax
push edi
mov dword [esp + 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esp + 0x60], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x60], 2
push ecx
push eax
push str.localization.txt
push 0x566148
push str.global
call fcn.00460810
mov edx, dword [str.global_]
mov ebp, eax
mov eax, dword [0x571fbc]
mov ecx, 0xe
mov dword [esp + 0x30], eax
xor eax, eax
lea edi, [esp + 0x34]
mov dword [esp + 0x2c], edx
rep stosd dword es:[edi], eax
lea edi, [esp + 0x2c]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push 0x4913b0
mov ebx, ecx
mov ecx, dword [esp + 0x28]
push 4
push ecx
push ebp
call fcn.0053364c
mov eax, dword [esp + 0x34]
add esp, 0x24
xor edi, edi
test eax, eax
jle 0x4914a4
lea ebx, [esp + ebx + 0x18]
mov ecx, dword [ebp + edi*4]
mov edx, ebx
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x491485
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.004914d0
mov eax, dword [esp + 0x10]
inc edi
cmp edi, eax
jl 0x49147f
push ebp
call fcn.00460cd0
mov ecx, dword [esp + 0x5c]
add esp, 4
mov eax, esi
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret

Function at 0x492d10
Capabilities:
Get memory capacity

Disassembly:
mov eax, dword [0xe7ce08]
sub esp, 0x20
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x492d28
mov eax, 1
add esp, 0x20
ret
lea ecx, [esp]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [0xe7ce08]
mov eax, dword [edx + 0x20]
mov edx, dword [esp + 8]
shl eax, 0x14
cmp eax, edx
sbb eax, eax
inc eax
add esp, 0x20
ret

Function at 0x492d50
Capabilities:
Get disk size

Disassembly:
sub esp, 0x14
lea eax, [esp + 0xc]
lea ecx, [esp + 8]
push eax
lea edx, [esp + 8]
push ecx
lea eax, [esp + 8]
push edx
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
mov ecx, dword [esp]
mov edx, dword [esp + 4]
mov eax, dword [esp + 8]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], 0
fild qword [esp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], 0
fimul dword [esp + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
fimul dword [esp + 0xc]
fmul dword [0x54ec84]
fcomp dword [0x54ec88]
fnstsw ax
test ah, 5
jp 0x492dc7
mov eax, 1
add esp, 0x14
ret
xor eax, eax
add esp, 0x14
ret

Function at 0x4940b0
Capabilities:
Check mutex on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
test eax, eax
mov dword [0x99a5a4], eax
je 0x4940f7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4940f2
mov ecx, dword [0x99a5a4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x99a5a4], 0
mov eax, 1
ret
mov eax, dword [0x99a5a4]
xor edx, edx
test eax, eax
sete dl
mov eax, edx
ret
Function at 0x494110
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
lea eax, [esp]
mov dword [esp], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x494147
cmp dword [esp + 4], 5
jb 0x494147
cmp dword [esp + 0x10], 2
jne 0x494147
mov eax, 1
add esp, 0x94
ret
xor eax, eax
add esp, 0x94
ret
Function at 0x494b20
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x24]
xor eax, eax
push esi
push edi
mov dword [esp + 0x10], eax
mov esi, dword [0x99b770]
test eax, eax
je 0x494b41
mov esi, dword [0x99a5b0]
test esi, esi
je 0x494ca8
mov edx, dword [0xe6f5d4]
lea eax, [esp + 0x2c]
inc edx
lea ecx, [esp + 0x14]
mov dword [0xe6f5d4], edx
mov edx, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push ecx
push 0
push edx
push eax
push esi
mov dword [esp + 0x44], 0x10
call dword [sym.imp.WSOCK32.dll_recvfrom]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x494bb4
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x494ca8
cmp eax, 0x2746
je 0x494ca8
call fcn.00494520
push eax
push str.NET_GetPacket:__s_n
call fcn.0045b2a0
add esp, 8
jmp 0x494ca8
mov eax, dword [0x99b770]
cmp esi, eax
jne 0x494bc7
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [0x99b7c8]
test ecx, ecx
je 0x494c67
cmp esi, eax
jne 0x494c67
mov ecx, dword [esp + 0x2c]
mov edi, 0x99b754
lea esi, [esp + 0x14]
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x494c67
cmp ebx, 0xa
jl 0x494ca8
mov eax, dword [ebp + 0xc]
cmp byte [eax], 0
jne 0x494ca8
mov cl, byte [eax + 1]
test cl, cl
jne 0x494ca8
mov cl, byte [eax + 2]
test cl, cl
jne 0x494ca8
cmp byte [eax + 3], 1
jne 0x494ca8
mov esi, dword [esp + 0x28]
mov dword [esi], 4
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 4]
mov byte [esi + 4], cl
mov edx, dword [ebp + 0xc]
mov al, byte [edx + 5]
mov byte [esi + 5], al
mov ecx, dword [ebp + 0xc]
mov dl, byte [ecx + 6]
mov byte [esi + 6], dl
mov eax, dword [ebp + 0xc]
mov cl, byte [eax + 7]
mov byte [esi + 7], cl
mov edx, dword [ebp + 0xc]
mov ax, word [edx + 8]
mov word [esi + 0x12], ax
mov dword [ebp + 0x18], 0xa
jmp 0x494c84
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
push ecx
push edx
call fcn.00494820
mov esi, dword [esp + 0x30]
add esp, 8
mov dword [ebp + 0x18], 0
cmp ebx, dword [ebp + 0x10]
jne 0x494cc4
sub esp, 0x14
mov ecx, 5
mov edi, esp
rep movsd dword es:[edi], dword [esi]
call fcn.004701f0
push eax
push str.Oversize_packet_from__s_n
call fcn.0045b2a0
add esp, 0x1c
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 2
mov dword [esp + 0x10], eax
jl 0x494b31
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
pop edi
mov dword [ebp + 0x14], ebx
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0x494ce0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0x10
push ebp
push esi
mov esi, dword [esp + 0x24]
cmp esi, 3
jne 0x494cf6
mov ebp, dword [0x99b770]
jmp 0x494d17
cmp esi, 4
jne 0x494d03
mov ebp, dword [0x99b770]
jmp 0x494d17
cmp esi, 5
je 0x494d11
cmp esi, 6
jne 0x494e04
mov ebp, dword [0x99a5b0]
test ebp, ebp
je 0x494e13
lea eax, [esp + 8]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00494770
mov eax, dword [0x99b7c8]
add esp, 8
test eax, eax
je 0x494dae
cmp esi, 4
jne 0x494dae
mov ax, word [esp + 0xa]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
mov word [0x99a758], ax
mov eax, dword [esp + 0x1c]
mov dword [0x99a754], edx
mov ecx, eax
push edi
mov edx, ecx
mov edi, 0x99a75a
shr ecx, 2
mov byte [0x99a750], 0
mov byte [0x99a751], 0
mov byte [0x99a752], 0
mov byte [0x99a753], 1
rep movsd dword es:[edi], dword [esi]
push 0x10
mov ecx, edx
push 0x99b754
add eax, 0xa
push 0
and ecx, 3
push eax
push 0x99a750
rep movsb byte es:[edi], byte [esi]
push ebp
call dword [sym.imp.WSOCK32.dll_sendto]
mov esi, dword [esp + 0x28]
pop edi
jmp 0x494dc8
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esp + 8]
push 0x10
push eax
push 0
push ecx
push edx
push ebp
call dword [sym.imp.WSOCK32.dll_sendto]
cmp eax, 0xffffffff
jne 0x494e13
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x494e13
cmp eax, 0x2741
jne 0x494deb
cmp esi, 3
je 0x494e13
cmp esi, 6
je 0x494e13
call fcn.00494520
push eax
push str.NET_SendPacket:__s_n
call fcn.0045b2a0
add esp, 8
pop esi
pop ebp
add esp, 0x10
ret
push str.Sys_SendPacket:_bad_address_type
push 0
call fcn.0045b590
add esp, 8
pop esi
pop ebp
add esp, 0x10
ret
Function at 0x494fa0
Capabilities:
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x18
push ebp
mov ebp, dword [esp + 0x24]
push esi
push edi
mov edi, dword [esp + 0x28]
mov eax, 1
test edi, edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
push ebp
je 0x494fd0
push edi
push str.Opening_IP_socket:__s:_i_n
call fcn.0045b2a0
add esp, 0xc
jmp 0x494fdd
push str.Opening_IP_socket:_localhost:_i_n
call fcn.0045b2a0
add esp, 8
push 0x11
push 2
push 2
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x495019
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x273f
je 0x495010
call fcn.00494520
push eax
push str.WARNING:_UDP_OpenSocket:_socket:__s
call fcn.0045b2a0
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
lea eax, [esp + 0xc]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x49504b
call fcn.00494520
push eax
push str.WARNING:_UDP_OpenSocket:_ioctl_FIONBIO:__s_n
call fcn.0045b2a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret
lea ecx, [esp + 0x10]
push 4
push ecx
push 0x20
push 0xffff
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x495081
call fcn.00494520
push eax
push str.WARNING:_UDP_OpenSocket:_setsockopt_SO_BROADCAST:__s_n
call fcn.0045b2a0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
add esp, 0x18
ret
test edi, edi
je 0x4950ac
cmp byte [edi], 0
je 0x4950ac
push str.localhost
push edi
call fcn.00535800
add esp, 8
test eax, eax
je 0x4950ac
lea edx, [esp + 0x14]
push edx
push edi
call fcn.00494880
add esp, 8
jmp 0x4950b4
mov dword [esp + 0x18], 0
cmp ebp, 0xffffffff
jne 0x4950c2
mov word [esp + 0x16], 0
jmp 0x4950ce
push ebp
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x16], ax
lea eax, [esp + 0x14]
push 0x10
push eax
push esi
mov word [esp + 0x20], 2
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x49510b
call fcn.00494520
push eax
push str.WARNING:_UDP_OpenSocket:_bind:__s_n
call fcn.0045b2a0
add esp, 8
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
mov eax, esi
pop edi
pop esi
pop ebp
add esp, 0x18
ret
Function at 0x495540
Capabilities:
Get hostname
Resolve dns

Disassembly:
sub esp, 0x104
lea eax, [esp + 4]
push ebp
push esi
push edi
push pe_nt_image_headers32
push eax
call dword [sym.imp.WSOCK32.dll_gethostname]
cmp eax, 0xffffffff
jne 0x49556d
pop edi
pop esi
pop ebp
add esp, 0x104
jmp dword [sym.imp.WSOCK32.dll_WSAGetLastError]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.WSOCK32.dll_gethostbyname]
mov edi, eax
test edi, edi
jne 0x49558d
pop edi
pop esi
pop ebp
add esp, 0x104
jmp dword [sym.imp.WSOCK32.dll_WSAGetLastError]
mov edx, dword [edi]
push edx
push str.Hostname:__s_n
call fcn.0045b2a0
mov eax, dword [edi + 4]
add esp, 8
mov eax, dword [eax]
test eax, eax
je 0x4955c3
xor esi, esi
push eax
push str.Alias:__s_n
add esi, 4
call fcn.0045b2a0
mov ecx, dword [edi + 4]
add esp, 8
mov eax, dword [esi + ecx]
test eax, eax
jne 0x4955a8
cmp word [edi + 8], 2
jne 0x49565d
xor eax, eax
mov dword [0x99b7bc], eax
mov edx, dword [edi + 0xc]
mov esi, dword [edx]
test esi, esi
je 0x49565d
mov ebp, dword [sym.imp.WSOCK32.dll_ntohl]
cmp eax, 0x10
jge 0x49565d
mov eax, dword [esi]
push eax
call ebp
mov ecx, dword [0x99b7bc]
mov dl, byte [esi]
mov dword [esp + 0xc], eax
mov byte [ecx*4 + 0x99b778], dl
mov dl, byte [esi + 1]
mov byte [ecx*4 + 0x99b779], dl
mov dl, byte [esi + 2]
mov byte [ecx*4 + 0x99b77a], dl
mov dl, byte [esi + 3]
mov byte [ecx*4 + 0x99b77b], dl
mov ecx, eax
xor edx, edx
and ecx, 0xff
mov dl, ah
push ecx
xor eax, eax
xor ecx, ecx
mov al, byte [esp + 0x12]
mov cl, byte [esp + 0x13]
push edx
push eax
push ecx
push str.IP:__i._i._i._i_n
call fcn.0045b2a0
mov eax, dword [0x99b7bc]
add esp, 0x14
inc eax
mov dword [0x99b7bc], eax
mov edx, dword [edi + 0xc]
mov esi, dword [edx + eax*4]
test esi, esi
jne 0x4955e4
pop edi
pop esi
pop ebp
add esp, 0x104
ret
Function at 0x495780
Capabilities:
Create tcp socket
Set socket configuration

Disassembly:
sub esp, 0x14
push esi
push 0x3e8
push 2
push 6
mov dword [esp + 0x10], 1
call dword [sym.imp.WSOCK32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4957c9
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
cmp eax, 0x273f
je 0x4957c2
call fcn.00494520
push eax
push str.WARNING:_IPX_Socket:_socket:__s_n
call fcn.0045b2a0
add esp, 8
xor eax, eax
pop esi
add esp, 0x14
ret
lea eax, [esp + 4]
push eax
push 0x8004667e
push esi
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
cmp eax, 0xffffffff
jne 0x4957f9
call fcn.00494520
push eax
push str.WARNING:_IPX_Socket:_ioctl_FIONBIO:__s_n
call fcn.0045b2a0
add esp, 8
xor eax, eax
pop esi
add esp, 0x14
ret
lea ecx, [esp + 4]
push 4
push ecx
push 0x20
push 0xffff
push esi
call dword [sym.imp.WSOCK32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x49582d
call fcn.00494520
push eax
push str.WARNING:_IPX_Socket:_setsockopt_SO_BROADCAST:__s_n
call fcn.0045b2a0
add esp, 8
xor eax, eax
pop esi
add esp, 0x14
ret
mov eax, dword [esp + 0x1c]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0xe], edx
cmp eax, 0xffffffff
mov word [esp + 8], 6
mov dword [esp + 0xa], ecx
mov word [esp + 0x12], dx
jne 0x495855
mov word [esp + 0x14], cx
jmp 0x495861
push eax
call dword [sym.imp.WSOCK32.dll_htons]
mov word [esp + 0x14], ax
lea eax, [esp + 8]
push 0xe
push eax
push esi
call dword [sym.imp.WSOCK32.dll_bind]
cmp eax, 0xffffffff
jne 0x495895
call fcn.00494520
push eax
push str.WARNING:_IPX_Socket:_bind:__s_n
call fcn.0045b2a0
add esp, 8
push esi
call dword [sym.imp.WSOCK32.dll_closesocket]
xor eax, eax
pop esi
add esp, 0x14
ret
mov eax, esi
pop esi
add esp, 0x14
ret

Function at 0x495b20
Capabilities:
Initialize winsock library

Disassembly:
push 0x99a5b8
push 0x101
call dword [sym.imp.WSOCK32.dll_WSAStartup]
test eax, eax
je 0x495b43
push eax
push str.WARNING:_Winsock_initialization_failed__returned__d_n
call fcn.0045b2a0
add esp, 8
ret
push str.Winsock_Initialized_n
mov dword [0x99b7c4], 1
call fcn.0045b2a0
call fcn.004959d0
push 1
call fcn.004958e0
add esp, 8
ret
Function at 0x499e20
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [0x99bd70]
test eax, eax
je 0x499e55
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x99bd70]
push eax
call dword [sym.imp.USER32.dll_CloseWindow]
mov ecx, dword [0x99bd70]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [0x99bd70], 0
ret

Function at 0x499e60
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [0x99c1f4], eax
mov eax, dword [0x99c1f0]
cmp ecx, eax
je 0x499eda
mov edx, dword [0x99bd70]
mov dword [0x99c1f0], ecx
test edx, edx
je 0x499eda
mov eax, ecx
sub eax, 0
je 0x499ed1
dec eax
je 0x499eae
dec eax
je 0x499ea4
mov dword [esp + 8], ecx
mov dword [esp + 4], str.Invalid_visLevel__d_sent_to_Sys_ShowConsole_n
jmp fcn.00493230
push 6
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret
push 1
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [0x99bd74]
push 0xffff
push 0
push 0xb6
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
ret
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
ret

Function at 0x49a720
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 8]
mov dword [0xe6f534], eax
call fcn.004423d0
mov eax, dword [esp + 4]
test eax, eax
je 0x49a78f
mov eax, dword [0xe6f534]
test eax, eax
jne 0x49a78f
mov eax, dword [0x574b00]
mov dword [0xe6f530], 1
test eax, eax
jne 0x49a7f5
mov eax, dword [0x12ccb10]
test eax, eax
jne 0x49a7f5
mov eax, dword [0xe6f518]
test eax, eax
je 0x49a7f5
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x49a7f5
push str.vid_restart_n
call fcn.0045a1c0
add esp, 4
mov dword [0x574b00], 1
ret
push 0
mov dword [0xe6f530], 0
call fcn.004908e0
mov ecx, dword [0x10aa860]
add esp, 4
mov eax, dword [ecx + 0x20]
test eax, eax
jne 0x49a7cc
mov edx, dword [0x10aa874]
mov eax, dword [edx + 0x20]
test eax, eax
je 0x49a7cc
call fcn.00488410
mov dword [0x99c224], 1
mov eax, dword [0xe6f518]
test eax, eax
je 0x49a83d
mov ecx, dword [eax + 0x20]
test ecx, ecx
je 0x49a83d
mov eax, dword [0xe6f528]
push 6
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsA]
ret
push 1
mov dword [0x574b00], 0
call fcn.004908e0
mov ecx, dword [0xe6f528]
add esp, 4
push ecx
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov edx, dword [0xe6f528]
push 9
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x99c224]
test eax, eax
je 0x49a83d
call fcn.00488460
mov dword [0x99c224], 0
ret
Function at 0x49b240
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [0x99c218]
test eax, eax
jne 0x49b285
mov eax, dword [0x99c21c]
test eax, eax
jne 0x49b285
mov eax, dword [0xe6f52c]
push 0
push eax
push 0x49b000
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
test eax, eax
mov dword [0x99c20c], eax
je 0x49b27b
mov dword [0x99c218], 1
ret
mov dword [0x99c21c], 1
ret
Function at 0x4b34e0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x4b3513
push esi
call fcn.004e5330
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x4b350c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x4b3549
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x4b353b
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x2d
mov edx, dword [esi]
call dword [edx]
add esp, 4
mov eax, dword [esi + 0x90]
mov dword [esi + 0x98], eax
jmp 0x4b3569
cmp eax, 0xcc
je 0x4b3569
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x11
mov edx, dword [esi]
mov eax, dword [esi + 0x10]
mov dword [edx + 0x18], eax
mov ecx, dword [esi]
call dword [ecx]
add esp, 4
cmp dword [esi + 0x10], 0xcc
je 0x4b358f
mov edx, dword [esi + 0x1a0]
push esi
call dword [edx]
add esp, 4
mov dword [esi + 0x8c], 0
mov dword [esi + 0x10], 0xcc
mov eax, dword [esi + 0x1a0]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x4b35ba
mov ecx, dword [esi]
push esi
mov dword [ecx + 0x14], 0x2d
mov edx, dword [esi]
call dword [edx]
mov eax, dword [esi + 0x1a0]
add esp, 4
mov ecx, dword [eax + 8]
test ecx, ecx
jne 0x4b359c
mov edx, dword [esi + 0x44]
xor ecx, ecx
test edx, edx
setne cl
add ecx, 0xcd
mov eax, 1
mov dword [esi + 0x10], ecx
pop esi
ret
Function at 0x4b3ad0
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x16e0b3c]
sub esp, 0x694
test eax, eax
je 0x4b3c66
mov eax, dword [0x16dd29c]
mov ecx, dword [eax + 0x20]
test ecx, ecx
jne 0x4b3c66
mov eax, dword [0x160cc04]
test eax, eax
je 0x4b3c66
push ebp
mov ebp, dword [esp + 0x6a4]
push esi
mov esi, dword [esp + 0x6a4]
push edi
mov edi, dword [esp + 0x6a4]
xor eax, eax
sub edi, esi
sub ebp, esi
movzx cx, byte [edi + esi]
xor edx, edx
mov dh, cl
or edx, ecx
movzx cx, byte [esi]
mov word [esp + eax*2 + 0xa0], dx
xor edx, edx
mov dh, cl
or edx, ecx
movzx cx, byte [esi + ebp]
mov word [esp + eax*2 + 0x2a0], dx
xor edx, edx
mov dh, cl
or edx, ecx
mov word [esp + eax*2 + 0x4a0], dx
inc eax
inc esi
cmp eax, 0x100
jl 0x4b3b1e
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [esp + 0x10], 5
jne 0x4b3be1
cmp dword [esp + 0x1c], 2
jne 0x4b3be1
push str.performing_W2K_gamma_clamp._n
call fcn.0045b480
add esp, 4
lea esi, [esp + 0x19e]
mov edi, 3
push ebx
xor edx, edx
mov eax, 0x8000
lea ecx, [esi - 0xfe]
xor ebx, ebx
mov bx, word [ecx]
cmp ebx, eax
jle 0x4b3bb9
lea ebx, [edx - 0x80]
shl ebx, 8
mov word [ecx], bx
add eax, 0x100
inc edx
add ecx, 2
cmp eax, 0x10000
jl 0x4b3ba7
cmp word [esi], 0xfe00
jbe 0x4b3bd5
mov word [esi], 0xfe00
add esi, 0x200
dec edi
jne 0x4b3b9a
pop ebx
jmp 0x4b3bee
push str.skipping_W2K_gamma_clamp._n
call fcn.0045b480
add esp, 4
lea esi, [esp + 0xa2]
mov edi, 3
mov eax, esi
mov edx, 0xff
mov cx, word [eax - 2]
cmp word [eax], cx
jae 0x4b3c0d
mov word [eax], cx
add eax, 2
dec edx
jne 0x4b3c01
add esi, 0x200
dec edi
jne 0x4b3bfa
mov eax, dword [0x16dd084]
pop edi
pop esi
pop ebp
test eax, eax
je 0x4b3c40
mov edx, dword [0x160cc04]
lea ecx, [esp + 0x94]
push ecx
push edx
call eax
add esp, 0x694
ret
mov ecx, dword [0x160cc04]
lea eax, [esp + 0x94]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetDeviceGammaRamp]
test eax, eax
jne 0x4b3c66
push str.SetDeviceGammaRamp_failed._n
call fcn.0045b2a0
add esp, 4
add esp, 0x694
ret