joyce8/EMBER2024-capa huggingface dataset:
Function at 0x454b40
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x50c
mov eax, dword [0x49b470]
xor eax, esp
mov dword [esp + 0x508], eax
push esi
push edi
push 0x4b3848
lea eax, [esp + 0x114]
push str._s_save_readal.dat
push eax
call fcn.0045f116
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileA]
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 0
push DirectSoundCreate
lea ecx, [esp + 0x128]
push ecx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x454bd3
push 0
push 0x80000080
push 4
push 0
push 0
push 0x40000000
lea edx, [esp + 0x128]
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0045f0aa
add esp, 0x50c
ret
push ebx
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov ebx, eax
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LockFile]
test eax, eax
jne 0x454c27
push eax
mov eax, dword [0x4b3c9c]
push 0x4938a8
push 0x4959ec
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0045f0aa
add esp, 0x50c
ret
mov eax, dword [0x4b5af0]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
jne 0x454c39
call ebp
push ebx
push 8
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
push 0
push 0
push 0
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea ecx, [esp + 0x18]
push ecx
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
push ebx
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_UnlockFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x4b3d18
xor esi, esi
call fcn.00450b20
add esp, 4
test ebx, ebx
jbe 0x454ce4
cmp dword [edi], esi
je 0x454ce4
mov eax, edi
lea edx, [esp + 0x18]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x454c96
lea eax, [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x454ca7
sub eax, edx
add eax, 4
shr eax, 2
lea esi, [esi + eax + 1]
mov edx, dword [edi + esi*4]
push 0
lea eax, [esp + 0x14]
push eax
push 0x25
push 0x4b3d18
lea eax, [esp + 0x28]
mov dword [esp + 0x20], edx
inc esi
call fcn.004506e0
lea eax, [edi + esi*4]
add esp, 0x10
cmp dword [eax], 0
jne 0x454c90
mov eax, dword [0x4b5af0]
test eax, eax
jne 0x454cef
call ebp
push edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [esp + 0x518]
pop ebp
pop ebx
pop edi
pop esi
xor ecx, esp
call fcn.0045f0aa
add esp, 0x50c
ret
Function at 0x45f0aa
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49b470]
jne 0x45f0b4
repz ret
jmp fcn.00461724

Function at 0x469597
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.00462a9d
and dword [ebp - 4], 0
cmp dword [0x4b21e4], 0
mov ebx, eax
jne 0x469648
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4696f9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x484f64
push edi
call esi
test eax, eax
je 0x4696f9
push eax
call fcn.00462a2b
mov dword [esp], 0x484f54
push edi
mov dword [0x4b21e4], eax
call esi
push eax
call fcn.00462a2b
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4b21e8], eax
call esi
push eax
call fcn.00462a2b
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4b21ec], eax
call esi
push eax
call fcn.00462a2b
pop ecx
mov dword [0x4b21f4], eax
test eax, eax
je 0x469648
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00462a2b
pop ecx
mov dword [0x4b21f0], eax
mov eax, dword [0x4b21f0]
cmp eax, ebx
je 0x4696a0
cmp dword [0x4b21f4], ebx
je 0x4696a0
push eax
call fcn.00462aa6
push dword [0x4b21f4]
mov esi, eax
call fcn.00462aa6
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4696a0
test edi, edi
je 0x4696a0
call esi
test eax, eax
je 0x469697
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x469697
test byte [ebp - 0xc], 1
jne 0x4696a0
or dword [ebp + 0x10], 0x200000
jmp 0x4696d9
mov eax, dword [0x4b21e8]
cmp eax, ebx
je 0x4696d9
push eax
call fcn.00462aa6
pop ecx
test eax, eax
je 0x4696d9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4696d9
mov eax, dword [0x4b21ec]
cmp eax, ebx
je 0x4696d9
push eax
call fcn.00462aa6
pop ecx
test eax, eax
je 0x4696d9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4b21e4]
call fcn.00462aa6
pop ecx
test eax, eax
je 0x4696f9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4696fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x46f820
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
xor edx, edx
cmp ecx, edx
je 0x46f8c0
push ebx
push ebp
push esi
mov esi, dword [ecx]
push edi
xor eax, eax
mov byte [esi + 0x16], dl
mov esi, dword [ecx]
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov byte [esi + 0x18], dl
mov esi, dword [ecx]
mov byte [esi + 0x19], dl
mov edi, dword [ecx + 4]
xor esi, esi
cmp edi, edx
jle 0x46f872
mov ebp, dword [ecx]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x49c764]
xor eax, edx
inc esi
cmp esi, edi
jl 0x46f853
xor edx, edx
mov edi, dword [ecx + 0xc]
xor esi, esi
cmp edi, edx
jle 0x46f89b
mov ebp, dword [ecx + 8]
xor edx, edx
mov ebx, eax
mov dl, byte [esi + ebp]
shr ebx, 0x18
xor edx, ebx
shl eax, 8
mov edx, dword [edx*4 + 0x49c764]
xor eax, edx
inc esi
cmp esi, edi
jl 0x46f87e
mov edx, dword [ecx]
pop edi
mov byte [edx + 0x16], al
mov esi, dword [ecx]
mov edx, eax
shr edx, 8
mov byte [esi + 0x17], dl
mov esi, dword [ecx]
mov edx, eax
shr edx, 0x10
mov byte [esi + 0x18], dl
mov ecx, dword [ecx]
shr eax, 0x18
pop esi
pop ebp
mov byte [ecx + 0x19], al
pop ebx
ret
Function at 0x409f72
Capabilities:
Move file

Disassembly:
mov eax, 0x40bca7
call fcn.0040a890
sub esp, 0x14
push ebx
push esi
push edi
push ecx
mov eax, esp
xor ebx, ebx
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x10], ebx
call fcn.0040129d
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.00401db0
mov dword [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 1
lea eax, [ebp - 0x1c]
pop edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.0040a684
mov byte [ebp - 4], 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
mov esi, 0x40faa4
push eax
push esi
call fcn.00408c13
test al, al
je 0x40a019
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
mov byte [ebp - 4], 4
call fcn.00401228
cmp eax, ebx
jne 0x40a046
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x18]
push eax
call fcn.0040659c
mov byte [ebp - 4], 6
nop
nop
nop
nop
nop
nop
push 0x40f964
push 0x40f960
lea ecx, [ebp - 0x18]
call fcn.00406da0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp - 0x18]
call fcn.004062b4
push eax
lea ecx, [ebp - 0x14]
call fcn.004062b4
push eax
call dword [sym.imp.MSVCRT.dll_rename]
pop ecx
test eax, eax
pop ecx
jne 0x40a0b7
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x18]
push eax
call fcn.0040659c
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x10], edi
mov byte [ebp - 4], 4
call fcn.00406565
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406565
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00406565
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
pop eax
nop
nop
nop
add eax, 0x403d7a
nop
nop
sub eax, 0x403d20
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x430030
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x407f50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 8]
lea ecx, [eax + 0x2c]
mov dword [esp + 0x14], ecx
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0
mov dword [esp + 8], 0x407c20
mov dword [esp + 4], 0
mov dword [esp], 0
call fcn.004142f3
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0x8784161b
jmp 0x407fc0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
mov dword [ebp - 0x10], 0x5eb6addb
nop
nop
nop
nop
nop
nop
mov eax, dword [ebp - 0x10]
cmp eax, 0x68686475
jg 0x408000
cmp eax, 0x5eb6adda
jg 0x408010
cmp eax, 0x4ee4f22
jg 0x408019
cmp eax, 0x84b90ea0
je 0x408029
cmp eax, 0x8784161b
jne 0x40804c
mov eax, 0x4ee4f23
cmp dword [ebp - 4], 0
je 0x407ff6
mov eax, 0x84b90ea0
mov dword [ebp - 0x10], eax
jmp 0x407fc0
cmp eax, 0x68686476
jne 0x407fc0
jmp 0x407fa4
cmp eax, 0x5eb6addb
jne 0x407fc0
jmp 0x40806f
cmp eax, 0x4ee4f23
jne 0x407fc0
mov dword [ebp - 0x10], 0xc88a2a72
jmp 0x407fc0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
mov dword [esp + 4], 0xffffffff
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
sub esp, 8
mov dword [ebp - 0x10], 0xc88a2a72
jmp 0x407fc0
cmp eax, 0xc88a2a72
jne 0x407fc0
mov eax, 0x68686476
cmp dword [ebp - 0xc], 0
jne 0x408067
mov eax, 0x5eb6addb
mov dword [ebp - 0x10], eax
jmp 0x407fc0
add esp, 0x28
pop ebp
ret
Function at 0x40b0a0
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 0x34
mov eax, dword [ebp + 8]
mov cx, word [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x10], edx
mov word [ebp - 0x12], cx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov dword [ebp - 0x38], 0xa6121958
jmp 0x40b100
mov dword [ebp - 0x38], eax
nop
nop
nop
nop
mov eax, dword [ebp - 0x38]
cmp eax, 0xb2d90dc2
jg 0x40b130
cmp eax, 0xa6121958
jne 0x40b100
mov eax, 0x1b3f8eb7
cmp dword [ebp - 8], 0
je 0x40b0f9
mov eax, 0x1e7b8bab
jmp 0x40b0f9
cmp eax, 0xd45df195
jg 0x40b150
cmp eax, 0xb2d90dc3
jne 0x40b100
mov dword [ebp - 0x38], 0x46646154
jmp 0x40b100
cmp eax, 0xe29c6797
jg 0x40b167
cmp eax, 0xd45df196
jne 0x40b100
mov dword [ebp - 0x38], 0x46646154
jmp 0x40b100
cmp eax, 0xcb77805
jg 0x40b19f
cmp eax, 0xe29c6798
jne 0x40b100
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x3c]
lea eax, [ecx + edx]
mov dword [ebp - 0x20], eax
mov eax, 0xd45df196
cmp dword [ecx + edx], 0x4550
jne 0x40b197
mov eax, 0x66c98669
mov dword [ebp - 0x38], eax
jmp 0x40b100
cmp eax, 0x1b3f8eb6
jg 0x40b1e9
cmp eax, 0xcb77806
jne 0x40b100
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x24]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x28]
add eax, dword [ecx + 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x34]
movzx edx, word [ebp - 0x12]
mov esi, dword [ebp - 0x30]
movzx edx, word [esi + edx*2]
add ecx, dword [eax + edx*4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x38], 0x79f67a16
jmp 0x40b100
cmp eax, 0x79f67a15
jg 0x40b23d
cmp eax, 0x6fbc0b35
jg 0x40b24d
cmp eax, 0x66c98668
jg 0x40b270
cmp eax, 0x46646153
jg 0x40b29b
cmp eax, 0x1b3f8eb7
je 0x40b2b9
cmp eax, 0x1e7b8bab
jne 0x40b2db
mov ecx, dword [ebp - 0x28]
movzx edx, word [ebp - 0x12]
mov eax, 0xb2d90dc3
cmp dword [ecx + 0x18], edx
jbe 0x40b235
mov eax, 0xcb77806
mov dword [ebp - 0x38], eax
jmp 0x40b100
cmp eax, 0x79f67a16
jne 0x40b100
jmp 0x40b2f2
cmp eax, 0x6fbc0b36
jne 0x40b100
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
add eax, dword [ecx + 0x78]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x1e7b8bab
jmp 0x40b100
cmp eax, 0x66c98669
jne 0x40b100
mov eax, dword [ebp - 0x20]
movzx eax, word [eax + 0x18]
cmp eax, 0x10b
mov eax, 0xd45df196
jne 0x40b293
mov eax, 0x6fbc0b36
mov dword [ebp - 0x38], eax
jmp 0x40b100
cmp eax, 0x46646154
jne 0x40b100
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x38], 0x79f67a16
jmp 0x40b100
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x1c], eax
movzx eax, word [eax]
cmp eax, 0x5a4d
mov eax, 0x3746f931
jne 0x40b2d3
mov eax, 0xe29c6798
mov dword [ebp - 0x38], eax
jmp 0x40b100
cmp eax, 0x3746f931
jne 0x40b100
mov dword [ebp - 0x38], 0x46646154
jmp 0x40b100
mov eax, dword [ebp - 0xc]
add esp, 0x34
pop esi
pop ebp
ret
Function at 0x41bdaa
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41e690]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.00418c03
mov dword [ebp - 0x14], eax
cmp dword [0x466638], edi
jne 0x41be9b
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x41be28
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41bf7b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x41bf7b
push str.MessageBoxW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41bf7b
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x466638], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x46663c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x466640], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x466648], eax
test eax, eax
je 0x41be98
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x466644], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41bec0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41beb3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x41bed5
push 4
pop eax
jmp 0x41bf7d
cmp dword [ebp - 0x14], edi
je 0x41bed5
push dword [0x466638]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41beba
mov eax, dword [0x466644]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x41bf33
cmp dword [0x466648], esi
je 0x41bf33
push eax
call ebx
push dword [0x466648]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41bf33
test eax, eax
je 0x41bf33
call ecx
test eax, eax
je 0x41bf28
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 0x41bf28
test byte [ebp - 8], 1
jne 0x41bf33
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x41bf63
mov eax, dword [0x46663c]
cmp eax, esi
je 0x41bf60
push eax
call ebx
test eax, eax
je 0x41bf60
call eax
mov edi, eax
test edi, edi
je 0x41bf60
mov eax, dword [0x466640]
cmp eax, esi
je 0x41bf60
push eax
call ebx
test eax, eax
je 0x41bf60
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x466638]
call ebx
test eax, eax
je 0x41bf7b
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x41bf7d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415d09
leave
ret
Function at 0x420aa0
Capabilities:
Encode data using xor

Disassembly:
dec eax
sar byte [esi + esi*8], cl
add dword [ebx - 0x5ed15a04], ecx
push ds
popal
out 0xdb, eax
div dword [edi + ebp*8]
loope 0x420a86
fcomi st(7)
je 0x420a79
add cl, ah
stc
cmp ebx, edi
cmpsd dword [esi], dword es:[edi]
invalid
push edi
jb 0x420a7d
sahf
lodsd eax, dword [esi]
aam 0xac
rcr byte [ebx], 1
push es
xchg esp, eax
mov edx, dword [eax - 0x5155fe42]
scasb al, byte es:[edi]
je 0x420b13
std
xor byte [eax], ah
or esp, dword [edi + ebp*4 + 0x619d2508]
cmp dword [ebx - 0x220f7825], edi
pop edi
dec esi
jp 0x420ab0
pop ecx
invalid
retf 0xd3f9

Function at 0x4586c8
Capabilities:
Encode data using xor

Disassembly:
fcom dword [ebx]
pop edi
faddp st(3)
or bh, ch
cmp eax, 0x8f71b3a9
jne 0x45873f
jg 0x458745
sbb bl, bl
into
dec ebp
loopne 0x4586f2
sub cl, byte [edx]
scasd eax, dword es:[edi]
push es
adc dword [ebx + edx*4], ebp
int 0x94
int3
scasd eax, dword es:[edi]
push ebp
mov edx, 0xe44e9081
mov dword [ebx + 0x7fd56d63], esi
xchg dword [eax - 0x28], eax
int1
salc
dec dword [eax + ecx*4 + 0x30]
fprem
inc eax
mov edx, dword [ebp + 0x7d]
test ecx, ecx
arpl word es:[ebx + 9], di
cmp byte [eax + 0x4e], 0xb4
je 0x458723
mov edi, dword [esi + 0x56]
loopne 0x45872c
cmp byte [ebp - 0x316cc8df], cl
xchg ebx, eax
into
dec ebp
sub dword [eax - 0x14459e6c], 0x37
aaa
pop ecx
and al, 0x18
or eax, 0x76934ea4
cmp byte [ebx - 8], ah
invalid
je 0x458775
cld
cld
xor bh, cl
cdq
scasd eax, dword es:[edi]
arpl word [0x8d877ae0], bx
rol byte [ecx], 0x11
add dword [ebx], eax
push eax
or byte [ebx + eax*4], bh
add al, 0xf4
sbb dword [edi + 0x73f40841], ebp
push esp
xchg ah, dh
push ds
push 0xf
jecxz 0x45876c
scasd eax, dword es:[edi]
scasb al, byte es:[edi]
push cs
or byte [esi + 0x618fd998], al
or dword [edi + 0x10], 0xffffffeb
and dword [edx - 0x1508263e], eax
test eax, 0x74fbe5ee
sub ch, cl
wait
dec eax
test byte [ecx], 0xc0
jo 0x4587eb
invalid
ret 0xf7d9
jo 0x4587a5
push ds
sub cl, ch
cmp byte [edi + 0x4aa27d45], ch
movsb byte es:[edi], byte [esi]
je 0x458724
int 0x4e
ror ecx, cl
xchg byte [eax - 0x5263694], cl
add byte [eax], al
fadd dword [eax]
add dword [eax], eax
push es
adc dword [eax*4 - 0x1a17e60d], ebp
adc ch, byte [edx - 1]
sbb dword [0x18e08300], 0x6250e0c0
add bl, 0xff
ja 0x45878c
sbb al, al
loopne 0x458809
bound eax, qword [edx - 0x3288003d]
sbb eax, 0xec18de81
leave
call [0x68ceceaf]
cmc
xor eax, 0x4f8e8aff
push ebp
aam 0x1e
mov dword [0x8b061b83], eax
dec ebp
mov edx, 0xcbce536b
imul edi, ebx, 0x1e
std
je 0x4587b5
mov esi, dword [esi + 0x48]
call 0x7d4ef179
mov ebp, 0x48edcb35
imul ecx, dword [ecx], 0xcb35bd7d
in eax, dx
dec eax
in al, dx
pop ebp
fsubr qword [ebx]
dec ecx
jmp 0x458863
fldenv [edx]
invalid
xor eax, esp
mov dword [ebx + 0x6d], eax
mov byte [edx + 0x58], 0
mov eax, 0x74f798b5
retf
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
nop
nop
sub eax, 0x40a009
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x403940
Capabilities:
Encrypt data using salsa20 or chacha
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x99f274]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x403b10
mov eax, dword [esp + 8]
mov dword [eax], 0x61707865
mov dword [eax + 4], 0x61707865
mov dword [eax + 8], 0x61707865
mov dword [eax + 0xc], 0x61707865
mov dword [eax + 0x10], 0x3320646e
mov dword [eax + 0x14], 0x3320646e
mov dword [eax + 0x18], 0x3320646e
mov dword [eax + 0x1c], 0x3320646e
mov dword [eax + 0x20], 0x79622d32
mov dword [eax + 0x24], 0x79622d32
mov dword [eax + 0x28], 0x79622d32
mov dword [eax + 0x2c], 0x79622d32
mov dword [eax + 0x30], 0x6b206574
mov dword [eax + 0x34], 0x6b206574
mov dword [eax + 0x38], 0x6b206574
mov dword [eax + 0x3c], 0x6b206574
mov ecx, dword [esp + 4]
mov edx, dword [ecx]
mov dword [eax + 0x40], edx
mov dword [eax + 0x44], edx
mov dword [eax + 0x48], edx
mov dword [eax + 0x4c], edx
mov edx, dword [ecx + 4]
mov dword [eax + 0x50], edx
mov dword [eax + 0x54], edx
mov dword [eax + 0x58], edx
mov dword [eax + 0x5c], edx
mov edx, dword [ecx + 8]
mov dword [eax + 0x60], edx
mov dword [eax + 0x64], edx
mov dword [eax + 0x68], edx
mov dword [eax + 0x6c], edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 0x70], edx
mov dword [eax + 0x74], edx
mov dword [eax + 0x78], edx
mov dword [eax + 0x7c], edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0x80], edx
mov dword [eax + 0x84], edx
mov dword [eax + 0x88], edx
mov dword [eax + 0x8c], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x90], edx
mov dword [eax + 0x94], edx
mov dword [eax + 0x98], edx
mov dword [eax + 0x9c], edx
mov edx, dword [ecx + 0x18]
mov dword [eax + 0xa0], edx
mov dword [eax + 0xa4], edx
mov dword [eax + 0xa8], edx
mov dword [eax + 0xac], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0xb0], ecx
mov dword [eax + 0xb4], ecx
mov dword [eax + 0xb8], ecx
mov dword [eax + 0xbc], ecx
mov ecx, dword [esp + 0xc]
mov dword [eax + 0xc0], ecx
lea edx, [ecx + 1]
mov dword [eax + 0xc4], edx
lea edx, [ecx + 2]
mov dword [eax + 0xc8], edx
add ecx, 3
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xd0], 0
mov dword [eax + 0xd4], 0
mov dword [eax + 0xd8], 0
mov dword [eax + 0xdc], 0
mov dword [eax + 0xe0], 0
mov dword [eax + 0xe4], 0
mov dword [eax + 0xe8], 0
mov dword [eax + 0xec], 0
mov dword [eax + 0xf0], 0
mov dword [eax + 0xf4], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xfc], 0
ret
call fcn.0046b310
jmp fcn.00403940