joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4af8f4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffec
mov esi, edx
mov edi, eax
cmp dword [esi + 8], 1
jne 0x4afa8a
cmp dword [esi], 0x501
jne 0x4af918
mov ebx, 0x544420
jmp 0x4af91d
mov ebx, 0x5433fc
mov dword [esp], 0x10
mov eax, 0x1020
push esp
lea edx, [esp + 8]
push edx
push 0
push eax
lea eax, [ebx + 4]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x4af990
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2745
je 0x4af95b
cmp eax, 0x274a
jne 0x4afa8a
inc dword [0x53d91c]
cmp dword [0x53d91c], 0x64
jle 0x4afa8a
xor eax, eax
mov dword [0x53d91c], eax
push 0
push 0
push 0x635
mov eax, edi
call fcn.0045de44
push eax
call sub.user32.dll_PostMessageA
jmp 0x4afa8a
xor edx, edx
mov dword [0x53d91c], edx
mov edx, dword [0x540dac]
cmp byte [edx], 0
jne 0x4af9b9
mov dword [0x5433fc], 0xffffffff
mov dword [0x544420], 0xffffffff
jmp 0x4af9c9
mov edx, dword [esp + 8]
cmp edx, dword [0x5433ac]
jne 0x4af909
test eax, eax
jle 0x4afa8a
lea ebp, [ebx + 4]
cmp eax, 0x20
jl 0x4af909
cmp dword [ebp], 0x13572469
jne 0x4af909
cmp eax, dword [ebp + 4]
jl 0x4af909
mov edx, dword [ebp + 4]
mov eax, ebp
call fcn.00471104
test al, 0xff
jne 0x4afa8a
mov eax, dword [ebp + 8]
mov edx, eax
sub edx, dword [ebx]
test edx, edx
jle 0x4afa8a
mov dword [ebx], eax
mov al, byte [ebp + 0xd]
sub al, 0xa
je 0x4afa22
sub al, 2
je 0x4afa35
jmp 0x4af909
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov edx, ebp
call fcn.004e0a18
jmp 0x4af909
cmp byte [ebp + 0xc], 0xd2
je 0x4afa49
mov eax, dword [0x540dac]
cmp byte [eax], 4
jne 0x4af909
add dword [0x53d8fc], 1
adc dword [0x53d900], 0
mov eax, dword [0x54087c]
cmp dword [eax + 4], 0
jne 0x4afa6d
cmp dword [eax], 0
jbe 0x4af909
jmp 0x4afa73
jle 0x4af909
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov ecx, dword [esp + 8]
mov edx, ebp
call fcn.004de3dc
jmp 0x4af909
add esp, 0x14
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4afab4
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffe8
mov edi, ecx
mov esi, edx
mov dword [esp], eax
cmp dword [edi + 8], 1
jne 0x4afc48
mov dword [esp + 4], 0x10
mov eax, 0x1020
lea edx, [esp + 4]
push edx
lea edx, [esp + 0xc]
push edx
push 0
push eax
lea eax, [esi + 0x14]
push eax
mov eax, dword [edi + 4]
push eax
call sub.wsock32.dll_recvfrom
cmp eax, 0xffffffff
jne 0x4afb46
call sub.wsock32.dll_WSAGetLastError
cmp eax, 0x2745
je 0x4afb0f
cmp eax, 0x274a
jne 0x4afc48
inc dword [0x53d91c]
cmp dword [0x53d91c], 0x64
jle 0x4afc48
xor eax, eax
mov dword [0x53d91c], eax
push 0
push 0
push 0x635
mov eax, dword [esp + 0xc]
call fcn.0045de44
push eax
call sub.user32.dll_PostMessageA
jmp 0x4afc48
xor edx, edx
mov dword [0x53d91c], edx
mov edx, dword [0x540dac]
cmp byte [edx], 0
jne 0x4afb75
mov edx, dword [0x5433b4]
mov dword [edx + 0x10], 0xffffffff
mov edx, dword [0x5433b8]
mov dword [edx + 0x10], 0xffffffff
jmp 0x4afb85
mov edx, dword [esp + 0xc]
cmp edx, dword [0x5433ac]
jne 0x4afacc
test eax, eax
jle 0x4afc48
lea ebx, [esi + 0x14]
cmp eax, 8
jl 0x4afacc
cmp dword [ebx], 0x13572469
jne 0x4afacc
mov ebp, dword [ebx + 4]
cmp eax, ebp
jl 0x4afacc
mov edx, ebp
mov eax, ebx
call fcn.00471104
test al, 0xff
jne 0x4afc48
mov eax, dword [ebx + 8]
mov edx, eax
sub edx, dword [esi + 0x10]
test edx, edx
jle 0x4afc48
mov dword [esi + 0x10], eax
mov al, byte [ebx + 0xd]
sub al, 0xa
je 0x4afbe0
sub al, 2
je 0x4afbf3
jmp 0x4afacc
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov edx, ebx
call fcn.004e0a18
jmp 0x4afacc
cmp byte [ebx + 0xc], 0xd2
je 0x4afc07
mov eax, dword [0x540dac]
cmp byte [eax], 4
jne 0x4afacc
add dword [0x53d8fc], 1
adc dword [0x53d900], 0
mov eax, dword [0x54087c]
cmp dword [eax + 4], 0
jne 0x4afc2b
cmp dword [eax], 0
jbe 0x4afacc
jmp 0x4afc31
jle 0x4afacc
mov eax, dword [0x5405a0]
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
mov edx, ebx
call fcn.004de3dc
jmp 0x4afacc
add esp, 0x18
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4afe54
Capabilities:
Create udp socket
Initialize winsock library
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4affce
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [esi + 0xc], 0xffffffff
jne 0x4affb8
lea eax, [esi + 4]
mov edx, dword [ebp - 4]
call fcn.0040460c
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 0x10], 0xffffffff
cmp byte [0x53d918], 0
jne 0x4afec8
lea eax, [ebp - 0x1b8]
push eax
push 0x202
call sub.wsock32.dll_WSAStartup
test eax, eax
jne 0x4affb8
mov byte [0x53d918], 1
push 0
push 2
push 2
call sub.wsock32.dll_socket
mov ebx, eax
test ebx, ebx
jl 0x4affb8
mov dword [ebp - 0xc], 1
push 4
lea eax, [ebp - 0xc]
push eax
push 4
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
test eax, eax
jl 0x4affb8
mov word [ebp - 0x28], 2
mov ax, word [esi + 8]
push eax
call sub.wsock32.dll_htons
mov word [ebp - 0x26], ax
xor eax, eax
mov dword [ebp - 0x24], eax
push 0x10
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.wsock32.dll_bind
test eax, eax
jge 0x4aff33
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4affb8
mov eax, dword [esi + 4]
call fcn.00404a84
push eax
call sub.wsock32.dll_inet_addr
mov dword [ebp - 0x14], eax
push 0
call sub.wsock32.dll_htonl
mov dword [ebp - 0x10], eax
push 8
lea eax, [ebp - 0x14]
push eax
push 5
push 0
push ebx
call sub.wsock32.dll_setsockopt
test eax, eax
jge 0x4aff6a
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4affb8
mov dword [ebp - 0x18], 0x20000
push 4
lea eax, [ebp - 0x18]
push eax
push 0x1002
push 0xffff
push ebx
call sub.wsock32.dll_setsockopt
inc eax
jne 0x4aff92
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4affb8
push 0x23
push edi
mov eax, dword [0x54339c]
call fcn.0045de44
push eax
push ebx
call sub.wsock32.dll_WSAAsyncSelect
inc eax
jne 0x4affb1
push ebx
call sub.wsock32.dll_closesocket
jmp 0x4affb8
mov dword [esi + 0xc], ebx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4affd5
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x4b1370
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x4b1378
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
xor eax, eax
push ebp
push 0x4b14dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x4b14c1
mov eax, dword [ebp - 0xc]
call fcn.00408d98
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
lea eax, [ebp - 0xc]
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4b14b9
test ebx, ebx
je 0x4b14b9
test esi, esi
jne 0x4b14ae
lea edx, [ebp - 0x10]
lea eax, [ebx + 8]
call fcn.00409f74
lea edx, [ebp - 0x18]
mov eax, 0x15
call fcn.004ab8a8
push dword [ebp - 0x18]
push dword [ebp - 0x10]
lea edx, [ebp - 0x1c]
mov eax, 0x17
call fcn.004ab8a8
push dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.0040494c
lea ecx, [ebp - 0x20]
mov edx, 0x4b14f8
mov eax, dword [ebp - 0x14]
call fcn.0046c538
mov edx, dword [ebp - 0x20]
mov eax, edi
call fcn.0040460c
lea eax, [edi + 4]
lea edx, [ebx + 0x1b0]
mov ecx, 0x10
call fcn.00404820
lea eax, [edi + 8]
lea edx, [ebx + 0x1c0]
mov ecx, 0x10
call fcn.00404820
lea eax, [edi + 0xc]
lea edx, [ebx + 0x1d8]
mov ecx, 0x10
call fcn.00404820
lea eax, [edi + 0x10]
call fcn.004045b8
xor esi, esi
lea ecx, [ebp - 0x24]
xor eax, eax
mov al, byte [ebx + esi + 0x194]
mov edx, 2
call fcn.00409454
mov edx, dword [ebp - 0x24]
lea eax, [edi + 0x10]
call fcn.00404894
inc esi
cmp esi, 6
jne 0x4b1481
mov byte [ebp - 1], 1
jmp 0x4b14b9
dec esi
mov ebx, dword [ebx]
test ebx, ebx
jne 0x4b13e1
mov eax, dword [ebp - 8]
call fcn.004027dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b14e3
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004045dc
ret

Function at 0x4b1a08
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403098
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 0x101
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push edi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4b1a83
cmp byte [ebp + 0xc], 0
je 0x4b1a81
jmp 0x4b1a7b
push 0x64
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4b1a81
cmp byte [esi + 0xd], 0
je 0x4b1a69
mov bl, 1
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4b36a4
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov byte [ebp - 9], cl
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
mov eax, dword [ebp - 8]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4b3890
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 0xa], 0
mov eax, dword [ebp - 4]
call fcn.0046de04
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4b3868
mov eax, ebx
call fcn.00472154
fstp qword [ebp - 0x18]
wait
mov eax, dword [ebp - 8]
call fcn.0046de04
cmp eax, 0xffffffff
je 0x4b371c
call fcn.00472154
fstp qword [ebp - 0x20]
wait
jmp 0x4b3724
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
fld qword [ebp - 0x18]
fsub qword [ebp - 0x20]
fabs
fstp qword [0x545654]
wait
fld xword [0x4b38a4]
fcomp qword [0x545654]
fnstsw ax
sahf
jae 0x4b377b
mov edx, 0x20
mov eax, dword [ebp - 8]
call fcn.0040986c
push 0
lea eax, [ebp - 8]
call fcn.00404adc
push eax
lea eax, [ebp - 4]
call fcn.00404adc
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
je 0x4b3868
mov byte [ebp - 0xa], 2
jmp 0x4b3868
cmp byte [ebp - 9], 0
je 0x4b3864
mov dl, 1
mov eax, dword [0x414ebc]
call fcn.0040377c
mov esi, eax
mov dl, 1
mov eax, dword [0x414ebc]
call fcn.0040377c
mov edi, eax
push 0xa
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 4]
call fcn.00404e90
mov eax, dword [ebp - 0x24]
push eax
push esi
call fcn.0046df20
test al, al
je 0x4b3850
push 0xa
lea eax, [ebp - 0x28]
mov edx, dword [ebp - 8]
call fcn.00404e90
mov eax, dword [ebp - 0x28]
push eax
push edi
call fcn.0046df20
test al, al
je 0x4b3850
mov eax, esi
call fcn.004196f0
push edx
push eax
mov eax, edi
call fcn.004196f0
cmp edx, dword [esp + 4]
jne 0x4b37f4
cmp eax, dword [esp]
pop edx
pop eax
jne 0x4b3810
mov eax, esi
call fcn.004196f0
mov ecx, eax
mov edx, dword [edi + 4]
mov eax, dword [esi + 4]
call fcn.00471e90
test eax, eax
je 0x4b384a
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 8]
call fcn.00404e90
mov eax, dword [ebp - 0x2c]
push eax
push esi
call fcn.0046de68
test al, al
je 0x4b3844
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 8]
call fcn.00404e90
mov eax, dword [ebp - 0x30]
mov edx, ebx
call fcn.00470bcc
mov byte [ebp - 0xa], 2
jmp 0x4b3854
mov byte [ebp - 0xa], 0
jmp 0x4b3854
mov byte [ebp - 0xa], 1
jmp 0x4b3854
mov byte [ebp - 0xa], 0
mov eax, esi
call fcn.004037ac
mov eax, edi
call fcn.004037ac
jmp 0x4b3868
mov byte [ebp - 0xa], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b3897
lea eax, [ebp - 0x30]
mov edx, 4
call fcn.00404d08
lea eax, [ebp - 8]
mov edx, 2
call fcn.004045dc
ret
Function at 0x4b4f94
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00405258
xor eax, eax
push ebp
push 0x4b512e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x53d964]
cmp eax, 1
sete byte [ebp - 0xb]
test eax, eax
jne 0x4b5110
mov dword [0x53d964], 0xffffffff
mov byte [0x53d968], 0
call sub.winmm.dll_waveInGetNumDevs
mov ebx, eax
test ebx, ebx
jle 0x4b5110
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1d]
mov ecx, dword [ebp + 0xc]
mov dx, word [ebp - 0xa]
call fcn.004b4f4c
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00404fc8
je 0x4b5071
mov edi, 2
dec ebx
test ebx, ebx
jl 0x4b508f
inc ebx
xor esi, esi
push 0x54
lea eax, [ebp - 0x74]
push eax
push esi
call sub.winmm.dll_waveInGetDevCapsW
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x6c]
mov ecx, 0x20
call fcn.00404e74
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 8]
call fcn.00404fc8
jne 0x4b506b
push 0x30000
push 0
push 0x4b4f04
lea eax, [ebp - 0x1d]
push eax
push esi
push 0x5457d4
call sub.winmm.dll_waveInOpen
mov edi, eax
jmp 0x4b508f
inc esi
dec ebx
jne 0x4b5023
jmp 0x4b508f
push 0x30000
push 0
push 0x4b4f04
lea eax, [ebp - 0x1d]
push eax
push 0xffffffffffffffff
push 0x5457d4
call sub.winmm.dll_waveInOpen
mov edi, eax
test edi, edi
jne 0x4b5110
mov eax, dword [ebp - 4]
mov dword [0x53d974], eax
mov esi, 5
mov ebx, 0x5457dc
mov edi, 0x545878
movzx eax, word [ebp - 0xa]
imul eax, eax, 0x780
imul dword [ebp + 0xc]
mov ecx, 0x15888
xor edx, edx
div ecx
mov dword [ebx], eax
mov eax, edi
mov dword [ebx - 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
push 0x20
lea eax, [ebx - 4]
push eax
mov eax, dword [0x5457d4]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x4b5110
push 0x20
lea eax, [ebx - 4]
push eax
mov eax, dword [0x5457d4]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x4b5110
add edi, 0x780
add ebx, 0x20
dec esi
jne 0x4b50aa
mov dword [0x53d964], 1
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b5135
lea eax, [ebp - 0x78]
call fcn.00404cf0
lea eax, [ebp - 8]
call fcn.00404cf0
ret

Function at 0x4b57f4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push esp
push 0x208
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404e74
add esp, 0x208
pop ebx
ret

Function at 0x4b77ac
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x54057c]
mov dword [eax], 0x3ef
mov eax, dword [ebx + 0x314]
test eax, eax
je 0x4b77cf
cmp byte [eax + 0x57], 0
jne 0x4b77cf
call fcn.00446060
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00448f98
push 0
mov eax, dword [0x540b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004b7d7c
mov eax, dword [0x54057c]
xor edx, edx
mov dword [eax], edx
pop ebx
ret
Function at 0x4b8538
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x54057c]
mov dword [eax], 0x3f6
cmp dword [0x53d9b8], 0
jne 0x4b856c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4b4ad0]
call fcn.00441e24
mov dword [0x53d9b8], eax
mov eax, dword [0x53d9b8]
call fcn.004b4d20
mov eax, dword [0x53d9b8]
call fcn.00446060
mov eax, dword [0x53d9b8]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xc0]
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00448f98
push 0
mov eax, dword [0x540b3c]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004b7d7c
mov eax, dword [0x54057c]
xor edx, edx
mov dword [eax], edx
pop ebx
ret

Function at 0x4b89cc
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
mov byte [ebp - 1], cl
mov edi, edx
mov esi, eax
mov eax, dword [0x54057c]
mov dword [eax], 0x3fe
xor ebx, ebx
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00403098
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 0x101
mov ax, word [ebp + 8]
mov word [ebp - 0x18], ax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push edi
push 0
push 0
push 0xffffffffffffffff
push 0
push 0
push esi
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
je 0x4b8a5e
cmp byte [ebp - 1], 0
je 0x4b8a5c
jmp 0x4b8a53
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00449300
push 0x64
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_WaitForSingleObject
cmp eax, 0x102
jne 0x4b8a5c
cmp byte [0x53d99c], 0
je 0x4b8a35
mov bl, 1
mov eax, dword [0x54057c]
xor edx, edx
mov dword [eax], edx
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4c2038
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4c2040
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4c2232
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x4c2248
mov eax, esi
call fcn.004bfdc8
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.0040460c
lea ecx, [ebp - 0x10]
mov edx, 0x4c225c
mov eax, esi
call fcn.004bfdc8
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.0040460c
lea ecx, [ebp - 0x14]
mov edx, 0x4c2274
mov eax, esi
call fcn.004bfdc8
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.0040460c
lea ecx, [ebp - 0x18]
mov edx, 0x4c2290
mov eax, esi
call fcn.004bfdc8
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.0040460c
lea ecx, [ebp - 0x1c]
mov edx, 0x4c22ac
mov eax, esi
call fcn.004bfdc8
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.0040460c
lea ecx, [ebp - 0x24]
mov edx, 0x4c22c4
mov eax, esi
call fcn.004bfdc8
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040906c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.004094cc
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4c22dc
mov eax, esi
call fcn.004bfdc8
mov eax, dword [ebp - 0x28]
call fcn.004beee0
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4c22ec
mov eax, esi
call fcn.004bfdc8
mov eax, dword [ebp - 0x2c]
call fcn.004beee0
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4c2304
mov eax, esi
call fcn.004bfdc8
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.004094cc
inc eax
je 0x4c21d5
lea ecx, [ebp - 0x34]
mov edx, 0x4c2304
mov eax, esi
call fcn.004bfdc8
mov eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x40]
mov edx, 0x4c2304
mov eax, esi
call fcn.004bfdc8
mov eax, dword [ebp - 0x40]
call fcn.004beee0
fstp qword [ebx + 0x38]
wait

Function at 0x4ce3fc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x4ce456
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.004ce3ec
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.004bdb4c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.004bd74c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ce45d
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x4d190c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404a74
xor eax, eax
push ebp
push 0x4d19d5
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov dl, 1
mov eax, dword [0x4d17a0]
call fcn.0041f2ec
mov ebx, eax
mov byte [ebx + 0xf], 1
lea eax, [ebx + 0x38]
mov edx, dword [ebp - 4]
call fcn.0040460c
xor eax, eax
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x40], esi
call sub.kernel32.dll_GetTickCount
mov edi, eax
mov byte [ebx + 0x3c], 1
mov byte [ebx + 0x3d], 0
mov eax, ebx
call fcn.0041f638
jmp 0x4d199c
call sub.kernel32.dll_GetTickCount
sub eax, edi
lea edx, [esi + 0x7d0]
cmp eax, edx
ja 0x4d19a2
cmp byte [ebp + 8], 0
jne 0x4d1995
mov eax, dword [0x540b3c]
mov eax, dword [eax]
call fcn.00449300
push 1
call sub.kernel32.dll_Sleep
cmp byte [ebx + 0x3c], 1
je 0x4d1972
cmp byte [ebx + 0x3c], 2
sete byte [ebp - 9]
cmp byte [ebp - 9], 0
je 0x4d19bb
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x34]
call fcn.0040460c
mov byte [ebx + 0x3d], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d19dc
lea eax, [ebp - 4]
call fcn.004045b8
ret
Function at 0x4d3228
Capabilities:
Delete registry value
Set registry value

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffeb8
mov ebx, ecx
mov ebp, edx
mov esi, eax
xor edi, edi
push edi
lea eax, [esp + 8]
push eax
mov ecx, 0x4d344c
mov edx, 0x4d3450
mov eax, esi
call fcn.004d2f20
test al, al
jne 0x4d325c
xor eax, eax
jmp 0x4d3440
lea eax, [esp + 0xac]
xor ecx, ecx
mov edx, 0x9c
call fcn.00407bfc
mov word [esp + 0xd0], 0x9c
mov word [esp + 0xd2], 0
lea eax, [esp + 0xac]
push eax
mov eax, dword [0x53e21c]
push eax
push 0
call sub.user32.dll_EnumDisplaySettingsA
mov dword [esp + 0xd4], 0x1c0000
test ebx, ebx
je 0x4d32e0
or dword [esp + 0xd4], 0x20
mov eax, dword [ebx]
lea edx, [esp + 0xd8]
mov dword [edx], eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0xd8]
mov dword [edx + 4], eax
mov eax, dword [ebx + 8]
sub eax, dword [ebx]
mov dword [esp + 0x118], eax
mov eax, dword [ebx + 0xc]
sub eax, dword [ebx + 4]
mov dword [esp + 0x11c], eax
lea eax, [esp + 0xac]
xor ecx, ecx
mov edx, 0x20
call fcn.00403098
mov edx, 0x4d3460
mov eax, esi
call fcn.004d313c
mov ebx, eax
test ebx, ebx
jne 0x4d330c
xor eax, eax
jmp 0x4d3440
push 0x4d346c
push ebx
call sub.advapi32.dll_RegDeleteValueA
push 0x4d3480
push ebx
call sub.advapi32.dll_RegDeleteValueA
test ebp, ebp
je 0x4d332f
mov dword [esp], 3
jmp 0x4d3334
xor eax, eax
mov dword [esp], eax
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4d3490
push ebx
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4d3355
xor eax, eax
jmp 0x4d3440
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4d34a4
push ebx
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4d337d
xor eax, eax
jmp 0x4d3440
mov dword [esp], 1
push 4
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x4d34c0
push ebx
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x4d33a5
xor eax, eax
jmp 0x4d3440
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
call sub.user32.dll_GetThreadDesktop
mov ebp, eax
xor edi, edi
test ebp, ebp
je 0x4d33d2
push 0x2000000
push 0
push 0
call sub.user32.dll_OpenInputDesktop
mov edi, eax
test edi, edi
je 0x4d33d2
push edi
call sub.user32.dll_SetThreadDesktop
cmp dword [esp + 0x114], 0x18
jne 0x4d33e7
mov dword [esp + 0x114], 0x20
push 0
push 1
push 0
lea eax, [esp + 0xb8]
push eax
lea eax, [esp + 0x18]
push eax
call sub.user32.dll_ChangeDisplaySettingsExA
push esi
push edi
lea edi, [esi + 4]
lea esi, [esp + 0xb4]
mov ecx, 0x27
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [esi + 0xa0]
lea edx, [esp + 8]
mov ecx, 0x20
call fcn.00404820
push ebp
call sub.user32.dll_SetThreadDesktop
test edi, edi
je 0x4d3438
push edi
call sub.user32.dll_CloseDesktop
push ebx
call sub.advapi32.dll_RegCloseKey_1
mov al, 1
add esp, 0x148
pop ebp
pop edi
pop esi
pop ebx
ret