joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41020e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
movzx eax, word [ecx]
xor edx, edx
push esi
jmp 0x410223
push 0x2e
pop esi
cmp si, ax
je 0x41023a
inc edx
movzx eax, word [ecx + edx*2]
xor esi, esi
cmp si, ax
jne 0x410216
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41023e
test al, 0x20
je 0x41023e
mov al, 1
pop esi
ret
xor al, al
pop esi
ret

Function at 0x41089a
Capabilities:
Get file size
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x41f0a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x14]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push esi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jne 0x4108ea
push ecx
mov edx, esi
call fcn.0040b70d
xor al, al
jmp 0x410963
lea ecx, [ebp - 0x10]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x4108de
push ebx
mov ebx, dword [ebp - 0x10]
lea eax, [ebx + 1]
cmp eax, ebx
jb 0x41094d
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.0040ce7b
mov edi, eax
test edi, edi
je 0x410960
push 0
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x41093f
push ecx
mov edx, esi
call fcn.0040b70d
push edi
mov ecx, 0x41f058
call fcn.0040cf60
jmp 0x410960
mov ecx, dword [ebp - 0x1c]
mov al, 1
mov dword [ecx], edi
mov ecx, dword [ebp - 0x20]
mov dword [ecx], ebx
jmp 0x410962
push 0x403e88
push edi
push 0x402b04
call fcn.0040cff7
add esp, 0xc
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0041d1b0
leave
ret 0x10
Function at 0x416625
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
xor ecx, ecx
push esi
push edi
mov edi, edx
mov dword [ebp - 8], ecx
mov eax, dword [ebx + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x10]
mov dword [edi + 8], ecx
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov dword [edi + 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], ecx
mov eax, dword [ebx + 0x10]
cmp dword [ebx + 0x14], eax
jb 0x41666f
mov dword [edi + 4], eax
mov dword [edi], 3
xor eax, eax
jmp 0x416739
mov esi, dword [ebx + 0x18]
mov ecx, esi
call dword [0x420210]
mov ecx, dword [ebp - 4]
jmp 0x416724
cmp ecx, 0x61
jb 0x41668c
cmp ecx, 0x7a
jbe 0x41670a
lea eax, [ecx - 0x41]
cmp eax, 0x19
jbe 0x41670a
lea eax, [ecx - 0x30]
cmp eax, 9
jbe 0x41670a
cmp ecx, 0x2f
ja 0x4166d2
cmp ecx, 0x28
jae 0x416710
cmp ecx, 0xa
je 0x416710
cmp ecx, 0xd
je 0x416710
cmp ecx, 0x1f
jbe 0x4166f0
cmp ecx, 0x21
jbe 0x416710
cmp ecx, 0x22
jbe 0x4166f0
cmp ecx, 0x25
jbe 0x416710
cmp ecx, 0x27
jne 0x4166f0
cmp dword [ebx + 0x24], 0xa
sete al
jmp 0x41670c
cmp ecx, 0x3a
jb 0x4166f0
cmp ecx, 0x3b
jbe 0x416710
cmp ecx, 0x3d
je 0x416710
cmp ecx, 0x3e
jbe 0x4166f0
cmp ecx, 0x40
jbe 0x416710
cmp ecx, 0x5f
je 0x416710
mov eax, dword [ebp - 4]
mov dword [edi], 0xc
sub eax, dword [ebx + 0x14]
mov dword [edi + 8], eax
mov eax, dword [ebp - 8]
mov dword [edi + 0x10], eax
jmp 0x416668
mov al, 1
test al, al
je 0x4166f0
mov esi, dword [ebx + 0x18]
mov ecx, esi
inc dword [ebp - 8]
mov dword [ebp - 4], edx
call dword [0x420210]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0xc]
call esi
mov ecx, eax
mov dword [ebp - 0x10], edx
cmp ecx, 0xffffffff
jne 0x416682
mov eax, edx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x418c17
Capabilities:
Delete file
Get common file path
Move file

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x41f0a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor esi, esi
mov ebx, ecx
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x418c4c
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x418dc4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x210], eax
test eax, eax
je 0x418c45
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x218], eax
test eax, eax
jne 0x418c77
push 0x54f
jmp 0x418c3f
push ecx
push eax
lea eax, [ebp - 0x214]
mov dword [ebp - 0x214], esi
push eax
lea ecx, [ebp - 0x20c]
call fcn.00418bb8
mov ecx, eax
mov eax, dword [ebp - 0x214]
lea eax, [ebp + eax*2 - 0x20c]
test ecx, ecx
jns 0x418cb2
cmp ecx, 0x8007007a
je 0x418cb2
mov eax, dword [ebp - 0x21c]
push edi
test ecx, ecx
jns 0x418cc1
movzx esi, cx
mov edi, esi
jmp 0x418d7e
push 0x5c
pop edi
mov ecx, eax
sub eax, 2
cmp word [eax], di
je 0x418cd8
lea edx, [ebp - 0x20c]
cmp eax, edx
jae 0x418cc4
xor eax, eax
mov word [ecx], ax
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x418d0d
push 0x2e
pop eax
mov word [ebp - 0x20c], ax
xor eax, eax
mov word [ebp - 0x20a], di
mov word [ebp - 0x208], ax
lea eax, [ebp - 0x20c]
push eax
push esi
push 0x409a98
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x418d2e
call sub.KERNEL32.dll_GetLastError
mov edi, eax
jmp 0x418d7e
lea edx, [ebp - 0x20c]
mov ecx, ebx
call fcn.0041935d
mov edi, eax
lea eax, [ebp - 0x20c]
test edi, edi
jne 0x418d76
push 3
push dword [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x418d7e
call sub.KERNEL32.dll_GetLastError
mov esi, eax
mov edi, eax
test esi, esi
jne 0x418d6e
mov esi, 0x54f
mov edi, esi
lea eax, [ebp - 0x20c]
jmp 0x418d78
mov esi, edi
push eax
call sub.KERNEL32.dll_DeleteFileW
mov eax, dword [ebp - 0x210]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x210]
push dword [eax + 0x18]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 0x210]
call fcn.00418e3a
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
test edi, edi
pop edi
sete al
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0041d1b0
leave
ret
Function at 0x418dd2
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0x30]
push esi
push edi
mov esi, ecx
xor edi, edi
push dword [esi + 0x18]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [esi + 4]
mov dword [esi + 0x18], edi
cmp dword [eax], 2
jne 0x418e0a
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 4], edi
mov eax, dword [esi + 0xc]
cmp dword [eax], 2
jne 0x418e26
push eax
mov eax, dword fs:[0x30]
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 0xc], edi
mov eax, dword fs:[0x30]
push esi
push edi
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
pop edi
pop esi
ret

Function at 0x418e3a
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov esi, dword [edi + 0xc]
test esi, esi
je 0x418eae
mov eax, esi
mov eax, dword [eax]
mov dword [edi + 0xc], eax
jmp 0x418e5d
mov eax, dword [eax]
mov dword [esi + 0xc], eax
call fcn.00418dd2
mov eax, dword [esi + 0xc]
mov ecx, eax
test eax, eax
jne 0x418e53
jmp 0x418e72
mov eax, dword [eax]
mov dword [esi + 0x10], eax
call fcn.00418dd2
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x418e68
mov eax, dword [esi + 4]
cmp dword [eax], 2
jne 0x418e94
push eax
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [edi + 0xc]
mov eax, esi
test esi, esi
jne 0x418e4c
mov esi, dword [edi + 0x10]
test esi, esi
je 0x418f00
mov eax, esi
mov eax, dword [eax]
mov dword [edi + 0x10], eax
jmp 0x418ec8
mov eax, dword [eax]
mov dword [esi + 0xc], eax
call fcn.00418dd2
mov eax, dword [esi + 0xc]
mov ecx, eax
test eax, eax
jne 0x418ebe
jmp 0x418edd
mov eax, dword [eax]
mov dword [esi + 0x10], eax
call fcn.00418dd2
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x418ed3
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [edi + 0x10]
mov eax, esi
test esi, esi
jne 0x418eb7
mov esi, dword [edi + 4]
test esi, esi
je 0x418f3c
cmp dword [esi], 1
mov edi, dword [esi + 4]
jne 0x418f25
push dword [esi + 0x10]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov dword [esi + 0x10], ebx
mov eax, dword fs:[0x30]
push esi
push ebx
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, edi
test edi, edi
jne 0x418f07
pop edi
pop esi
pop ebx
ret
Function at 0x41d1a0
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x41e850
call fcn.0041def8
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x41f550
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x41cfc8
cmp eax, esi
jne 0x41cfbb
xor esi, esi
inc esi
mov edi, esi
jmp 0x41cfcb
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x41cf9f
xor esi, esi
inc esi
cmp dword [0x41f554], esi
jne 0x41cfdd
push 0x1f
call fcn.004b0000
pop ecx
jmp 0x41d017
cmp dword [0x41f554], ebx
jne 0x41d011
mov dword [0x41f554], esi
push 0x402848
push 0x40283c
call fcn.0041d0fc
pop ecx
pop ecx
test eax, eax
je 0x41d017
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41d0ec
mov dword [0x41f114], esi
cmp dword [0x41f554], esi
jne 0x41d03a
push 0x402838
push 0x4027dc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x41f554], 2
test edi, edi
jne 0x41d047
xor eax, eax
mov ecx, 0x41f550
xchg dword [ecx], eax
cmp dword [0x41f564], 0
je 0x41d073
push 0x41f564
call fcn.0041dd50
pop ecx
test eax, eax
je 0x41d073
push ebx
push 2
push ebx
mov esi, dword [0x41f564]
mov ecx, esi
call dword [0x420210]
call esi
push dword [0x41f120]
push dword [0x41f11c]
push dword [0x41f118]
call fcn.0040c7c4
add esp, 0xc
mov dword [0x41f110], eax
cmp dword [0x41f128], 0
jne 0x41d0d1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x41f114], 0
jne 0x41d0e5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x41f110]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.0041de45
jmp 0x41cf83

Function at 0x41dc34
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x41e948
call fcn.0041def8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x41dc94
cmp eax, 0xffffffff
je 0x41dc94
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x41dc8d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x41dc8d
cmp edx, 0x10000000
jae 0x41dc8d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x41dc8a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x41dd00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x41dd3e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x41dd36
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x41dd40
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x41dd26
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41de10
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x41de41
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x41de41
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x41de41
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x4068d0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x424a68]
jne 0x4068da
repz ret
jmp fcn.00409dff

Function at 0x409876
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00403906
and dword [ebp - 4], 0
cmp dword [0x427018], 0
mov ebx, eax
jne 0x409927
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4099d8
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4099d8
push eax
call fcn.00403894
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x427018], eax
call esi
push eax
call fcn.00403894
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42701c], eax
call esi
push eax
call fcn.00403894
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x427020], eax
call esi
push eax
call fcn.00403894
pop ecx
mov dword [0x427028], eax
test eax, eax
je 0x409927
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403894
pop ecx
mov dword [0x427024], eax
mov eax, dword [0x427024]
cmp eax, ebx
je 0x40997f
cmp dword [0x427028], ebx
je 0x40997f
push eax
call fcn.0040390f
push dword [0x427028]
mov esi, eax
call fcn.0040390f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40997f
test edi, edi
je 0x40997f
call esi
test eax, eax
je 0x409976
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x409976
test byte [ebp - 0xc], 1
jne 0x40997f
or dword [ebp + 0x10], 0x200000
jmp 0x4099b8
mov eax, dword [0x42701c]
cmp eax, ebx
je 0x4099b8
push eax
call fcn.0040390f
pop ecx
test eax, eax
je 0x4099b8
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4099b8
mov eax, dword [0x427020]
cmp eax, ebx
je 0x4099b8
push eax
call fcn.0040390f
pop ecx
test eax, eax
je 0x4099b8
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x427018]
call fcn.0040390f
pop ecx
test eax, eax
je 0x4099d8
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4099da
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401450
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
test esi, esi
je 0x40147a
push esi
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x14]
test eax, eax
mov dword [ecx], eax
jne 0x40147e
xor eax, eax
pop esi
ret
push esi
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [esp + 0x10]
push 1
mov dword [ecx], eax
pop eax
pop esi
ret

Function at 0x401499
Capabilities:
Create new key via cryptacquirecontext
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
xor edi, edi
push edi
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
call esi
test eax, eax
jne 0x4014da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x4014ed
push 8
push 1
push edi
lea eax, [ebp - 4]
push edi
push eax
call esi
test eax, eax
je 0x4014ed
lea eax, [ebp - 8]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
test eax, eax
jne 0x4014f1
xor eax, eax
jmp 0x401503
cmp dword [ebp - 4], edi
je 0x401500
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret

Function at 0x401ce6
Capabilities:
Encode data using xor

Disassembly:
pop ebp
ret
lodsd eax, dword fs:[esi]
rcl dword [eax + 0x5a332f56], 0xd1
std
mov dl, 0x23
pop ebx
salc
push 0xdf0ff49
and dword [eax - 0x23], eax
popal
xchg ebx, eax
cmp eax, 0xe3e98df9
inc esp
inc ebp
sal dword [esi + 0x69], cl
xor al, 0xac
add edx, ebp
fnsave dword [edx]
cmc
dec bl
nop
xchg edx, eax
and edi, edx
js 0x401d04
push cs
fst dword [ecx]
xchg byte [eax + 0x190d87de], bh
pop esi
mov ah, 0x8d
cmp cl, al
jbe 0x401ce4
psrad mm7, qword [edi]
sbb byte [eax], al
cli
mov byte [0x94c0c323], al
fsubr qword [ebx + 0x635c4451]
loop 0x401d40
ror byte [ebx + ebx*4 + 0x64], 1
neg ecx
call 0x26116c0d
out 0xea, al
mov eax, 0xc656f8a9
sahf
mov cl, cl
or cl, byte [edi]
xor eax, eax
xchg ebp, eax
and eax, 0x4c31a64a
jb 0x401d72
invalid
xor dword [edx + esi*2 + 0x14], ecx
xor edi, dword [ecx + 0x78]
stc
loop 0x401d43
add ebp, 0x33
sub dword [ecx], esp
xchg dword [esi - 0x17], ebp
ficom word [ebx - 0x53517182]
jle 0x401cfe
scasb al, byte es:[edi]
lodsb al, byte [esi]
mov dl, byte [bx + si + 0x3ac5]
xchg edi, eax
sbb cl, ah
mov dword [ecx - 0x11ef7a08], 0xbf431d46
sahf
dec esp
inc edx
xlatb
inc ecx
xchg esi, eax
in al, dx
aad 0xf8
jae 0x401d6e
les ecx, [eax]
or dh, dh
cmpsb byte [esi], byte es:[edi]
fbld tbyte cs:[esi]
mov edx, 0x1a79091c
jb 0x401d5a
invalid
Function at 0x10006b90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
xor esi, esi
lea eax, [edx + eax*2]
mov dword [ebp - 0x10], eax
movzx eax, byte [edx + 1]
cmp byte [edx], ch
lea edx, [edx + 2]
lea edi, [esi + eax]
jne 0x10006be0
cmp edi, esi
jb 0x10006c4b
cmp edi, dword [ebp + 0x10]
ja 0x10006c5e
add esi, dword [ebp + 0xc]
nop word [eax + eax]
test eax, eax
je 0x10006be2
dec eax
cmp byte [esi], cl
lea esi, [esi + 1]
jne 0x10006bd0
jmp 0x10006c3f
ja 0x10006be9
cmp edx, dword [ebp - 0x10]
mov esi, edi
jne 0x10006ba5
mov edi, dword [ebp + 0x18]
movzx ecx, cx
mov al, 1
add edi, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edx, byte [ebx]
lea esi, [ebx + 1]
test dl, dl
js 0x10006c20
mov ebx, esi
sub ecx, edx
jns 0x10006c37
jmp 0x10006c41
cmp esi, edi
je 0x10006c72
movzx esi, byte [ebx + 1]
and edx, 0x7f
add ebx, 2
shl edx, 8
or edx, esi
sub ecx, edx
js 0x10006c41
xor al, 1
cmp ebx, edi
jne 0x10006c00
jmp 0x10006c41
xor eax, eax
and al, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, esi
mov edx, edi
push 0x3c9e3b8
call fcn.100057a0
add esp, 4
ud2
mov edx, dword [ebp + 0x10]
mov ecx, edi
push 0x3c9e3b8
call fcn.10004ed0
add esp, 4
ud2
mov ecx, 0x3ca69e4
mov edx, 0x2b
push 0x3c9e3a8
call fcn.100053c0
add esp, 4
ud2
Function at 0x100214f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x1199], 0
mov edi, edx
mov esi, ecx
je 0x10021541
mov edx, edi
mov ecx, esp
push 3
push 0
call fcn.100217e0
add esp, 8
movq xmm0, qword [esp]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
movd ecx, xmm0
test ecx, ecx
je 0x1002160d
movq qword [esi], xmm0
mov dword [esi + 8], edx
mov dword [esi + 0xc], eax
jmp 0x10021640
cmp byte [edi + 0x119a], 0
je 0x10021648
mov dword [esp + 0x14], esi
mov byte [edi + 0x1194], 0xc
xor edi, edi
lea esi, [0x3c9f8a1]
lea edx, [0x3c9f8a2]
mov eax, 0xfffffff9
mov dword [esp + 0x18], 0
nop word cs:[eax + eax]
nop
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x100215a5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x1002169d
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x100215c6
shld dword [esp + 0x18], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x10021580
mov ecx, 0x3c9f69e
mov edx, 9
xor ebx, 0xe
call fcn.100091f0
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x3c9f68c
mov edx, 0x12
cmove edi, esi
call fcn.100091f0
mov ecx, dword [esp + 0x14]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
jmp 0x10021640
movzx ecx, byte [edi + 0x118f]
cmp ecx, 0x10
jae 0x10021689
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], eax
mov dword [esi], 0
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1194], 0xd
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, edi
mov ecx, esp
push 2
push 0
call fcn.100217e0
add esp, 8
movq xmm0, qword [esp]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
movd ecx, xmm0
test ecx, ecx
jne 0x10021532
movzx ecx, byte [edi + 0x118f]
cmp ecx, 0x10
jb 0x10021619
mov edx, 0x10
push 0x3c9f8ac
jmp 0x10021693
mov edx, 0x10
push 0x3c9f8bc
call fcn.10004a00
add esp, 4
ud2
mov ecx, 0x3ca51ac
mov edx, 0xe
push 0x3c9ed4c
call fcn.100053c0
add esp, 4
ud2
Function at 0x10025b10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x20
cmp byte [edx + 0x118e], 3
mov edi, edx
mov esi, ecx
jne 0x10025b6a
movzx ecx, byte [edi + 0x1190]
cmp ecx, 0x10
jae 0x10025c62
movzx eax, byte [edi + 0xa8]
mov dword [esi], 0
and al, 1
mov byte [edi + ecx*8], al
mov eax, dword [edi + 0x1178]
add dword [edi + 0xa0], eax
adc dword [edi + 0xa4], 0
mov byte [edi + 0x1194], 0xd
jmp 0x10025c5a
lea ecx, [esp + 8]
mov edx, edi
push 0
push 0
call fcn.100217e0
add esp, 8
movq xmm0, qword [esp + 8]
movd eax, xmm0
test eax, eax
je 0x10025ba1
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
movq qword [esi], xmm0
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x10025c5a
mov dword [esp], esi
mov byte [edi + 0x1194], 0xc
xor edi, edi
lea esi, [0x3c9f865]
lea edx, [0x3c9f866]
mov eax, 0xfffffff9
mov dword [esp + 4], 0
nop word cs:[eax + eax]
movzx ebx, byte [esi]
mov esi, edx
mov edx, ebx
add dl, 0xd0
cmp dl, 0xa
jb 0x10025bf5
or bl, 0x20
mov edx, ebx
add dl, 0x9f
cmp dl, 6
jae 0x10025c76
add bl, 0xa9
mov edx, ebx
mov ecx, edi
movzx ebx, dl
lea edx, [esi + 1]
shl ecx, 4
or ebx, ecx
test eax, eax
cmove edx, esi
je 0x10025c16
shld dword [esp + 4], edi, 4
inc eax
test esi, esi
mov edi, ebx
jne 0x10025bd0
mov ecx, 0x3c9f69e
mov edx, 9
xor ebx, 0x1a
call fcn.100091f0
mov edi, eax
test eax, eax
mov esi, 1
mov ecx, 0x3c9f68c
mov edx, 0x12
cmove edi, esi
call fcn.100091f0
mov ecx, dword [esp]
test eax, eax
cmove eax, esi
mov dword [ecx], edi
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], 0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edx, 0x10
push 0x3c9f890
call fcn.10004a00
add esp, 4
ud2
mov ecx, 0x3ca51ac
mov edx, 0xe
push 0x3c9ed4c
call fcn.100053c0
add esp, 4
ud2