joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10088650
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d0c98
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x10104610]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
lea eax, [esp + 0x2c]
push eax
mov esi, edx
call fcn.10086020
add esp, 4
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x5c], 0
call fcn.10086020
mov ecx, dword [esp + 0x14]
mov esi, 8
add esp, 4
cmp dword [esp + 0x24], esi
jae 0x100886bf
lea ecx, [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x40], esi
jae 0x100886cd
lea eax, [esp + 0x2c]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
cmp dword [esp + 0x24], esi
jb 0x100886ef
mov edx, dword [esp + 0x10]
push edx
call fcn.100afa01
add esp, 4
xor eax, eax
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], 0
mov word [esp + 0x10], ax
cmp dword [esp + 0x40], esi
jb 0x10088719
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.100afa01
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret

Function at 0x1008a8a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor edi, edi
cmp dword [eax + 0x14], 8
jb 0x1008a8b6
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x1008a8e2
mov eax, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1008a8f4
lea edi, [eax + 4]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
mov dword [ebx], ecx
mov dword [ebx + 4], edx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1008aaf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d17cb
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, edx
push 0x11
mov dword [ebp - 0xc8], eax
mov esi, ecx
mov dword [edi], 0x10
call fcn.100aeccb
mov dword [esi], eax
mov ecx, dword [edi]
inc ecx
push ecx
xor edi, edi
push edi
push eax
call fcn.100b5b30
mov al, 1
mov ecx, 0x10
mov byte [ebp - 0x73], al
mov byte [ebp - 0x23], al
lea edx, [ebp - 0xb4]
lea eax, [ebp - 0x64]
add esp, 0x10
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xbc], edi
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x64], 0x67452301
mov dword [ebp - 0x60], 0xefcdab89
mov dword [ebp - 0x5c], 0x98badcfe
mov dword [ebp - 0x58], 0x10325476
mov dword [ebp - 0xc4], vtable.CryptoPP::Weak1::MD5.0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0xc8]
push ecx
mov dword [ebp - 4], 2
mov esi, dword [esi]
push edx
lea ecx, [ebp - 0xc4]
call dword [0x100f3088]
mov eax, dword [ebp - 0xc4]
mov edx, dword [eax + 0x14]
push esi
lea ecx, [ebp - 0xc4]
call edx
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x64]
cmp edi, eax
jne 0x1008abe0
mov ecx, dword [ebp - 0x1c]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp - 0x68]
lea ecx, [ebp - 0xb4]
xor eax, eax
cmp edi, ecx
jne 0x1008abf4
mov ecx, dword [ebp - 0x6c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1008d0c0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2140
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax + 0x58], 0x10
lea ecx, [eax + 0x10]
mov dword [ecx + 0x4c], ecx
mov dl, 1
mov byte [ecx + 0x41], dl
mov dword [eax + 0xa8], 0x10
mov byte [eax + 0xa1], dl
lea ecx, [eax + 0x60]
mov dword [ecx + 0x4c], ecx
mov ecx, dword [eax + 0xac]
mov dword [ecx], 0x67452301
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
mov dword [ecx + 0x10], 0xc3d2e1f0
mov dword [eax], vtable.CryptoPP::SHA1.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret 4

Function at 0x1008d250
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d31ef
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], esi
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
mov dword [ebp - 4], 4
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 0xd
call fcn.100a3600
lea ecx, [esi + 0x48]
mov byte [ebp - 4], 0xe
call fcn.100a3600
mov byte [esi + 0x5c], 1
lea eax, [esi + 0x60]
push eax
mov dword [ebp - 4], 0xf
call fcn.1008d0c0
mov dword [esi], vtable.CryptoPP::PK_MessageAccumulatorImpl_class_CryptoPP::SHA1_.0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1008d8b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf518
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x1008d9d0
cmp byte [edi + 0x49], bl
je 0x1008d9d0
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
mov ecx, edi
call edx
cmp eax, 0xffffffff
je 0x1008d9c4
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x1008d924
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x1008d93c
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x1008d965
dec eax
je 0x1008d969
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x1008d9bf
jmp 0x1008d9cb
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x1008d979
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x1008d9a2
cmp ebx, 0x10
jae 0x1008d988
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.100b10a4
add esp, 0x10
cmp esi, eax
jne 0x1008d9bc
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x1008d9c8
test esi, esi
jne 0x1008d930
push esi
push 8
lea esi, [ebp - 0x2c]
call fcn.10088740
jmp 0x1008d92a
lea ecx, [ebp - 0x2c]
call fcn.10004d50
xor al, al
jmp 0x1008d9d2
lea ecx, [ebp - 0x2c]
call fcn.10004d50
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret
Function at 0x1008df00
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cf05b
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10104610]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.100af26c
push 4
mov dword [ebp - 4], 0
call fcn.100affa5
mov edi, eax
add esp, 4
test edi, edi
je 0x1008df7c
call fcn.100af144
mov dword [edi], eax
call fcn.100aef03
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.100af22d
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x1008df72
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.100af255
jmp 0x1008df7e
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100912d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cedf8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
mov edx, dword [eax + 0x24]
call edx
mov edi, eax
mov dword [esp + 0x10], edi
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push ecx
mov dword [esp + 0x20], 0
mov eax, dword [esi]
mov eax, dword [eax + 0x28]
push edx
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [edi]
mov edx, dword [edx + 0xc]
push eax
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x28]
mov eax, dword [esi]
mov ebx, dword [esp + 0x24]
mov edx, dword [eax + 0x3c]
push edi
push ecx
push ebx
mov ecx, esi
call edx
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [edi]
mov edx, dword [eax]
push 1
mov ecx, edi
call edx
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 0x18
Function at 0x100917d0
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, eax
mov ecx, edi
shr ecx, 2
xor ebx, ebx
test ecx, ecx
je 0x10091800
mov eax, edx
sub esi, edx
mov ebx, ecx
push ebp
jmp 0x100917f0
mov ebp, dword [esi + eax]
xor dword [eax], ebp
add eax, 4
dec ecx
jne 0x100917f0
mov esi, dword [esp + 0x14]
pop ebp
lea eax, [ebx*4]
sub edi, eax
je 0x10091829
add edx, eax
add esi, eax
test edi, edi
je 0x10091829
mov ecx, esi
mov eax, edx
sub ecx, edx
mov esi, edi
jmp 0x10091820
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x10091820
pop edi
pop esi
pop ebx
ret
Function at 0x10094b30
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cfcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10094b00
push 2
push eax
mov dword [esp + 0x30], 0
call fcn.10094a30
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10094b8b
push eax
call fcn.100afa01
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x10094ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cfcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10094b30
push 0x348
push eax
mov dword [esp + 0x30], 0
call fcn.10094a30
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10094bfe
push eax
call fcn.100afa01
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x10094c20
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cfcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10094ba0
push 0x1bb8d
push eax
mov dword [esp + 0x30], 0
call fcn.10094a30
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10094c7e
push eax
call fcn.100afa01
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x10094ca0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cfcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10094c20
push 1
push eax
mov dword [esp + 0x30], 0
call fcn.10094a30
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10094cfb
push eax
call fcn.100afa01
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x10094d10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100cfcc8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], 0
call fcn.10094ca0
push 1
push eax
mov dword [esp + 0x30], 0
call fcn.10094a30
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x10094d6b
push eax
call fcn.100afa01
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x10094d80
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d2618
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
mov dword [esp + 8], 0
call fcn.10094d10
push 1
push eax
mov dword [esp + 0x30], 0
call fcn.10094a30
mov eax, dword [esp + 0x14]
add esp, 8
test eax, eax
je 0x10094de1
push eax
call fcn.100afa01
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x10096190
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100d2a70
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x10104610]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov esi, dword [ecx]
push 1
push 0x1010622c
mov dword [esp + 0x28], edx
xor edx, edx
push edx
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], edx
push eax
mov eax, dword [esi + 0x80]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], vtable.CryptoPP::ArraySink.0
mov dword [esp + 0x30], vtable.CryptoPP::ArraySink.1.0
call eax
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.100afa0c
mov esp, ebp
pop ebp
ret 8

Function at 0x10096bd0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x100d36d8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push edi
mov eax, dword [0x10104610]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x14]
xor edi, edi
push ecx
mov dword [esp + 0x14], edi
call fcn.100a36f0
push eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x30], edi
call fcn.100a4a80
push eax
push esi
call fcn.100a36f0
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
mov edx, ecx
add edx, edx
mov ebx, edi
xor eax, eax
add edx, edx
rep stosd dword es:[edi], eax
push ebx
cmp edx, 0x10
jb 0x10096c40
call fcn.100b2a9c
jmp 0x10096c45
call fcn.100b0326
mov eax, esi
add esp, 4
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x24
ret 8
Function at 0x100afa0c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10104610]
jne 0x100afa16
repz ret
jmp fcn.100b5baa

Function at 0x100c6921
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10104610]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.100b8da5
and dword [ebp - 0x14], 0
cmp dword [0x10109280], 0
mov dword [ebp - 0x18], eax
jne 0x100c69d4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x100c6a7c
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x100c6a7c
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x10109280], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x10109284], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x10109288], eax
call edi
push eax
call esi
mov dword [0x10109290], eax
test eax, eax
je 0x100c69d4
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1010928c], eax
mov eax, dword [0x1010928c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x100c6a2d
cmp dword [0x10109290], ecx
je 0x100c6a2d
push eax
call esi
push dword [0x10109290]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x100c6a2d
test ebx, ebx
je 0x100c6a2d
call edi
test eax, eax
je 0x100c6a24
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x100c6a24
test byte [ebp - 8], 1
jne 0x100c6a2d
or dword [ebp + 0x10], 0x200000
jmp 0x100c6a60
mov eax, dword [0x10109284]
cmp eax, dword [ebp - 0x18]
je 0x100c6a60
push eax
call esi
test eax, eax
je 0x100c6a60
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100c6a60
mov eax, dword [0x10109288]
cmp eax, dword [ebp - 0x18]
je 0x100c6a60
push eax
call esi
test eax, eax
je 0x100c6a60
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x10109280]
call esi
test eax, eax
je 0x100c6a7c
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x100c6a7e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100afa0c
leave
ret
Function at 0x6400fd15
Capabilities:
Inspect section memory permissions

Disassembly:
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6400fca2
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6400fcc0
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 0x6400fd1e
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6400fd05
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6400fd0e
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6400fd18
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6400fcfa
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6400fc84
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 0x6400fd6b
dec eax
je 0x6400fd62
sub eax, 3
je 0x6400fd59
mov dword [ebp - 4], 0x40
jmp 0x6400fd88
mov dword [ebp - 4], 4
jmp 0x6400fd6e
mov dword [ebp - 4], 0x20
jmp 0x6400fd6e
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 0x6400fdba
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6400fd3a
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.6400f5cb
xchg edi, eax
js 0x6400fdf0
hlt
invalid

Function at 0x6400fea7
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa
mov byte [ebp - 0x3b8], 3
mov byte [ebp - 0x3b7], 0x20
mov byte [ebp - 0x3b6], 0xf
mov byte [ebp - 0x3b5], 0xa
mov byte [ebp - 0x3b4], 3
mov byte [ebp - 0x3b3], 0x28
mov byte [ebp - 0x3b2], 7
invalid
test dword [edi - 4], ecx
invalid