joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4548c0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4ac913
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0049fc10
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.004a52a8
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.004a67c4
test eax, eax
je 0x4549dc
mov ecx, dword [esp + 0x3c]
call fcn.004a52d5
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x4549a0
push edi
mov ecx, esi
call fcn.004a293e
mov ecx, esi
call fcn.00454b80
cmp dword [esp + 0x38], 1
jne 0x4549d5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.004a2a79
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x456bd0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x456c03
push esi
call fcn.00464f80
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x456bfc
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 0x456c89
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x456c72
mov eax, dword [esi + 8]
test eax, eax
je 0x456c27
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x456c6e
cmp eax, 2
je 0x456c72
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x456c1a
cmp eax, 3
je 0x456c4d
cmp eax, 1
jne 0x456c1a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x456c1a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x456c1a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00456cb0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x456c98
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00456cb0
add esp, 4
pop esi
ret

Function at 0x457520
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x457541
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x457541
mov eax, dword [eax + 0x44]
test eax, eax
je 0x457541
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x4729b0
Capabilities:
Capture webcam image

Disassembly:
mov eax, dword [esp + 8]
push ebx
push esi
mov esi, ecx
mov eax, dword [eax + 4]
cmp dword [esi + 0xec], 1
jne 0x472a53
test eax, eax
jbe 0x472a53
mov ecx, dword [esi + 0xbc]
test ecx, ecx
jle 0x472a53
mov ecx, dword [esi + 0x1c]
push edi
push 0
push eax
push 0x419
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
mov eax, dword [esi + 0xbc]
inc edi
test eax, eax
jne 0x4729fe
xor esi, esi
jmp 0x472a04
mov esi, dword [esi + 0xb4]
add esi, 4
xor ebx, ebx
test edi, edi
jbe 0x472a2f
push ebp
mov ebp, edi
add esi, 6
push esi
call fcn.004762e0
add esi, eax
push esi
mov ebx, esi
call fcn.004762e0
add esp, 8
add esi, eax
dec edi
dec ebp
jne 0x472a10
pop ebp
test edi, edi
pop edi
jne 0x472a53
test ebx, ebx
je 0x472a53
mov edx, dword [esp + 0x10]
push 0x4e
add edx, 0x10
push ebx
push edx
call fcn.0048e7a0
add esp, 0xc
mov eax, 1
pop esi
pop ebx
ret 0xc
pop esi
xor eax, eax
pop ebx
ret 0xc
Function at 0x472bb5
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x472ccd
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x472ccd
mov eax, dword [esi + 0x3c]
push eax
call fcn.004a0062
mov esi, eax
test esi, esi
je 0x472ccd
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x472ccd
mov ecx, esi
call fcn.00472b40
cmp edi, eax
jge 0x472ccd
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x472c53
mov dword [esp + 0x34], 1
jmp 0x472cae
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x472ccd
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.004720a0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x479170
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ecx
mov eax, dword [0x4fdfcc]
xor edx, edx
cmp eax, edx
jne 0x479196
xor eax, eax
mov byte [eax + 0x4fdecc], al
inc eax
cmp eax, 0x100
jl 0x47917e
mov dword [0x4fdfcc], 1
mov eax, dword [esp + 0xc]
push ebx
mov ebx, dword [esp + 0x14]
push esi
push edi
mov ecx, 0x40
mov esi, 0x4fdecc
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
cmp eax, edx
mov byte [ebx + 0x100], dl
mov byte [ebx + 0x101], dl
jle 0x479227
xor esi, esi
push ebp
mov byte [esp + 0x20], dl
xor ecx, ecx
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
mov al, byte [esi + ebx]
and edi, 0xff
xor edx, edx
mov dl, byte [edi + ebp]
mov ebp, eax
and ebp, 0xff
add ecx, edx
add ecx, ebp
and ecx, 0x800000ff
jns 0x4791fa
dec ecx
or ecx, 0xffffff00
inc ecx
mov byte [esp + 0x10], cl
mov ecx, dword [esp + 0x10]
and ecx, 0xff
mov dl, byte [ecx + ebx]
mov byte [esi + ebx], dl
mov byte [ecx + ebx], al
lea eax, [edi + 1]
cdq
idiv dword [esp + 0x1c]
inc esi
cmp esi, 0x100
mov byte [esp + 0x20], dl
jl 0x4791c8
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x479230
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov cl, byte [eax + 0x100]
mov dl, byte [eax + 0x101]
mov dword [ebp - 8], eax
mov byte [ebp - 1], cl
mov byte [ebp - 2], dl
xor ebx, ebx
mov bl, byte [ebp - 1]
xor edx, edx
mov dl, byte [ebp - 2]
mov esi, dword [ebp - 8]
mov edi, dword [ebp + 8]
xor eax, eax
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jle 0x479283
inc bl
mov al, byte [esi + ebx]
add dl, al
xchg byte [esi + edx], al
mov byte [esi + ebx], al
add al, byte [esi + edx]
mov al, byte [esi + eax]
xor byte [edi], al
inc edi
dec ecx
jne 0x47926a
mov byte [ebp - 1], bl
mov byte [ebp - 2], dl
mov eax, dword [ebp + 0x10]
mov cl, byte [ebp - 1]
mov dl, byte [ebp - 2]
pop edi
pop esi
mov byte [eax + 0x100], cl
mov byte [eax + 0x101], dl
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x47fc30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ad1ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.00480550
push 0x10
mov dword [esp + 0x18], 0
mov dword [edi], 0x4ba73c
call fcn.0049e378
mov esi, eax
add esp, 4
mov dword [esp + 0x20], esi
mov al, 1
test esi, esi
mov byte [esp + 0x14], al
je 0x47fcc3
push 4
mov byte [esi + 8], al
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0049e378
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov byte [esp + 0x14], 2
je 0x47fcbc
push 0
mov ecx, eax
call fcn.00476da0
mov dword [esi + 0xc], eax
jmp 0x47fcc5
xor eax, eax
mov dword [esi + 0xc], eax
jmp 0x47fcc5
xor esi, esi
mov ecx, dword [esp + 0xc]
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], 0
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 8

Function at 0x4a0a05
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4a0a3d
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.0049ea92
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0049ea6a
jmp 0x4a0a49
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4a20f3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x4a2135
call fcn.004a7bb4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x4a2135
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4a212c
xor eax, eax
jmp 0x4a213d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.004a2143
pop edi
pop esi
pop ebx
ret 4
Function at 0x4a80e4
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4a8112
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4a8130
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.004a804a
jmp 0x4a8130
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4a8130
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.004a804a
test edi, edi
mov eax, edi
jne 0x4a811a
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x401559
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c8
mov dword [ebp - 0xc], 0x200
mov dword [esp], str._n____Initialising_Winsock..._n
call sym._printf
lea eax, [ebp - 0x1a0]
mov dword [esp + 4], eax
mov dword [esp], 0x202
mov eax, dword [sym.imp.WS2_32.dll_WSAStartup]
call eax
sub esp, 8
test eax, eax
je 0x4015b5
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Failed._Error_Code_:__d
call sym._printf
mov eax, 1
jmp 0x4016e9
mov dword [esp], str.____Initialised._n
call sym._printf
mov dword [esp + 8], 0
mov dword [esp + 4], 1
mov dword [esp], 2
mov eax, dword [sym.imp.WS2_32.dll_socket]
call eax
sub esp, 0xc
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x401602
mov eax, dword [sym.imp.WS2_32.dll_WSAGetLastError]
call eax
mov dword [esp + 4], eax
mov dword [esp], str.____Could_not_create_socket_:__d
call sym._printf
mov dword [esp], str.____Socket_created._n
call sym._printf
mov dword [esp], str.192.168.167.10
mov eax, dword [sym.imp.WS2_32.dll_inet_addr]
call eax
sub esp, 4
mov dword [ebp - 0x1ac], eax
mov word [ebp - 0x1b0], 2
mov dword [esp], 0x50
mov eax, dword [sym.imp.WS2_32.dll_htons]
call eax
sub esp, 4
mov word [ebp - 0x1ae], ax
mov dword [esp + 8], 0x10
lea eax, [ebp - 0x1b0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_connect]
call eax
sub esp, 0xc
test eax, eax
jns 0x40167f
mov dword [esp], str.____Connect_error
call sym._puts
mov eax, 1
jmp 0x4016e9
mov dword [esp], str.____Connected
call sym._puts
mov dword [esp + 0xc], 0
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
test eax, eax
jns 0x4016c8
mov dword [esp], str.____Send_failed
call sym._puts
mov eax, 1
jmp 0x4016e9
mov dword [esp], str._n____Request_sent_n
call sym._puts
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_closesocket]
call eax
sub esp, 4
mov eax, 0
leave
ret
Function at 0x131421e8
Capabilities:
Allocate or change rwx memory
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
sub ebx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push 0x40
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x13142246
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov al, byte [edx]
mov ecx, esi
shr ecx, 8
xor cl, al
mov byte [edx], cl
and eax, 0xff
add esi, eax
imul esi, dword [ebp + 0x14]
inc dword [ebp - 8]
dec ebx
test ebx, ebx
jne 0x13142213
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
push eax
push ebx
mov eax, dword [ebp + 8]
push eax
call sub.kernel32.dll_VirtualProtect
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0x10
Function at 0x41e750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x13000]
push edi
or ebp, 0xffffffff
jmp 0x41e772
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41e779
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41e768
mov eax, 1
add ebx, ebx
jne 0x41e78b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41e780
jne 0x41e79c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e780
xor ecx, ecx
sub eax, 3
jb 0x41e7b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41e822
mov ebp, eax
add ebx, ebx
jne 0x41e7bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41e7c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41e7ec
inc ecx
add ebx, ebx
jne 0x41e7d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41e7cd
jne 0x41e7e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41e7cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41e80c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41e7fd
jmp 0x41e76e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41e80c
add edi, ecx
jmp 0x41e76e
pop esi
mov edi, esi
mov ecx, 0x685
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41e82a
cmp byte [edi], 5
jne 0x41e82a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x41e82f
lea edi, [esi + 0x1c000]
mov eax, dword [edi]
or eax, eax
je 0x41e89e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e1b8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e1f4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41e85c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e1f8]
or eax, eax
je 0x41e898
mov dword [ebx], eax
add ebx, 4
jmp 0x41e879
call dword [esi + 0x1e208]
mov ebp, dword [esi + 0x1e1fc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1f7]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x41e8d2
sub esp, 0xffffff80
jmp 0x404212
Function at 0x431006
Capabilities:
Encode data using xor

Disassembly:
mov eax, section..3ean
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x431072
nop
nop
mov ebx, 0x40915c
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
mov esi, 0x15382c64
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x431060
nop
nop
nop
nop
mov eax, section..7LWLf
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4310d2
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
mov ecx, ebx
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
nop
mov esi, 0x5c6d1fd3
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x40af60
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
xor edi, edi
mov edx, dword [eax]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 8], edx
mov edx, dword [eax + 4]
mov dword [ebp + 8], edx
mov edx, dword [eax + 8]
mov eax, esi
mov dword [ebp - 0x10], ecx
and eax, 0xff0000
mov ecx, 0x100
mov dword [ebp - 4], edx
mul ecx
mov ecx, esi
push edi
and ecx, 0xff00
push 0x100
add eax, ecx
adc edx, edi
push edx
push eax
call fcn.00471220
and esi, 0xff
xor ecx, ecx
add eax, esi
push 1
adc edx, ecx
push 0x10001
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp + 0x14]
shr edx, 1
push ecx
push edx
mov dword [ebp - 0x20], eax
call fcn.00471220
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edx
movq mm5, qword [ebp - 0x20]
movq mm6, qword [ebp - 0x18]
pxor mm7, mm7
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, eax
movd mm0, dword [esi + eax]
punpcklbw mm0, mm7
movq mm1, mm0
pxor mm0, mm5
psubw mm0, mm1
pmullw mm0, mm6
psraw mm0, 7
paddw mm0, mm1
packuswb mm0, mm7
movd dword [edi + eax], mm0
add eax, 4
dec ecx
jne 0x40b000
add edi, dword [ebp + 0xc]
add esi, dword [ebp + 8]
dec edx
jne 0x40affb
emms
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e050
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], edx
mov edx, dword [eax + 4]
mov dword [ebp + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
pcmpeqw mm6, mm6
psrlw mm6, 9
pxor mm7, mm7
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push esi
push edi
mov edx, dword [ebp - 4]
movd mm0, dword [esi]
movd mm1, dword [edi]
punpcklbw mm0, mm7
punpcklbw mm1, mm7
movq mm4, mm1
pcmpgtw mm4, mm6
movq mm2, mm4
psrlw mm2, 0xf
psllw mm2, 8
pxor mm0, mm4
pxor mm1, mm4
psubw mm0, mm4
psubw mm1, mm4
paddw mm0, mm2
paddw mm1, mm2
paddw mm2, mm4
psllw mm0, 5
psllw mm1, 4
pmulhw mm0, mm1
pxor mm0, mm4
psubw mm0, mm4
paddw mm0, mm2
packuswb mm0, mm7
movd dword [edi], mm0
add edi, 4
add esi, 4
dec edx
jne 0x40e098
pop edi
pop esi
add edi, dword [ebp + 0xc]
add esi, dword [ebp + 8]
dec ecx
jne 0x40e093
emms
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x40e100
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], edx
mov edx, dword [eax + 4]
mov dword [ebp + 8], edx
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], ecx
mov edx, 0x80008000
mov ecx, eax
mul edx
shr ecx, 1
add ecx, eax
adc esi, edx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
movq mm5, qword [ebp - 0x18]
pcmpeqw mm6, mm6
psrlw mm6, 9
pxor mm7, mm7
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push esi
push edi
mov edx, dword [ebp - 4]
movd mm0, dword [esi]
movd mm1, dword [edi]
punpcklbw mm0, mm7
punpcklbw mm1, mm7
movq mm4, mm1
movq mm3, mm1
pcmpgtw mm4, mm6
movq mm2, mm4
psrlw mm2, 0xf
psllw mm2, 8
pxor mm0, mm4
pxor mm1, mm4
psubw mm0, mm4
psubw mm1, mm4
paddw mm0, mm2
paddw mm1, mm2
paddw mm2, mm4
psllw mm0, 5
psllw mm1, 4
pmulhw mm0, mm1
pxor mm0, mm4
psubw mm0, mm4
paddw mm0, mm2
psubw mm0, mm3
pmullw mm0, mm5
psraw mm0, 7
paddw mm0, mm3
packuswb mm0, mm7
movd dword [edi], mm0
add edi, 4
add esi, 4
dec edx
jne 0x40e166
pop edi
pop esi
add edi, dword [ebp + 0xc]
add esi, dword [ebp + 8]
dec ecx
jne 0x40e161
emms
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40e370
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
push esi
push edi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0xc], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 8]
mov dword [ebp - 8], edx
mov edx, dword [eax + 4]
mov dword [ebp + 8], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 4], ecx
mov dword [ebp - 0x10], edx
pcmpeqw mm6, mm6
psrlw mm6, 9
pxor mm7, mm7
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
push esi
push edi
mov edx, dword [ebp - 4]
movd mm0, dword [esi]
movd mm1, dword [edi]
punpcklbw mm0, mm7
punpcklbw mm1, mm7
movq mm4, mm0
pcmpgtw mm4, mm6
movq mm2, mm4
psrlw mm2, 0xf
psllw mm2, 8
pxor mm0, mm4
pxor mm1, mm4
psubw mm0, mm4
psubw mm1, mm4
paddw mm0, mm2
paddw mm1, mm2
paddw mm2, mm4
psllw mm0, 5
psllw mm1, 4
pmulhw mm0, mm1
pxor mm0, mm4
psubw mm0, mm4
paddw mm0, mm2
packuswb mm0, mm7
movd dword [edi], mm0
add edi, 4
add esi, 4
dec edx
jne 0x40e3b8
pop edi
pop esi
add edi, dword [ebp + 0xc]
add esi, dword [ebp + 8]
dec ecx
jne 0x40e3b3
emms
pop edi
pop esi
mov esp, ebp
pop ebp
ret