joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44ac76
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x4638dc]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.0044ac0b
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.00432710
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.DLL_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x44acc5
cmp dword [ebp - 0x1c], 5
jb 0x44acdd
jmp 0x44acd9
cmp dword [ebp - 0x10], 1
jne 0x44acdd
cmp dword [ebp - 0x1c], 4
ja 0x44acd9
jne 0x44acdd
cmp dword [ebp - 0x18], 0
jbe 0x44acdd
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x457b94
call fcn.0044aafc
test eax, eax
jge 0x44acfe
mov byte [0x4650cc], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004326b1
add ebp, 0x78
leave
ret
Function at 0x403f04
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x404328
call fcn.004041c8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x403f64
cmp eax, 0xffffffff
je 0x403f64
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x403f5d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x403f5d
cmp edx, 0x10000000
jae 0x403f5d
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 0x403f5a
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 0x403fd0
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 0x40400e
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x404006
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x404010
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x403ff6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4040e0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x404111
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x404111
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x404111
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x409000
Capabilities:
Parse pe header
Read file on windows

Disassembly:
sub esp, 0x40
lea eax, [esp + 0x44]
lea ecx, [esp]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push ebp
push esi
mov esi, dword [esp + 0x50]
push edi
push 0
push eax
push 0x40
push ecx
push esi
call ebx
test eax, eax
je 0x409175
cmp dword [esp + 0x54], 0x40
jne 0x409175
cmp word [esp + 0x10], 0x5a4d
jne 0x409175
mov edx, dword [esp + 0x4c]
mov ebp, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
push 0
push edx
push esi
call ebp
cmp eax, 0xffffffff
je 0x409175
lea eax, [esp + 0x54]
push 0
push eax
push 0xf8
push 0x40f960
push esi
call ebx
test eax, eax
je 0x409175
cmp dword [esp + 0x54], 0xf8
jne 0x409175
cmp dword [0x40f960], 0x4550
jne 0x409175
mov eax, dword [0x40f976]
test ah, 0x20
jne 0x409175
mov edx, dword [0x40fa80]
xor eax, eax
mov ax, word [0x40f966]
add eax, edx
lea eax, [eax + eax*4]
shl eax, 3
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [0x40fa58], eax
je 0x409175
push 1
push 0
push 0
push esi
call ebp
mov dword [0x40fa6c], eax
xor eax, eax
mov ax, word [0x40f966]
mov edx, dword [0x40fa58]
lea ecx, [esp + 0x54]
push 0
lea edi, [eax + eax*4]
push ecx
shl edi, 3
push edi
push edx
push esi
call ebx
test eax, eax
je 0x409175
cmp dword [esp + 0x54], edi
jne 0x409175
push 1
push 0
push 0
push esi
call ebp
mov ecx, dword [0x40fa80]
lea ecx, [ecx + ecx*4]
lea edx, [eax + ecx*8]
mov eax, dword [0x40f9b4]
cmp edx, eax
ja 0x409175
mov edi, dword [0x40fa58]
mov ecx, dword [0x40f988]
mov eax, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
add eax, edx
cmp ecx, eax
jae 0x409175
xor eax, eax
push 2
mov ax, word [0x40f966]
push 0
push 0
push esi
lea ecx, [eax + eax*4]
mov ebx, dword [edi + ecx*8 - 0x18]
lea edi, [edi + ecx*8]
call ebp
mov edx, dword [edi - 0x14]
add edx, ebx
cmp eax, edx
jne 0x409175
cmp dword [edi - 0x20], ebx
ja 0x409175
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x40
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x40
ret
Function at 0x40b769
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40f190
cmp edx, dword [eax]
je 0x40b78b
add eax, 8
inc ecx
cmp eax, 0x40f220
jl 0x40b77c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40f190]
jne 0x40b8b9
mov eax, dword [0x40fbb0]
cmp eax, 1
je 0x40b893
test eax, eax
jne 0x40b7bc
cmp dword [0x40f0e4], 1
je 0x40b893
cmp edx, 0xfc
je 0x40b8b9
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40b7f3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0040c670
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040c490
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40b836
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040c490
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40e45c
push edi
call fcn.0040cf00
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0040c670
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0040c680
lea eax, [ebp - 0xa0]
push 0x40e43c
push eax
call fcn.0040c680
push dword [esi + 0x40f194]
lea eax, [ebp - 0xa0]
push eax
call fcn.0040c680
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040ce75
add esp, 0x2c
pop edi
jmp 0x40b8b9
lea eax, [ebp + 8]
lea esi, [esi + 0x40f194]
push 0
push eax
push dword [esi]
call fcn.0040c490
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 0x100035f5
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b09c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x58], ecx
mov eax, dword [ebp - 0x58]
add eax, 0x244
push eax
lea ecx, [ebp - 0x10]
call fcn.10002fb0
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x58]
cmp dword [ecx + 0x1fc], 0xffffffff
je 0x10003786
mov word [ebp - 0x14], 1
mov word [ebp - 0x12], 0
push 4
lea edx, [ebp - 0x14]
push edx
push 0x80
push 0xffff
mov eax, dword [ebp - 0x58]
mov ecx, dword [eax + 0x1fc]
push ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x100036d5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea edx, [ebp - 0x24]
push edx
call fcn.10007883
add esp, 8
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
push ecx
push str.CSocketClient::setsockopt__SO_LINGER____
lea edx, [ebp - 0x34]
push edx
call fcn.10002850
add esp, 0xc
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
push ecx
mov edx, dword [ebp - 0x58]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x58]
call dword [eax + 0x2c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x34]
call fcn.100022f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.100022f0
mov ecx, dword [ebp - 0x58]
add ecx, 0x23c
call fcn.1000b800
mov ecx, dword [ebp - 0x58]
add ecx, 0x200
call fcn.1000b427
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx + 0x1fc]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
je 0x1000376e
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.10007883
add esp, 8
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x70]
push edx
push 0x10021320
lea eax, [ebp - 0x54]
push eax
call fcn.10002850
add esp, 0xc
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x58]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x58]
call dword [edx + 0x2c]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x54]
call fcn.100022f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.100022f0
mov eax, dword [ebp - 0x58]
mov dword [eax + 0x1fc], 0xffffffff
mov ecx, dword [ebp - 0x58]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x58]
call dword [edx + 0x10]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.10003000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x10003db6
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b132
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp + 8]
call fcn.100049e0
push 0
push 0
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
push ecx
push 1
mov ecx, dword [ebp + 8]
call fcn.100049a0
push eax
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx + 0x1fc]
push eax
call dword [sym.imp.WS2_32.dll_WSARecv]
cmp eax, 0xffffffff
jne 0x10003eb5
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x3e5
je 0x10003eb3
mov ecx, dword [ebp - 0x18]
push ecx
lea edx, [ebp - 0x28]
push edx
call fcn.10007883
add esp, 8
mov dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
push str.CSocketClient::OnRead_____WSARecv:
lea ecx, [ebp - 0x38]
push ecx
call fcn.10002850
add esp, 0xc
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x44]
push eax
call fcn.10007879
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.100022f0
cmp dword [ebp - 0x18], 0x2745
je 0x10003e9c
cmp dword [ebp - 0x18], 0x2746
je 0x10003e9c
cmp dword [ebp - 0x18], 0x2775
jne 0x10003ea4
mov ecx, dword [ebp - 0x3c]
call fcn.100035f5
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.100022f0
jmp 0x10003ed0
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp + 8]
call fcn.100049c0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3c]
call dword [edx + 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x1000ade9
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x90
mov dword [ebp - 0x9c], ecx
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 4], 0
jne 0x1000ae8e
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
push 0
mov edx, dword [ebp - 0x9c]
push edx
push 0x1000b023
push 0
push 0
call fcn.1000e1fc
add esp, 0x18
mov ecx, dword [ebp - 0x9c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x9c]
cmp dword [edx + 4], 0
jne 0x1000ae8c
lea eax, [ebp - 0x4c]
push eax
push str.CThread::Start______beginthreadex
lea ecx, [ebp - 0x48]
call fcn.100022c0
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
call fcn.1000c050
push 0x1001e2c8
lea edx, [ebp - 0x38]
push edx
call fcn.1000d49d
jmp 0x1000aee5
lea eax, [ebp - 0x84]
push eax
push str.Thread_already_running___you_can_only_call_Start___once_
lea ecx, [ebp - 0x80]
call fcn.100022c0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x98]
push ecx
push str.CThread::Start__
lea ecx, [ebp - 0x94]
call fcn.100022c0
mov byte [ebp - 4], 2
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x70]
call fcn.1000c100
push 0x1001e678
lea ecx, [ebp - 0x70]
push ecx
call fcn.1000d49d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x1000b28e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov ecx, eax
mov edx, dword [esi]
shr eax, 2
je 0x1000b2b3
mov ebx, dword [edi]
add edi, 4
xor ebx, edx
dec eax
mov dword [edi - 4], ebx
jne 0x1000b2a6
and ecx, 3
mov eax, edx
je 0x1000b2c8
mov bl, byte [edi]
inc edi
xor bl, al
shr eax, 8
mov byte [edi - 1], bl
dec ecx
jne 0x1000b2ba
mov eax, edx
shl edx, 5
sub edx, eax
add edx, 0x8088405
mov dword [esi], edx
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x1000bb80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b8e9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x10], 1
mov word [ebp - 0xe], 0
push 4
lea eax, [ebp - 0x10]
push eax
push 0x80
push 0xffff
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x1000bc04
lea eax, [ebp - 0x4c]
push eax
push str.CSocket::AbortiveClose__
lea ecx, [ebp - 0x48]
call fcn.100022c0
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x38]
call fcn.1000bf86
push 0x1001edf8
lea edx, [ebp - 0x38]
push edx
call fcn.1000d49d
mov ecx, dword [ebp - 0x50]
call fcn.1000bb0b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x1000be0f
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1001b948
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov dword [ebp - 0x4c], ecx
push 0x10
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1000be7d
lea eax, [ebp - 0x48]
push eax
push 0x10021aac
lea ecx, [ebp - 0x44]
call fcn.100022c0
mov dword [ebp - 4], 0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
lea ecx, [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x34]
call fcn.1000bf86
push 0x1001edf8
lea edx, [ebp - 0x34]
push edx
call fcn.1000d49d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x1000fb31
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x10021c38
cmp edx, dword [eax]
je 0x1000fb53
add eax, 8
inc ecx
cmp eax, 0x10021cc8
jl 0x1000fb44
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x10021c38]
jne 0x1000fc81
mov eax, dword [0x100234f4]
cmp eax, 1
je 0x1000fc5b
test eax, eax
jne 0x1000fb84
cmp dword [0x100234f8], 1
je 0x1000fc5b
cmp edx, 0xfc
je 0x1000fc81
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x1000fbbb
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.1000db30
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.1000ca90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x1000fbfe
lea eax, [ebp - 0x1a4]
push eax
call fcn.1000ca90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x1001c7cc
push edi
call fcn.10013880
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.1000db30
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.1000db40
lea eax, [ebp - 0xa0]
push 0x1001c7ac
push eax
call fcn.1000db40
push dword [esi + 0x10021c3c]
lea eax, [ebp - 0xa0]
push eax
call fcn.1000db40
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.100137e8
add esp, 0x2c
pop edi
jmp 0x1000fc81
lea eax, [ebp + 8]
lea esi, [esi + 0x10021c3c]
push 0
push eax
push dword [esi]
call fcn.1000ca90
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 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x79bb7d63
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x432024
nop
mov eax, section..data
nop
nop
mov ebx, 0x42f314
mov ecx, 0x772251ac
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x100021ac
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10019030]
jne 0x100021b6
repz ret
jmp fcn.100042ca

Function at 0x1000abaa
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.10005f12
and dword [ebp - 4], 0
cmp dword [0x1001ad6c], 0
mov ebx, eax
jne 0x1000ac5b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1000ad0c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x10015adc
push edi
call esi
test eax, eax
je 0x1000ad0c
push eax
call fcn.10005ea0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1001ad6c], eax
call esi
push eax
call fcn.10005ea0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1001ad70], eax
call esi
push eax
call fcn.10005ea0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1001ad74], eax
call esi
push eax
call fcn.10005ea0
pop ecx
mov dword [0x1001ad7c], eax
test eax, eax
je 0x1000ac5b
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10005ea0
pop ecx
mov dword [0x1001ad78], eax
mov eax, dword [0x1001ad78]
cmp eax, ebx
je 0x1000acb3
cmp dword [0x1001ad7c], ebx
je 0x1000acb3
push eax
call fcn.10005f1b
push dword [0x1001ad7c]
mov esi, eax
call fcn.10005f1b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1000acb3
test edi, edi
je 0x1000acb3
call esi
test eax, eax
je 0x1000acaa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1000acaa
test byte [ebp - 0xc], 1
jne 0x1000acb3
or dword [ebp + 0x10], 0x200000
jmp 0x1000acec
mov eax, dword [0x1001ad70]
cmp eax, ebx
je 0x1000acec
push eax
call fcn.10005f1b
pop ecx
test eax, eax
je 0x1000acec
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1000acec
mov eax, dword [0x1001ad74]
cmp eax, ebx
je 0x1000acec
push eax
call fcn.10005f1b
pop ecx
test eax, eax
je 0x1000acec
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1001ad6c]
call fcn.10005f1b
pop ecx
test eax, eax
je 0x1000ad0c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1000ad0e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f940
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000f91c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000f93a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000f998
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000f97f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000f988
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000f992
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000f974
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000f8fe
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000f9e5
dec eax
je 0x1000f9dc
sub eax, 3
je 0x1000f9d3
mov dword [ebp - 4], 0x40
jmp 0x1000fa02
mov dword [ebp - 4], 4
jmp 0x1000f9e8
mov dword [ebp - 4], 0x20
jmp 0x1000f9e8
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000fa34
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000f9b4
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000f245
xor al, 0xc6
fisubr word [edi + edi*8 + 0x75]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x1000fa40
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1000f969
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x1000f91c
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x1000f93a
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x1000f998
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
add byte [eax], al
add byte [eax], ah
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x1000f97f
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x1000f988
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1000f992
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x1000f974
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x1000f8fe
invalid
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x1000f9e5
dec eax
je 0x1000f9dc
sub eax, 3
je 0x1000f9d3
mov dword [ebp - 4], 0x40
jmp 0x1000fa02
mov dword [ebp - 4], 4
jmp 0x1000f9e8
mov dword [ebp - 4], 0x20
jmp 0x1000f9e8
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x1000fa34
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1000f9b4
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.1000f245
xor al, 0xc6
fisubr word [edi + edi*8 + 0x75]
adc al, 0x6a
add dword [esi - 1], edx
xlatb
mov eax, esi
jmp 0x1000fa40
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1000fa45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
call fcn.1000f223
inc ebx