joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ba33
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x40ba76
call fcn.004038a3
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40ba76
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40ba91
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.0040b5ea
test ebx, ebx
mov esi, eax
je 0x40ba8f
test edi, edi
je 0x40ba8f
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x410998
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x4109c6
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x4109e4
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00410902
jmp 0x4109e4
mov eax, dword [esi + 0x14]
test eax, eax
je 0x4109e4
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00410902
test edi, edi
mov eax, edi
jne 0x4109ce
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x472c30]
test ecx, ecx
je 0x410aa7
jmp 0x410997
ret 8

Function at 0x4131d4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46fd30]
jne 0x4131de
repz ret
jmp fcn.00416cea
Function at 0x41eb44
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00416f21
xor ebx, ebx
cmp dword [0x47398c], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x41ec19
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x41eb84
xor eax, eax
jmp 0x41ecdd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x469700
push edi
call esi
cmp eax, ebx
je 0x41eb7d
push eax
call fcn.00416ebe
mov dword [esp], 0x4696f0
push edi
mov dword [0x47398c], eax
call esi
push eax
call fcn.00416ebe
mov dword [esp], 0x4696dc
push edi
mov dword [0x473990], eax
call esi
push eax
call fcn.00416ebe
mov dword [0x473994], eax
lea eax, [ebp - 8]
push eax
call fcn.00414101
test eax, eax
pop ecx
pop ecx
je 0x41ebe7
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041788f
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x41ec19
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00416ebe
cmp eax, ebx
pop ecx
mov dword [0x47399c], eax
je 0x41ec19
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00416ebe
pop ecx
mov dword [0x473998], eax
mov eax, dword [0x473998]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x41ec92
cmp dword [0x47399c], esi
je 0x41ec92
push eax
call fcn.00416f2a
pop ecx
call eax
cmp eax, ebx
je 0x41ec5f
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x47399c]
call fcn.00416f2a
pop ecx
call eax
test eax, eax
je 0x41ec5f
test byte [ebp - 0x18], 1
jne 0x41ec92
lea eax, [ebp - 0xc]
push eax
call fcn.00414138
test eax, eax
pop ecx
je 0x41ec7a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0041788f
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x41ec89
or dword [ebp + 0x10], 0x200000
jmp 0x41ecc3
or dword [ebp + 0x10], 0x40000
jmp 0x41ecc3
mov eax, dword [0x473990]
cmp eax, esi
je 0x41ecc3
push eax
call fcn.00416f2a
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x41ecc3
mov eax, dword [0x473994]
cmp eax, esi
je 0x41ecc3
push dword [ebp - 4]
push eax
call fcn.00416f2a
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x47398c]
call fcn.00416f2a
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x424578
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x46fd30]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0042450d
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00414570
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x4245c7
cmp dword [ebp - 0x1c], 5
jb 0x4245df
jmp 0x4245db
cmp dword [ebp - 0x10], 1
jne 0x4245df
cmp dword [ebp - 0x1c], 4
ja 0x4245db
jne 0x4245df
cmp dword [ebp - 0x18], 0
jbe 0x4245df
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x46a0cc
call fcn.004243fe
test eax, eax
jge 0x424600
mov byte [0x473b30], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004131d4
add ebp, 0x78
leave
ret
Function at 0x407010
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x40704e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x407046
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x407050
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x407036
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x407120
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x407151
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x407151
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x407151
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x1fde058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.01fde1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1fde07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1fde06a
add dl, dl
jne 0x1fde089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1fde0dc
xor eax, eax
add dl, dl
jne 0x1fde096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1fde17d
add dl, dl
jne 0x1fde0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1fde0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1fde0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1fde0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1fde0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1fde075
mov eax, 1
add dl, dl
jne 0x1fde0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1fde0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1fde0e1
sub eax, ebx
mov ebx, 1
jne 0x1fde128
mov ecx, 1
add dl, dl
jne 0x1fde10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1fde119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1fde105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1fde075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1fde13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1fde14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1fde136
cmp eax, 0x7d00
jae 0x1fde16d
cmp eax, 0x500
jb 0x1fde168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1fde075
cmp eax, 0x7f
ja 0x1fde170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1fde075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1fde19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1fde075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x403b5f
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsAlloc
push 0x441260
push str.FlsAlloc
push 0
call fcn.00403a0d
mov esi, eax
add esp, 0x10
test esi, esi
je 0x403b91
push dword [ebp + 8]
mov ecx, esi
call fcn.00402a4e
call esi
pop esi
pop ebp
ret
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsAlloc]

Function at 0x403bd3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsGetValue
push 0x441284
push str.FlsGetValue
push 2
call fcn.00403a0d
add esp, 0x10
mov esi, eax
push dword [ebp + 8]
test esi, esi
je 0x403c04
mov ecx, esi
call fcn.00402a4e
call esi
jmp 0x403c0a
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
pop esi
pop ebp
ret

Function at 0x403c0d
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push str.FlsSetValue
push 0x441298
push str.FlsSetValue
push 3
call fcn.00403a0d
add esp, 0x10
mov esi, eax
push dword [ebp + 0xc]
push dword [ebp + 8]
test esi, esi
je 0x403c41
mov ecx, esi
call fcn.00402a4e
call esi
jmp 0x403c47
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
pop ebp
ret
Function at 0x4270b4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00426cb5
Function at 0x42bf38
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042be05

Function at 0x42e2b8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042da47

Function at 0x42e2c3
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0042dc8e
Function at 0x407180
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x4071be
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x4071b6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x4071c0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x4071a6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4072a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x4072b6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x4072d1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret

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

Disassembly:
pushal
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x407ef8
nop
nop
mov ecx, 0x24531123
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section._RDATA
mov ebx, 0x42cd70
nop
mov ecx, 0xf9a53eb
nop
nop
test eax, eax
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x42e06c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x4050f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jne 0x40511d
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042e8c4
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x40511b

Function at 0x40510b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp byte [ecx + 0x14], 0
jne 0x443d70
push dword [ebp + 0x14]
push dword [ebp + 0x10]
jne 0x40511d
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042e8c4
add esp, 0x10
leave
ret 0x10
mov ecx, dword [ecx + 0x10]
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 0xc]
imul eax, dword [ebp + 0x10]
mov edx, dword [ecx]
push eax
push dword [ebp + 8]
push ecx
call dword [edx + 0xc]
mov eax, dword [ebp - 4]
jmp 0x40511b

Function at 0x40693c
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edx, dword [eax + 4]
mov edi, dword [eax]
add edx, edx
mov eax, 0x1505

Function at 0x408810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
push ebx
mov ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x30], ebx
push esi
push edi
test ebx, ebx
je 0x446545
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, dword [esi]
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x28], ecx
cmp eax, dword [esi + 4]
jae 0x44e68f
mov edx, dword [ebp - 8]
cmp dword [ebp + 0x18], 0
jne 0x446567
push 1
push 0
push 0
push 0
push 0
xor edx, edx
lea ecx, [ebp + 0x18]
call fcn.00408810
add esp, 0x14
jmp 0x4089db
lea eax, [ebp + 0x18]
sub eax, dword [ebp - 8]
cdq
xor eax, edx
sub eax, edx
neg eax
jmp 0x4089db
Function at 0x40bf40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
push ebx
mov ebx, dword [ebp + 0xc]
push esi

Function at 0x40ec40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xfc
mov eax, dword fs:[0x2c]
mov dword [esp + 0x18], ecx
Function at 0x418ae0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
jne 0x456831
mov ecx, dword [esi + 0x6c]
mov eax, dword [esi + 0x60]

Function at 0x418b06
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [edi], cl
test byte [0x810003fa], dh
cli
inc dword [eax]
add byte [eax], al
dec esi
cli
add eax, dword [eax]
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x18], 0
jne 0x456841
mov ecx, dword [0x4d191c]
cmp ecx, 0xffffffff
stc
invalid
je 0x418b96
cmp dword [ebp + 8], 0
jne 0x45685b
mov eax, dword [0x4d1910]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 0x10]
inc edx
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], edx
mov esi, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 8], eax
test edi, edi
jne 0x45687b
mov edi, edx
cmp dword [ebp + 0xc], 0xffffffff
je 0x418b74
lea ecx, [ebp + 0xc]
call fcn.00419bd8
cmp dword [esi + 0x4c], 0
jge 0x456951
mov eax, dword [ebp + 0xc]
push 1
push eax
mov dword [esi + 0x4c], eax
call fcn.00419700
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x418b9a
mov eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x418b9f
cmp byte [esi + 0x38], 0
jne 0x45695e
mov eax, edi
pop edi
pop esi
leave
ret 0x1c
xor eax, eax
jmp 0x418b92
mov dword [esi + 0x50], eax
jmp 0x418b7c
mov dword [esi + 0x54], eax
jmp 0x418b84
invalid
mov al, 0x18
dec ebp
add al, ch
push ebx
xor ebp, ecx
xchg edx, eax
mov ah, 0xc8
mov dword [0xfffbb11c], ecx
jmp 0x408b31
mov byte [ebx + 0x28c18308], cl
call 0xfd496b6d
mov ecx, dword [0xfffbb11c]
jmp 0x408b40
mov edi, dword [ebp + 8]
fisttp dword [edi]
test byte [ebp - 0x4ddf8], al
neg eax
sbb eax, eax
and edi, eax
jmp 0x14418b64
Function at 0x418b1c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
add byte [edi], cl
test byte [0x810003fa], dh
cli
inc dword [eax]
add byte [eax], al
dec esi
cli
add eax, dword [eax]
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0x18], 0
jne 0x456841
mov ecx, dword [0x4d191c]
cmp ecx, 0xffffffff
stc
invalid
je 0x418b96
cmp dword [ebp + 8], 0
jne 0x45685b
mov eax, dword [0x4d1910]
xor edx, edx
push esi
push edi
mov edi, dword [ebp + 0x10]
inc edx
mov eax, dword [eax + ecx*4]
mov dword [ebp + 8], edx
mov esi, dword [eax]
mov eax, dword [esi]
mov dword [ebp - 8], eax
test edi, edi
jne 0x45687b
mov edi, edx
cmp dword [ebp + 0xc], 0xffffffff
je 0x418b74
lea ecx, [ebp + 0xc]
call fcn.00419bd8
cmp dword [esi + 0x4c], 0
jge 0x456951
mov eax, dword [ebp + 0xc]
push 1
push eax
mov dword [esi + 0x4c], eax
call fcn.00419700
mov eax, dword [ebp + 0x1c]
cmp eax, 0xffffffff
jne 0x418b9a
mov eax, dword [ebp + 0x20]
cmp eax, 0xffffffff
jne 0x418b9f
cmp byte [esi + 0x38], 0
jne 0x45695e
mov eax, edi
pop edi
pop esi
leave
ret 0x1c
xor eax, eax
jmp 0x418b92
mov dword [esi + 0x50], eax
jmp 0x418b7c
mov dword [esi + 0x54], eax
jmp 0x418b84
invalid
mov al, 0x18
dec ebp
add al, ch
push ebx
xor ebp, ecx
xchg edx, eax
mov ah, 0xc8
mov dword [0xfffbb11c], ecx
jmp 0x408b31
mov byte [ebx + 0x28c18308], cl
call 0xfd496b6d
mov ecx, dword [0xfffbb11c]
jmp 0x408b40
mov edi, dword [ebp + 8]
fisttp dword [edi]
test byte [ebp - 0x4ddf8], al
neg eax
sbb eax, eax
and edi, eax
jmp 0x14418b64

Function at 0x419f18
Capabilities:
Parse pe header

Disassembly:
cmp dword [0x89470000], eax
add eax, 0x89470000
jge 0x409f64
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], ecx
cmp edi, 2
jb 0x419f62
push 0
pop eax
mov esi, eax
mov edx, eax
sub edi, 1
je 0x419f62
mov bl, byte [edx + ecx]
mov cl, byte [edx + ecx + 1]
add edx, 2
test bl, bl
je 0x45789e
test cl, cl
je 0x4578b2
test eax, eax
jne 0x419f69
mov ecx, dword [ebp - 4]
cmp edx, edi
jb 0x419f35
test eax, eax
jne 0x419f6f
test esi, esi
jne 0x419f73
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
test esi, esi
jne 0x419f62
jmp 0x419f53
push 6
jmp 0x419f75
push 8
pop eax
jmp 0x419f64
cld
dec dword [ebx + 0x345ae8ce]
sti
pop es
mov ecx, dword [eax + 0x10]
jmp 0x4578b3
sti
inc dword [eax + 0x9740af9]
cmp cl, 0xd
jne 0x409f65
inc esi
jmp 0x409f65
Function at 0x41b731
Capabilities:
Encode data using base64
Encrypt data using speck

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x16c
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x124], ecx
mov ecx, dword [ecx]
push esi
mov esi, dword [eax]
mov eax, ecx
and eax, 0x800
mov dword [ebp - 0xc], 1
mov dword [ebp - 0x5c], eax
push edi
push ebx
pop eax
setne al
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x78], eax
mov eax, ecx
shr eax, 9
and eax, 1
mov dword [ebp - 0x13c], edx
mov edx, dword [edx]
mov dword [ebp - 0xf8], eax
xor eax, 1
and ecx, dword [ebp - 0xc]
mov dword [ebp - 0xfc], eax
push 0xfffffffffffffffe
pop eax
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x58], eax
mov eax, ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc0], edx
mov dword [ebp - 0xb0], edx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 4], esi
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x88], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x84], ebx
mov dword [ebp - 0x7c], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x94], ecx
mov dword [ebp - 0x98], 0xff
mov dword [ebp - 0x110], 0xfc00
mov dword [ebp - 0x114], 0xdc00
mov dword [ebp - 0x12c], 0x7b
mov dword [ebp - 0x120], 0x3a
mov dword [ebp - 0x140], 0x87
mov dword [ebp - 0x90], 0x30
mov dword [ebp - 0xb4], 0x39
mov dword [ebp - 0x128], 0x27
mov dword [ebp - 0x118], 0x1e
mov dword [ebp - 0x11c], 0x82
mov dword [ebp - 0x138], 0x5d
jmp 0x41b9de
mov ecx, dword [edi + 8]
lea eax, [esp + 0x88]
push eax
call fcn.00473209
mov byte [edi + 0xd], 0
jmp 0x40c1de
mov ecx, esi
call fcn.00402846
cmp ebx, dword [esi]
jb 0x450933
jmp 0x40c209
mov eax, dword [edi + 0x38]
jmp 0x40c22a
mov edi, dword [edi + 0x38]
jmp 0x40c242

Function at 0x43927b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004390fa

Function at 0x4696e2
Capabilities:
Encode data using xor

Disassembly:
test ecx, ecx
jle 0x4696ef
xor word [edi + eax*2], cx
inc eax
cmp eax, ecx
jl 0x4696e6
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x471f72
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4d06e0], 1
jne 0x471f80
call fcn.0047205c
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret
Function at 0x471fb8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x471fcb
call fcn.0047205c
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x47200e
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x47207f
push 0
call 0xb542e4fe
pop ecx
mov ecx, eax
call 0xe916201c
mov dword [0x4d06e0], 0x7e3b0270
mov edx, 0xe1e100e3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7ffffffe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi + 0x7e3b0634]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x472094
mov eax, dword [esi]
mov dword [ebp - 4], 0xe850018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7ffffffe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
invalid

Function at 0x472914
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7e00e0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 0xdc]
call fcn.00472764
push dword [ebp + 8]
lea ecx, [ebp - 0xdc]
call fcn.004727a8
xor esi, esi
test ebx, ebx
je 0x472958
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call fcn.004728e8
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0x472943
pop edi
pop esi
pop ebx
leave
ret
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x6bf20239
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
mov ebx, 0x4304d8
nop
mov ecx, 0xf8a29d0
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219