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

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
xor esi, esi
mov ebx, ecx
push edi
cmp dword [ebp + 8], esi
je 0x459bee
call fcn.0045eb23
push 0xf0
push dword [ebp + 8]
mov edi, dword [eax + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x459bee
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x459bf6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
push esi
mov ecx, ebx
call fcn.0044fa37
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x45a313
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x45a39f
cmp dword [esi + 0x20], 0
je 0x45a39f
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45a39f
cmp dword [ebp + 8], 0
je 0x45a39f
xor edi, edi
mov ebx, edi
call fcn.0045eb23
push 0x4be660
push dword [ebp + 8]
mov eax, dword [eax + 0xc]
push eax
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 8], eax
test eax, eax
je 0x45a383
mov ebx, dword [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push dword [ebp - 8]
mov edi, eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x45a39f
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push edi
push ebx
push esi
call fcn.0046822d
mov edi, eax
add esp, 0xc
test edi, edi
je 0x45a39b
mov ecx, esi
call fcn.0045a0e1
mov eax, edi
jmp 0x45a3a1
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x460ccb
Capabilities:
Get file attributes
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
mov eax, dword [0x512554]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
push edi
push 0x230
xor edi, edi
push edi
push esi
call fcn.00482cf0
push 0xffffffffffffffff
push dword [ebx + 0xc]
lea eax, [esi + 0x24]
push 0x104
push eax
call fcn.00491f46
push eax
call fcn.0040295f
mov eax, dword [ebx + 4]
add esp, 0x20
cmp eax, dword [0x4bc920]
je 0x460e35
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x460e49
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x460e49
mov eax, dword [ebp - 0x30]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x2c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0xc]
cmp dword [eax - 0xc], edi
jne 0x460d64
mov eax, edi
jmp 0x460d93
mov ecx, dword [ebx + 0x10]
test ecx, ecx
je 0x460d81
lea edx, [ebp - 0x28]
push edx
push edi
push eax
call fcn.00460abe
mov ecx, eax
neg ecx
sbb ecx, ecx
and ecx, dword [ebp - 0x28]
jmp 0x460d8a
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
lea eax, [ecx + 1]
neg eax
sbb eax, eax
and eax, ecx
mov dword [esi + 0x20], eax
lea eax, [ebp - 0x38]
push eax
call fcn.0045fb8c
test eax, eax
je 0x460db8
push 0xffffffffffffffff
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045f3fe
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x460dbc
mov ecx, edi
mov eax, edi
mov dword [esi], ecx
mov dword [esi + 4], eax
lea eax, [ebp - 0x40]
push eax
call fcn.0045fb8c
test eax, eax
je 0x460de3
push 0xffffffffffffffff
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045f3fe
mov ecx, dword [eax]
mov eax, dword [eax + 4]
jmp 0x460de7
mov ecx, edi
mov eax, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
lea eax, [ebp - 0x48]
push eax
call fcn.0045fb8c
test eax, eax
je 0x460e0f
push 0xffffffffffffffff
lea eax, [ebp - 0x48]
push eax
lea ecx, [ebp - 0x50]
call fcn.0045f3fe
mov edi, dword [eax]
mov ecx, dword [eax + 4]
jmp 0x460e11
mov ecx, edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], ecx
mov eax, dword [esi]
or eax, dword [esi + 4]
jne 0x460e23
mov dword [esi], edi
mov dword [esi + 4], ecx
mov eax, dword [esi + 0x10]
or eax, dword [esi + 0x14]
jne 0x460e35
mov eax, edi
mov dword [esi + 0x10], eax
mov eax, ecx
mov dword [esi + 0x14], eax
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469f6a
leave
ret 4
xor eax, eax
jmp 0x460e38
Function at 0x461fc0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x4b5ecb
call fcn.0046a5b3
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 0x1c]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebp + 8]
test ebx, ebx
jle 0x4620ca
cmp ebx, dword [esi + 0xc]
jge 0x4620ca
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x462017
cmp ebx, dword [edi + 8]
jl 0x4620b8
cmp dword [ebp + 0xc], 0
je 0x4620b8
xor ebx, ebx
jmp 0x462051
xor ebx, ebx
push 0x10
mov dword [ebp - 4], ebx
call fcn.00461a67
mov edi, eax
test edi, edi
je 0x462031
mov dword [edi], vtable.CThreadData.0
jmp 0x462033
mov edi, ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [esi + 0x14]
push edi
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
call fcn.00461eec
mov ecx, dword [esi + 0x14]
mov dword [eax], ecx
mov dword [esi + 0x14], edi
mov esi, dword [ebp - 0x14]
cmp dword [edi + 0xc], ebx
jne 0x46206c
push 4
push dword [esi + 0xc]
call fcn.004151f9
pop ecx
pop ecx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x462084
push 2
push 4
push dword [esi + 0xc]
call fcn.004151f9
pop ecx
pop ecx
push eax
push dword [edi + 0xc]
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
mov edx, eax
test edx, edx
je 0x4620f1
mov ecx, dword [edi + 8]
mov dword [edi + 0xc], edx
mov eax, dword [esi + 0xc]
sub eax, ecx
shl eax, 2
push eax
lea eax, [edx + ecx*4]
push ebx
push eax
call fcn.00482cf0
mov eax, dword [esi + 0xc]
add esp, 0xc
mov dword [edi + 8], eax
push edi
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebx, dword [ebp + 8]
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x4620ca
cmp ebx, dword [edi + 8]
jge 0x4620ca
mov eax, dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0046a511
ret 8
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.004501fe
int3

Function at 0x49f63f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049f2f0

Function at 0x49f64a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049f47a
Function at 0x42e005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x42e00c
nop
nop
nop
nop
nop
pop eax
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
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
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x42e030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
jne 0x43301e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x480a30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x54000]
push edi
or ebp, 0xffffffff
jmp 0x480a52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x480a59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480a48
mov eax, 1
add ebx, ebx
jne 0x480a6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x480a7c
jne 0x480a9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480a9b
dec eax
add ebx, ebx
jne 0x480a88
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x480a60
add ebx, ebx
jne 0x480a97
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x480aed
xor ecx, ecx
sub eax, 3
jb 0x480ab3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x480b22
sar eax, 1
mov ebp, eax
jmp 0x480abe
add ebx, ebx
jne 0x480abe
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480a8c
inc ecx
add ebx, ebx
jne 0x480acc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x480a8c
add ebx, ebx
jne 0x480ad9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x480ace
jne 0x480aea
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x480ace
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x480b0c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x480afe
jmp 0x480a4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x480b0c
add edi, ecx
jmp 0x480a4e
pop esi
mov edi, esi
mov ecx, 0x274c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x480b2a
cmp byte [edi], 0xa
jne 0x480b2a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x480b2f
lea edi, [esi + 0x7e000]
mov eax, dword [edi]
or eax, eax
je 0x480b9e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8db34]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8dbac]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x480b5c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8dbb0]
or eax, eax
je 0x480b98
mov dword [ebx], eax
add ebx, 4
jmp 0x480b79
call dword [esi + 0x8dbc0]
mov ebp, dword [esi + 0x8dbb4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x480bd2
sub esp, 0xffffff80
jmp 0x43acbf
Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x42e004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
nop
mov ebx, 0x407ef8
mov ecx, 0x126c0f90
nop
test eax, eax
nop
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x42e024
nop
nop
mov eax, section..data
nop
mov ebx, 0x42cd70
mov ecx, 0x65c46f71
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x42e06c
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x401240
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edx
mov eax, dword [ebx]
nop
cmp edi, 7
ja case.default.0x401255
jmp dword [edi*4 + 0x4013ec]
mov ecx, esi
and ecx, 3
sub edi, ecx
sub ecx, 1
je 0x401298
sub ecx, 1
je 0x401285
sub ecx, 1
jne 0x4012ab
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
mov edx, edi
sar edx, 3
test edx, edx
je 0x40132d
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
mov ecx, eax
movzx eax, cl
shr ecx, 8
mov eax, dword [eax*4 + 0x4622e0]
xor eax, dword [esi + 4]
add esi, 8
xor eax, ecx
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
sub edx, 1
jne 0x4012b4
and edi, 7
jmp 0x401250
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
xor eax, dword [esi]
movzx ecx, al
shr eax, 8
pop edi
pop esi
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
movzx ecx, al
shr eax, 8
xor eax, dword [ecx*4 + 0x4622e0]
mov dword [ebx], eax
pop ebx
pop ebp
ret
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
inc esi
movzx edx, byte [esi]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x4622e0]
pop edi
pop esi
mov dword [ebx], eax
pop ebx
pop ebp
ret

Function at 0x401460
Capabilities:
Hash data using sha1

Disassembly:
mov dword [ecx], vtable.CSHA1.0
lea eax, [ecx + 0x74]
mov dword [ecx + 0xb4], eax
mov eax, ecx
mov dword [ecx + 4], 0x67452301
mov dword [ecx + 8], 0xefcdab89
mov dword [ecx + 0xc], 0x98badcfe
mov dword [ecx + 0x10], 0x10325476
mov dword [ecx + 0x14], 0xc3d2e1f0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
ret
Function at 0x403380
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
push ebx
push esi
mov esi, ecx
push edi
test esi, esi
je 0x403551
push 0x475d10
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004035d0
mov eax, dword [eax]
cmp eax, dword [0x475d00]
jne 0x4033cd
push 0x475d10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movups xmm0, xmmword [eax + 0x14]
push eax
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [eax + 0x24]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x34]
movups xmmword [ebp - 0x60], xmm0
movups xmm0, xmmword [eax + 0x44]
lea eax, [ebp - 0x14]
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.00403630
push 0x475d10
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x475ce0]
test edi, edi
jne 0x40341f
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov edi, dword [ebp - 0x3c]
mov dword [0x475ce0], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, dword [ebp - 0x80]
xor edx, edx
mov ebx, dword [ebp - 0x74]
mov dword [ebp - 0xc], eax
mov cl, byte [ebp - 0x7c]
lea eax, [esi - 1]
mov byte [ebp - 4], 0xeb
add eax, ebx
div edi
xor edx, edx
mov dword [ebp - 0x14], eax
mov eax, esi
div edi
push 2
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x78]
sub cl, al
sub cl, 2
mov byte [ebp - 3], cl
mov cx, word [ebp - 4]
push eax
push dword [ebp - 0xc]
mov word [eax], cx
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x403551
cmp dword [ebp - 0x28], 0x1000
jne 0x403551
cmp byte [esi], 0xe9
jne 0x403551
mov eax, dword [esi + 1]
add eax, 5
add eax, esi
cmp eax, dword [ebp - 0x78]
jne 0x403551
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp - 8]
push eax
push 0x40
push ebx
push esi
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
call edi
test eax, eax
je 0x403551
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
je 0x4034f9
lea eax, [ebp - 0x18]
push eax
push 0x40
lea eax, [esi - 1]
push 1
add eax, ebx
push eax
call edi
test eax, eax
jne 0x4034f9
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 8]
push 1
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
lea eax, [ebp - 0x70]
push eax
push esi
call fcn.0043ae40
add esp, 0xc
push ebx
push esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
je 0x403538
mov eax, dword [ebp - 0x18]
cmp eax, 0x40
je 0x403538
cmp eax, 0x80
je 0x403538
lea ecx, [ebp - 0x1c]
push ecx
push eax
lea eax, [esi - 1]
push 1
add eax, ebx
push eax
call edi
mov eax, dword [ebp - 8]
cmp eax, 0x40
je 0x403551
cmp eax, 0x80
je 0x403551
lea ecx, [ebp - 0x1c]
push ecx
push eax
push 1
push esi
call edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404f00
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
push 0
push 0
push 3
push 0
push 1
mov ebx, ecx
mov dword [ebp - 0x14], edx
push 0x80000000
push ebx
mov byte [ebp - 5], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x404f36
cmp esi, 0xffffffff
jne 0x404fb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
jne 0x404fb0
cmp word [ebx], 0x5c
jne 0x404fb0
cmp word [ebx + 2], 0x3f
jne 0x404fb0
cmp word [ebx + 4], 0x3f
jne 0x404fb0
cmp word [ebx + 6], 0x5c
jne 0x404fb0
mov esi, ebx
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x404f61
sub esi, ecx
sar esi, 1
lea esi, [esi*2 + 2]
lea eax, [esi + 0xf]
and eax, 0xfffffff0
call fcn.004389e0
mov edi, esp
push esi
push ebx
push edi
call fcn.0043ae40
add esp, 0xc
mov eax, 0x5c
mov word [edi + 2], ax
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
test esi, esi
je 0x40508c
cmp esi, 0xffffffff
je 0x40508c
push 0
push 0
push 0
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov edi, eax
test edi, edi
je 0x405085
cmp edi, 0xffffffff
je 0x405085
push 0
push 0
push 0
push 4
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
je 0x40507e
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x405077
cmp dword [ebp - 0x18], 0
jne 0x405077
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x10], edx
test edx, edx
jle 0x405077
lea ecx, [ebp - 0xd4]
call fcn.00401460
push edx
push ebx
call fcn.004028c0
lea ecx, [ebp - 0xd4]
call fcn.00402980
push dword [ebp - 0x10]
mov edx, ebx
mov dword [ebp - 0xc], 0xffffffff
lea ecx, [ebp - 0xc]
call fcn.00401240
mov ecx, dword [ebp - 0xc]
add esp, 4
mov edx, dword [ebp - 0x14]
not ecx
test edx, edx
je 0x40506a
movups xmm0, xmmword [ebp - 0x74]
mov eax, dword [ebp - 0x64]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 8]
test eax, eax
je 0x405073
mov dword [eax], ecx
mov byte [ebp - 5], 1
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 5]
lea esp, [ebp - 0xe4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret