joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c0c8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov edi, edx
mov ebp, eax
test ebp, ebp
je 0x41c168
test ebp, ebp
setl byte [esp]
mov eax, edi
xor ecx, ecx
mov edx, 0xb
call fcn.00406764
mov esi, 0xb
mov eax, ebp
mov ecx, 0xa
cdq
idiv ecx
mov eax, edx
cdq
xor eax, edx
sub eax, edx
mov ebx, eax
mov ecx, 0xa
mov eax, ebp
cdq
idiv ecx
mov ebp, eax
mov eax, edi
call fcn.004064f8
add bl, 0x30
mov byte [eax + esi - 1], bl
dec esi
test ebp, ebp
jne 0x41c0f2
cmp byte [esp], 0
je 0x41c137
mov eax, edi
call fcn.004064f8
mov byte [eax + esi - 1], 0x2d
dec esi
test esi, esi
jle 0x41c174
mov eax, edi
call fcn.004064f8
push eax
mov eax, edi
call fcn.004064f8
add eax, esi
mov ebx, 0xb
sub ebx, esi
mov ecx, ebx
pop edx
call fcn.00403278
mov edx, ebx
mov eax, edi
xor ecx, ecx
call fcn.00406764
jmp 0x41c174
mov eax, edi
mov edx, 0x41c188
call fcn.00405d30
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x41cdf8
Capabilities:
Get geographical location

Disassembly:
push ecx
cmp byte [0x5cdd8c], 0
jne 0x41ce2c
push 2
lea eax, [esp + 4]
push eax
push 0xe
call sub.KERNEL32.DLL_GetThreadLocale_1
push eax
call sub.KERNEL32.DLL_GetLocaleInfoA
test eax, eax
jle 0x41ce25
movzx eax, byte [esp]
mov byte [0x5cdd8c], al
jmp 0x41ce2c
mov byte [0x5cdd8c], 0x2c
movzx eax, byte [0x5cdd8c]
pop edx
ret

Function at 0x41d380
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push ecx
mov ebx, edx
mov esi, eax
mov eax, ebx
mov edx, esi
call fcn.00405d30
mov eax, ebx
call fcn.004064f0
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x41d3a8
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x41d3bc
mov edx, 1
mov ecx, dword [ebx]
xor byte [ecx + edx - 1], 0x55
inc edx
dec eax
jne 0x41d3b1
pop edx
pop esi
pop ebx
ret
Function at 0x41d600
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x41d74a
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x41d628
cmp dword [ebx + 4], 0
jne 0x41d74a
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x41d64e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x41d64e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
push 0
push 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
push edx
push eax
call fcn.0041d554
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x41d74a
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x41d6fd
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x41d6a3
push 4
push 0x1000
push 0x100000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
xor edx, edx
call fcn.0041d594
test al, al
je 0x41d6f3
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.DLL_ReadFile_1
test eax, eax
je 0x41d6f3
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 4]
jne 0x41d6f3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
jmp 0x41d71b
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
jmp 0x41d71b
push dword [ebx + 0xc]
push dword [ebx + 8]
mov ecx, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 4
call fcn.0041d5e8
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 0
je 0x41d74a
mov ecx, dword [ebx + 4]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x20]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
call fcn.00421894
mov edx, dword [ebp + 8]
mov edx, dword [edx + 8]
mov dword [edx], eax
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x41db14
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 0x14]
mov dword [ebp - 8], eax
mov esi, dword [ebx + 0x24]
sub esi, dword [ebx + 0x5c]
sub esi, dword [ebx + 0x54]
test esi, esi
jne 0x41db45
cmp dword [ebx + 0x54], 0
jne 0x41db45
cmp dword [ebx + 0x5c], 0
jne 0x41db45
mov esi, dword [ebp - 8]
jmp 0x41dbf0
cmp esi, 0xffffffff
jne 0x41db50
dec esi
jmp 0x41dbf0
mov eax, dword [ebx + 0x54]
mov edx, dword [ebp - 8]
sub edx, 0x106
add edx, dword [ebp - 8]
cmp eax, edx
jb 0x41dbf0
mov eax, dword [ebx + 0x20]
mov edx, dword [ebp - 8]
lea edx, [eax + edx]
mov ecx, dword [ebp - 8]
xchg edx, eax
call fcn.00403278
mov eax, dword [ebp - 8]
sub dword [ebx + 0x58], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x54], eax
mov eax, dword [ebp - 8]
sub dword [ebx + 0x44], eax
mov eax, dword [ebx + 0x34]
mov edx, dword [ebx + 0x2c]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x41dbb2
movzx ecx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x41dbb7
mov word [edx], 0
dec eax
test eax, eax
jne 0x41db94
mov eax, dword [ebp - 8]
mov edx, dword [ebx + 0x28]
lea edx, [edx + eax*2]
sub edx, 2
movzx ecx, word [edx]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 8]
jb 0x41dbe3
movzx ecx, word [ebp - 4]
sub cx, word [ebp - 8]
mov word [edx], cx
jmp 0x41dbe8
mov word [edx], 0
dec eax
test eax, eax
jne 0x41dbc5
add esi, dword [ebp - 8]
mov ecx, dword [ebx]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0xc]
push edx
push eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
cmp edx, dword [esp + 4]
jne 0x41dc0c
cmp eax, dword [esp]
pop edx
pop eax
je 0x41dc7a
push ebp
mov eax, dword [ebx + 0x54]
add eax, dword [ebx + 0x5c]
mov edx, dword [ebx + 0x20]
add edx, eax
mov eax, ecx
mov ecx, esi
call fcn.0041daa0
pop ecx
add dword [ebx + 0x5c], eax
cmp dword [ebx + 0x5c], 3
jb 0x41dc54
mov eax, dword [ebx + 0x54]
mov edx, dword [ebx + 0x20]
movzx eax, byte [edx + eax]
mov dword [ebx + 0x30], eax
mov ecx, dword [ebx + 0x40]
shl eax, cl
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebx + 0x20]
movzx edx, byte [ecx + edx + 1]
xor eax, edx
and eax, dword [ebx + 0x3c]
mov dword [ebx + 0x30], eax
cmp dword [ebx + 0x5c], 0x106
jae 0x41dc7a
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 8]
mov ecx, dword [ebp + 8]
cmp edx, dword [ecx + 0x18]
jne 0x41db24
cmp eax, dword [ecx + 0x14]
jne 0x41db24
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret
Function at 0x41f1d0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x41f31d
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x41f1f8
cmp dword [ebx + 4], 0
jne 0x41f31d
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x41f21e
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
je 0x41f21e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
push eax
call sub.KERNEL32.DLL_UnmapViewOfFile
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
push 0
push 0x100000
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x18]
mov eax, dword [eax + 0x14]
sub eax, dword [ebx + 8]
sbb edx, dword [ebx + 0xc]
push edx
push eax
call fcn.0041d554
mov esi, eax
mov dword [ebx + 4], esi
test esi, esi
je 0x41f31d
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x41f2cd
mov eax, dword [ebp + 8]
cmp dword [eax - 0xc], 0
jne 0x41f273
push 4
push 0x1000
push 0x100000
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
push dword [ebx + 0xc]
push dword [ebx + 8]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
xor ecx, ecx
xor edx, edx
call fcn.0041d594
test al, al
je 0x41f2c3
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebx + 4]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.KERNEL32.DLL_ReadFile_1
test eax, eax
je 0x41f2c3
mov eax, dword [ebx + 4]
cmp eax, dword [ebp - 4]
jne 0x41f2c3
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
jmp 0x41f2eb
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax + 0x20], edx
jmp 0x41f2eb
push dword [ebx + 0xc]
push dword [ebx + 8]
mov ecx, esi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
mov edx, 4
call fcn.0041d5e8
mov edx, dword [ebp + 8]
mov dword [edx + 0x20], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [ebx], eax
cmp dword [ebx + 0xc], 0
jne 0x41f31d
cmp dword [ebx + 8], 0
jne 0x41f31d
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
cdq
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
add dword [ebx], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
sub dword [ebx + 4], eax
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x421894
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, eax
dec ecx
test ecx, ecx
jl 0x4218b8
inc ecx
mov eax, edx
mov edx, esi
xor dl, byte [eax]
movzx edx, dl
mov edx, dword [edx*4 + 0x5cea60]
shr esi, 8
xor edx, esi
mov esi, edx
inc eax
dec ecx
jne 0x42189f
mov eax, esi
pop esi
ret
Function at 0x423710
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
movzx eax, cl
mov edx, dword [ebp - 4]
cmp word [edx + eax*2], 0xffff
jne 0x423762
mov dword [ebp - 0xc], 0x7fffffff
xor esi, esi
mov ebx, dword [ebp - 8]
movzx eax, cl
movzx edx, byte [ebx]
sub eax, edx
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp - 0xc]
jge 0x423759
movzx edx, cl
mov edi, dword [ebp - 4]
lea edi, [edi + edx*2]
mov word [edi], si
mov dword [ebp - 0xc], eax
inc esi
add ebx, 3
cmp esi, 0x10
jne 0x423738
movzx eax, cl
mov edx, dword [ebp - 4]
movzx eax, byte [edx + eax*2]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4243dc
Capabilities:
Log keystrokes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, eax
lea eax, [ebp - 0x14]
mov edx, 0x14
call fcn.0040ade0
mov dword [ebp - 0x14], 0x14
push 0x4244e4
push 0x424500
call sub.KERNEL32.DLL_GetModuleHandleW_2
push eax
call fcn.0040a06c
mov ebx, eax
test ebx, ebx
je 0x42441f
lea eax, [ebp - 0x14]
push eax
call ebx
test eax, eax
jne 0x424475
lea eax, [ebp - 8]
push eax
call sub.user32.dll_GetCursorPos
test eax, eax
je 0x424475
push dword [ebp - 4]
push dword [ebp - 8]
call sub.user32.dll_WindowFromPoint
test eax, eax
je 0x424447
push 0
push eax
call sub.user32.dll_GetWindowThreadProcessId
mov ebx, eax
jmp 0x424449
xor ebx, ebx
test ebx, ebx
je 0x42445b
push 0xffffffffffffffff
push ebx
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_AttachThreadInput
call sub.user32.dll_GetCursor
mov dword [ebp - 0xc], eax
test ebx, ebx
je 0x424475
push 0
push ebx
call sub.KERNEL32.DLL_GetCurrentThreadId_1
push eax
call sub.user32.dll_AttachThreadInput
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4244de
test byte [ebp - 0x10], 1
je 0x4244de
lea eax, [ebp - 0x28]
push eax
push ebx
call sub.user32.dll_GetIconInfo
test eax, eax
je 0x4244b6
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x42449d
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4244aa
push eax
call sub.gdi32.dll_DeleteObject
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
mov eax, dword [ebp - 0x20]
sub dword [ebp - 4], eax
push 3
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub edx, dword [eax - 8]
push edx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
sub edx, dword [eax - 4]
push edx
push esi
call sub.user32.dll_DrawIconEx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42514c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor edx, edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x425210
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00406480
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4251fa
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00406764
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00406480
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x4251fa
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x425224
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x4251fa
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x425217
lea eax, [ebp - 4]
call fcn.00405cdc
ret

Function at 0x425228
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x425325
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
je 0x425283
lea eax, [ebp - 0x20]
mov edx, ebx
mov ecx, 0
call fcn.00406ea8
mov eax, dword [ebp - 0x20]
call fcn.0042514c
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
jmp 0x425307
lea eax, [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00406cf0
push eax
call sub.version.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x425307
lea eax, [ebp - 4]
xor ecx, ecx
mov edx, dword [ebp - 0x14]
call fcn.00406764
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, ebx
call fcn.00406cf0
push eax
call sub.version.dll_GetFileVersionInfoW
test eax, eax
je 0x425307
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x425338
mov eax, dword [ebp - 4]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x425307
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 8]
xor edx, edx
mov edx, eax
xor eax, eax
push edx
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42532c
lea eax, [ebp - 0x20]
call fcn.00405cdc
lea eax, [ebp - 4]
call fcn.00405cdc
ret
Function at 0x425434
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov esi, eax
push 0x40
push 0x1000
push 0x11
push 0
call sub.KERNEL32.DLL_VirtualAlloc_1
mov ebx, eax
mov dword [ebp - 4], ebx
mov eax, ebx
mov byte [eax], 0x58
mov byte [eax + 1], 0x68
mov dword [eax + 2], esi
mov byte [eax + 6], 0x50
mov byte [eax + 7], 0xff
mov byte [eax + 8], 0x25
lea edx, [eax + 0xd]
mov dword [eax + 9], edx
mov dword [eax + 0xd], edi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x425e34
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, eax
xor ebx, ebx
xor eax, eax
push ebp
push 0x425e7c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
mov edi, esi
push edi
call sub.KERNEL32.DLL_IsBadReadPtr
test eax, eax
jne 0x425e72
cmp word [edi], 0x5a4d
jne 0x425e72
lea eax, [esi + 0x3c]
mov ebx, dword [eax]
add ebx, esi
cmp dword [ebx], 0x4550
je 0x425e72
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x425e88
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x426020
Capabilities:
Read file via mapping

Disassembly:
push ebx
push esi
push edi
mov esi, eax
xor edi, edi
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x426066
push 0x10000
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov ebx, eax
push 0x8000
push ebx
push esi
call sub.KERNEL32.DLL_GetModuleFileNameW_1
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.DLL_CreateFileW_1
mov esi, eax
jmp 0x426097
push 0x105
push 0x40
call sub.KERNEL32.DLL_LocalAlloc_1
mov ebx, eax
push 0x104
push ebx
push esi
call sub.KERNEL32.DLL_GetModuleFileNameA
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push ebx
call sub.KERNEL32.DLL_CreateFileA
mov esi, eax
push ebx
call sub.KERNEL32.DLL_LocalFree
cmp esi, 0xffffffff
je 0x4260f4
call sub.KERNEL32.DLL_GetVersion_1
test eax, 0x80000000
jne 0x4260c2
push 0
push 0
push 0
push 2
push 0
push esi
call sub.KERNEL32.DLL_CreateFileMappingW
mov ebx, eax
jmp 0x4260d4
push 0
push 0
push 0
push 2
push 0
push esi
call sub.KERNEL32.DLL_CreateFileMappingA
mov ebx, eax
test ebx, ebx
je 0x4260ee
push 0
push 0
push 0
push 4
push ebx
call sub.KERNEL32.DLL_MapViewOfFile
mov edi, eax
push ebx
call sub.KERNEL32.DLL_CloseHandle_1
push esi
call sub.KERNEL32.DLL_CloseHandle_1
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x426ef0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor esi, esi
mov edi, 0x12
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea eax, [esi + 1]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx ebx, byte [eax + edx]
shl ebx, 0x10
mov eax, dword [ebp - 4]
movzx eax, byte [eax + esi]
shl eax, 0x18
add ebx, eax
lea eax, [esi + 2]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
shl eax, 8
add ebx, eax
lea eax, [esi + 3]
xor edx, edx
div dword [ebp - 8]
mov eax, dword [ebp - 4]
movzx eax, byte [eax + edx]
add ebx, eax
xor dword [ecx], ebx
lea eax, [esi + 4]
xor edx, edx
div dword [ebp - 8]
mov esi, edx
add ecx, 4
dec edi
jne 0x426f0c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edi, edi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00426b30
pop ecx
mov eax, edi
add eax, eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [edx + eax*4 - 0x48], ecx
mov edx, dword [ebp + 8]
mov ecx, dword [ebp - 0x10]
mov dword [edx + eax*4 - 0x44], ecx
inc edi
cmp edi, 9
jne 0x426f6d
mov edi, 4
mov eax, dword [ebp + 8]
lea ebx, [eax - 0x1048]
xor esi, esi
mov eax, dword [ebp + 8]
push eax
push 1
mov eax, dword [ebp + 8]
lea ecx, [eax - 0x48]
lea edx, [ebp - 0x10]
lea eax, [ebp - 0xc]
call fcn.00426b30
pop ecx
mov eax, esi
add eax, eax
mov edx, dword [ebp - 0xc]
mov dword [ebx + eax*4], edx
mov edx, dword [ebp - 0x10]
mov dword [ebx + eax*4 + 4], edx
inc esi
cmp esi, 0x80
jne 0x426fb3
add ebx, 0x400
dec edi
jne 0x426fb1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x426ff8
Capabilities:
Encrypt data using blowfish

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffa0
push ebx
push esi
push edi
mov byte [ebp - 0x1049], cl
mov edi, edx
mov ebx, eax
mov eax, dword [ebp + 0x14]
call fcn.00406470
lea esi, [ebp - 0x1058]
xor eax, eax
push ebp
push 0x4271d8
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
mov esi, 0x5ceec4
lea edi, [ebp - 0x48]
mov ecx, 0x12
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push esi
push edi
mov esi, 0x5cef0c
lea edi, [ebp - 0x1048]
mov ecx, 0x400
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
push ebp
lea eax, [ebp + 0x14]
xor edx, edx
call fcn.00405eec
call fcn.00406084
push eax
mov eax, dword [ebp + 0x14]
call fcn.00406480
pop edx
call fcn.00426ef0
pop ecx
cmp byte [ebp - 0x1049], 0
je 0x427095
lea eax, [ebp - 0x48]
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x1054], 1
jmp 0x4270a8
lea eax, [ebp - 4]
mov dword [ebp - 0x1050], eax
mov dword [ebp - 0x1054], 0xffffffff
shr edi, 3
dec edi
test edi, edi
jl 0x4271c2
inc edi
mov dword [ebp - 0x1060], edi
cmp dword [ebp + 0x10], 0
jne 0x4270c5
cmp dword [ebp + 0xc], 0
je 0x427142
mov dword [esi], 7
lea eax, [ebp + 0xc]
add eax, dword [esi]
movzx edx, byte [eax]
inc edx
and dl, 0xff
mov byte [eax], dl
lea eax, [ebp + 0xc]
add eax, dword [esi]
cmp byte [eax], 0
jne 0x4270ec
dec dword [esi]
cmp dword [esi], 0xffffffff
jne 0x4270cd
lea eax, [ebp + 0xc]
mov eax, dword [eax]
call fcn.00426b04
mov dword [esi], eax
lea eax, [ebp + 0xc]
add eax, 4
mov eax, dword [eax]
call fcn.00426b04
mov dword [ebp - 0x105c], eax
push ebp
mov eax, dword [ebp - 0x1054]
push eax
lea edx, [ebp - 0x105c]
mov eax, esi
mov ecx, dword [ebp - 0x1050]
call fcn.00426b30
pop ecx
mov eax, dword [esi]
call fcn.00426b04
xor dword [ebx], eax
mov eax, dword [ebp - 0x105c]
call fcn.00426b04
lea edx, [ebx + 4]
xor dword [edx], eax
jmp 0x4271b3
cmp byte [ebp + 8], 0
jne 0x42719a
mov edi, ebx
mov eax, dword [edi]
call fcn.00426b04
mov dword [esi], eax
lea eax, [ebx + 4]
mov eax, dword [eax]
call fcn.00426b04
mov dword [ebp - 0x105c], eax
push ebp
mov eax, dword [ebp - 0x1054]
push eax
lea edx, [ebp - 0x105c]
mov eax, esi
mov ecx, dword [ebp - 0x1050]
call fcn.00426b30
pop ecx
mov eax, dword [esi]
call fcn.00426b04
mov dword [edi], eax
mov eax, dword [ebp - 0x105c]
call fcn.00426b04
lea edx, [ebx + 4]
mov dword [edx], eax
jmp 0x4271b3
push ebp
mov eax, dword [ebp - 0x1054]
push eax
mov edx, ebx
lea eax, [ebx + 4]
mov ecx, dword [ebp - 0x1050]
call fcn.00426b30
pop ecx
add ebx, 8
dec dword [ebp - 0x1060]
jne 0x4270bb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4271df
lea eax, [ebp + 0x14]
call fcn.00405cdc
ret
Function at 0x42737c
Capabilities:
Encode data using base64

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
test esi, esi
jle 0x4274a7
lea eax, [esi + 2]
mov ecx, 3
cdq
idiv ecx
mov edx, eax
add edx, edx
add edx, edx
mov eax, edi
xor ecx, ecx
call fcn.00406764
mov ecx, dword [edi]
mov eax, esi
mov edi, 3
cdq
idiv edi
mov edi, eax
test edi, edi
jle 0x427419
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
movzx edx, byte [ebx + 2]
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x5cff0c]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + 0x5cff0c]
mov byte [ecx + 1], dl
mov edx, eax
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x5cff0c]
mov byte [ecx + 2], dl
and eax, 0x3f
movzx eax, byte [eax + 0x5cff0c]
mov byte [ecx + 3], al
add ecx, 4
add ebx, 3
dec edi
jne 0x4273b9
mov eax, esi
mov esi, 3
cdq
idiv esi
dec edx
je 0x42742e
dec edx
je 0x42745f
jmp 0x4274ae
movzx eax, byte [ebx]
shl eax, 0x10
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x5cff0c]
mov byte [ecx], dl
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x5cff0c]
mov byte [ecx + 1], al
mov byte [ecx + 2], 0x3d
mov byte [ecx + 3], 0x3d
jmp 0x4274ae
movzx eax, byte [ebx]
shl eax, 0x10
movzx edx, byte [ebx + 1]
shl edx, 8
add eax, edx
mov edx, eax
shr edx, 0x12
and edx, 0x3f
movzx edx, byte [edx + 0x5cff0c]
mov byte [ecx], dl
mov edx, eax
shr edx, 0xc
and edx, 0x3f
movzx edx, byte [edx + 0x5cff0c]
mov byte [ecx + 1], dl
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x5cff0c]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0x3d
jmp 0x4274ae
mov eax, edi
call fcn.00405cdc
pop edi
pop esi
pop ebx
ret