joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4025f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
mov eax, edi
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x402619
pop edi
pop ebx
pop ebp
ret
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x40262f
xor esi, esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x402626
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x402662
nop
cmp esi, ecx
jae 0x402626
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x402650
cmp esi, ecx
jae 0x402626
xor eax, eax
cmp word [esi], ax
cmove esi, eax
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x40c0b0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], ecx
call fcn.0047d86d
mov ebx, eax
test ebx, ebx
jne 0x40c0d0
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, edi
shr eax, 4
push esi
inc eax
push 6
movzx eax, ax
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp + 8], eax
test eax, eax
je 0x40c196
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x40c196
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x40c196
push dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
lea ecx, [esi + eax]
and edi, 0xf
jbe 0x40c134
cmp esi, ecx
jae 0x40c196
movzx eax, word [esi]
lea esi, [esi + eax*2]
add esi, 2
sub edi, 1
jne 0x40c122
cmp esi, ecx
jae 0x40c196
cmp word [esi], 0
je 0x40c196
mov ebx, dword [ebp - 4]
mov ecx, 1
movzx edi, word [esi]
mov eax, dword [ebx]
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, edi
or ecx, eax
jge 0x40c15f
push edi
mov ecx, ebx
call fcn.0040c570
movzx ecx, word [esi]
lea eax, [esi + 2]
push ecx
push eax
push edi
push dword [ebx]
call fcn.005b5eeb
push eax
call fcn.004024e0
mov eax, dword [ebx]
add esp, 0x14
cmp edi, dword [eax - 8]
jg 0x40c1a1
mov dword [eax - 0xc], edi
xor ecx, ecx
mov eax, dword [ebx]
pop esi
mov word [eax + edi*2], cx
lea eax, [ecx + 1]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
pop esi
pop edi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.004025a0
int3

Function at 0x40cb70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
movzx eax, word [ebp + 8]
mov dword [ebp + 8], eax
pop ebp
jmp fcn.0048447b
Function at 0x40cff0
Capabilities:
Create tcp socket
Create udp socket
Get hostname
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1d4
mov eax, dword [0x6c0fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1d4]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x40d037
call dword [sym.imp.WS2_32.dll_WSACleanup]
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 4
push 0x40
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
test eax, eax
je 0x40d05d
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 4
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
xor ecx, ecx
mov dword [esi], eax
cmp eax, 0xffffffff
mov edx, 2
pop esi
cmove ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 4

Function at 0x40d090
Capabilities:
Connect socket
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6c0fe4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
add ecx, ecx
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.005bb133
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov esi, eax
test esi, esi
jne 0x40d0fb
mov esi, dword [ebp + 0x10]
or eax, 0xffffffff
add esi, 0xfffffff0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x40d0e6
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 0xc
push dword [ebp + 0xc]
mov eax, 2
mov word [ebp - 0x34], ax
call dword [sym.imp.WS2_32.dll_htons]
mov word [ebp - 0x32], ax
mov eax, dword [esi + 0xc]
push 0x10
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x34]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_connect]
mov edx, dword [ebp + 0x10]
add edx, 0xfffffff0
test eax, eax
je 0x40d15f
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d148
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
pop edi
mov eax, 0xfffffffe
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 0xc
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d174
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 0xc
Function at 0x40fd40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d8480
mov eax, dword fs:[0]
push eax
sub esp, 0x20c
mov eax, dword [0x6c0fe4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x210]
push 0xf0
push eax
mov dword [ebp - 0x214], esi
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jle 0x40fda3
nop dword [eax + eax]
lea ecx, [eax + eax]
cmp word [ebp + ecx - 0x210], 0x5c
je 0x40fdb4
dec eax
test eax, eax
jg 0x40fd90
call fcn.0047d722
mov ecx, eax
test ecx, ecx
je 0x40fe3c
jmp 0x40fdcc
cmp ecx, 0x200
jae 0x40fe46
xor eax, eax
mov word [ebp + ecx - 0x210], ax
jmp 0x40fda3
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [esi], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
test eax, 0xffff0000
jne 0x40fdf7
movzx eax, ax
mov ecx, esi
push eax
call fcn.0040c0b0
jmp 0x40fe1e
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40fe00
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0040c5e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004025a0
call fcn.005b0aed
int3
Function at 0x42e960
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xbc]
push dword [eax + 0x28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp byte [ebx + 0x85], 0
je 0x42e98f
push 5
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [ebx + 0x84], 0
jne 0x42eb1a
push esi
push edi
push 0
push 0xbb8
push 5
push dword [ebx + 0x20]
mov byte [ebx + 0x84], 1
mov byte [ebx + 0x8d], 0
call dword [sym.imp.USER32.dll_SetTimer]
mov esi, dword [ebx + 0xb4]
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x2c]
inc dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xc
call fcn.0047535e
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x42ea05
mov dword [eax + 4], 0
mov byte [eax + 8], 1
mov dword [eax], vtable.CSessionComReqMode.0
jmp 0x42ea07
xor eax, eax
push 0
push 0
push eax
push 0x465470
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [ebx + 0xb4]
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x2c]
inc dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xc
call fcn.0047535e
add esp, 4
mov dword [ebp - 4], eax
test eax, eax
je 0x42ea6b
mov dword [eax + 4], 0
mov byte [eax + 8], 1
mov dword [eax], vtable.CSessionComReqSerial.0
jmp 0x42ea6d
xor eax, eax
push 0
push 0
push eax
push 0x467f30
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esi, dword [ebx + 0xb4]
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x2c]
inc dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xc
call fcn.0047535e
add esp, 4
mov dword [ebp - 4], eax
pop edi
pop esi
test eax, eax
je 0x42ead3
mov dword [eax + 4], 0
mov byte [eax + 8], 1
mov dword [eax], vtable.CSessionComCNameMode.0
jmp 0x42ead5
xor eax, eax
push 0
push 0
push eax
push 0x465bc0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
cmp byte [ebx + 0xc5], 0
lea ecx, [ebx + 0x5f8]
je 0x42eb10
push 0x6930bc
call fcn.0047cd63
pop ebx
mov esp, ebp
pop ebp
ret
push str.Device_Find
call fcn.0047cd63
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432500
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ecx + 0xb4]
push edi
lea edi, [esi + 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0x2c]
inc dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0xc
call fcn.0047535e
add esp, 4
mov dword [ebp - 4], eax
pop edi
pop esi
test eax, eax
je 0x43254f
mov dword [eax + 4], 0
mov byte [eax + 8], 1
mov dword [eax], vtable.CSessionComSetClearData.0
jmp 0x432551
xor eax, eax
push 0
push 0
push eax
push 0x468af0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov esp, ebp
pop ebp
ret
Function at 0x43fe10
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5dc47d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
push edi
mov eax, dword [0x6c0fe4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00483956
lea eax, [ebp - 0x1c]
push eax
call fcn.0040fc00
push 0x693934
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
call fcn.0040bda0
add esp, 0xc
mov byte [ebp - 4], 2
or edi, 0xffffffff
mov edx, dword [ebp - 0x1c]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fe7f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00483956
lea eax, [ebp - 0x20]
push eax
call fcn.0040fc00
push 0x693958
push eax
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 3
push eax
call fcn.0040bda0
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fec1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.00483956
lea eax, [ebp - 0x24]
push eax
call fcn.0040fc00
push 0x693970
push eax
lea eax, [ebp - 0x10]
mov byte [ebp - 4], 6
push eax
call fcn.0040bda0
mov byte [ebp - 4], 5
add esp, 0xc
mov edx, dword [ebp - 0x24]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ff03
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
call esi
push dword [ebp - 0x14]
call esi
push dword [ebp - 0x10]
call esi
mov edx, dword [ebp - 0x10]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ff32
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov eax, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43ff50
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x43ff6f
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441bb0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x6c0fe4]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
mov edi, dword [ebp + 8]
cmp dword [esi + 8], 0
jne 0x441bf3
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 8
sub esp, 8
lea eax, [esp + 0x14]
push eax
call fcn.00441a10
cmp eax, 1
je 0x441c1d
sub esp, 8
lea eax, [esp + 0x14]
mov ecx, esi
push eax
call fcn.00441a10
cmp eax, 1
jne 0x441ce5
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x10]
call dword [sym.imp.HID.DLL_HidD_GetPreparsedData]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x14]
call dword [sym.imp.HID.DLL_HidP_GetCaps]
push dword [esp + 0x10]
call dword [sym.imp.HID.DLL_HidD_FreePreparsedData]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov esi, eax
mov dword [esp + 0x24], 0
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], esi
push eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x2c], 0
push eax
movzx eax, word [esp + 0x3c]
push eax
lea eax, [esp + 0x7c]
push eax
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0x64
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [esp + 0x14]
cmp esi, 0x102
je 0x441cb0
cmp esi, 0x80
jne 0x441cbb
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CancelIo]
test esi, esi
jne 0x441cdb
lea ecx, [esp + 0x80]
lea eax, [edi + 0xf]
cmp edi, ecx
ja 0x441cd1
lea ecx, [esp + 0x71]
movups xmm0, xmmword [esp + 0x71]
mov bl, 1
movups xmmword [edi], xmm0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0xf4]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 8
Function at 0x441d00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x6c0fe4]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
push esi
mov esi, ecx
xor bl, bl
push edi
cmp dword [esi + 8], 0
jne 0x441d40
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 8
sub esp, 8
lea eax, [esp + 0x18]
push eax
call fcn.00441a10
cmp eax, 1
je 0x441d6a
sub esp, 8
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call fcn.00441a10
cmp eax, 1
jne 0x441e1a
mov esi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push esi
call dword [sym.imp.HID.DLL_HidD_GetPreparsedData]
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x18]
call dword [sym.imp.HID.DLL_HidP_GetCaps]
push dword [esp + 0x14]
call dword [sym.imp.HID.DLL_HidD_FreePreparsedData]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
movzx ecx, byte [ebp + 0xc]
mov edi, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov byte [esp + 0x70], bl
test ecx, ecx
je 0x441dd4
push ecx
push dword [ebp + 8]
lea eax, [esp + 0x79]
push eax
call fcn.005b2420
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x1c]
push eax
movzx eax, word [esp + 0x3e]
push eax
lea eax, [esp + 0x7c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x2bc
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
push dword [esp + 0x10]
test esi, esi
movzx ebx, bl
mov eax, 1
cmove ebx, eax
call edi
mov ecx, dword [esp + 0xf4]
mov al, bl
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret 8
Function at 0x4478f0
Capabilities:
Encode data using xor
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1cc
mov eax, dword [0x6c0fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0xc0], 0x67452301
push esi
push edi
push 0x20
lea edx, [ebx + 8]
mov dword [ebp - 0x1cc], ebx
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
call fcn.00446fc0
add esp, 4
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x14]
call fcn.00447130
cmp dword [ebx], 3
lea edi, [ebx + 4]
jne 0x4479e2
mov esi, 0x32
nop dword [eax + eax]
push dword [edi]
lea edx, [ebp - 0x14]
mov dword [ebp - 0xc0], 0x67452301
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0xbc], 0xefcdab89
mov dword [ebp - 0xb8], 0x98badcfe
mov dword [ebp - 0xb4], 0x10325476
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xac], 0
call fcn.00446fc0
add esp, 4
lea edx, [ebp - 0xc0]
lea ecx, [ebp - 0x14]
call fcn.00447130
sub esi, 1
jne 0x447980
push dword [edi]
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x1c8]
call fcn.00447b00
lea eax, [ebp - 0x44]
push 0x20
push eax
lea edx, [ebx + 0x28]
lea ecx, [ebp - 0x1c8]
call fcn.00447bc0
add esp, 0xc
cmp dword [ebx], 3
jne 0x447ad8
mov ebx, 1
mov edx, dword [edi]
xor eax, eax
test edx, edx
je 0x447a92
cmp edx, 0x40
jb 0x447a83
movsx ecx, bl
mov esi, edx
and esi, 0xffffffc0
movd xmm0, ecx
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
pshufd xmm1, xmm0, 0
nop dword [eax]
movups xmm0, xmmword [ebp + eax - 0x14]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x24], xmm0
movups xmm0, xmmword [ebp + eax - 4]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 0x14], xmm0
movups xmm0, xmmword [ebp + eax + 0xc]
pxor xmm0, xmm1
movups xmmword [ebp + eax - 4], xmm0
movups xmm0, xmmword [ebp + eax + 0x1c]
pxor xmm0, xmm1
movups xmmword [ebp + eax + 0xc], xmm0
add eax, 0x40
cmp eax, esi
jb 0x447a40
cmp eax, edx
jae 0x447a92
mov cl, byte [ebp + eax - 0x14]
xor cl, bl
mov byte [ebp + eax - 0x24], cl
inc eax
cmp eax, edx
jb 0x447a83
movups xmm0, xmmword [ebp - 0x44]
push edx
lea edx, [ebp - 0x24]
movups xmmword [ebp - 0x64], xmm0
lea ecx, [ebp - 0x1c8]
movups xmm0, xmmword [ebp - 0x34]
movups xmmword [ebp - 0x54], xmm0
call fcn.00447b00
lea eax, [ebp - 0x44]
push 0x20
push eax
lea edx, [ebp - 0x64]
lea ecx, [ebp - 0x1c8]
call fcn.00447bc0
inc ebx
add esp, 0xc
cmp ebx, 0x13
jbe 0x447a17
mov ebx, dword [ebp - 0x1cc]
movups xmm0, xmmword [ebp - 0x44]
mov ecx, dword [ebp - 4]
pop edi
movups xmmword [ebx + 0x48], xmm0
pop esi
movups xmm0, xmmword [ebp - 0x34]
xor ecx, ebp
movups xmmword [ebx + 0x58], xmm0
pop ebx
call fcn.005b03a9
mov esp, ebp
pop ebp
ret
Function at 0x447b00
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x6c0fe4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
mov dword [ebp - 0x10c], 0
push esi
mov dword [ebp - 0x110], ebx
xor eax, eax
lea esi, [ebx + 2]
nop dword [eax]
mov byte [esi + eax], al
inc eax
cmp eax, 0x100
jb 0x447b30
push edi
mov edi, dword [ebp + 8]
xor ecx, ecx
mov ebx, edx
mov eax, ecx
xor edx, edx
div edi
mov al, byte [edx + ebx]
mov byte [ebp + ecx - 0x104], al
inc ecx
cmp ecx, 0x100
jb 0x447b43
mov ebx, dword [ebp - 0x110]
lea edi, [ebp - 0x104]
mov dword [ebp - 0x108], 0x100
mov dl, byte [esi]
lea edi, [edi + 1]
movzx eax, byte [edi - 1]
lea esi, [esi + 1]
add eax, dword [ebp - 0x10c]
movzx ecx, dl
add ecx, eax
sub dword [ebp - 0x108], 1
movzx ecx, cl
mov dword [ebp - 0x10c], ecx
mov al, byte [ebx + ecx + 2]
mov byte [esi - 1], al
mov byte [ebx + ecx + 2], dl
jne 0x447b72
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov word [ebx], 0
xor ecx, ebp
pop ebx
call fcn.005b03a9
mov esp, ebp
pop ebp
ret

Function at 0x447bc0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
test ebx, ebx
je 0x447c2c
push esi
push edi
mov edi, dword [ebp + 8]
sub eax, edi
mov dword [ebp + 0xc], eax
inc byte [ecx]
lea edi, [edi + 1]
movzx esi, byte [ecx]
movzx eax, byte [esi + ecx + 2]
add byte [ecx + 1], al
movzx eax, byte [ecx + 1]
mov dl, byte [esi + ecx + 2]
movzx eax, byte [eax + ecx + 2]
mov byte [esi + ecx + 2], al
movzx eax, byte [ecx + 1]
mov byte [eax + ecx + 2], dl
movzx eax, byte [ecx + 1]
movzx edx, byte [eax + ecx + 2]
movzx eax, byte [ecx]
movzx eax, byte [eax + ecx + 2]
add edx, eax
movzx eax, dl
mov edx, dword [ebp + 0xc]
movzx eax, byte [eax + ecx + 2]
xor al, byte [edx + edi - 1]
mov byte [edi - 1], al
sub ebx, 1
jne 0x447bd7
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x447c30
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x64
mov eax, dword [0x6c0fe4]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov ecx, dword [ebp + 8]
shr edx, 8
mov eax, dword [edi + 4]
mov byte [edi + eax + 0x9c], bl
mov eax, dword [edi + 4]
shr ebx, 0x10
mov byte [eax + edi + 0x9d], dl
lea edx, [edi + 0x9c]
mov eax, dword [edi + 4]
mov byte [eax + edi + 0x9e], bl
mov eax, dword [edi + 4]
mov byte [eax + edi + 0x9f], cl
mov eax, dword [edi + 4]
shr ecx, 8
mov byte [eax + edi + 0xa0], cl
lea ecx, [esp + 0x10]
mov eax, dword [edi + 4]
add eax, 5
mov dword [esp + 0x10], 0x67452301
push eax
mov dword [esp + 0x18], 0xefcdab89
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
call fcn.00446fc0
lea edx, [esp + 0x14]
lea ecx, [edi + 0xb1]
call fcn.00447130
mov eax, dword [edi + 4]
lea edx, [edi + 0xb1]
add eax, 5
mov ecx, 0x10
cmp eax, ecx
cmova eax, ecx
lea ecx, [edi + 0xc1]
push eax
call fcn.00447b00
mov ecx, dword [esp + 0x74]
add esp, 8
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005b03a9
mov esp, ebp
pop ebp
ret