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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x673d46
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0x10
mov ecx, dword [ebp - 0x10]
add ecx, 0x198
call fcn.0040a830
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x10]
add ecx, 0x190
call fcn.005c0940
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x10]
add ecx, 0x16c
call fcn.00472ec0
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x10]
add ecx, 0x14c
call fcn.00472ec0
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x10]
add ecx, 0x11c
call fcn.0040a830
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x10]
add ecx, 0x100
call fcn.0040a830
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x10]
add ecx, 0xe4
call fcn.0040a830
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x10]
add ecx, 0xc4
call fcn.00472ec0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x10]
add ecx, 0xa4
call fcn.00472ec0
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call fcn.004862e0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x94
call fcn.005c0940
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x78
call fcn.005c0a20
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.005bfd10
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.005c0940
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00486340
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040a830
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.005be5b0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.005c0510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x5d0c40
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00655ca6
add esp, 0xc
pop ebp
ret

Function at 0x5d1c50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674d73
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.005d1f10
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.005d1fa0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.mxflib::Primer.0
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.005d1f10
mov ecx, 0xffff
mov edx, dword [ebp - 0x10]
mov word [edx + 0x2c], cx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5d1d20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x674d73
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.005d1d90
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
call fcn.005d1fe0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.005d1d00
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x5d5300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x675324
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x2c]
call fcn.00489f80
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x2c]
add ecx, 0xc
call fcn.0048b340
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2c]
mov dword [eax], vtable.mxflib::MDObject.0
lea ecx, [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
call fcn.004891d0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0x30
call fcn.00486710
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x2c]
add ecx, 0x4c
call fcn.00489c50
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
add ecx, 0x54
call fcn.00489fa0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x2c]
add ecx, 0x5c
call fcn.00489150
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x2c]
add ecx, 0x68
call fcn.00472cc0
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x2c]
add ecx, 0x8c
call fcn.00489c40
mov byte [ebp - 4], 9
lea edx, [ebp - 0x28]
push edx
lea ecx, [ebp + 8]
call fcn.005d20d0
mov ecx, eax
call fcn.005be200
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x2c]
add ecx, 0x68
call fcn.004c6570
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
call fcn.0040a830
mov edx, dword [ebp - 0x2c]
mov byte [edx + 0x38], 1
mov eax, dword [ebp - 0x2c]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x48], 0
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x4c
call fcn.00489c60
push 0
mov ecx, dword [ebp - 0x2c]
add ecx, 0x54
call fcn.005dde20
mov ecx, dword [ebp - 0x2c]
add ecx, 0x28
call fcn.005d20d0
mov ecx, eax
call fcn.005dcf00
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x5c
call fcn.00612560
xor edx, edx
mov eax, dword [ebp - 0x2c]
mov word [eax + 0x64], dx
mov ecx, dword [ebp - 0x2c]
mov dword [ecx + 0x88], 0
mov ecx, dword [ebp - 0x2c]
call fcn.005d6070
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00489210
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x5d7120
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6757df
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x10]
mov dword [eax], vtable.mxflib::MDObject.0
mov dword [ebp - 4], 7
mov ecx, dword [ebp - 0x10]
add ecx, 0x8c
call fcn.004866a0
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x10]
add ecx, 0x68
call fcn.0040a830
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.004862e0
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.00489fe0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.00489c70
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00486370
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00489210
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0048c710
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.0048b170
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x5dcb60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x676190
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x40], ecx
mov dword [ebp - 4], 0
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x30]
call fcn.005ddc30
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x48]
push eax
lea ecx, [ebp - 0x3c]
push ecx
mov ecx, dword [ebp - 0x40]
add ecx, 0x30
call fcn.005dda30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.005d4530
lea edx, [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
add ecx, 0xc
call fcn.005dd7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.005d44f0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x24
Function at 0x61ff90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67c004
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x40
call fcn.00620030
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x38
call fcn.00623010
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00623010
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x28
call fcn.00623010
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00472a00
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00623130
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x620630
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67c109
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.00622bf0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x1c
call fcn.00486370
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.00622780
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00622690
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00622a50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x634a20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x67d2bf
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x8a0c44]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
call fcn.00634c90
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x10]
add ecx, 0x54
call fcn.004862e0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x10]
add ecx, 0x4c
call fcn.004862e0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.0040a830
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x10]
add ecx, 0x14
call fcn.0040a830
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.00634c10
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
call fcn.00634b50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x63ecb3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x8a0c44]
jne 0x63ecbd
repz ret
jmp fcn.0064a12c

Function at 0x645259
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x64528a
call fcn.006426bf
mov dword [eax], esi
call fcn.006426ac
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.0064120d
add esp, 0x14
push 0x16
pop eax
jmp 0x6452df
test dword [ebp + 0xc], 0xfffffff9
jne 0x645266
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x6452b7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.006426d2
pop ecx
call fcn.006426ac
mov eax, dword [eax]
jmp 0x6452df
test al, 0x10
jne 0x6452dd
test al, 1
je 0x6452dd
test byte [ebp + 0xc], 2
je 0x6452dd
call fcn.006426bf
mov dword [eax], 5
call fcn.006426ac
mov dword [eax], 0xd
jmp 0x6452ae
xor eax, eax
pop esi
pop ebp
ret

Function at 0x658f87
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.00649a6c
and dword [ebp - 4], 0
cmp dword [0x8dafa4], 0
mov ebx, eax
jne 0x659038
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x6590e9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x859418
push edi
call esi
test eax, eax
je 0x6590e9
push eax
call fcn.006499fa
mov dword [esp], 0x859408
push edi
mov dword [0x8dafa4], eax
call esi
push eax
call fcn.006499fa
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x8dafa8], eax
call esi
push eax
call fcn.006499fa
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x8dafac], eax
call esi
push eax
call fcn.006499fa
pop ecx
mov dword [0x8dafb4], eax
test eax, eax
je 0x659038
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.006499fa
pop ecx
mov dword [0x8dafb0], eax
mov eax, dword [0x8dafb0]
cmp eax, ebx
je 0x659090
cmp dword [0x8dafb4], ebx
je 0x659090
push eax
call fcn.00649a75
push dword [0x8dafb4]
mov esi, eax
call fcn.00649a75
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x659090
test edi, edi
je 0x659090
call esi
test eax, eax
je 0x659087
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x659087
test byte [ebp - 0xc], 1
jne 0x659090
or dword [ebp + 0x10], 0x200000
jmp 0x6590c9
mov eax, dword [0x8dafa8]
cmp eax, ebx
je 0x6590c9
push eax
call fcn.00649a75
pop ecx
test eax, eax
je 0x6590c9
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x6590c9
mov eax, dword [0x8dafac]
cmp eax, ebx
je 0x6590c9
push eax
call fcn.00649a75
pop ecx
test eax, eax
je 0x6590c9
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x8dafa4]
call fcn.00649a75
pop ecx
test eax, eax
je 0x6590e9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x6590eb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x65f8b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
push esi
mov esi, eax
xor ebp, ebp
call fcn.0065f6c0
cmp eax, 0xd8
je 0x65f8c8
pop esi
lea eax, [ebp - 0x32]
pop ebp
ret
push ebx
xor bl, bl
push edi
lea esp, [esp]
test bl, bl
jne 0x65f958
call fcn.0065f660
cmp eax, 0xcf
jg 0x65f91c
cmp eax, 0xcd
jge case.0x65f8fa.192
inc eax
cmp eax, 0xcc
ja case.0x65f92d.219
movzx eax, byte [eax + 0x65f98c]
jmp dword [eax*4 + 0x65f980]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.0065f760
add esp, 8
test ax, ax
jne 0x65f8d0
mov bl, 1
jmp 0x65f8d0
sub eax, 0xd9
cmp eax, 0x25
ja case.0x65f92d.219
movzx eax, byte [eax + 0x65fa68]
jmp dword [eax*4 + 0x65fa5c]
mov edi, esi
call fcn.0065f850
jmp 0x65f8d0
mov edi, esi
call fcn.0065f700
jmp 0x65f8d0
pop edi
pop ebx
pop esi
or eax, 0xffffffff
pop ebp
ret
pop edi
pop ebx
pop esi
mov eax, 0xffffffce
pop ebp
ret
mov edi, dword [esp + 0x1c]
test edi, edi
je 0x65f975
push 2
push 0
push esi
call fcn.00643bbe
push esi
call fcn.00643fcf
add esp, 0x10
mov dword [edi], eax
pop edi
pop ebx
pop esi
mov ax, bp
pop ebp
ret

Function at 0x65fa90
Capabilities:
Read file on windows

Disassembly:
push ebp
push esi
xor ebp, ebp
push ebp
mov esi, eax
push ebp
push esi
call fcn.00643bbe
add esp, 0xc
call fcn.0065f6c0
cmp eax, 0xd8
jne 0x65fade
push edi
push ebx
call fcn.00554c30
add esp, 8
call fcn.00554b30
test ax, ax
jne 0x65fae6
push 1
push 0xfffffffffffffffe
push esi
call fcn.00643bbe
mov eax, dword [ebx]
push esi
push edi
push 1
push eax
call fcn.00643aaf
add esp, 0x1c
cmp eax, edi
je 0x65faee
pop esi
mov eax, 0xffffffce
pop ebp
ret
pop esi
mov eax, 0xffffff94
pop ebp
ret
pop esi
mov ax, bp
pop ebp
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check for foreground window switch
Check for time delay via gettickcount
Check for unmoving mouse cursor
Execute shellcode via indirect call

Disassembly:
xor eax, eax
jmp 0x401064
mov edi, edi
push ebp
mov ebp, esp
jmp 0x4010cb
sub esp, 0x20
mov eax, dword [0x404008]
cmp eax, 0
jne 0x40114f
mov eax, dword [0x40400c]
jmp 0x401145
cmp eax, 0
jne 0x40114f
jmp 0x4012f4
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
push 0x1388
jmp 0x4011be
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x40114f
mov dword [ebp - 0x14], eax
jmp 0x401239
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, 0x1388
jl 0x40114f
lea eax, [ebp - 8]
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x40114f
mov eax, dword [0x404008]
cmp eax, 0
je 0x4012d1
push 0x3e8
call sub.KERNEL32.dll_Sleep
lea eax, [ebp - 0x10]
jmp 0x4012ae
push eax
call sub.USER32.dll_GetCursorPos
cmp eax, 0
je 0x401268
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0xc]
cmp eax, ebx
je 0x40114f
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
cmp eax, ebx
je 0x401268
mov eax, dword [0x40400c]
cmp eax, 0
je 0x4012f4
push 0x1388
call sub.KERNEL32.dll_Sleep
call sub.USER32.dll_GetForegroundWindow
cmp eax, 0
je 0x4012d1
cmp eax, dword [ebp - 0x14]
je 0x4012d1
push dword [section.data]
mov eax, 0x40401a
mov ebx, 0x404302
sub ebx, eax
jmp 0x401316
push ebx
push 0x40401a
call fcn.0040130b
lea eax, [ebp - 4]
push eax
jmp 0x401394
push 0x40
mov eax, 0x401537
mov ebx, 0x4030d1
sub ebx, eax
mov dword [ebp - 0x14], ebx
push ebx
push 0x401537
jmp 0x40141b
call sub.KERNEL32.dll_VirtualProtect
push dword [0x404004]
mov eax, dword [ebp - 0x14]
push eax
push 0x401537
call fcn.0040130b
lea eax, [ebp - 4]
push eax
jmp 0x40151c
push dword [eax]
mov eax, dword [ebp - 0x14]
push eax
push 0x401537
call sub.KERNEL32.dll_VirtualProtect
jmp 0x401537
push esi
push esi
push esi
push esi
xchg ecx, eax
fadd qword [eax]
add byte [esi + 0xce9a], ch
scasb al, byte es:[edi]
les eax, [ebp + 0x102e0086]
into
add byte [eax], al
salc
add byte [eax], al
add byte [esi], ch
enter 0, 0xffffffffffffffac
add byte [esi], ch
xor byte [ebp + 0x6f70000], ch
syscall
xchg ebx, eax
dec edi
and eax, dword [ebp + 0x2a]
out 0x95, al
xchg edi, eax
xchg esp, eax
xchg ecx, eax
nop
test dword [esi], 0x4f3a834f
cmp dword [esi], 0x4f
xor dword [edx], 0x4f
xor dword [esi], 0x4f
sub dword [edx], 0x4f
sub dword [esi], 0x4f
and dword [edx], 0x2e
fcmovnb st(0), st(5)
add byte [eax], al
dec edi
cmp dword [edx], 0xffffffae
ret 0xc7
Function at 0x4013c5
Capabilities:
Encode data using xor

Disassembly:
jmp 0x4159d0
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x415b7a
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
sub byte [esi + ebx], 0x36
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xa7
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xc0
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x6d
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x1a
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
add esp, 0x44
push eax
call fcn.0040616d
add byte [esi + ebx], 0x2d
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x97
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xe9
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x2b
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x27
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x38
add esp, 0x40
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x98
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
xor byte [esi + ebx], 0xef
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0x28
push str.Halloween_Beasts
push 0x4d34b0
call fcn.00402d79
push eax
call fcn.0040616d
add byte [esi + ebx], 0xf1
add esp, 0x30
inc esi
cmp esi, edi
jb 0x4159f0
pop ebx
pop edi
pop esi
ret

Function at 0x4035f3
Capabilities:
Terminate process

Disassembly:
jmp 0x453df9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x453e0a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405948
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40371f
Capabilities:
Query environment variable

Disassembly:
jmp 0x49c842
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49c853
pop esi
ret
push ebx
push edi
push esi
call fcn.0049c729
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fe4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49c87b
push ebx
push esi
push edi
call fcn.0040572c
add esp, 0xc
push 0
call fcn.004062b2
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x44181d
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 0x44184b
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x441869
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00441787
jmp 0x441869
mov eax, dword [esi + 0x14]
test eax, eax
je 0x441869
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.00441787
test edi, edi
mov eax, edi
jne 0x441853
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x56b49c]
test ecx, ecx
je 0x44191c
jmp 0x44181c
ret 8

Function at 0x461f20
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x455015
lea edi, [esi - 0x54015]
push edi
or ebp, 0xffffffff
jmp 0x461f42
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x461f49
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x461f38
mov eax, 1
add ebx, ebx
jne 0x461f5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x461f50
jne 0x461f6c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f50
xor ecx, ecx
sub eax, 3
jb 0x461f80
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x461ff2
mov ebp, eax
add ebx, ebx
jne 0x461f8b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x461f98
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x461fbc
inc ecx
add ebx, ebx
jne 0x461fa8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x461f9d
jne 0x461fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x461f9d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x461fdc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x461fcd
jmp 0x461f3e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x461fdc
add edi, ecx
jmp 0x461f3e
pop esi
mov edi, esi
mov ecx, 0x32d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x461ffa
cmp byte [edi], 0
jne 0x461ffa
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 eax, ebx
loop 0x461fff
lea edi, [esi + 0x5f000]
mov eax, dword [edi]
or eax, eax
je 0x46206e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x621f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x62254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x46202c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x62258]
or eax, eax
je 0x462068
mov dword [ebx], eax
add ebx, 4
jmp 0x462049
call dword [esi + 0x6225c]
popal
jmp 0x4095a4