joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10161910
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea eax, [fcn.10161910]
mov dword [0x10296f14], 0x2e
mov dword [ebp - 8], eax
jmp 0x10161935
jmp 0x10161970
mov al, 1
test al, 1
jne 0x10161935
jmp 0x10161991
mov eax, dword [ebp - 8]
movzx eax, word [eax]
cmp eax, 0x5a4d
sete cl
mov byte [ebp - 9], cl
mov al, byte [ebp - 9]
test al, 1
jne 0x1016194f
jmp 0x10161970
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x3c]
mov ecx, dword [ebp - 8]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
cmp eax, 0x4550
jne 0x1016192b
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x10161998
mov eax, dword [ebp - 8]
sub eax, 0x1000
and eax, 0xfffff000
mov dword [ebp - 8], eax
mov eax, dword [0x10296f18]
sub eax, 0x8d4
mov dword [0x10296f14], eax
jmp 0x1016192d
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add esp, 0x10
pop ebp
ret
Function at 0x401ae8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebx, section..text
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
sub ebx, 0x1000
mov dword [0x4028f4], ebx
xor eax, eax
mov ebp, esp
mov ecx, 0xa
push eax
dec ecx
jne 0x401b11
push esp
mov eax, str.contents
mov dword [ebp - 4], eax
lea eax, [0x401187]
mov dword [ebp - 0x24], eax
mov ecx, dword [0x4028f4]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0x67
push dword [0x4028f4]
call dword [sym.imp.USER32.dll_LoadBitmapA]
xor eax, eax
push eax
push dword [0x4028f4]
push eax
push eax
push 0x1f4
push 0x2f4
push 0x578
push 0xce4
push 0
mov ecx, str.frantically
push eax
push str.contents
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [0x402904], eax
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [0x402904]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x401bc9
mov esi, dword [sym.imp.USER32.dll_TranslateMessage]
mov edi, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [ebp - 0x1c]
push ecx
call edi
xor eax, eax
push eax
push eax
push eax
lea edx, [ebp - 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x401bb0
pop ebp
ret 0x10
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp int.00401219
Function at 0x404a60
Capabilities:
Get common file path
Get disk information
Get memory capacity
Manipulate console buffer
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [0x459368]
push ebx
push esi
push edi
mov edi, dword [eax + 4]
mov eax, dword [0x45936c]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 8]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
mov dword [ebp - 0x24], 0x9e3779b9
mov dword [ebp - 0x20], edx
call fcn.00404a50
mov ecx, dword [0x459370]
mov edx, dword [0x459374]
add dword [ebp - 8], 0x23f
mov ebx, dword [sym.imp.KERNEL32.dll_EnumCalendarInfoW]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x14], 0x20
jmp 0x404ad0
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov esi, dword [ebp - 0xc]
mov eax, dword [0x460b04]
shl esi, 4
add esi, dword [ebp - 0x28]
cmp eax, 0xfa9
jne 0x404afc
mov dword [0x460b00], 0xedeb2e40
jmp 0x404b17
cmp eax, 0x3eb
jne 0x404b17
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov dword [0x460590], 0
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
add ecx, eax
mov eax, dword [ebp - 0xc]
shr eax, 5
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x2c]
add dword [ebp - 4], edx
xor esi, ecx
cmp dword [0x460b04], 0x9e6
mov dword [0x460afc], 0xf4ea3dee
jne 0x404b50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCommMask]
xor dword [ebp - 4], esi
cmp dword [0x460b04], 0x213
jne 0x404bc6
push 0
push 0
push 0
push 0
call ebx
lea eax, [ebp - 0x548]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push 0
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_DeleteTimerQueueTimer]
lea ecx, [ebp - 0xd48]
push ecx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x30]
push edx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WriteConsoleInputW]
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
sub edi, dword [ebp - 4]
cmp dword [0x460b04], 0xc
jne 0x404bda
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 8]
mov eax, edi
shr eax, 5
lea ecx, [edx + edi]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
add dword [ebp - 4], eax
mov edx, edi
shl edx, 4
add edx, dword [ebp - 0x20]
xor edx, dword [ebp - 4]
xor edx, ecx
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
sub dword [ebp - 8], eax
sub dword [ebp - 0x14], 1
jne 0x404ad0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 4], edi
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404c30
Capabilities:
Allocate thread local storage
Get thread local storage value
Set file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x460b04]
mov ecx, dword [0x460594]
shr eax, 3
sub esp, 0x808
test eax, eax
jbe 0x404cef
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetMessageWaitingIndicator]
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
lea ebx, [ebx]
cmp dword [0x460b04], 0x959
jne 0x404cd9
push 0
push 0
call esi
push 0
push 0
call edi
push 0
push 0
push 0
push 0
push 0
push 0
call ebx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0
lea eax, [ebp - 0x808]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov ecx, dword [ebp - 4]
push ecx
call fcn.00404a60
add dword [ebp - 4], 8
sub dword [ebp - 8], 1
jne 0x404c70
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x408410
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x458568]
jne 0x40841a
repz ret
jmp fcn.0040d18a

Function at 0x40ce45
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.004093a4
and dword [ebp - 4], 0
cmp dword [0x45e584], 0
mov ebx, eax
jne 0x40cef6
push 0x402530
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x40cfa7
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x402524
push edi
call esi
test eax, eax
je 0x40cfa7
push eax
call fcn.00409332
mov dword [esp], 0x402514
push edi
mov dword [0x45e584], eax
call esi
push eax
call fcn.00409332
mov dword [esp], 0x402500
push edi
mov dword [0x45e588], eax
call esi
push eax
call fcn.00409332
mov dword [esp], 0x4024e4
push edi
mov dword [0x45e58c], eax
call esi
push eax
call fcn.00409332
pop ecx
mov dword [0x45e594], eax
test eax, eax
je 0x40cef6
push 0x4024cc
push edi
call esi
push eax
call fcn.00409332
pop ecx
mov dword [0x45e590], eax
mov eax, dword [0x45e590]
cmp eax, ebx
je 0x40cf4e
cmp dword [0x45e594], ebx
je 0x40cf4e
push eax
call fcn.004093ad
push dword [0x45e594]
mov esi, eax
call fcn.004093ad
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x40cf4e
test edi, edi
je 0x40cf4e
call esi
test eax, eax
je 0x40cf45
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40cf45
test byte [ebp - 0xc], 1
jne 0x40cf4e
or dword [ebp + 0x10], 0x200000
jmp 0x40cf87
mov eax, dword [0x45e588]
cmp eax, ebx
je 0x40cf87
push eax
call fcn.004093ad
pop ecx
test eax, eax
je 0x40cf87
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x40cf87
mov eax, dword [0x45e58c]
cmp eax, ebx
je 0x40cf87
push eax
call fcn.004093ad
pop ecx
test eax, eax
je 0x40cf87
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45e584]
call fcn.004093ad
pop ecx
test eax, eax
je 0x40cfa7
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x40cfa9
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0xa318b0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0xa319b1
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xa319b1
push ebx
call fcn.00a399d0
add esp, 4
test eax, eax
je 0xa3190a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xa31911
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xa318f0
jmp 0xa31913
mov esi, 0x1505
jmp 0xa31913
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0xa319b1
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xa31944
inc ebp
dec ebx
je 0xa319af
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0xa319af
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xa31940
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00a399d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xa31940
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00a399f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xa31940
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xa319af
cmp dword [eax + 4], 2
mov edi, 0
jne 0xa319b1
mov edi, dword [eax + 8]
jmp 0xa319b1
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xa319e0
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
fldz
fstp qword [esp + 0x10]
cmp dword [esp + 0x2c], 0
je 0xa31a4b
mov esi, dword [esp + 0x30]
test esi, esi
je 0xa31a4b
push esi
call fcn.00a399d0
add esp, 4
test eax, eax
je 0xa31a2a
mov ecx, 0x1505
xor edi, edi
movzx edx, byte [esi + edi]
test edx, edx
je 0xa31a31
mov ebp, ecx
shl ebp, 5
add ebp, ecx
add ebp, edx
inc edi
mov ecx, ebp
cmp eax, edi
jne 0xa31a10
jmp 0xa31a33
mov ebp, 0x1505
jmp 0xa31a33
mov ebp, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x2c]
mov edi, dword [ecx + 0x20]
lea ebx, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0xa31a57
fld qword [esp + 0x10]
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
and ebx, ebp
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xa31a74
inc ebx
dec edi
je 0xa31a4b
mov eax, ebx
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xa31a4b
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebp
jne 0xa31a70
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00a399d0
mov ecx, dword [esp + 0x30]
add esp, 4
cmp eax, dword [esp]
jne 0xa31a70
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x38]
call fcn.00a399f0
mov ecx, dword [esp + 0x38]
add esp, 0xc
test eax, eax
jne 0xa31a70
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + esi*4]
test eax, eax
je 0xa31a4b
cmp dword [eax + 4], 3
jne 0xa31a4b
fld qword [eax + 8]
fstp qword [esp + 0x10]
jmp 0xa31a4b
Function at 0xa31b10
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor edi, edi
cmp dword [esp + 0x24], 0
je 0xa31c11
mov ebx, dword [esp + 0x28]
test ebx, ebx
je 0xa31c11
push ebx
call fcn.00a399d0
add esp, 4
test eax, eax
je 0xa31b6a
mov ecx, 0x1505
xor ebp, ebp
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx edx, byte [ebx + ebp]
test edx, edx
je 0xa31b71
mov esi, ecx
shl esi, 5
add esi, ecx
add esi, edx
inc ebp
mov ecx, esi
cmp eax, ebp
jne 0xa31b50
jmp 0xa31b73
mov esi, 0x1505
jmp 0xa31b73
mov esi, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov ebx, dword [ecx + 0x20]
lea ebp, [ebx - 1]
mov eax, ebx
sub eax, 1
mov dword [esp + 0xc], eax
jb 0xa31c11
and ebp, esi
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xa31ba4
inc ebp
dec ebx
je 0xa31c0f
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov edi, dword [edx + eax*4]
cmp edi, 0xffffffff
je 0xa31c0f
mov eax, dword [ecx + 8]
cmp dword [eax + edi*4], esi
jne 0xa31ba0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + edi*4]
mov dword [esp + 4], eax
push eax
call fcn.00a399d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xa31ba0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00a399f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xa31ba0
mov eax, dword [ecx + 0x10]
mov eax, dword [eax + edi*4]
test eax, eax
je 0xa31c0f
cmp dword [eax + 4], 5
mov edi, 0
jne 0xa31c11
mov edi, dword [eax + 8]
jmp 0xa31c11
xor edi, edi
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0xa31f40
Capabilities:
Hash data using djb2

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
xor eax, eax
cmp dword [esp + 0x24], 0
je 0xa31fad
mov esi, dword [esp + 0x28]
test esi, esi
je 0xa31fad
push esi
call fcn.00a399d0
add esp, 4
test eax, eax
je 0xa31f8a
mov ecx, 0x1505
xor edi, edi
nop
nop
nop
nop
movzx edx, byte [esi + edi]
test edx, edx
je 0xa31f91
mov ebx, ecx
shl ebx, 5
add ebx, ecx
add ebx, edx
inc edi
mov ecx, ebx
cmp eax, edi
jne 0xa31f70
jmp 0xa31f93
mov ebx, 0x1505
jmp 0xa31f93
mov ebx, ecx
mov dword [esp], eax
mov ecx, dword [esp + 0x24]
mov edi, dword [ecx + 0x20]
lea ebp, [edi - 1]
mov eax, edi
sub eax, 1
mov dword [esp + 0xc], eax
jae 0xa31fb5
xor eax, eax
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
and ebp, ebx
mov eax, dword [ecx + 4]
mov dword [esp + 8], eax
jmp 0xa31fc4
inc ebp
dec edi
je 0xa31fab
mov eax, ebp
and eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
mov esi, dword [edx + eax*4]
cmp esi, 0xffffffff
je 0xa31fab
mov eax, dword [ecx + 8]
cmp dword [eax + esi*4], ebx
jne 0xa31fc0
mov eax, dword [ecx + 0xc]
mov eax, dword [eax + esi*4]
mov dword [esp + 4], eax
push eax
call fcn.00a399d0
mov ecx, dword [esp + 0x28]
add esp, 4
cmp eax, dword [esp]
jne 0xa31fc0
push dword [esp]
push dword [esp + 8]
push dword [esp + 0x30]
call fcn.00a399f0
mov ecx, dword [esp + 0x30]
add esp, 0xc
test eax, eax
jne 0xa31fc0
mov eax, dword [ecx + 0x10]
mov ecx, dword [eax + esi*4]
test ecx, ecx
mov eax, 0
je 0xa31fad
xor eax, eax
mov edx, dword [esp + 0x2c]
cmp dword [ecx + 4], edx
sete al
jmp 0xa31fad
Function at 0xa39f00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov eax, dword [0xa7abfc]
cmp eax, 0x270
jne 0xa39f5f
mov eax, 0xfffff640
mov edx, dword [0xa7ac00]
nop
nop
nop
nop
nop
nop
nop
nop
and edx, 0x80000000
mov esi, dword [eax + 0xa7b5c4]
mov ecx, esi
and ecx, 0x7ffffffe
or ecx, edx
mov edx, esi
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [eax + 0xa7bbf4]
shr ecx, 1
xor esi, ecx
mov dword [eax + 0xa7bf80], esi
add eax, 4
jne 0xa39f20
mov eax, 0x270
jmp 0xa39f75
cmp eax, 0x4e0
jb 0xa39f75
mov ecx, 0xa7abfc
call fcn.00a3a140
mov eax, dword [0xa7abfc]
lea ecx, [eax + 1]
mov dword [0xa7abfc], ecx
mov eax, dword [eax*4 + 0xa7ac00]
mov ecx, eax
shr ecx, 0xb
and ecx, dword [0xa7bf80]
xor ecx, eax
mov eax, ecx
shl eax, 7
and eax, 0x9d2c5680
xor eax, ecx
mov ecx, eax
shl ecx, 0xf
and ecx, 0xefc40000
xor ecx, eax
shr ecx, 0x12
and eax, 0x7fff
xor eax, ecx
pop esi
ret

Function at 0xa3a140
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebx
push edi
push esi
mov esi, dword [ecx + 0x9c4]
mov eax, 0x3fe
nop
nop
and esi, 0x80000000
mov edi, dword [ecx + eax*4 - 0x630]
mov edx, edi
and edx, 0x7ffffffe
or edx, esi
shr edx, 1
mov esi, edi
and edi, 1
neg edi
and edi, 0x9908b0df
xor edi, dword [ecx + eax*4]
xor edi, edx
mov dword [ecx + eax*4 - 0xff4], edi
inc eax
cmp eax, 0x4e1
jne 0xa3a150
mov eax, 0x353
mov edx, 0x80000000
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea esi, [eax - 0x270]
mov ebx, dword [ecx + eax*4 + 4]
and ebx, edx
and esi, 1
mov edi, eax
or edi, 1
add edi, esi
mov esi, dword [ecx + edi*4 + 4]
mov edi, esi
and edi, 0x7ffffffe
or edi, ebx
shr edi, 1
and esi, 1
neg esi
and esi, 0x9908b0df
xor esi, dword [ecx + eax*4 - 0xd48]
xor esi, edi
mov dword [ecx + eax*4 - 0x9bc], esi
inc eax
cmp eax, 0x4df
jne 0xa3a1a0
mov esi, 0x80000000
and esi, dword [ecx + 0x1380]
mov edx, dword [ecx + 4]
mov eax, edx
and eax, 0x7ffffffe
or eax, esi
shr eax, 1
and edx, 1
neg edx
xor eax, dword [ecx + 0x634]
and edx, 0x9908b0df
xor eax, edx
mov dword [ecx + 0x9c0], eax
mov dword [ecx], 0
pop esi
pop edi
pop ebx
ret
Function at 0xa3be80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movzx ebx, byte [edx]
test bl, bl
je 0xa3c0f1
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
dec edi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
test esi, esi
je 0xa3bebc
cmp edx, esi
jae 0xa3c0f1
test edi, edi
je 0xa3c0f1
movzx ebp, bl
test bl, bl
js 0xa3bef0
inc edx
lea ecx, [eax + 2]
mov word [eax], bp
mov esi, ecx
sub esi, eax
sar esi, 1
sub edi, esi
mov eax, ecx
mov esi, dword [esp + 0x24]
mov bh, byte [edx]
mov bl, bh
test bh, bh
jne 0xa3beb0
jmp 0xa3c0f1
mov ecx, ebp
and ecx, 0xffffffe0
cmp ecx, 0xc0
jne 0xa3bf28
cmp bl, 0xc2
jb 0xa3bee0
mov bh, byte [edx + 1]
movzx esi, bh
mov ecx, esi
and ecx, 0xffffffc0
cmp ecx, 0x80
jne 0xa3bf8a
and ebp, 0x1f
shl ebp, 6
add edx, 2
and esi, 0x3f
or esi, ebp
jmp 0xa3bfd8
mov ecx, ebp
and ecx, 0xfffffff0
cmp ecx, 0xe0
jne 0xa3bf52
movzx ecx, byte [edx + 1]
cmp bl, 0xed
je 0xa3bf94
cmp ebp, 0xe0
jne 0xa3bf9d
mov ebx, ecx
add bl, 0x40
cmp bl, 0xe0
jb 0xa3bedc
jmp 0xa3bf9d
mov ecx, ebp
and ecx, 0xfffffff8
cmp ecx, 0xf0
jne 0xa3c0d0
cmp bl, 0xf4
ja 0xa3bee0
movzx ecx, byte [edx + 1]
je 0xa3bfef
cmp ebp, 0xf0
jne 0xa3bff8
mov bh, cl
add bh, 0x40
cmp bh, 0xd0
jb 0xa3bedc
jmp 0xa3bff8
inc edx
mov esi, dword [esp + 0x24]
jmp 0xa3bee2
cmp cl, 0x9f
ja 0xa3bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0xa3c0d7
mov bh, byte [edx + 2]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0xa3bfe3
shl ebp, 0xc
and ecx, 0x3f
shl ecx, 6
or ecx, ebp
add edx, 3
mov esi, dword [esp]
and esi, 0x3f
or esi, ecx
lea ecx, [eax + 2]
mov word [eax], si
jmp 0xa3bed2
add edx, 2
mov esi, dword [esp + 0x24]
jmp 0xa3bee2
cmp cl, 0x8f
ja 0xa3bedc
mov esi, ecx
and esi, 0xffffffc0
cmp esi, 0x80
jne 0xa3c0d7
movzx ebp, byte [edx + 2]
mov esi, ebp
not esi
or esi, 0xc0
add esi, ebp
cmp esi, 0x7f
jne 0xa3c0dd
mov bh, byte [edx + 3]
movzx esi, bh
mov dword [esp], esi
and esi, 0xffffffc0
cmp esi, 0x80
jne 0xa3c0e5
and bl, 7
movzx esi, bl
shl esi, 0x12
shl ecx, 0xc
and ebp, 0x3f
shl ebp, 6
add ecx, esi
lea esi, [ecx + ebp]
add esi, 0xfff80000
add edx, 4
and esi, 0xfffff800
cmp esi, 0xd800
je 0xa3bedc
lea esi, [ecx + ebp]
mov ebx, dword [esp]
and ebx, 0x3f
add ebx, esi
add ebx, 0xfff80000
cmp ebx, 0x10000
jb 0xa3bedc
cmp edi, 2
jb 0xa3c0d0
add ecx, ebp
add ecx, 0x9f4b2545
add ecx, 0x60abdabb
shr ecx, 0xa
mov esi, ecx
xor esi, 0x2400
or ecx, 0x3ff
and ecx, esi
or ecx, 0xd800
mov word [eax], cx
and ebx, 0x3ff
or ebx, 0xdc00
lea ecx, [eax + 4]
mov word [eax + 2], bx
jmp 0xa3bed2
mov ecx, eax
jmp 0xa3bed2
inc edx
jmp 0xa3bedc
add edx, 2
jmp 0xa3bedc
add edx, 3
mov esi, dword [esp + 0x24]
jmp 0xa3bee2
mov word [eax], 0
sub eax, dword [esp + 0x18]
sar eax, 1
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0xa452d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x428
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov esi, 0xfffffffe
nop
nop
nop
nop
nop
nop
cmp word [eax + esi + 2], 0
lea esi, [esi + 2]
jne 0xa452f0
sar esi, 1
lea ecx, [esp + 0x7c]
push ecx
push 0
push 0
push esi
push eax
push 0
call dword [fcn.00a7d2fc]
mov dword [esp + 0xe8], 0x195a5b61
mov dword [esp + 0xec], 0
mov ecx, 0x8f
mov edi, 0x70
movzx edx, byte [esp + ecx + 0x59]
mov ebx, ecx
xor ebx, edi
and ebx, edx
xor ebx, edi
mov dl, 0x34
sub dl, bl
mov byte [esp + ecx + 0x59], dl
inc ecx
dec edi
cmp ecx, 0x97
jne 0xa45330
xor ecx, ecx
cmp eax, dword [esp + 0xe8]
setne cl
jmp dword [ecx*4 + 0xa76b6c]
Function at 0xa537d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x21f0
call fcn.00a39690
push eax
sub esp, 0x10
mov ebx, esp
sub esp, 0x28
mov dword [ebp - 0x5c], esp
mov dword [ebp - 0x1dfc], 0x116c1f70
mov dword [ebp - 0x1df8], 0x156b1357
mov dword [ebp - 0x1df4], 0x963176f
mov dword [ebp - 0x1df0], 0xd780b7c
mov dword [ebp - 0x1dec], 0x1620f67
mov dword [ebp - 0x1de8], 0x5770377
mov dword [ebp - 0x1de4], 0x39740743
mov word [ebp - 0x1de0], 0x3b38
mov dword [ebp - 0x1dde], 0
mov word [ebp - 0x1dda], 0
mov eax, 0xe8279d85
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx ecx, byte [ebp + eax + 0x17d8447f]
xor ecx, eax
mov esi, ecx
xor esi, 0x88c61399
mov edx, ecx
or edx, 0x60218c66
and edx, esi
mov edi, ecx
and edi, 2
mov esi, edx
or edx, 2
imul edx, edi
xor edi, 2
and esi, 0xfd
imul esi, edi
xor ecx, 0x66
add ecx, esi
add ecx, edx
inc cl
mov byte [ebp + eax + 0x17d8447f], cl
inc eax
cmp eax, 0xe8279da9
jne 0xa53860
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1dfc]
push 0
push 0
push 0x20019
push eax
mov dword [ebp - 0x10], ecx
push ecx
call fcn.00a70450
add esp, 0x14
shr eax, 0x1f
xor ecx, ecx
jmp dword [eax*4 + 0xa77924]
Function at 0xd57190
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [ecx]
test eax, eax
je 0xd5726b
push ebp
push ebx
push edi
push esi
sub esp, 8
mov dword [esp], 0x4c4d4a4b
mov word [esp + 4], 0
mov byte [esp + 6], 0
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx esi, byte [esp + edx]
lea edi, [edx + 0x27e6f8f2]
mov ebp, 0xd
sub ebp, edx
mov ebx, ebp
or ebx, esi
and ebp, 0xd
and edi, 2
or edi, ebp
xor edi, 2
lea ebp, [edx*2 + 0x4fcdf1e4]
neg ebp
add ebp, edx
add ebp, 0xf1
or ebp, edi
and ebp, esi
not ebx
or ebx, ebp
add bl, 0x46
mov byte [esp + edx], bl
mov esi, edx
and esi, 1
xor edx, 1
lea edx, [edx + esi*2]
cmp edx, 7
jb 0xd571c0
mov edx, dword [0xa7d300]
test edx, edx
je 0xd5725e
mov esi, dword [esp]
xor edi, edi
mov ebx, dword [0xa7d304]
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [ebx + edi*8], 0x1b6183f2
je 0xd57240
inc edi
cmp edx, edi
jne 0xd57230
jmp 0xd5725e
mov edx, dword [ebx + edi*8 + 4]
cmp edx, esi
je 0xd5725e
push eax
push 4
push edx
push dword [0xa7d308]
mov esi, ecx
call fcn.00d59570
mov ecx, esi
add esp, 0x10
mov dword [ecx], 0
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret