joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1008b950
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, 0x5a4d
cmp cx, word [eax]
jne 0x1008b9d1
mov ecx, dword [eax + 0x3c]
cmp dword [ecx + eax], 0x4550
jne 0x1008b9d1
mov ecx, dword [ecx + eax + 0x88]
test ecx, ecx
je 0x1008b9d1
add eax, ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
push ecx
push eax
call fcn.1008f170
add esp, 0xc
test eax, eax
je 0x1008b9d1
mov edx, dword [ebp + 8]
mov eax, edx
push esi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1008b9a2
sub eax, esi
sar eax, 1
add eax, eax
push eax
mov eax, dword [ebp - 8]
push edx
add eax, 0xfffffffc
push eax
push dword [ebp - 4]
call fcn.1008f1c0
add esp, 0x10
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
mov esp, ebp
pop ebp
ret

Function at 0x1008ba80
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [ebx]
jne 0x1008bace
mov ecx, dword [ebx + 0x3c]
cmp dword [ecx + ebx], 0x4550
jne 0x1008bace
mov eax, dword [ecx + ebx + 0xd8]
mov ecx, dword [ecx + ebx + 0xdc]
add eax, ebx
add ecx, eax
cmp eax, ecx
jae 0x1008bace
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008badf
add eax, 4
cmp eax, ecx
jb 0x1008bac3
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
mov ax, word [ebp + 0x14]
mov word [ebp - 0xc], ax
je 0x1008bb4a
push esi
push edi
mov edi, dword [ebp + 0x10]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008bb35
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008bb16
cmp dl, 0x11
jne 0x1008bb2f
inc eax
cmp eax, 6
jl 0x1008bb05
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008bb03
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x10]
lea eax, [ebp - 0xc]
push ebx
push 6
push eax
call fcn.1008c3a0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
pop ebx
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
Function at 0x1008bbd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x5a4d
cmp ax, word [edx]
jne 0x1008bc1d
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008bc1d
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008bc1d
mov edx, dword [ebp + 8]
cmp dword [eax], edx
je 0x1008bc2d
add eax, 4
cmp eax, ecx
jb 0x1008bc12
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp + 0x1c]
test cl, cl
je 0x1008bc3d
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1008bc43
mov word [ebp - 0xc], 0x15ff
cmp byte [ebp + 0x18], 0
mov dword [ebp - 0xa], eax
je 0x1008bcaa
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0x14]
add edi, 0xfffffffa
cmp edi, ebx
jb 0x1008bc95
mov esi, edi
lea eax, [ebp - 0xc]
sub esi, eax
xor eax, eax
lea ecx, [ebp - 0xc]
add ecx, eax
mov dl, byte [ecx]
cmp dl, byte [esi + ecx]
je 0x1008bc76
cmp dl, 0x11
jne 0x1008bc8f
inc eax
cmp eax, 6
jl 0x1008bc65
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
dec edi
dec esi
cmp edi, ebx
jae 0x1008bc63
xor edi, edi
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
push dword [ebp + 0x14]
lea eax, [ebp - 0xc]
push dword [ebp + 0x10]
push 6
push eax
call fcn.1008c3a0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret

Function at 0x1008bcd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0x10]
mov eax, 0x5a4d
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xc], esi
cmp ax, word [edx]
jne 0x1008bd2b
mov ecx, dword [edx + 0x3c]
cmp dword [ecx + edx], 0x4550
jne 0x1008bd2b
mov eax, dword [ecx + edx + 0xd8]
mov ecx, dword [ecx + edx + 0xdc]
add eax, edx
add ecx, eax
cmp eax, ecx
jae 0x1008bd2b
mov edx, dword [ebp + 0xc]
nop dword [eax]
cmp dword [eax], edx
je 0x1008bd50
add eax, 4
cmp eax, ecx
jb 0x1008bd20
mov dword [esi], 0
mov eax, esi
mov dword [esi + 4], 0
mov dword [esi + 8], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
mov cl, byte [ebp + 0x20]
test cl, cl
je 0x1008bd60
mov byte [ebp - 0xc], 0x8b
mov byte [ebp - 0xb], cl
jmp 0x1008bd66
mov word [ebp - 0xc], 0x15ff
push dword [ebp + 0x18]
mov dword [ebp - 0xa], eax
lea eax, [ebp - 0xc]
push dword [ebp + 0x14]
push dword [ebp + 0x1c]
push 6
push eax
push esi
call fcn.1008b780
mov ecx, dword [ebp - 4]
add esp, 0x18
mov eax, esi
xor ecx, ebp
pop esi
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
Function at 0x1008c480
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1008c3d0
add esp, 0x18
test eax, eax
je 0x1008c4a9
inc eax
cmp byte [eax], 0xcc
je 0x1008c4a3
pop ebp
ret

Function at 0x1008c6b0
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xcccc
push dword [ebp + 8]
call fcn.1008c5f0
add esp, 0x18
test eax, eax
je 0x1008c6d9
inc eax
cmp byte [eax], 0xcc
je 0x1008c6d3
pop ebp
ret

Function at 0x1008f7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1008f960
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1008f87d
mov edx, dword [ebp - 4]
cmp edx, dword [0x100e5f28]
jb 0x1008f7fa
mov eax, dword [ebp - 4]
cmp eax, dword [0x100e5f2c]
ja 0x1008f7fa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1008f7ca
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1008f820
jmp 0x1008f87d
cmp dword [ebp - 0x14], 0x10000
jne 0x1008f863
cmp dword [ebp - 0x18], 0x10000
jb 0x1008f863
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008f856
mov eax, dword [ebp - 8]
jmp 0x1008f87f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1008f878
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.1008f960
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1008f7ca
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1008f890
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1008f990
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1008f955
mov edx, dword [ebp - 4]
cmp edx, dword [0x100e5f28]
jb 0x1008f8d5
mov eax, dword [ebp - 4]
cmp eax, dword [0x100e5f2c]
ja 0x1008f8d5
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1008f8a5
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1008f8fb
jmp 0x1008f955
cmp dword [ebp - 0x14], 0x10000
jne 0x1008f93e
cmp dword [ebp - 0x18], 0x10000
jb 0x1008f93e
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1008f931
mov eax, dword [ebp - 8]
jmp 0x1008f957
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1008f950
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.1008f990
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1008f8a5
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x100aaef0
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100aae20
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x50001
jae 0x100aaf1a
add eax, 0x74
ret
cmp edx, 0x60000
jae 0x100aaf26
add eax, 0x78
ret
add eax, 0x88
ret

Function at 0x100aaf30
Capabilities:
Get process heap force flags

Disassembly:
call fcn.100aae20
mov ecx, dword fs:[0x18]
mov ecx, dword [ecx + 0x30]
mov edx, dword [ecx + 0xa4]
shl edx, 0x10
or edx, dword [ecx + 0xa8]
cmp edx, 0x60000
jae 0x100aaf5a
add eax, 0x7c
ret
add eax, 0x8c
ret

Function at 0x100ab1c0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x328
mov eax, dword [0x100e5f80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x100ab1e7
mov ecx, 5
int 0x29
push 2
call fcn.100aa76d
push 0x50
lea eax, [ebp - 0x320]
push 0
push eax
call sub.msvcrt.dll_memset
push 0x2cc
lea eax, [ebp - 0x2d0]
push 0
push eax
call sub.msvcrt.dll_memset
lea eax, [ebp - 0x320]
add esp, 0x1c
mov dword [ebp - 0x328], eax
lea eax, [ebp - 0x2d0]
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x224], ecx
mov dword [ebp - 0x228], edx
mov dword [ebp - 0x22c], ebx
mov dword [ebp - 0x230], esi
mov dword [ebp - 0x234], edi
mov word [ebp - 0x208], ss
mov word [ebp - 0x214], cs
mov word [ebp - 0x238], ds
mov word [ebp - 0x23c], es
mov word [ebp - 0x240], fs
mov word [ebp - 0x244], gs
pushfd
pop dword [ebp - 0x210]
mov eax, dword [ebp + 4]
mov dword [ebp - 0x218], eax
lea eax, [ebp + 4]
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x2d0], 0x10001
mov eax, dword [eax - 4]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 4]
mov dword [ebp - 0x320], 0xc0000417
mov dword [ebp - 0x31c], 1
mov dword [ebp - 0x314], eax
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
push 0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea eax, [ebp - 0x328]
push eax
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x100ab2f2
test esi, esi
jne 0x100ab2f2
push 2
call fcn.100aa76d
add esp, 4
push 0xc0000417
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100a9cad
mov esp, ebp
pop ebp
ret
Function at 0x100b53d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
call fcn.1001cba0
mov esi, dword [ebp + 8]
test al, al
je 0x100b53ee
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call fcn.100b5400
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x100b9850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100b987d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100b987d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402580
Capabilities:
Terminate process

Disassembly:
push 0xc
push 0x402ae0
call fcn.00402a08
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, ebx
mov edx, 0x403364
mov ecx, esi
xor eax, eax
lock cmpxchg dword [edx], ecx
test eax, eax
je 0x4023a8
cmp eax, esi
jne 0x40239b
xor esi, esi
inc esi
mov edi, esi
jmp 0x4023ab
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x40237f
xor esi, esi
inc esi
cmp dword [0x403368], esi
jne 0x4023bd
push 0x1f
call fcn.00493000
pop ecx
jmp 0x4023f7
cmp dword [0x403368], ebx
jne 0x4023f1
mov dword [0x403368], esi
push 0x4010cc
push 0x4010c0
call fcn.004024dc
pop ecx
pop ecx
test eax, eax
je 0x4023f7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4024cc
mov dword [0x403014], esi
cmp dword [0x403368], esi
jne 0x40241a
push 0x4010bc
push 0x4010b4
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x403368], 2
test edi, edi
jne 0x402427
xor eax, eax
mov ecx, 0x403364
xchg dword [ecx], eax
cmp dword [0x40336c], 0
je 0x402453
push 0x40336c
call fcn.00402860
pop ecx
test eax, eax
je 0x402453
push ebx
push 2
push ebx
mov esi, dword [0x40336c]
mov ecx, esi
call dword [0x404098]
call esi
push dword [0x403020]
push dword [0x40301c]
push dword [0x403018]
call fcn.004017b3
add esp, 0xc
mov dword [0x403010], eax
cmp dword [0x403028], 0
jne 0x4024b1
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax]
mov dword [ebp - 0x1c], eax
push ecx
push eax
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x403014], 0
jne 0x4024c5
call dword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x403010]
mov dword [ebp - 4], 0xfffffffe
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
call fcn.00402955
jmp 0x402363

Function at 0x402744
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x402b00
call fcn.00402a08
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x4027a4
cmp eax, 0xffffffff
je 0x4027a4
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x40279d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x40279d
cmp edx, 0x10000000
jae 0x40279d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x40279a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x402810
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 0x40284e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x402846
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x402850
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x402836
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x100142b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, dword [edx + 0x9c0]
cmp edi, 0x270
jb 0x10014365
push ebx
push ebp
xor edi, edi
mov ebp, closesocket
push esi
mov esi, edi
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebp
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x10038110]
xor ecx, dword [edx + esi*4 + 0x634]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, 0xe3
jl 0x100142d3
mov ebx, 0x26f
jmp 0x1001432c
mov ecx, dword [edx + esi*4 + 4]
xor ecx, dword [edx + esi*4]
and ecx, ebp
xor ecx, dword [edx + esi*4]
mov eax, ecx
shr ecx, 1
and eax, 1
xor ecx, dword [eax*4 + 0x10038110]
xor ecx, dword [edx + esi*4 - 0x38c]
mov dword [edx + esi*4], ecx
inc esi
cmp esi, ebx
jl 0x10014307
mov ecx, dword [edx + 0x9bc]
xor ecx, dword [edx]
and ecx, ebp
xor ecx, dword [edx + 0x9bc]
mov eax, ecx
shr ecx, 1
and eax, 1
pop esi
pop ebp
pop ebx
mov eax, dword [eax*4 + 0x10038110]
xor eax, dword [edx + 0x630]
xor eax, ecx
mov dword [edx + 0x9bc], eax
mov dword [edx + 0x9c0], edi
mov ecx, dword [edx + edi*4]
lea eax, [edi + 1]
mov dword [edx + 0x9c0], 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
pop edi
ret

Function at 0x1001478e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1001479d
pop dword [ebp - 0x38]
mov eax, 0x29303469
sub eax, 0x192eeccc
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xf9c7850a
add dword [ebp - 0x48], 0x548ac041
mov dword [ebp - 0x44], 0x89fd44cb
add dword [ebp - 0x44], 0xa836077a
mov dword [ebp - 0x40], 0xcbf6d9da
sub dword [ebp - 0x40], 0x7faa95ac
mov dword [ebp - 0x3c], 0x1d71ed07
sub dword [ebp - 0x3c], 0x1d71ed07
lea eax, [ebp - 0x48]
push eax
mov eax, 0xc4cedf0
add eax, 0x3b66328
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0xfe83b6c
sub dword [ebp - 0x48], 0x9b75d216
mov dword [ebp - 0x44], 0x56bc9741
sub dword [ebp - 0x44], 0x155035cc
mov dword [ebp - 0x40], 0xf2e6874b
sub dword [ebp - 0x40], 0x8f771adf
mov dword [ebp - 0x3c], 0x3892dce5
sub dword [ebp - 0x3c], 0x3892dce5
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x3ebcf
push 0
call eax
mov ecx, 0x27f567ed
sub ecx, 0x27f5114b
mov edx, eax
mov ebx, 0xcd6c500
sub ebx, 0xfcce4100
add ebx, dword [ebp - 0x38]
mov esi, 0x593d7747
sub dword [ebp - 0x10], 0xc4fb0c6c
mov edi, dword [ebx]
xor dword [ebp - 0x10], 0xc2389806
xor edi, esi
mov dword [edx], edi
add dword [ebp - 0x1c], 0xe4819dab
add edx, 0x73fabb99
sub edx, 0x73fabb95
add ebx, 4
loop 0x100148b4
add eax, 0xe9ecb291
add eax, 0x16149aca
mov ebx, eax
add eax, 0xe06ae9f
sub eax, 0xe06ae9a
mov ecx, 0xb46f961e
sub ecx, 0xa46f961e
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x40a150
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x7000]
push edi
or ebp, 0xffffffff
jmp 0x40a172
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40a179
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40a168
mov eax, 1
add ebx, ebx
jne 0x40a18b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40a180
jne 0x40a19c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a180
xor ecx, ecx
sub eax, 3
jb 0x40a1b0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40a222
mov ebp, eax
add ebx, ebx
jne 0x40a1bb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40a1c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40a1ec
inc ecx
add ebx, ebx
jne 0x40a1d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40a1cd
jne 0x40a1e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40a1cd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40a20c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40a1fd
jmp 0x40a16e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40a20c
add edi, ecx
jmp 0x40a16e
pop esi
mov edi, esi
mov ecx, 0x6c
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40a22a
cmp byte [edi], 1
jne 0x40a22a
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 0x40a22f
lea edi, [esi + 0x8000]
mov eax, dword [edi]
or eax, eax
je 0x40a29e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc99c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xca08]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40a25c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xca10]
or eax, eax
je 0x40a298
mov dword [ebx], eax
add ebx, 4
jmp 0x40a279
call dword [esi + 0xca0c]
mov ebp, dword [esi + 0xca14]
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 0x40a2d2
sub esp, 0xffffff80
jmp 0x401e0a
Function at 0x401220
Capabilities:
Create thread
Delete file
Get common file path
Terminate process

Disassembly:
sub esp, 0x220
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x12d]
mov byte [esp + 0x12c], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x12c]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 0x10]
call fcn.004018d0
lea ecx, [esp + 0x12c]
push 0
push ecx
lea ecx, [esp + 0x18]
call fcn.004018e0
test eax, eax
jne 0x40129c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0x12c]
push 0
push edx
lea ecx, [esp + 0x18]
jmp loc.004021dc
lea ecx, [esp + 0x10]
call fcn.00401a90
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
push 8
mov dword [0x401aa4], eax
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, dword [0x401aa4]
mov dword [0x401aa0], eax
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.00401a10
lea ecx, [esp + 0x10]
call fcn.00401a70
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x29]
mov byte [esp + 0x28], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea edx, [esp + 0x28]
push 0x104
push edx
stosb byte es:[edi], al
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x28]
push 0x40119c
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ecx, [esp + 0x28]
lea edx, [esp + 0x12c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4013a5
lea ecx, [esp + 0x14]
call fcn.004018d0
lea eax, [esp + 0x28]
push 0x1001
push eax
lea ecx, [esp + 0x1c]
call fcn.004018e0
test eax, eax
je 0x4013a5
mov ecx, dword [0x401aa4]
mov edx, dword [0x401aa0]
push ecx
push edx
lea ecx, [esp + 0x1c]
call fcn.00401a40
lea eax, [esp + 0x12c]
push 0x104
push eax
lea ecx, [esp + 0x1c]
call fcn.00401a40
lea ecx, [esp + 0x14]
call fcn.00401a60
lea ecx, [esp + 0x14]
call fcn.00401a70
lea ecx, [esp + 0x28]
push ecx
call fcn.00401570
lea edx, [esp + 0x2c]
push edx
call fcn.00401880
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push 0x401190
jmp loc.00402000

Function at 0x4014f0
Capabilities:
Check mutex and terminate process on windows
Check mutex on windows
Terminate process

Disassembly:
mov eax, dword [esp + 4]
push esi
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40151e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov eax, esi
pop esi
ret