joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4493e0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x487b18
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x449419
inc eax
mov dword [esi + 0x10], eax
jmp 0x44952c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x44942d
mov eax, 0xffffffc7
jmp 0x44952e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x44943e
cmp dword [esi + 8], eax
jne 0x44942d
cmp dword [esi + 8], eax
jne 0x449457
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x449457
mov eax, 0xffffffc7
jmp 0x44952e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x44946b
push eax
mov ecx, ebx
call fcn.00448c10
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00414280
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x44949c
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.004142a0
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00448380
test eax, eax
mov dword [esp + 0x38], eax
je 0x4494cf
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7e9cb0
call fcn.00414480
mov eax, dword [esp + 0x38]
jmp 0x44952e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00449240
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x449513
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00449260
mov esi, eax
test esi, esi
jne 0x449543
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00449240
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x4494e5
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7e9cb0
call fcn.00414480
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x7e9cb0
call fcn.00414480
mov eax, esi
jmp 0x44952e
Function at 0x452850
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [0x48a5bc]
push 0
lea ecx, [esp + 0x20]
call fcn.004804d2
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.004521f0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00480400
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.0047ccc0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.0047ccc0
push 1
push 0
push 0
mov ecx, esi
call fcn.0047cc68
push 1
push 0
push 1
mov ecx, esi
call fcn.0047cc68
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00480544
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x4529d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x488168
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.004804d2
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.004521f0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00480400
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [0x48a5bc]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x452a94
cmp dword [esp + 0x40], 1
jne 0x452a92
cmp ecx, eax
jge 0x452a94
mov eax, ecx
cmp eax, 0xc8
jge 0x452aa0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.00452850
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [0x48a5b8]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00480544
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x453220
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4881d3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0047b0db
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], 0x7ee8b8
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], 0x7ed3b8
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [0x48a120]
push eax
mov ecx, edi
call fcn.0048077a
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.00481cd9
test eax, eax
je 0x45333c
mov ecx, dword [esp + 0x3c]
call fcn.004807a7
mov ecx, dword [esi + 0x1c]
mov ebp, dword [0x48a5dc]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x453300
push edi
mov ecx, esi
call fcn.0047de0a
mov ecx, esi
call fcn.004534a0
cmp dword [esp + 0x38], 1
jne 0x453335
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0047df45
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28

Function at 0x455d50
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x455d83
push esi
call fcn.00458e60
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x455d7c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x455e09
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x455df2
mov eax, dword [esi + 8]
test eax, eax
je 0x455da7
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x455dee
cmp eax, 2
je 0x455df2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x455d9a
cmp eax, 3
je 0x455dcd
cmp eax, 1
jne 0x455d9a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x455d9a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x455d9a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.00455e30
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x455e18
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.00455e30
add esp, 4
pop esi
ret
Function at 0x465040
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x488920
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
lea ecx, [esp + 4]
call fcn.00464bf0
lea eax, [esp + 4]
lea ecx, [esi + 4]
push eax
mov dword [esp + 0x18], 0
call fcn.00464c70
lea ecx, [esp + 4]
push ecx
lea ecx, [esi + 0x14]
call fcn.00464c70
lea ecx, [esi + 0xc]
call fcn.00479a8e
lea ecx, [esi + 0x10]
call fcn.00479a8e
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x1c]
call fcn.004674a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x30]
call fcn.004674a0
push 0xffffffffffffffff
push 0
lea ecx, [esi + 0x44]
call fcn.004674a0
lea ecx, [esp + 8]
mov dword [esp + 0x14], 1
call fcn.00479b03
lea ecx, [esp + 4]
mov dword [esp + 0x14], 0xffffffff
call fcn.00479b03
mov ecx, dword [esp + 0xc]
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x59f632
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x4321e0
Capabilities:
Terminate process

Disassembly:
jmp 0x43a090
jmp fcn.00443fb0
cmp ecx, dword [0x4a9018]
jne 0x43a09a
repz ret
jmp 0x4326d1

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

Disassembly:
pushal
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
mov ecx, 0x10f91697
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x20543bc0
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x432084
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x402e5b
Capabilities:
Check for time delay via gettickcount
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 8], esi
test edi, edi
jne 0x402e78
mov dword [ebp - 8], 0x8000
and dword [ebp - 4], 0
mov ebx, edi
test edi, edi
jne 0x402e87
mov ebx, 0x40f020
mov eax, dword [ebp + 8]
test eax, eax
jl 0x402e9c
mov ecx, dword [0x423ed8]
add ecx, eax
push ecx
call fcn.00403080
lea eax, [ebp + 0x14]
push 4
push eax
call fcn.0040304e
test eax, eax
je 0x402ff9
test byte [ebp + 0x17], 0x80
je 0x402fe2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, 0x40af90
mov dword [ebp - 0xc], eax
call fcn.00405dd9
and dword [ebp + 0x14], 0x7fffffff
mov eax, dword [ebp + 0x14]
mov dword [ebp + 8], eax
jle 0x403044
mov esi, 0x4000
cmp dword [ebp + 0x14], esi
jge 0x402eec
mov esi, dword [ebp + 0x14]
mov edi, 0x40b020
push esi
push edi
call fcn.0040304e
test eax, eax
je 0x402ff9
sub dword [ebp + 0x14], esi
mov dword [0x40afa8], edi
mov dword [0x40afac], esi
mov eax, dword [ebp - 8]
mov ecx, 0x40af90
mov dword [0x40afb0], ebx
mov dword [0x40afb4], eax
call fcn.00405df9
test eax, eax
mov dword [ebp - 0x14], eax
jl 0x402fda
mov esi, dword [0x40afb0]
sub esi, ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
test byte [0x423f34], 1
mov edi, eax
je 0x402f8e
sub eax, dword [ebp - 0xc]
cmp eax, 0xc8
ja 0x402f5b
cmp dword [ebp + 0x14], 0
jne 0x402f8e
mov eax, dword [ebp + 8]
push dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push 0x64
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
lea eax, [ebp - 0x54]
push str....__d__
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x54]
push eax
push 0
call fcn.00404d7b
mov dword [ebp - 0xc], edi
xor eax, eax
cmp esi, eax
je 0x402fcf
cmp dword [ebp + 0x10], eax
jne 0x402fb7
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fde
cmp dword [ebp - 0x10], esi
jne 0x402fde
add dword [ebp - 4], esi
jmp 0x402fc3
add dword [ebp - 4], esi
sub dword [ebp - 8], esi
mov ebx, dword [0x40afb0]
cmp dword [ebp - 0x14], 1
jne 0x402f0f
jmp 0x403044
cmp dword [ebp + 0x14], eax
jg 0x402edf
jmp 0x403044
push 0xfffffffffffffffc
jmp 0x402ffb
push 0xfffffffffffffffe
jmp 0x402ffb
test edi, edi
je 0x403039
cmp dword [ebp + 0x14], esi
jge 0x402fee
mov esi, dword [ebp + 0x14]
push esi
push edi
call fcn.0040304e
test eax, eax
jne 0x403041
push 0xfffffffffffffffd
pop eax
jmp 0x403047
mov esi, dword [ebp - 8]
cmp dword [ebp + 0x14], esi
jge 0x403009
mov esi, dword [ebp + 0x14]
mov edi, 0x40b020
push esi
push edi
call fcn.0040304e
test eax, eax
je 0x402ff9
lea eax, [ebp + 0x10]
push 0
push eax
push esi
push edi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x402fde
cmp esi, dword [ebp + 0x10]
jne 0x402fde
add dword [ebp - 4], esi
sub dword [ebp + 0x14], esi
cmp dword [ebp + 0x14], 0
jg 0x402ffe
jmp 0x403044
mov dword [ebp - 4], esi
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x409a14
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
jmp 0x409abd
cmp dword [esi + 0x10], 0x1000
jne 0x409aa9
test byte [esi + 0x15], 1
jne 0x409aa9
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409a68
cmp eax, 2
je 0x409a68
cmp eax, 0x10
je 0x409a68
cmp eax, 0x20
jne 0x409a7d
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409a7d
mov bl, 1
xor ebp, ebp
jmp 0x409a8e
mov eax, dword [esi]
add eax, ebp
call fcn.00409a0c
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409a81
test bl, bl
je 0x409aa9
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409ac8
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a40
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x407ef8
mov ecx, 0xeab261e
nop
nop
test eax, eax
nop
nop
nop
je 0x42e04e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x42e024
nop
mov eax, section..tls
mov ebx, 0x42cd70
nop
mov ecx, 0x6d9419bb
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x42e084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
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 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x406080
Capabilities:
Authenticate hmac

Disassembly:
retf 0xe54f
sub eax, 0xc6b5f295
inc eax
xchg ebx, eax
mov edx, 0x21d5d259
out dx, al
pop edx
scasd eax, dword es:[edi]
daa
mov dl, 0x5a
scasb al, byte es:[edi]
cmpsd dword [esi], dword es:[edi]
sbb byte [edx + 0x4f], ch
dec ecx
test al, 0x26
sub eax, 0xe740344f
fsubrp st(5)
sbb edi, dword [ecx + 0x3079d85a]
jb 0x40609c
jmp ebx
jecxz 0x40605f
jg 0x40602c
xchg ebx, eax
sub byte [edi], ah
add eax, 0x4f6a1bf0
lodsb al, byte [esi]
bnd jno 0x406079
push ds

Function at 0x4096e7
Capabilities:
Encode data using xor

Disassembly:
mov dword [0x3978b68a], eax
mov eax, 0xe1192382
or edi, dword [ebx + 0x31]
xor ecx, dword [edx - 0x5aeca4a6]
adc dword [eax + 0x22], esp
inc esi
xchg ecx, eax
idiv byte [edi + 0x64]
invalid
Function at 0x100080d8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1000e628
cmp edx, dword [eax]
je 0x100080fa
add eax, 8
inc ecx
cmp eax, 0x1000e6b8
jl 0x100080eb
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1000e628]
jne 0x10008228
mov eax, dword [0x10016d20]
cmp eax, 1
je 0x10008202
test eax, eax
jne 0x1000812b
cmp dword [0x10016d24], 1
je 0x10008202
cmp edx, 0xfc
je 0x10008228
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x10008162
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.10008830
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.10008e60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x100081a5
lea eax, [ebp - 0x1a4]
push eax
call fcn.10008e60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1000d7e8
push edi
call fcn.1000aec0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.10008830
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.10008840
lea eax, [ebp - 0xa0]
push 0x1000d7c8
push eax
call fcn.10008840
push dword [esi + 0x1000e62c]
lea eax, [ebp - 0xa0]
push eax
call fcn.10008840
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.1000ae35
add esp, 0x2c
pop edi
jmp 0x10008228
lea eax, [ebp + 8]
lea esi, [esi + 0x1000e62c]
push 0
push eax
push dword [esi]
call fcn.10008e60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x1000107c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
lea eax, [ebp - 0x10c]
push esi
push edi
push ecx
push str.SoftwareIK_Multimedia_s
push eax
mov esi, edx
call dword [sym.imp.msvcrt.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 8]
xor edi, edi
push eax
lea eax, [ebp - 4]
push eax
push edi
push 0xf003f
push edi
push 0x100020de
push edi
lea eax, [ebp - 0x10c]
push eax
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov ecx, dword [ebp + 8]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100010ce
sub ecx, edx
push ecx
push dword [ebp + 8]
push 1
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
leave
ret

Function at 0x100010f5
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
push 0x10
mov ebx, ecx
mov dword [ebp - 0x2c], 0x208
pop ecx
mov dword [ebp - 0x24], ecx
lea edi, [ebp - 0x20]
mov esi, edx
mov dword [ebp - 0x28], 0x660e
push 8
mov dword [ebp - 0x10], ecx
xor eax, eax
pop ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 1
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x4c]
mov esi, ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
xor edi, edi
push edi
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push edi
push eax
call esi
test eax, eax
jne 0x10001165
push 8
push 0x18
push str.Microsoft_Enhanced_RSA_and_AES_Cryptographic_Provider
push edi
lea eax, [ebp - 8]
push eax
call esi
lea eax, [ebp - 4]
push eax
push edi
push edi
push 0x1c
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
push edi
lea eax, [ebp - 0xc]
push eax
push 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
push 0x20
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x4c]
push eax
push edi
push 1
push edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
push edi
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov edi, ebx
lea esi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
leave
ret