joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b95b
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
push ebx
xor ebx, ebx
cmp byte [0x420a10], bl
je 0x40b9db
cmp word [0x41a0d8], bx
je 0x40b9db
push esi
push 0x41a0d8
lea esi, [ebp - 0x808]
call fcn.0040b920
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
pop esi
test eax, eax
jne 0x40b9db
push dword [ebp + 8]
call fcn.0040a4d4
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x808]
push 1
push ebx
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
leave
ret 4

Function at 0x40b9e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.00401200
cmp byte [0x420a10], 0
je 0x40ba87
push esi
push dword [ebp + 8]
lea esi, [ebp - 0x100c]
call fcn.0040b920
lea eax, [ebp - 8]
push eax
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
pop esi
test eax, eax
jne 0x40ba87
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x80c]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x100c]
push eax
push dword [ebp - 8]
mov dword [ebp - 4], 0x800
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40ba7e
shr dword [ebp - 4], 1
mov eax, 0x3ff
cmp dword [ebp - 4], eax
jae 0x40ba62
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
xor ecx, ecx
mov word [ebp + eax*2 - 0x80c], cx
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call fcn.0040de3b
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
leave
ret 8

Function at 0x40bbaf
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [sym.imp.USER32.dll_DialogBoxParamW]
cmp byte [0x4208e6], 0
mov eax, dword [ebp + 0xc]
mov dword [0x4208e8], eax
mov eax, dword [ebp + 0x10]
mov dword [0x4208ec], eax
mov eax, dword [ebp + 0x14]
mov dword [0x4208e0], eax
je 0x40bbdf
xor eax, eax
inc eax
jmp 0x40bc08
cmp byte [0x4208e7], 0
je 0x40bbed
push 2
pop eax
jmp 0x40bc08
push dword [ebp + 8]
push 0x40af68
push dword [0x420a00]
push str.REPLACEFILEDLG
push dword [0x414e74]
call esi
dec eax
je 0x40bc5a
dec eax
je 0x40bc6c
dec eax
je 0x40bc53
dec eax
jne 0x40bc37
push dword [ebp + 8]
push 0x40b2b4
push dword [0x420a00]
push str.RENAMEDLG
push dword [0x414e74]
call esi
test eax, eax
je 0x40bbb9
mov al, 0x52
jmp 0x40bc67
dec eax
je 0x40bc48
dec eax
mov al, 0x4e
jne 0x40bc67
mov byte [0x4208e7], 1
jmp 0x40bc67
mov byte [0x4209f2], 1
mov al, 0x43
jmp 0x40bc67
mov byte [0x4208e6], 1
push 0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov al, 0x59
pop esi
pop ebp
ret 0x10
mov al, 0x4e
jmp 0x40bc67
Function at 0x40d5d3
Capabilities:
Accept command line arguments
Read file via mapping
Set environment variable
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
push edi
push 1
call fcn.0040e1ea
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, 0x4294c0
call fcn.0040e910
mov esi, 0x5800
push esi
push ebx
mov edi, 0x41b0e0
push edi
call fcn.0040a153
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40d681
push eax
call fcn.0040b4f5
cmp byte [0x420a11], bl
je 0x40d673
push str.winrarsfxmappingfile.tmp
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x40d668
push esi
push ebx
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
cmp eax, ebx
je 0x40d65f
push esi
push eax
push edi
call fcn.0040a180
push edi
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x40d681
push dword [ebp - 8]
push str.sfxcmd
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push 0x400
mov esi, 0x41a8e0
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push esi
push str.sfxname
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
push 0x64
push edi
mov dword [0x414e74], edi
mov dword [0x414e78], edi
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x65
push dword [0x414e78]
mov dword [0x41a8dc], eax
call dword [sym.imp.USER32.dll_LoadBitmapW]
lea ecx, [ebp - 0xc]
mov dword [0x41a8d8], eax
call fcn.00411a18
push esi
mov ecx, 0x414e88
call fcn.004097a7
lea ecx, [ebp - 0x5c]
call fcn.0040644b
lea ecx, [ebp - 0x34]
call fcn.0040644b
push 0x64
call fcn.0040ac98
push 0x64
mov dword [ebp - 0x40], eax
call fcn.0040ac98
push ebx
push 0x40cd71
mov dword [ebp - 0x18], eax
push ebx
lea eax, [ebp - 0x5c]
mov dword [0x41a0d4], eax
push str.STARTDLG
lea eax, [ebp - 0x34]
push edi
mov dword [0x41a0d0], eax
call dword [sym.imp.USER32.dll_DialogBoxParamW]
lea ecx, [ebp - 0x34]
mov dword [0x41a0d0], ebx
mov dword [0x41a0d4], ebx
call fcn.0040646d
lea ecx, [ebp - 0x5c]
call fcn.0040646d
lea ecx, [ebp - 0xc]
call fcn.00411a72
cmp byte [0x420a08], bl
je 0x40d760
call fcn.0040b72f
push 0x100
push ebx
push 0x4208f0
call fcn.0040a153
cmp dword [0x421b24], ebx
jbe 0x40d783
push dword [0x421b18]
call fcn.0040a0cf
push dword [0x41a8dc]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
call esi
mov eax, dword [0x41a8d8]
cmp eax, ebx
je 0x40d79d
push eax
call esi
cmp dword [0x414e7c], ebx
jne 0x40d7bc
cmp byte [0x4209f2], bl
je 0x40d7bc
push 0xff
mov ecx, 0x414e7c
call fcn.004032af
mov eax, dword [0x421b30]
mov byte [0x4209f2], 1
cmp eax, ebx
je 0x40d7d2
push eax
call fcn.0040b6f0
call dword [sym.imp.ole32.dll_OleUninitialize]
mov eax, dword [0x421b2c]
cmp eax, ebx
ja 0x40d7e6
mov eax, dword [0x414e7c]
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x40db4b
Capabilities:
Hash data using sha1

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret 4

Function at 0x4118bd
Capabilities:
Create shortcut via ishelllink

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 0x412aec
push 1
xor ebx, ebx
push ebx
push 0x412b9c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x41198e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push 0x412b8c
push eax
call dword [ecx]
test eax, eax
jl 0x411985
cmp byte [ebp + 8], bl
je 0x411910
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 2
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x50]
cmp dword [ebp + 0x18], ebx
je 0x41192d
mov eax, dword [ebp - 4]
push dword [ebp + 0x18]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ebx
cmp dword [ebp + 0x1c], ebx
jne 0x41193f
push 0x4126ac
jmp 0x411942
push dword [ebp + 0x1c]
push eax
call dword [ecx + 0x44]
cmp dword [ebp + 0x20], ebx
je 0x411957
mov eax, dword [ebp - 4]
push dword [ebp + 0x20]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x2c]
cmp dword [ebp + 0x14], ebx
je 0x411968
mov eax, dword [ebp - 4]
push dword [ebp + 0x14]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push 1
push dword [ebp + 0x10]
push eax
call dword [ecx + 0x18]
test eax, eax
jl 0x41197c
mov bl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov al, bl
pop ebx
leave
ret 0x1c

Function at 0x4119a8
Capabilities:
Get common file path

Disassembly:
push dword [esp + 4]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
neg eax
sbb eax, eax
neg eax
ret 8
Function at 0x64c42050
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x64c420ab
cmp byte [esi + ebx - 1], 0xa
je 0x64c4207f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x64c43118], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x40c288
pop dword [ebp - 0x14]
mov eax, 0x40c288
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0x1c37da6e
add dword [ebp - 0x24], 0x321a6add
mov dword [ebp - 0x20], 0xd2217788
add dword [ebp - 0x20], 0x6011d4bd
mov dword [ebp - 0x1c], 0x8b877d01
sub dword [ebp - 0x1c], 0x3f3b38d3
mov dword [ebp - 0x18], 0xa78c01ee
add dword [ebp - 0x18], 0x5873fe12
lea eax, [ebp - 0x24]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x7317d982
add dword [ebp - 0x24], 0x15a8fd4
mov dword [ebp - 0x20], 0x637a94a1
add dword [ebp - 0x20], 0xddf1ccd4
mov dword [ebp - 0x1c], 0x49f3f586
add dword [ebp - 0x1c], 0x197b76e6
mov dword [ebp - 0x18], 0x15618ae5
add dword [ebp - 0x18], 0xea9e751b
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x42103
push 0
call eax
mov ecx, 0x5982
mov ebx, eax
mov edi, 0x434400
add edi, dword [ebp - 0x14]
mov edx, 0x43f338f4
mov esi, dword [edi]
add dword [ebp - 0xc], 0x528ba000
xor esi, edx
add dword [ebp - 4], 0xeaaa65
mov dword [ebx], esi
xor dword [ebp - 8], 0xccecd4a2
add ebx, 0xcdbd059e
add ebx, 0x3242fa66
add edi, 0x3753bbe3
add edi, 0xc8ac4421
loop 0x40c389
add eax, 0xd806236f
sub eax, 0xd804ca94
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x431000
Capabilities:
Check for vm using instruction vpcext
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x431072
nop
nop
nop
mov ebx, 0x40915c
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x3eb719d7
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x431060
nop
mov eax, section..reloc
nop
nop
cmp eax, 0
nop
je 0x4310d2
nop
nop
nop
nop
mov ebx, 0x42f3f8
nop
nop
nop
nop
nop
mov ecx, ebx
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x62cc2883
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4310c0
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x8cc7bb
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov bl, 0xaa
invalid
call 0x8cc7d1
jp 0x8cc7b8
add edi, esi
cmp byte [eax - 0x15], ch
jnp 0x8cc7e8
in eax, dx
pop ecx
mov ds, word [ecx]
js 0x8cc82b
mov dl, 0x83
in al, dx
sbb ecx, dword [ebp + 0x66172464]
xchg dword [esp], eax
add esp, 0
xchg dword [esp + 4], ebp
jmp 0x8cc80e
les esi, [edi]
mov edi, dword [edi + esi*8 - reloc.KERNEL32.dll_GetStartupInfoA]
mov ch, ah
lea ecx, [edx*4]
ror ax, 7
xor ax, 0x4da4
dec ecx
lea ebp, [ebp - 0x1b]
jmp 0x8cc7f8
in al, dx
adc esi, dword [ebp + 0x16]
je 0x8cc845
adc al, byte [edi + 0x38817217]
test al, 0x38
scasb al, byte es:[edi]
leave
cmp byte [esi + 0x2474ff95], al
add al, 0xc2
or byte [eax], al
call fcn.008cc895
lea esp, [esp + 3]
lea esp, [esp + 0x14]
inc dl
cmc
jmp 0x8cc933
xchg cl, al
jmp 0x8cc9ce
jnp 0x8cc9c5
setg al
mov cx, word [esp]
jmp 0x8cc91a
neg ecx
jmp 0x8cc996
cmc
lea eax, [ebp*4]
mov ax, word [esp]
jmp 0x8cc942
jmp 0x8cc958
jmp 0x8cc9ad
lea eax, [eax*4]
mov eax, esi
sub cx, 0x7371
jmp 0x8cca86
inc dl
not cx
mov eax, dword [esp]
btc eax, ecx
jne 0x8cc97c
je 0x8cc97e
cmpsd dword [esi], dword es:[edi]
cmp ch, byte [eax - 0x6477c531]
lea eax, [eax*4]
lea eax, [eax*4]
mov eax, esi
sub cx, 0x7371
jmp 0x8cca86
setg al
mov cx, word [esp]
xchg cl, al
not dl
mov cl, 0x7b
cmc
jbe 0x8cc97a
cmc
lea eax, [ebp*4]
mov ax, word [esp]
neg ecx
jmp 0x8cc996
sub edi, 4
lea eax, [ecx*4]
mov al, 0x81
mov eax, dword [esp]
mov ecx, dword [edx + ebp]
jmp 0x8cca11
lea esp, [esp + 3]
jmp 0x8cca3f
mov edx, 0x71124e2c
setp al
adc dx, bx
jmp 0x8cca5e
mov ah, bh
mov dword [edi], ecx
xchg dh, cl
jmp 0x8cca48
lea esp, [esp + 3]
and edx, 0x3c
mov al, ah
not ch
jmp 0x8cc9e5
mov ecx, 0x8380fb5b
lea eax, [ebp*4]
rdtsc
jmp 0x8cca64
jno 0x8cca22
mov ah, bh
jmp 0x8cca24
or ecx, 0xb46aa3a7
jmp 0x8ccac4
rdtsc
setne cl
jmp 0x8ccaac
sub dl, 0xec
not al
sub esp, 0xb
jae 0x8cca3b
jb 0x8cca0b
cmp edi, ecx
jmp 0x8cd01d
lea ecx, [ebp + 0x50]
sete dl
mov edx, dword [esp]
jmp 0x8cca96
jbe 0x8cca70
rdtsc
setne cl
jmp 0x8ccaac
ja fcn.008ccaff
not ah
mov ecx, esp
xchg ecx, eax
mov ecx, ebp
jmp 0x8cd04c
mov ecx, ebp
setl dl
mov dx, sp
sub esp, 0x12
jp 0x8cd087
jnp 0x8cd08c
retf 0xc24c
call fcn.008cd0b8
lea eax, [esi*4]
lea esp, [esp + 2]
jmp 0x8cd155

Function at 0x8cfa3d
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov ebx, esi
xchg cx, dx
sub esp, 5
jp 0x8cfa55
pop word [esp]
jmp 0x8cfa5b
jmp 0x8cfa27
lea esp, [esp + 3]
cmc
bsr ecx, edi
rdtsc
bswap eax
jmp 0x8cfa9e
pop word [esp]
jmp 0x8cfa3f
lea esp, [esp + 3]
cmc
bsr ecx, edi
jmp 0x8cfa69
rdtsc
jmp 0x8cfa49
inc esi
bsf cx, ax
jge 0x8cfa88
bsf ecx, ebp
call fcn.008cfae1
push es

Function at 0x8d1f15
Capabilities:
Execute anti-debugging instructions

Disassembly:
cpuid
neg ax
bsf eax, esp
xchg ch, cl
call 0x8d1ea2
Function at 0x8f258d
Capabilities:
Encode data using xor

Disassembly:
cmp ebx, eax
call fcn.008f2630
ror dword [ebx - 0x25], cl
mov esi, 0xec7bff4d
bound eax, qword [0x587931f4]
mov ebx, 0xe99c0d92
fld dword [esi]
add byte [eax], al
mov bl, byte [esi]
mov ebx, gs
xchg edx, eax
clc
jae 0x8f1f49
xchg byte [ebp - 0x3f], dh
mul cl
and byte [ebx - 0x64], ah
call 0x8f1f74
add dword [eax], eax
add byte [eax], al
lcall 0x3b00, 0x680e9
fmul dword [ebp + reloc.KERNEL32.dll_GetStartupInfoA]
xchg ebp, eax
shr ecx, 0xd4
push es
add byte [eax], al
in eax, dx
jne 0x8f1f6f
invalid
jmp 0x8f25af
lea esp, [esp + 4]
cmp ebx, 0x34
jae 0x8f1f3f
lea ecx, [eax + ebx]
call fcn.008f25f7
xor eax, dword [eax]
add byte [eax], al
add byte [ebp + 0x5697641d], cl
xchg edx, eax
push ds
mov ebx, gs
loopne 0x8f25c0
test byte [edi], 0x83
push ecx
stc
invalid
Function at 0x432003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..rsrc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x4f403970
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x432024
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
nop
mov ecx, 0x581d3cda
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
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
nop
jne 0x43206c
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x40100b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x40109c
lea eax, [ebp - 0x104]
push eax
call fcn.004011ec
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x401165
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x4011a5
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x4011a5
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x40114a
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x4011a5
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x40119a
push 0x3e8
call eax
test eax, eax
je 0x40119a
call 0x40118a
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret
Function at 0x463b5a
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.00463d0a
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x463c58
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x463bfb
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x463c3e
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x463c12
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x463c2d
test al, 0x40
je 0x463c24
mov ecx, dword [edi + 0x20]
jmp 0x463c2b
test al, 0x80
je 0x463c3e
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x463c3e
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x463bca
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret