joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4309c2
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
test edx, edx
jne 0x4309cd
xor eax, eax
pop ebp
ret
push ebx
push esi
mov esi, dword [ebp + 8]
not ecx
mov ebx, 0xff
cmp esi, 8
jb 0x430a85
push edi
mov edi, esi
shr edi, 3
movzx eax, byte [edx]
sub esi, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 1]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 2]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 3]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 4]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 5]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 6]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
movzx eax, byte [edx + 7]
add edx, 8
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
dec edi
jne 0x4309e8
pop edi
test esi, esi
je 0x430a9e
movzx eax, byte [edx]
xor eax, ecx
shr ecx, 8
and eax, ebx
xor ecx, dword [eax*4 + 0x4a8550]
inc edx
dec esi
jne 0x430a89
not ecx
pop esi
mov eax, ecx
pop ebx
pop ebp
ret

Function at 0x43121f
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
mov ebx, edx
mov esi, ebx
mov eax, ecx
imul esi, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp byte [edi], 0
je 0x431259
push 0
lea ecx, [ebp + 8]
push ecx
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x431254
mov byte [edi + 8], 1
mov eax, dword [ebp + 8]
jmp 0x431280
mov edx, dword [edi + 0x18]
lea eax, [edx + esi]
cmp eax, dword [edi + 0x14]
jbe 0x431269
mov esi, dword [edi + 0x14]
sub esi, edx
mov ecx, dword [edi + 0x10]
push esi
add ecx, edx
push ecx
push dword [ebp - 4]
call fcn.00462db0
add esp, 0xc
mov eax, esi
add dword [edi + 0x18], esi
pop edi
xor edx, edx
pop esi
div ebx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x433910
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x66c], 0
je 0x433979
cmp dword [ebp + 8], 0x100
jne 0x433969
cmp word [ebp + 0xc], 0xd
jne 0x433969
cmp byte [esi + 0x672], 0
je 0x43394e
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x433969
cmp byte [esi + 0x673], 0
jne 0x433969
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x433965
push ecx
push 0
push 0
push str.return
push esi
call fcn.004241da
xor eax, eax
jmp 0x43397c
mov eax, dword [esi + 0x66c]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
xor eax, eax
inc eax
pop esi
pop ebp
ret 0x10
Function at 0x43b3fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
mov eax, dword [ebp + 8]
mov edx, eax
push ebx
push esi
shr edx, 0x10
mov esi, ecx
push edi
test dx, dx
je 0x43b439
cmp word [eax], 0x3c
jne 0x43b430
push eax
call fcn.0043d03b
test al, al
jne 0x43b4c9
xor eax, eax
jmp 0x43b4d9
push ecx
push eax
call fcn.0043d119
jmp 0x43b421
mov ecx, dword [0x4c759c]
test ecx, ecx
mov ebx, dword [ebp + 0xc]
cmove ecx, dword [0x4c7594]
push ebx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x43b429
mov eax, dword [0x4c759c]
test eax, eax
push edi
cmove eax, dword [0x4c7594]
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x43b481
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
jmp 0x43b429
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x140], eax
mov eax, dword [0x4c759c]
test eax, eax
push ecx
cmove eax, dword [0x4c7594]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, esi
call fcn.0043d086
test al, al
je 0x43b429
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov dword [esi + 0x144], ebx
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0043b4e2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x43d119
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x2c4
mov eax, 0x497f2e
call fcn.00466cfd
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.0043d32b
push 0x4c16e8
lea ecx, [ebp - 0x98]
call fcn.00420dc7
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [0x4c1770]
cmp word [eax], di
jne 0x43d20c
test ebx, ebx
je 0x43d165
push ebx
lea ecx, [ebp - 0x98]
call fcn.00420e0d
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocString
push dword [ebp - 0x98]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
push edi
cmp ebx, 0xffffffff
jne 0x43d193
push 0x4aea1c
jmp 0x43d2e2
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
test edi, edi
je 0x43d27c
cmp edi, 0x400000
ja 0x43d28d
and dword [ebp - 0x2d0], 0
push edi
call fcn.0045ed6b
pop ecx
push 0
lea ecx, [ebp - 0x2d0]
mov dword [ebp - 0x2cc], eax
push ecx
push edi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x2d0], edi
je 0x43d205
mov edi, dword [ebp - 0x2cc]
push edi
call fcn.004607be
pop ecx
mov ecx, esi
call fcn.0043d32b
push 0
push str.Could_not_read_file
jmp 0x43d2e2
push ecx
push edi
jmp 0x43d2ff
push eax
lea ecx, [ebp - 0x98]
call fcn.00420e0d
cmp byte [0x4c1690], 0
je 0x43d229
mov edi, dword [0x4c7598]
jmp 0x43d23b
mov ecx, dword [ebp - 0x98]
xor edx, edx
push 2
call fcn.0043248b
pop ecx
mov edi, eax
test edi, edi
jne 0x43d24a
push edi
push str.Error_opening_zip_file
jmp 0x43d2e2
lea eax, [ebp - 0x2c8]
mov edx, ebx
push eax
lea eax, [ebp - 0x2d0]
push eax
push ecx
mov ecx, edi
call fcn.004324ed
add esp, 0xc
test eax, eax
je 0x43d272
push 0
push str.Could_not_find_ziped_file
jmp 0x43d2e2
mov ebx, dword [ebp - 0x9c]
test ebx, ebx
jne 0x43d285
push 0
push str.File_is_empty
jmp 0x43d2e2
cmp ebx, 0x400000
jbe 0x43d296
push 0
push str.File_too_large
jmp 0x43d2e2
push ebx
call fcn.0045ed6b
mov edx, dword [ebp - 0x2d0]
mov ecx, edi
push ebx
push eax
mov dword [ebp - 0x2cc], eax
call fcn.004325c0
add esp, 0xc
test eax, eax
je 0x43d2ed
cmp eax, 0x600
je 0x43d2ed
push dword [ebp - 0x2cc]
call fcn.004607be
cmp byte [0x4c1690], 0
pop ecx
jne 0x43d2db
mov ecx, edi
call fcn.004325f3
push 0
push str.Could_not_unzip_file
mov ecx, esi
call fcn.0043d9cc
mov bl, al
jmp 0x43d316
cmp byte [0x4c1690], 0
jne 0x43d2fd
mov ecx, edi
call fcn.004325f3
push ecx
push ebx
mov edi, dword [ebp - 0x2cc]
mov ecx, esi
push edi
call fcn.0043d086
push edi
mov bl, al
call fcn.004607be
pop ecx
lea ecx, [ebp - 0x98]
call fcn.00420dec
mov al, bl
call fcn.00466cbb
ret 8
Function at 0x448a43
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 8]
and edi, 7
je 0x448a65
cmp dword [esi + 8], edi
jge 0x448a5d
call fcn.004484a9
mov ecx, edi
shr dword [esi + 0xc], cl
sub dword [esi + 8], edi
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x448a8b
mov edi, dword [esi + 0xc]
mov al, byte [esi + 0xc]
sub edx, 8
mov byte [ebp + ecx - 4], al
inc ecx
shr edi, 8
mov dword [esi + 0xc], edi
test edx, edx
jg 0x448a71
mov dword [esi + 8], edx
jmp 0x448aa0
mov eax, dword [esi]
cmp eax, dword [esi + 4]
jb 0x448a96
xor dl, dl
jmp 0x448a9b
mov dl, byte [eax]
inc eax
mov dword [esi], eax
mov byte [ebp + ecx - 4], dl
inc ecx
cmp ecx, 4
jl 0x448a8b
mov eax, dword [ebp - 4]
movzx ecx, byte [ebp - 1]
movzx edi, ah
movzx eax, al
shl edi, 8
add edi, eax
shl ecx, 8
movzx eax, byte [ebp - 2]
add ecx, eax
mov eax, edi
xor eax, 0xffff
cmp ecx, eax
je 0x448ad9
mov dword [0x4c78b0], str.zlib_corrupt
xor eax, eax
jmp 0x448b1c
mov eax, dword [esi]
add eax, edi
cmp eax, dword [esi + 4]
jbe 0x448aee
mov dword [0x4c78b0], str.read_past_buffer
jmp 0x448ad5
mov edx, dword [esi + 0x10]
lea eax, [edx + edi]
cmp eax, dword [esi + 0x18]
jbe 0x448b06
push edi
mov ecx, esi
call fcn.0044858b
pop ecx
test eax, eax
je 0x448ad5
push edi
push dword [esi]
push dword [esi + 0x10]
call fcn.00462db0
add dword [esi], edi
xor eax, eax
add dword [esi + 0x10], edi
add esp, 0xc
inc eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x44edec
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x10], 0
je 0x44ee53
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea edi, [eax + 1]
lea eax, [edi + edi]
call fcn.0047add0
mov ebx, esp
test ebx, ebx
je 0x44ee53
push edi
push ebx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esi + 0x10]
push ebx
add ecx, 0x1c4
call fcn.00420f36
mov ecx, dword [esi + 0x10]
push ecx
push 0
push 0
mov eax, dword [ecx]
push str.textchanged
push ecx
call dword [eax + 0x1c]
mov ecx, eax
call fcn.004241da
xor eax, eax
lea esp, [ebp - 0x10]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret
Function at 0x4536fb
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [ebp - 0x98], esi
mov dword [esi + 0x10], eax
mov dword [eax + 0x740], ebx
cmp dword [esi + 4], ebx
jne 0x453792
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x30]
push eax
lea ecx, [ebp - 0xa8]
call fcn.00420b6c
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
call dword [eax + 0x1c]
sub esp, 0x10
lea esi, [ebp - 0xa8]
mov edi, esp
push ecx
movsd dword es:[edi], dword [esi]
push ebx
push 0x40000000
push ecx
push dword [eax]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x98]
mov ecx, esi
call fcn.00426498
mov ecx, dword [esi + 0x10]
mov eax, dword [ecx]
push dword [ecx + 0x638]
call dword [eax + 0x1c]
mov ecx, eax
call fcn.00424978
push 1
push dword [eax]
push 0x30
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x94]
mov eax, dword [eax]
cmp word [eax], bx
sete bl
call fcn.00420dec
mov edi, 0x730
test bl, bl
je 0x4537c9
mov eax, dword [esi + 0x10]
add eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [esi + 0x10]
add eax, edi
push eax
push 0
push 0x1002
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 8]
pop edi
mov byte [esi + 0x18], 1
xor ecx, ebp
pop esi
pop ebx
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret 4
Function at 0x45cc30
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49910f
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4c0760]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 4], 0
mov dword [ebp - 4], 0
mov dword [esi], vtable.Json::BuiltStyledStreamWriter.0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x28], 0xf
mov dword [esi + 0x24], 0
mov byte [esi + 0x14], 0
push 0xffffffffffffffff
mov byte [ebp - 4], 2
lea ecx, [esi + 0x30]
mov dword [esi + 0x2c], 0x4a
push 0
push dword [ebp + 8]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00406950
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x4c]
push 0xffffffffffffffff
mov byte [ebp - 4], 3
mov dword [esi + 0x48], eax
push 0
push dword [ebp + 0x10]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00406950
push 0xffffffffffffffff
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 4
push 0
push dword [ebp + 0x14]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00406950
push 0xffffffffffffffff
lea ecx, [esi + 0x7c]
mov byte [ebp - 4], 5
push 0
push dword [ebp + 0x18]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
mov byte [ecx], 0
call fcn.00406950
and byte [esi + 0x94], 0xfc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0x14

Function at 0x46a9bc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x48cbcf
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c0760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00468aad
mov dword [ebp - 0x14], eax
cmp dword [0x4c749c], esi
jne 0x48ccc2
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x48cc4f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x48cda2
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x48cda2
push 0x4a6444
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x48cda2
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4c749c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c74a0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c74a4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c74ac], eax
test eax, eax
je 0x48ccbf
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4c74a8], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x48cce7
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x48ccda
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x48ccfc
push 4
pop eax
jmp 0x48cda4
cmp dword [ebp - 0x14], esi
je 0x48ccfc
push dword [0x4c749c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x48cce1
mov eax, dword [0x4c74a8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x48cd5a
cmp dword [0x4c74ac], edi
je 0x48cd5a
push eax
call ebx
push dword [0x4c74ac]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x48cd5a
test eax, eax
je 0x48cd5a
call ecx
test eax, eax
je 0x48cd4f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x48cd4f
test byte [ebp - 8], 1
jne 0x48cd5a
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x48cd8a
mov eax, dword [0x4c74a0]
cmp eax, edi
je 0x48cd87
push eax
call ebx
test eax, eax
je 0x48cd87
call eax
mov esi, eax
test esi, esi
je 0x48cd87
mov eax, dword [0x4c74a4]
cmp eax, edi
je 0x48cd87
push eax
call ebx
test eax, eax
je 0x48cd87
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c749c]
call ebx
test eax, eax
je 0x48cda2
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x48cda4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045fbcc
mov esp, ebp
pop ebp
ret
Function at 0x1024355f
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x48
mov eax, dword [ebp + 8]
mov ecx, dword [0x10257f78]
add ecx, 0x1134
mov dword [0x10257f74], ecx
mov dword [ebp - 0x10], eax
call fcn.102446b7
xor ecx, ecx
mov edx, eax
mov esi, dword [eax + 0x3c]
mov edi, edx
add edi, esi
mov esi, dword [eax + esi]
cmp esi, 0x4550
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], edi
je 0x102435ad
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x78]
mov dword [0x10257f78], 0x1efe
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + eax + 0x20]
mov esi, dword [edx + eax + 0x24]
mov dword [0x10257f74], 0xe72
mov edi, dword [edx + eax + 0x18]
cmp edi, 0
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x34], ebx
je 0x102436c8
xor eax, eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x2c]
add ecx, edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov esi, dword [ebp - 0x28]
mov edi, dword [esi + eax*4]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x4c]
mov ecx, eax
mov edx, dword [ebp - 0x48]
add ecx, edx
mov esi, dword [ebp - 0x1c]
mov bl, byte [esi + ecx]
mov ecx, dword [ebp - 0x10]
mov bh, byte [ecx + eax]
cmp bl, bh
sete cl
cmp bl, 0
mov dword [ebp - 0x50], eax
mov byte [ebp - 0x51], bh
mov byte [ebp - 0x52], cl
je 0x10243672
mov eax, dword [ebp - 0x50]
add eax, 1
mov cl, byte [ebp - 0x51]
cmp cl, 0
setne dl
mov ch, byte [ebp - 0x52]
and ch, dl
cmp eax, 0x20
setb dl
and ch, dl
test ch, 1
mov dword [ebp - 0x4c], eax
jne 0x10243621
mov al, byte [ebp - 0x52]
test al, 1
jne 0x102436a5
jmp 0x1024367b
xor eax, eax
mov ecx, dword [ebp - 0x44]
add ecx, 2
mov edx, dword [ebp - 0x40]
add edx, 1
mov esi, dword [ebp - 0x30]
cmp edx, esi
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], eax
jb 0x10243607
jmp 0x102436c8
mov eax, dword [ebp - 0x44]
movzx ecx, word [eax]
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
add edx, dword [edx + esi + 0x1c]
mov edi, dword [ebp - 0x1c]
add edi, dword [edx + ecx*4]
mov dword [0x10257f74], 0x114f
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x34]
add esp, 0x48
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x102436d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [0x10257f78]
mov esi, edx
add esi, 0xffffedec
mov dword [0x10257f78], esi
mov dword [0x10257f74], 0x1040
mov esi, ecx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x34]
lea edx, section..data
imul esi, ecx, 0xa0
mov edi, edx
add edi, esi
add edi, 0x88
imul esi, ecx, 0xa0
add edx, esi
add edx, 0x8c
add ecx, 1
mov edx, dword [edx]
movzx esi, word [edi]
xor esi, edx
add esi, eax
cmp ecx, 0x17f
mov eax, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x3c], eax
jne 0x1024370d
xor eax, eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xfffbe89c
mov dword [0x10257f78], ecx
mov dword [0x10257f74], 0x195f
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov cl, byte [eax + 0x10247774]
mov dl, byte [eax + 0x10247745]
sub dl, cl
mov byte [ebp + eax - 0x2c], dl
add eax, 1
cmp eax, 0xe
mov dword [ebp - 0x44], eax
jne 0x10243777
lea eax, [ebp - 0x2c]
mov dword [0x10257f78], 0x79a
mov dword [0x10257f74], 0x1410
mov dword [ebp - 0x48], eax
call fcn.102441ae
mov dword [esp], eax
mov eax, dword [ebp - 0x48]
mov dword [esp + 4], eax
call fcn.10243ca6
mov ecx, eax
mov dword [0x10257f94], eax
mov eax, esp
mov edx, dword [ebp - 0x40]
mov dword [eax + 4], edx
mov dword [eax + 0xc], 4
mov dword [eax + 8], 0x1000
mov dword [eax], 0
call ecx
sub esp, 0x10
xor ecx, ecx
mov edx, ecx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], ecx
mov eax, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edx, section..data
imul esi, ecx, 0xa0
mov edi, edx
add edi, esi
add edi, 0x8c
imul esi, ecx, 0xa0
mov ebx, edx
add ebx, esi
add ebx, 0x34
mov esi, dword [ebp - 0x4c]
add esi, eax
mov dword [ebp - 0x58], eax
mov eax, ecx
add eax, 1
imul ecx, ecx, 0xa0
add edx, ecx
add edx, 0x88
mov ecx, dword [edi]
mov edi, dword [ebx]
movzx edx, word [edx]
xor edx, ecx
mov dword [esp], esi
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], edx
call fcn.10244578
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0x58]
add eax, ecx
mov edx, dword [ebp - 0x5c]
cmp edx, 0x17f
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x54], eax
jne 0x10243800
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
mov dword [esp + 4], eax
mov ecx, dword [ebp - 0x40]
mov dword [esp + 8], ecx
call fcn.10243fcd
xor eax, eax
mov ecx, dword [ebp - 0x4c]
add ecx, 0x16a7
mov edx, dword [ebp - 0x4c]
add edx, 0xeee7a
mov esi, dword [ebp - 0x30]
mov dword [esi], edx
mov dword [esi + 4], 0x12fc00
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0x1f50
mov dword [0x10257f74], 0x131b
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x10243947
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x10257f80], 0
mov byte [0x10257f84], 0
mov dword [0x10257f74], 0x12ba
mov dword [0x10257f78], 0x639
mov dword [0x10257f7c], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
mov dword [0x10257f78], 0x22b
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x10257f7c]
add eax, 1
mov dword [0x10257f7c], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x10243996
xor eax, eax
mov ecx, dword [0x10257f74]
add ecx, 0x1c54
mov dword [0x10257f78], ecx
mov dword [0x10257f7c], 0
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov ecx, 0x100
mov dword [0x10257f88], 0
mov dword [0x10257f74], 0x19a
mov edx, dword [0x10257f80]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + eax]
add edi, edx
mov dword [ebp - 0x24], eax
xor edx, edx
mov ebx, dword [ebp - 0x10]
div ebx
mov esi, dword [ebp - 0x14]
movzx edx, byte [esi + edx]
add edi, edx
mov dword [0x10257f88], edi
mov dword [0x10257f74], 0x1ec9
mov eax, edi
cdq
idiv ecx
mov dword [0x10257f80], edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x24]
mov cl, byte [ecx + edi]
mov byte [0x10257f84], cl
mov ecx, dword [ebp - 0x18]
mov cl, byte [ecx + edx]
mov edx, dword [ebp - 0x18]
mov byte [edx + edi], cl
mov dword [0x10257f78], 0x1ba8
mov dword [0x10257f74], 0xfffffd12
mov cl, byte [0x10257f84]
mov edx, dword [0x10257f80]
mov esi, dword [ebp - 0x18]
mov byte [esi + edx], cl
mov edx, dword [0x10257f7c]
add edx, 1
mov dword [0x10257f7c], edx
cmp edx, 0x100
mov dword [ebp - 0x20], edx
jl 0x102439e7
mov eax, dword [0x10257f78]
add eax, 0xffffe839
mov dword [0x10257f74], eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret