joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406310
Capabilities:
Get disk information

Disassembly:
sub esp, 0x4c
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x70]
push edi
test eax, eax
jne 0x4064e0
cmp word [ebx + 0x74], 0
lea esi, [ebx + 0x74]
jne 0x4063c1
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ebp, dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], 0x2000000
mov edi, 0x5a
mov dword [esp + 0x14], 0x18
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
test eax, ecx
je 0x4063ab
lea ecx, [esp + 0x1c]
mov word [esp + 0x1c], di
push ecx
mov word [esp + 0x22], 0x3a
mov word [esp + 0x24], 0x5c
mov word [esp + 0x26], 0
call ebp
cmp eax, 3
je 0x406395
lea edx, [esp + 0x1c]
push edx
call ebp
cmp eax, 2
jne 0x4063ab
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
mov word [ebx + eax*2 + 0x74], di
add esp, 4
mov word [ebx + eax*2 + 0x76], 0
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
shr edx, 1
dec edi
dec eax
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
jne 0x406357
mov ebx, dword [esp + 0x60]
push str.Disk:__
push ebx
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 8
test eax, eax
je 0x4063e4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x4c
ret 4
push esi
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov dword [esp + 0x60], 0
jle 0x4064e0
mov edi, dword [sym.imp.MSVCRT.dll_wcscpy]
mov ebp, 0x2a
lea eax, [esp + 0x1c]
push str.Disk:
push eax
call edi
mov cx, word [esi]
push 0
push 0x3f
lea edx, [esp + 0x2c]
push ebp
push edx
push ebx
mov word [esp + 0x46], cx
mov word [esp + 0x48], bp
mov word [esp + 0x4a], 0
call fcn.00409fc0
add esp, 0x1c
test eax, eax
jne 0x4063d8
lea eax, [esp + 0x1c]
push 0x410b00
push eax
call edi
mov cx, word [esi]
push 0
push 0x3f
lea edx, [esp + 0x2c]
push ebp
push edx
push ebx
mov word [esp + 0x3e], cx
mov word [esp + 0x40], 0x3a
mov word [esp + 0x42], bp
mov word [esp + 0x44], 0
call fcn.00409fc0
add esp, 0x1c
test eax, eax
jne 0x4063d8
lea eax, [esp + 0x1c]
push 0x410af8
push eax
call edi
mov cx, word [esi]
push 0
push 0x3f
lea edx, [esp + 0x2c]
push ebp
push edx
push ebx
mov word [esp + 0x3e], cx
mov word [esp + 0x40], 0x3a
mov word [esp + 0x42], bp
mov word [esp + 0x44], 0
call fcn.00409fc0
add esp, 0x1c
test eax, eax
jne 0x4063d8
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
inc eax
add esi, 2
cmp eax, ecx
mov dword [esp + 0x60], eax
jl 0x40640d
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x4c
ret 4
Function at 0x40a770
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 4]
push esi
test ecx, ecx
jne 0x40a785
or eax, 0xffffffff
pop esi
mov dword [0x410fbc], eax
not eax
ret
mov esi, dword [esp + 0xc]
mov eax, dword [0x410fbc]
test esi, esi
je 0x40a7b2
push ebx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x410bbc]
xor eax, edx
inc ecx
dec esi
jne 0x40a793
pop ebx
mov dword [0x410fbc], eax
pop esi
not eax
ret
Function at 0x900baef
Capabilities:
Get common file path

Disassembly:
push 0x224
mov eax, 0x90a5e6b
call fcn.09007236
cmp byte [ebp + 0x10], 0
mov edi, dword [ebp + 8]
push 0x1a
pop esi
push 0x2b
pop eax
cmove esi, eax
xor ebx, ebx
push 0x208
lea eax, [ebp - 0x218]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
mov eax, esi
or eax, 0x8000
cmp byte [ebp + 0xc], bl
push ebx
push ebx
cmovne esi, eax
push esi
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x900bb4b
xor al, al
jmp 0x900bb9b
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.0900bf5b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], ebx
push str.Adobe
call fcn.0900cfd5
test al, al
je 0x900bb8e
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0909b970
mov ecx, edi
call fcn.0900e38a
mov bl, al
lea ecx, [ebp - 0x230]
call fcn.0900e401
mov al, bl
call fcn.09008fc6
ret
Function at 0x906b1a2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x148
mov eax, 0x90a974c
call fcn.09007236
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x14c]
push eax
xor ebx, ebx
mov esi, 0x20019
push esi
push ebx
push str.SOFTWARE
push 0x80000002
mov dword [ebp - 0x14c], ebx
mov dword [ebp - 0x148], ebx
mov dword [ebp - 0x144], ebx
mov dword [ebp - 0x13c], ebx
mov dword [ebp - 0x140], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x906b201
mov dword [ebp - 0x14c], ebx
jmp 0x906b37c
lea eax, [ebp - 0x148]
push eax
push esi
push ebx
push str.Adobe
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x906b22a
mov dword [ebp - 0x148], ebx
jmp 0x906b37c
lea eax, [ebp - 0x144]
push eax
push esi
push ebx
push str.Color
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x906b253
mov dword [ebp - 0x144], ebx
jmp 0x906b37c
lea eax, [ebp - 0x13c]
push eax
push esi
push ebx
push str.Monitor
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x906b27c
mov dword [ebp - 0x13c], ebx
jmp 0x906b37c
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x104
push eax
lea eax, [ebp - 0x120]
mov esi, ebx
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push str.Primary_Monitor
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x906b2ce
cmp dword [ebp - 0x154], 4
jne 0x906b2ce
mov esi, dword [ebp - 0x120]
cmp esi, 0x3e7
ja 0x906b37c
push esi
push str.Monitor_u
lea eax, [ebp - 0x1c]
push 0xb
push eax
call fcn.0909b970
add esp, 0x10
lea eax, [ebp - 0x140]
push eax
push 0x20019
push ebx
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x906b30e
mov dword [ebp - 0x140], ebx
jmp 0x906b391
lea eax, [ebp - 0x150]
mov dword [ebp - 0x150], 0x104
push eax
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x154]
push eax
push ebx
push str.Monitor_Profile
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x906b37c
cmp dword [ebp - 0x154], 1
jne 0x906b37c
lea eax, [ebp - 0x120]
push eax
lea ecx, [ebp - 0x138]
call fcn.0901651a
lea eax, [ebp - 0x138]
mov dword [ebp - 4], ebx
push eax
mov ecx, edi
call fcn.0909b970
lea ecx, [ebp - 0x138]
call fcn.0900e401
mov bl, 1
cmp dword [ebp - 0x140], 0
je 0x906b391
push dword [ebp - 0x140]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x13c], 0
je 0x906b3a6
push dword [ebp - 0x13c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x144], 0
je 0x906b3bb
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x148], 0
je 0x906b3d0
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14c], 0
je 0x906b3e5
push dword [ebp - 0x14c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
call fcn.09008fc6
ret
Function at 0x906cba8
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a97f2
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x1430
call fcn.090a4f00
mov eax, dword [0x90e460c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebx + 8]
xor eax, eax
mov ecx, edi
mov dword [ebp - 0x1424], edi
mov dword [ebp - 0x1430], eax
mov dword [ebp - 0x1428], eax
mov dword [ebp - 0x143c], edi
call fcn.0901658c
xor ecx, ecx
push 0xf
mov eax, ecx
mov dword [ebp - 4], ecx
pop esi
mov dword [ebp - 0x142c], eax
mov dword [ebp - 0x1420], esi
xor edx, edx
mov edi, ecx
div esi
mov dword [ebp - 0x141c], edi
lea esi, [ebp - 0x416]
mov dword [ebp - 0x1434], eax
mov eax, edi
xor edx, edx
div dword [ebp - 0x1420]
mov edi, ecx
mov dword [ebp - 0x1438], eax
mov edx, dword [ebp - 0x1434]
mov byte [esi - 1], dl
xor edx, edx
mov byte [esi], al
mov eax, edi
div dword [ebp - 0x1420]
mov edx, 0xff
mov byte [esi + 1], al
add edi, edx
mov eax, dword [ebp - 0x1438]
add esi, 4
cmp edi, 0xff0
jb 0x906cc50
mov edi, dword [ebp - 0x141c]
add edi, edx
mov dword [ebp - 0x141c], edi
cmp edi, 0xff0
jb 0x906cc3e
push ecx
mov ecx, dword [ebp - 0x1424]
lea esi, [edx + 1]
push 0x5058595a
push 0x706c6162
push esi
lea eax, [ebp - 0x1418]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.0909b970
push esi
mov esi, dword [0x90e6d28]
lea eax, [ebp - 0xc18]
push eax
lea eax, [ebp - 0x418]
mov ecx, esi
push eax
call dword [0x90ac2d4]
call esi
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x141c], esi
movzx eax, word [ebp + esi - 0xc16]
movzx ecx, word [ebp + esi - 0x1416]
sub ecx, eax
mov eax, ecx
movzx ecx, word [ebp + esi - 0x1414]
cdq
mov edi, eax
movzx eax, word [ebp + esi - 0xc14]
sub ecx, eax
xor edi, edx
mov eax, ecx
sub edi, edx
mov ecx, dword [ebp - 0x141c]
cdq
mov esi, eax
xor esi, edx
movzx eax, word [ebp + ecx - 0xc12]
sub esi, edx
movzx ecx, word [ebp + ecx - 0x1412]
sub ecx, eax
mov eax, ecx
mov ecx, dword [ebp - 0x1428]
cdq
xor eax, edx
sub eax, edx
cmp ecx, edi
cmovl ecx, edi
cmp ecx, esi
cmovl ecx, esi
mov esi, dword [ebp - 0x141c]
cmp ecx, eax
cmovl ecx, eax
add esi, 8
mov dword [ebp - 0x1428], ecx
mov dword [ebp - 0x141c], esi
cmp esi, 0x800
jb 0x906cce8
cmp ecx, 0xa
ja 0x906cda4
mov eax, dword [ebp - 0x142c]
mov esi, dword [ebp - 0x1420]
add eax, 0xff
mov dword [ebp - 0x142c], eax
push 0
pop ecx
cmp eax, 0xff0
jb 0x906cc26
mov byte [ebp - 0x1430], 1
mov ecx, dword [ebp - 0x1424]
mov dword [ebp - 4], 2
call fcn.09016859
mov al, byte [ebp - 0x1430]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
Function at 0x907c663
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a9dd4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090a4f00
mov eax, dword [0x90e460c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0x94
push eax
call fcn.0909b970
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x907c6e8
push 0
push 0x9c4
push 0xf424
push dword [esi + 4]
call fcn.0909b970
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.0901658c
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x907c6ff
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x907c75b
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x907c74e
mov ecx, dword [ebp - 0x13e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x434d594b
push 0x504c4142
push 0x271
push eax
push eax
call fcn.0909b970
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x9c4
push edi
push dword [eax]
call fcn.0909b970
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.09005b3d
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
movzx eax, cx
imul eax, eax, 0xff
shr ecx, 0x10
add eax, 0x4000
shr eax, 0xf
mov byte [edi - 2], al
imul eax, ecx, 0xff
mov ecx, 0x4000
add eax, ecx
shr eax, 0xf
mov byte [edi - 1], al
movzx eax, dx
imul eax, eax, 0xff
shr edx, 0x10
add eax, ecx
shr eax, 0xf
mov byte [edi], al
imul eax, edx, 0xff
add eax, ecx
shr eax, 0xf
mov byte [edi + 1], al
add edi, 4
sub dword [ebp - 0x13d4], 1
jne 0x907c7f7
sub dword [ebp - 0x13d8], 1
jne 0x907c7ed
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.0909b970
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x9c4
mov esi, dword [ebp - 0x13e4]
push 2
pop ecx
add eax, ecx
mov dword [ebp - 0x13e0], edi
mov dword [ebp - 0x13dc], eax
cmp edi, 0xf424
jb 0x907c737
mov dword [ebp - 4], ecx
mov ecx, esi
call fcn.09016859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x907c8cd
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a9dd4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090a4f00
mov eax, dword [0x90e460c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0x94
push eax
call fcn.0909b970
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x907c952
push 0
push 0x753
push 0xb71b
push dword [esi + 4]
call fcn.0909b970
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.0901658c
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x907c969
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x907c9c5
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x907c9b8
mov ecx, dword [ebp - 0x13e4]
mov eax, 0x504c4142
push 0
push eax
push eax
push 0x271
lea eax, [ebp - 0x13d0]
push eax
push eax
call fcn.0909b970
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x753
push edi
push dword [eax]
call fcn.0909b970
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.09005b3d
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov eax, dword [esi]
mov edx, dword [esi + 4]
shr eax, 0x10
imul eax, eax, 0xff
movzx ecx, dx
add ecx, 0x40
shr ecx, 7
add eax, 0x4000
shr eax, 0xf
cmp ecx, 0xff
mov byte [edi - 2], al
movzx eax, cl
mov ecx, 0xff
cmova eax, ecx
shr edx, 0x10
add edx, 0x40
mov byte [edi - 1], al
shr edx, 7
cmp edx, ecx
movzx eax, dl
cmova eax, ecx
add esi, 8
mov byte [edi], al
add edi, 3
sub dword [ebp - 0x13d4], 1
jne 0x907ca5e
sub dword [ebp - 0x13d8], 1
jne 0x907ca54
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.0909b970
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x753
mov esi, dword [ebp - 0x13e4]
push 2
pop ecx
add eax, ecx
mov dword [ebp - 0x13e0], edi
mov dword [ebp - 0x13dc], eax
cmp edi, 0xb71b
jb 0x907c9a1
mov dword [ebp - 4], ecx
mov ecx, esi
call fcn.09016859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x907cee9
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
push ecx
push ecx
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90a9dd4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x13f0
call fcn.090a4f00
mov eax, dword [0x90e460c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x13e8], edi
mov esi, dword [ebx + 8]
push 0
mov dword [ebp - 0x13e4], esi
mov eax, dword [esi + 4]
add eax, 0x94
push eax
call fcn.0909b970
cmp dword [edi], 0
pop ecx
pop ecx
jne 0x907cf6e
push 0
push 0x9c4
push 0xf424
push dword [esi + 4]
call fcn.0909b970
add esp, 0x10
mov dword [edi], eax
mov ecx, esi
mov dword [ebp - 0x13ec], esi
call fcn.0901658c
and dword [ebp - 4], 0
lea edi, [ebp - 0x48]
push 0xc
pop ecx
mov eax, ecx
mov dword [ebp - 0x13dc], 0x18
xor edx, edx
add ecx, 0x8000
div dword [ebp - 0x13dc]
mov word [edi], ax
lea edi, [edi + 2]
cmp ecx, 0xc800c
jb 0x907cf85
and dword [ebp - 0x13e0], 0
lea eax, [ebp - 0x48]
mov dword [ebp - 0x13dc], eax
movzx eax, word [eax]
lea ecx, [ebp - 0x13cc]
xor edx, edx
mov dword [ebp - 0x13d8], eax
mov dword [ebp - 0x13d4], edx
movzx esi, word [ebp + edx*2 - 0x48]
xor edi, edi
mov edx, dword [ebp - 0x13d8]
mov ax, word [ebp + edi*2 - 0x48]
inc edi
mov word [ecx - 2], dx
mov word [ecx], si
mov word [ecx + 2], ax
add ecx, 8
cmp edi, 0x19
jb 0x907cfe1
mov edx, dword [ebp - 0x13d4]
inc edx
mov dword [ebp - 0x13d4], edx
cmp edx, 0x19
jb 0x907cfd4
mov ecx, dword [ebp - 0x13e4]
lea eax, [ebp - 0x13d0]
push 0
push 0x434d594b
push 0x50524742
push 0x271
push eax
push eax
call fcn.0909b970
mov eax, dword [ebp - 0x13e8]
lea ecx, [ebp - 0x1400]
mov edi, dword [ebp - 0x13e0]
push 1
push 0x9c4
push edi
push dword [eax]
call fcn.0909b970
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 1
call fcn.09005b3d
lea esi, [ebp - 0x13d0]
mov dword [ebp - 0x13d8], 0x19
lea edi, [eax + 2]
mov dword [ebp - 0x13d4], 0x19
mov ecx, dword [esi]
mov edx, dword [esi + 4]
add esi, 8
movzx eax, cx
imul eax, eax, 0xff
shr ecx, 0x10
add eax, 0x4000
shr eax, 0xf
mov byte [edi - 2], al
imul eax, ecx, 0xff
mov ecx, 0x4000
add eax, ecx
shr eax, 0xf
mov byte [edi - 1], al
movzx eax, dx
imul eax, eax, 0xff
shr edx, 0x10
add eax, ecx
shr eax, 0xf
mov byte [edi], al
imul eax, edx, 0xff
add eax, ecx
shr eax, 0xf
mov byte [edi + 1], al
add edi, 4
sub dword [ebp - 0x13d4], 1
jne 0x907d07d
sub dword [ebp - 0x13d8], 1
jne 0x907d073
lea ecx, [ebp - 0x1400]
mov byte [ebp - 4], 0
call fcn.0909b970
mov edi, dword [ebp - 0x13e0]
mov eax, dword [ebp - 0x13dc]
add edi, 0x9c4
mov esi, dword [ebp - 0x13e4]
push 2
pop ecx
add eax, ecx
mov dword [ebp - 0x13e0], edi
mov dword [ebp - 0x13dc], eax
cmp edi, 0xf424
jb 0x907cfbd
mov dword [ebp - 4], ecx
mov ecx, esi
call fcn.09016859
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x909b970
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x909b97f
pop dword [ebp - 0x1c]
mov eax, 0x84ff65af
sub eax, 0x7bf5ac30
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x1de8be55
add dword [ebp - 0x2c], 0x306986f6
mov dword [ebp - 0x28], 0x72698a6b
add dword [ebp - 0x28], 0xbfc9c1da
mov dword [ebp - 0x24], 0xab31f777
add dword [ebp - 0x24], 0xa11a4cb7
mov dword [ebp - 0x20], 0x2769b08e
sub dword [ebp - 0x20], 0x2769b08e
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x28ef451a
add eax, 0xe01b7b1e
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x85a2a349
sub dword [ebp - 0x2c], 0x113039f3
mov dword [ebp - 0x28], 0x2ab894e2
sub dword [ebp - 0x28], 0xe94c336d
mov dword [ebp - 0x24], 0x3ae8c8dc
add dword [ebp - 0x24], 0x2886a390
mov dword [ebp - 0x20], 0x1a727d18
add dword [ebp - 0x20], 0xe58d82e8
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0xfb2029c9
add eax, 0xdea9687
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x61e4d
push 0
call eax
mov ecx, 0xf1cd9357
add ecx, 0xe32b720
mov ebx, eax
mov esi, 0xcd0d9af3
add esi, 0x3c01850d
add esi, dword [ebp - 0x1c]
mov edx, 0xe4cf10d2
xor dword [ebp - 8], esi
mov edi, dword [esi]
sub dword [ebp - 0x10], edx
sub edi, edx
mov dword [ebp - 0x10], 0xa45e3cd6
mov dword [ebx], edi
xor dword [ebp - 8], ecx
add ebx, 0x6dc4bb81
add ebx, 0x923b4483
add esi, 4
loop 0x909ba9b
add eax, 0xe231c8a6
add eax, 0x1dcf5409
mov ebx, eax
add eax, 0xda988805
sub eax, 0xda988800
mov ecx, 0x9000000
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x909d000
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x90aa85d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xb18
mov eax, dword [0x90e460c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx + 0x18]
push eax
mov dword [ebp - 0xb28], eax
call fcn.0909b970
add esp, 4
lea ecx, [ebp - 0xb20]
push eax
call fcn.0909b970
push 0
push 0
push 0
push 1
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 1
push dword [ebp - 0xb20]
mov dword [ebp - 4], 0
push esi
call fcn.09008007
add esp, 0x3c
lea ecx, [ebp - 0xb1c]
push eax
call fcn.0909b970
mov byte [ebp - 4], 1
xor eax, eax
nop dword [eax]
nop dword [eax + eax]
mov byte [ebp + eax - 0x118], al
inc eax
cmp eax, 0x100
jb 0x909d0b0
mov ecx, dword [ebp - 0xb1c]
lea eax, [ebp - 0x918]
push 0
push 0x5058595a
push 0x67386b30
push 0x100
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.0909b970
movzx edi, word [ebp - 0x914]
movzx edx, word [ebp - 0x11c]
cmp edx, edi
jbe 0x909d21d
mov ecx, edx
sub ecx, edi
xor esi, esi
mov dword [ebp - 0xb24], ecx
nop dword [eax + eax]
movzx eax, word [ebp + esi*8 - 0x914]
cmp eax, edi
ja 0x909d120
xor eax, eax
jmp 0x909d145
cmp eax, edx
jb 0x909d12b
mov eax, 0x8000
jmp 0x909d145
sub eax, edi
shr ecx, 1
shl eax, 0xf
xor edx, edx
add eax, ecx
mov ecx, dword [ebp - 0xb24]
div ecx
movzx edx, word [ebp - 0x11c]
mov word [ebp + esi*2 - 0xb18], ax
inc esi
cmp esi, 0x100
jb 0x909d110
lea ecx, [ebp - 0xb1c]
call fcn.0909b970
lea ecx, [ebp - 0xb20]
mov dword [ebp - 4], 0xffffffff
call fcn.0909b970
mov esi, dword [ebp - 0xb28]
lea eax, [esi + 8]
push eax
push 0x278
mov dword [ebp - 0xb28], eax
call fcn.0909b970
add esp, 8
mov dword [ebp - 0xb24], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x909d1ad
push esi
mov ecx, eax
call fcn.0909b970
mov edx, eax
jmp 0x909d1af
xor edx, edx
mov ecx, dword [ebx + 0xc]
xorps xmm0, xmm0
movsd xmm1, qword [ebx + 0x10]
mulsd xmm1, qword [0x90bce18]
mov eax, dword [ecx]
mov dword [edx + 0x68], eax
mov eax, dword [ecx + 4]
comisd xmm0, xmm1
mov dword [edx + 0x6c], eax
jbe 0x909d1dd
subsd xmm1, qword [0x90b2760]
jmp 0x909d1e5
addsd xmm1, qword [0x90b2760]
cvttsd2si eax, xmm1
lea edi, [edx + 0x72]
mov ecx, 0x80
lea esi, [ebp - 0xb18]
rep movsd dword es:[edi], dword [esi]
mov word [edx + 0x70], ax
mov eax, edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.09001fa0
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x6250726f
call fcn.0909b970
int3