joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10008600
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10037018]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ecx]
push ebx
push esi
push edi
test al, al
je 0x1000864f
mov esi, ecx
cmp al, 2
je 0x10008665
cmp al, 4
jne 0x1001319a
mov ecx, dword [esi + 4]
xor eax, eax
cmp word [ecx], ax
je 0x1000863b
add ecx, 2
inc eax
cmp word [ecx], 0
jne 0x10008631
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001032e
mov esp, ebp
pop ebp
ret
xor eax, eax
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001032e
mov esp, ebp
pop ebp
ret
lea ecx, [esi + 2]
jmp 0x1000862a
salc

Function at 0x10008980
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0xc]
jne 0x100133f9
mov dword [edi], esi
mov eax, edi
pop esi
ret

Function at 0x1000a160
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push esi
push edi
mov edi, dword [esp + 0xc]
mov esi, ecx
test edi, edi
je 0x1000a1c7
cmp byte [edi], 0
je 0x1000a1c7
mov al, byte [esi]
test al, al
je 0x10013bd1
cmp al, 1
je 0x10013bfa
cmp byte [esi], 2
je 0x10013c0e
mov eax, esi
call fcn.1000b970
test al, al
je 0x10013bdd
mov eax, edi
call fcn.1000b980
test al, al
je 0x10013bdd
mov ecx, esi
call sym.Ac1st19.dll_public:_wchar_t_const____thiscall_AcString::kwszPtr_void_const
mov ecx, eax
mov eax, edi
call fcn.1000a1d0
mov edi, eax
call fcn.10006c10
mov byte [esi], 4
mov dword [esi + 4], edi
pop edi
mov eax, esi
pop esi
ret 4
dec dword [eax]
mov al, byte [0x2ff845c6]
movsd dword es:[edi], dword [esi]
xchg esp, eax
cld
invalid
cwde
cld
invalid
test dword [ebx + 0x6fffffc], ebx

Function at 0x1000a4a0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0xc
test ecx, ecx
je 0x10012d6e
cmp ecx, 0x3fffffff
ja 0x10012d74
lea eax, [ecx*4]
push eax
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
test eax, eax
je 0x10012d74
add esp, 0xc
ret
sbb byte [edx - 0x31], bh
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x3c]
add esi, edi
mov ebx, dword [esi + 0x78]
call fcn.10012cb3
shl byte [eax], 0x9a
xchg edx, eax
push esi
push ebx
call fcn.10012cf3
pop ecx

Function at 0x1000a570
Capabilities:
Inspect section memory permissions

Disassembly:
push 0xffffffffffffffff
push 0x10010fd8
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x10037018]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
push 4
call edi
mov esi, eax
add esp, 4
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], 0
test esi, esi
je 0x100133dc
push 0x28
call edi
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1c], 1
test eax, eax
je 0x1000a5e8
push eax
call fcn.1000a5f0
mov dword [esi], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret
xor eax, eax
jmp 0x1000a5d2
adc byte gs:[eax], al
add byte [eax], al
or byte [ebx - 0x2cc4e7b3], 0x74
add al, 0x80
Function at 0x1000b260
Capabilities:
Get thread local storage value

Disassembly:
cmp byte [0x10037029], 0
jne 0x10014c67
mov cl, byte [0x10039f71]
test cl, cl
je 0x10014c2e
mov al, byte [0x10039f72]
test al, al
je 0x10014c42
mov edx, dword [0x10037060]
push esi
mov esi, dword [0x10039fa4]
cmp esi, 0x1000b230
jne 0x10014cb2
test cl, cl
je 0x10014c77
test al, al
je 0x10014c8a
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov eax, dword [esp + 8]
test ecx, ecx
je 0x1000b2d5
test eax, eax
je 0x1000b2df
mov edx, dword [ecx]
cmp edx, eax
ja 0x1000b2d5
mov esi, dword [ecx + 8]
add esi, edx
cmp eax, esi
jb 0x1000b2e3
push eax
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
ret 4
push ebx
push ebp
mov ebx, eax
push edi
mov edi, dword [ecx + 8]
add edi, dword [ecx]
lea ecx, [ecx]
mov eax, dword [edi - 4]
lea esi, [edi - 4]
cdq
xor eax, edx
sub eax, edx
sub edi, eax
cmp edi, ebx
ja 0x1000b2f0
mov eax, dword [esi]
test eax, eax
jle 0x1000b30b
neg eax
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
add edx, eax
lea ebp, [esi + 4]
cmp ebp, edx
jne 0x1000b320
add eax, dword [esi]
mov dword [ecx + 8], eax
jne 0x1000b327
pop edi
pop ebp
pop ebx
pop esi
ret 4
mov eax, dword [edi - 4]
test eax, eax
jg 0x1000b320
jmp 0x10014cba
stc
invalid
invalid
invalid
push dword [ebp + 0x14]
call fcn.10012c78
add esp, 0xc
mov dword [ebp - 0x37c], eax
cmp dword [ebp - 0x37c], 0
jne 0x10014c96
test ah, bh
invalid
jmp 0x10014655
cmp dword [ebp - 0x37c], 0
je 0x10014ca4
jmp 0x10014d59
push 0
push 0
push 2
push 0
push 2
push 0x40000000
inc eax
push dword [ebp - 0x3a0]
call dword [ebp - 0x3c8]
mov dword [ebp - 0x380], eax
cmp dword [ebp - 0x380], 0xffffffff
je 0x10014cfd
xchg ebp, eax
cmp ah, bh
invalid
push 0
lea eax, [ebp - 0x6c4]
push eax
push dword [ebp - 0x38c]
push dword [ebp - 0x748]
push dword [ebp - 0x380]
call dword [ebp - 0x730]
push dword [ebp - 0x380]
call dword [ebp - 0x680]
jmp 0x10014d02
jmp 0x10014655
and dword [ebp - 0x37c], 0
push dword [ebp - 0x3a0]
call dword [ebp - 0x704]
mov dword [ebp - 0x3a4], eax
Function at 0x1000b340
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 4]
mov dword [ecx], vtable.AcRxCopyOnWriteObject.0
mov eax, dword [esi]
mov edx, dword [eax]
push 0
mov ecx, esi
call edx
cmp byte [0x10037029], 0
jne 0x1000b377
cmp byte [0x10039f71], 0
je 0x100153de
cmp byte [0x10039f72], 0
je 0x100153ef
mov eax, dword [0x10037060]
push eax
call dword [0x10039fa4]
test eax, eax
je 0x1000b3db
mov ecx, eax
mov eax, dword [ecx]
cmp eax, esi
ja 0x1000b3db
mov edx, dword [ecx + 8]
add edx, eax
cmp esi, edx
jae 0x1000b3db
push ebx
push ebp
mov ebx, esi
push edi
mov edi, dword [ecx]
add edi, dword [ecx + 8]
mov eax, dword [edi - 4]
lea esi, [edi - 4]
cdq
xor eax, edx
sub eax, edx
sub edi, eax
cmp edi, ebx
ja 0x1000b3a2
mov eax, dword [esi]
test eax, eax
jle 0x1000b3bd
neg eax
mov dword [esi], eax
mov eax, dword [ecx + 8]
mov edx, dword [ecx]
add edx, eax
lea ebp, [esi + 4]
cmp ebp, edx
jne 0x1000b3d6
add eax, dword [esi]
mov dword [ecx + 8], eax
jne 0x1001540c
pop edi
pop ebp
pop ebx
pop esi
ret
push esi
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop esi
ret
mov al, 1
mov byte [0x10039f72], al
mov byte [0x10039f71], al
jmp 0x1000b377
mov eax, dword fs:[0x18]
cmp dword [eax + 0x10], 0x10000
jb 0x1000b377
mov eax, dword [0x1003705c]
jmp 0x1000b37c
mov eax, dword [edi - 4]
test eax, eax
jg 0x1000b3d6
neg eax
mov dword [edi - 4], eax
sub ebx, eax
jmp 0x1000b39d

Function at 0x1000c670
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp word [eax], 0
je 0x1000c6c9
mov ebx, dword [sym.imp.MSVCR100.dll_wcsncmp]
mov edi, eax
movzx eax, word [edi]
cmp eax, 0x20
je 0x1000c6cf
cmp eax, 9
je 0x1000c6cf
movzx eax, word [edi]
cmp eax, 0x2d
je 0x1000c6e0
cmp eax, 0x2f
je 0x1000c6e0
movzx esi, word [edi]
test si, si
je 0x1000c6c9
lea esp, [esp]
movzx eax, si
cmp eax, 0x20
je 0x1000c6d4
cmp eax, 9
je 0x1000c6d4
movzx esi, word [edi + 2]
add edi, 2
test si, si
jne 0x1000c6b0
pop edi
pop esi
xor al, al
pop ebx
ret
add edi, 2
jmp 0x1000c687
cmp word [edi], 0
jne 0x1000c687
pop edi
pop esi
xor al, al
pop ebx
ret
push 9
add edi, 2
push str.Embedding
push edi
call ebx
add esp, 0xc
test eax, eax
jne 0x1000c6a1
jmp 0x10013066
push cs
cld
invalid

Function at 0x1000c700
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x3c
mov eax, dword [0x10037018]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
call fcn.1000c670
test al, al
jne 0x1000c751
mov esi, dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
pxor xmm0, xmm0
lea eax, [esp + 0x10]
movdqa xmmword [esp + 0x10], xmm0
push eax
movdqa xmmword [esp + 0x24], xmm0
mov dword [esp + 0x14], 0x20
call esi
cmp dword [esp + 0x24], 0xa00000
jb 0x1001382e
mov al, 1
mov ecx, dword [esp + 0x3c]
pop esi
xor ecx, esp
call fcn.1001032e
mov esp, ebp
pop ebp
ret
Function at 0x1000c860
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x58
mov eax, dword [0x10037018]
xor eax, esp
mov dword [esp + 0x54], eax
mov eax, dword [0x10039f6c]
push ebx
push str.16_session_mem
push eax
push 8
push str._.s_s
lea ecx, [esp + 0x18]
push 0x27
push ecx
mov dword [0x10037054], 0x21
call dword [sym.imp.MSVCR100.dll_swprintf_s]
add esp, 0x18
call fcn.1000c970
lea edx, [esp + 8]
push edx
push 0
push 2
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov dword [0x10039f78], eax
test eax, eax
jne 0x100141df
lea eax, [esp + 8]
push eax
push 0x800
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [0x10039f78], eax
test eax, eax
je 0x100141d3
mov bl, 1
push 0
push 0
push 0
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x100141d3
push esi
mov esi, eax
mov byte [esp + 0xb], 1
test bl, bl
je 0x100141e6
mov ecx, dword [0x10039f80]
push 0x3fd
push ecx
lea edx, [esi + 0x10]
push 0x3fe
push edx
call dword [sym.imp.MSVCR100.dll_wcsncpy_s]
add esp, 0x10
mov dword [0x10037054], 1
mov dword [esi], 1
mov dword [esi + 4], 0xe
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call fcn.1000c830
mov al, byte [esp + 0xb]
pop esi
mov ecx, dword [esp + 0x58]
pop ebx
xor ecx, esp
call fcn.1001032e
add esp, 0x58
ret
inc eax
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
push 5
lea eax, [ebp - 0x394]
push eax
push dword [ebp - 0x3a8]
call fcn.10012c24
add esp, 0xc
lea eax, [ebp - 0x718]
push eax
push dword [ebp - 0x718]
push 5
push dword [ebp - 0x3a8]
call dword [ebp - 0x6e4]
call fcn.10012cb3
invalid
stc
invalid
insb byte es:[edi], dx
cld
invalid

Function at 0x1000c9e0
Capabilities:
Read file via mapping

Disassembly:
cmp dword [0x10039f78], 0
jne 0x1000c9ea
ret
mov eax, dword [0x10037054]
dec eax
cmp eax, 0x1f
ja 0x1000ca31
call fcn.1000c970
mov ecx, dword [0x10039f78]
push 0
push 0
push 0
push 6
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x1000ca2c
mov ecx, dword [0x10037054]
dec ecx
mov edx, 1
shl edx, cl
push eax
not edx
and dword [eax], edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
call fcn.1000c830
mov eax, dword [0x10039f78]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x10039f78], 0
ret

Function at 0x1000cb60
Capabilities:
Get thread local storage value

Disassembly:
cmp eax, 2
jne 0x1000cb66
ret
push ecx
sub eax, 0
je 0x1000cbc0
dec eax
je 0x1000cbb3
sub eax, 2
jne 0x1000cb88
push edi
mov edi, dword [0x1003a0f0]
mov eax, dword [edi]
mov dword [esp + 4], eax
push esi
cmp eax, edi
jne 0x1000cb8a
pop esi
pop edi
pop ecx
ret
mov esi, dword [eax + 0x10]
test esi, esi
je 0x1000cba4
mov eax, dword [eax + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call esi
mov edi, dword [0x1003a0f0]
lea esi, [esp + 8]
call fcn.1000ce80
mov eax, dword [esp + 8]
jmp 0x1000cb82
push 0x10039e44
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
pop ecx
ret
push 0x10039e44
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp 0x1000cb74
Function at 0x1000ceb0
Capabilities:
Parse pe header

Disassembly:
push ecx
mov eax, dword [esi + 8]
push ebx
xor ebx, ebx
mov dword [esi], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov byte [esi + 5], bl
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
movzx edx, word [eax]
cmp edx, 0x5a4d
jne 0x10014b3d
add eax, dword [eax + 0x3c]
mov edx, 0x8664
mov dword [esi + 0x18], eax
add eax, 4
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x18]
add eax, 0x18
mov dword [esi + 0x10], eax
mov eax, dword [esi + 0xc]
lea ecx, [esi + 0x20]
cmp word [eax], dx
je 0x10014b6e
mov byte [esi + 5], 1
mov edx, dword [esi + 0x18]
cmp dword [edx], 0x4550
jne 0x10014b76
movzx eax, word [eax + 0x10]
push edi
lea edx, [eax + edx + 0x18]
push ecx
xor edi, edi
mov eax, esi
mov dword [esi + 0x14], edx
call fcn.1000cfb0
mov dword [esi + 0x1c], eax
lea eax, [esp + 8]
push eax
mov edi, 1
mov eax, esi
call fcn.1000cfb0
lea ecx, [esp + 8]
mov dword [esi + 0x2c], eax
push ecx
mov edi, 0xd
mov eax, esi
call fcn.1000cfb0
lea edx, [esp + 8]
mov dword [esi + 0x30], eax
push edx
mov edi, 6
mov eax, esi
call fcn.1000cfb0
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
pop edi
cmp eax, ebx
je 0x1000cf9e
mov ecx, 3
mov eax, dword [esi + 0x28]
cmp dword [eax + 0x10], ebx
je 0x1000cf9e
cmp dword [eax + 0xc], ecx
je 0x1000cf9e
add eax, 0x1c
mov dword [esi + 0x28], eax
cmp eax, ebx
jne 0x1000cf87
mov eax, dword [esi + 0x28]
cmp eax, ebx
je 0x1000cfad
cmp dword [eax + 0x10], ebx
jne 0x1000cfad
mov dword [esi + 0x28], ebx
pop ebx
pop ecx
ret
clc
invalid
test eax, ecx
cld
invalid
sar ch, 1
invalid
Function at 0x1000e810
Capabilities:
Get memory capacity

Disassembly:
sub esp, 0x24
mov eax, dword [0x10037018]
xor eax, esp
mov dword [esp + 0x20], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x20
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov eax, dword [esp + 0x18]
cmp eax, 0x80100000
ja 0x1000e8a3
mov ecx, dword [0x10037058]
push esi
xor dl, dl
push edi
mov dword [0x10039e40], ecx
xor eax, eax
mov esi, 0x100253e4
lea ebx, [ebx]
mov byte [eax + 0x10038e28], dl
inc eax
cmp ecx, 0x800
jg 0x1000e880
cmp eax, dword [esi - 4]
jne 0x1000e860
mov dl, byte [esi]
cmp dl, 0xff
je 0x1000e892
add esi, 8
jmp 0x1000e860
cmp eax, 0x800
je 0x1000e8b4
lea edi, [ecx + 1]
cmp eax, edi
jne 0x1000e86f
xor dl, dl
jmp 0x1000e86f
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor ecx, esp
call fcn.1001032e
add esp, 0x24
ret
lea ecx, [eax - 0x100000]
shr ecx, 0x14
mov dword [0x10037058], ecx
jmp 0x1000e849
mov dl, 2
jmp 0x1000e86f

Function at 0x1000eb40
Capabilities:
Inspect section memory permissions

Disassembly:
test edx, edx
je 0x100133e3
mov eax, dword [esi + 4]
mov ecx, dword [esi]
cmp ecx, eax
je 0x1000eb7c
cmp dword [ecx], edx
jne 0x100133e9
cmp ecx, eax
je 0x1000eb7c
lea edx, [ecx + 4]
sub eax, edx
sar eax, 2
add eax, eax
add eax, eax
push eax
push edx
push ecx
call dword [sym.imp.MSVCR100.dll_memmove]
add dword [esi + 4], 0xfffffffc
add esp, 0xc
xor eax, eax
ret
mov eax, 0x16
ret
dec ebp
sbb byte [ebx], bh
sal dword [esp + eax - 0x80], cl
or al, 8
add dword [ecx], edi
pop ebp
or byte [esp + eax - 0x80], dh
or al, 8
add bh, byte [ecx]
pop ebp
adc byte [ebp + eax + 3], dh
enter 0x980, 4

Function at 0x1000f1d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ecx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_HeapCreate]
push 0
push 0x1000
push 0
call edi
test eax, eax
je 0x1001301f
mov esi, eax
push 4
lea eax, [esp + 0xc]
push eax
push 0
push esi
mov dword [esp + 0x18], 2
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
mov eax, esi
pop edi
pop esi
pop ecx
ret 4
call 0xf95eb874
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9

Function at 0x1000f300
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push edi
mov edi, dword [esp + 8]
test edi, edi
je 0x10012fc1
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x14]
push ebx
test esi, esi
je 0x10012fd8
push esi
push 0
push edi
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
test eax, eax
je 0x10012fe6
pop esi
pop ebx
pop edi
ret 0xc
inc ebp
invalid
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.10012cb3
jl 0x10013071
iretd
aad 0xd9
lea eax, [ebp - 0x40]
push eax
call fcn.10012cc3
push eax
push esi
push dword [ebp + 8]
call fcn.10012c78
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.10012cb3
stc
invalid
Function at 0x1000f380
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x10037018]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [ecx]
push ebx
push esi
push edi
test al, al
je 0x100130e4
mov esi, ecx
cmp al, 1
je 0x100130ee
cmp al, 3
je 0x100130f6
mov dword [ebp - 8], esi
cmp al, 2
je 0x100130fe
cmp al, 4
jne 0x1000f444
mov edi, dword [esi + 4]
mov eax, edi
mov byte [esi], 5
cmp word [eax], 0
mov ecx, 1
je 0x1000f3df
add eax, 2
inc ecx
cmp word [eax], 0
jne 0x1000f3d5
lea esi, [ecx*8]
sub esi, ecx
sub esi, 6
mov eax, esi
call fcn.10010da0
mov eax, dword [0x1003a0c8]
mov ebx, esp
test eax, eax
je 0x1000f45e
push 0
push esi
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0
call eax
mov edi, eax
test edi, edi
jle 0x1000f418
cmp edi, esi
jge 0x1000f418
mov byte [edi + ebx], 0
lea edx, [edi + 5]
push edx
call dword [0x10039f88]
mov esi, eax
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ebx
inc edi
lea edx, [esi + 4]
push edi
push edx
mov dword [esi], ecx
call dword [sym.imp.MSVCR100.dll_strcpy_s]
mov eax, dword [ebp - 8]
mov dword [eax + 4], esi
add esp, 0x10
mov esi, eax
mov eax, dword [esi + 4]
add eax, 4
lea esp, [ebp - 0x18]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1001032e
mov esp, ebp
pop ebp
ret
xor edi, edi
jmp 0x1000f418
fisttp dword [edi - 0x3a]
inc ebp
fsub qword [edi - 0x3a]
inc ebp
fld qword [edx - 0x3a]
inc ebp
fimul word [ecx - 0x3a]
inc ebp
fistp word [ecx - 0x3a]
inc ebp
loopne 0x1001314e
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b

Function at 0x1000fd80
Capabilities:
Inspect section memory permissions

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi]
test al, al
jne 0x1000fd9a
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop esi
ret
cmp al, 2
je 0x1000fd89
cmp al, 1
je 0x1000fd89
cmp al, 5
mov eax, dword [esi + 4]
je 0x10013184
test eax, eax
je 0x1000fd89
push eax
call dword [0x10039f90]
add esp, 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov eax, esi
pop esi
ret
lea edi, [edx - 0x3a]
inc ebp
invalid
Function at 0x100100c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 0xffffffffffffffff
push 0x10011092
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x10037018]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [0x1003a038]
xor ebx, ebx
cmp edi, ebx
je 0x10013559
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, esi
mov dword [esp + 0x18], vtable.AcRxOverruleIterator.0
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov byte [esp + 0x28], 1
call eax
mov eax, dword [eax + 4]
cmp edi, ebx
je 0x10010134
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x10010134
mov edi, dword [edi + 0x2c]
cmp edi, 0xffffffff
jne 0x10013585
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x34], ebx
cmp edi, ebx
jne 0x100135b4
mov edx, dword [esi]
mov eax, dword [esp + 0x3c]
mov edx, dword [edx + 0x18]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10012c78
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
push 0x40
pop ecx
xor eax, eax
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
mov byte [ebp - 0x3b1], 0xb
mov byte [ebp - 0x3b0], 3
mov byte [ebp - 0x3af], 0x27
mov byte [ebp - 0x3ae], 0x66
lea eax, [ebp - 0x3c4]
push eax
call fcn.10012cc3
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.10012c78
add esp, 0xc
mov dword [ebp - 0x538], eax
and byte [ebp - 0x3ec], 0
and byte [ebp - 0x3eb], 0
int3
cld
invalid

Function at 0x1001032e
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10037018]
jne 0x10010338
repz ret
jmp fcn.10010971

Function at 0x1001883d
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 8]
add ecx, dword [eax]
push esi
lea ebx, [ebx]
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
cdq
xor eax, edx
sub eax, edx
sub ecx, eax
cmp ecx, dword [esp + 0xc]
ja 0x1001884d
mov eax, dword [esi]
pop esi
ret 8
Function at 0x1001a5cf
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1002b2f8
push 0x10010ae9
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x10037018]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov esi, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 0x2c], edi
mov ebx, dword [esi + 0x20]
mov dword [ebp - 0x20], ebx
push 0x1c
lea eax, [ebp - 0x54]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x24]
push edx
push 0x40
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1001a6f8
mov dword [ebp - 4], edi
xor eax, eax
mov word [ebp - 0x38], ax
mov dword [ebp - 0x36], edi
xor ecx, ecx
mov word [ebp - 0x32], cx
mov eax, dword [esi + 0x20]
mov edx, dword [eax]
mov dword [ebp - 0x38], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x34], ecx
push 8
push eax
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x1c], 3
jge 0x1001a699
lea edx, [ebp - 0x30]
push edx
push 8
lea eax, [esi + 4]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
test eax, eax
jg 0x1001a699
inc dword [ebp - 0x1c]
jmp 0x1001a673
push 8
mov edx, dword [esi + 0x20]
push edx
call edi
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov eax, dword [ebp - 0x38]
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x34]
mov dword [esi + 8], ecx
xor dword [esi + 0x1c], 1
mov dword [ebp - 4], 0xfffffffe
jmp 0x1001a6d7
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x28]
push eax
push 8
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [ebp - 0x2c], 2
jne 0x1001a6f8
add esi, 0x24
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x1001b3b9
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
test ebx, ebx
je 0x1001b430
push ebx
push edi
call fcn.10018880
test al, al
jne 0x1001b3e1
push ebx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
pop edi
pop ebx
ret 8
push ebp
push esi
lea ebx, [ebx]
mov ecx, dword [edi + 8]
add ecx, dword [edi]
mov eax, dword [ecx - 4]
lea esi, [ecx - 4]
cdq
xor eax, edx
sub eax, edx
sub ecx, eax
cmp ecx, ebx
ja 0x1001b3ee
mov eax, dword [esi]
test eax, eax
jle 0x1001b409
neg eax
mov dword [esi], eax
mov eax, dword [edi + 8]
mov edx, dword [edi]
add edx, eax
lea ebp, [esi + 4]
cmp ebp, edx
jne 0x1001b42e
add eax, dword [esi]
mov dword [edi + 8], eax
je 0x1001b42e
mov eax, dword [ecx - 4]
test eax, eax
jg 0x1001b42e
neg eax
mov dword [ecx - 4], eax
sub ebx, eax
jmp 0x1001b3e9
pop esi
pop ebp
pop edi
pop ebx
ret 8