joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bba60
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d6741
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 0xd], 0
call fcn.100bb5d0
mov ecx, dword [0x100fc320]
push eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov edi, eax
test edi, edi
je 0x100bbb9d
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100fbfac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1017da5c]
cmp eax, dword [ecx + 4]
jle 0x100bbb5d
push 0x1017da5c
call fcn.100d136a
add esp, 4
cmp dword [0x1017da5c], 0xffffffff
jne 0x100bbb5d
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x15], 0x85ab9ead
mov dword [ebp - 0x11], 0x100938b
mov al, cl
sub al, 0x40
xor byte [ebp + ecx - 0x15], al
inc ecx
cmp ecx, 6
jb 0x100bbaf2
mov byte [ebp - 0xe], 0
xor ecx, ecx
mov dword [ebp - 0x24], 0x819d9584
mov dword [ebp - 0x20], 0x97a3b6a5
mov dword [ebp - 0x1c], 0xaeb3a8a4
mov word [ebp - 0x18], 0xbe
mov byte [ebp - 0x16], 1
mov al, cl
sub al, 0x40
xor byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0xd
jb 0x100bbb25
lea eax, [ebp - 0x15]
mov byte [ebp - 0x16], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.10007f10
push 0x1017da5c
mov dword [0x1017da40], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100d1320
add esp, 4
mov eax, dword [0x1017da40]
mov ecx, edi
push 0x46
mov esi, dword [eax + edi]
call fcn.10061e10
mov eax, dword [ebx]
mov ecx, ebx
push 0
push 1
mov eax, dword [eax + 0x694]
call eax
push esi
mov ecx, edi
mov bl, al
call fcn.10061e10
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 0xc]
mov al, byte [ebp - 0xd]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x100bcf70
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
cmp byte [edx + 0x76], 0
je 0x100bcf94
xor eax, eax
nop word [eax + eax]
lea ecx, [eax + 0x4d4]
xor word [edx + eax*2], cx
inc eax
cmp eax, 0x3a
jb 0x100bcf80
mov byte [edx + 0x76], 0
ret

Function at 0x100be030
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1e], 0
je 0x100be052
xor eax, eax
nop dword [eax + eax]
lea edx, [eax + esi]
lea ecx, [eax - 0x2c]
inc eax
xor byte [edx], cl
cmp eax, 0x1d
jb 0x100be040
mov byte [esi + 0x1e], 0
pop esi
ret

Function at 0x100be510
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 0x19], 0xb0b1a48d
xor ecx, ecx
mov dword [ebp - 0x15], 0x85a3a2a5
mov dword [ebp - 0x11], 0x9db1a7
mov byte [ebp - 0xd], 1
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x19], al
inc ecx
cmp ecx, 0xb
jb 0x100be531
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0xc], 0x91879295
mov dword [ebp - 8], 0xa3e8f7f7
mov dword [ebp - 4], 0x100a5a4
nop dword [eax]
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0xc], al
inc ecx
cmp ecx, 0xa
jb 0x100be560
push 0
push edx
push dword [ebp + 8]
lea eax, [ebp - 0x19]
mov byte [ebp - 1], 0
push 0x10
push 4
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.10009ac0
add esp, 0x1c
mov esp, ebp
pop ebp
ret
Function at 0x100bfa30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d6abd
push eax
mov dword fs:[0], esp
sub esp, 0x34
mov eax, dword fs:[0x2c]
mov edx, dword [0x100fbfac]
push esi
push edi
mov esi, dword [eax + edx*4]
mov edi, ecx
mov eax, dword [0x1017f83c]
cmp eax, dword [esi + 4]
jle 0x100bfb09
push 0x1017f83c
call fcn.100d136a
add esp, 4
cmp dword [0x1017f83c], 0xffffffff
jne 0x100bfb09
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x16], 0xab919ead
mov dword [ebp - 0x12], 0xa3a3b7a5
mov word [ebp - 0xe], 0x100
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 8
jb 0x100bfaa6
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x23], 0x979d9584
mov dword [ebp - 0x1f], 0xa6aa9582
mov dword [ebp - 0x1b], 0xb8acb1
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xb
jb 0x100bfad2
lea eax, [ebp - 0x16]
mov byte [ebp - 0x17], 0
push eax
lea eax, [ebp - 0x23]
push eax
call fcn.10007f10
push 0x1017f83c
mov dword [0x1017f850], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100d1320
add esp, 4
mov eax, dword [0x1017f848]
cmp eax, dword [esi + 4]
jle 0x100bfbe7
push 0x1017f848
call fcn.100d136a
add esp, 4
cmp dword [0x1017f848], 0xffffffff
jne 0x100bfbe7
mov dword [ebp - 4], 1
xor ecx, ecx
movaps xmm0, xmmword [0x100f1550]
movups xmmword [ebp - 0x3e], xmm0
mov dword [ebp - 0x2e], 0xb7b3b498
mov dword [ebp - 0x2a], 0xb0b7a187
mov word [ebp - 0x26], 0xbd
mov byte [ebp - 0x24], 1
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x3e], al
inc ecx
cmp ecx, 0x19
jb 0x100bfb60
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x16], 0xab919ead
mov dword [ebp - 0x12], 0xa3a3b7a5
mov word [ebp - 0xe], 0x100
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x16], al
inc ecx
cmp ecx, 8
jb 0x100bfb87
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x23], 0x979d9584
mov dword [ebp - 0x1f], 0xa6aa9582
mov dword [ebp - 0x1b], 0xb8acb1
mov byte [ebp - 0x17], 1
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xb
jb 0x100bfbb3
lea eax, [ebp - 0x3e]
mov byte [ebp - 0x17], 0
push eax
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x23]
push eax
call fcn.1000ef40
push 0x1017f848
mov dword [0x1017f840], eax
call fcn.100d1320
add esp, 4
mov eax, dword [0x1017f84c]
cmp eax, dword [esi + 4]
jle 0x100bfc2a
push 0x1017f84c
call fcn.100d136a
add esp, 4
cmp dword [0x1017f84c], 0xffffffff
jne 0x100bfc2a
mov eax, dword [0x1017f840]
sub eax, dword [0x1017f850]
add eax, 4
push 0x1017f84c
mov dword [0x1017f838], eax
call fcn.100d1320
add esp, 4
mov eax, dword [edi]
pop edi
pop esi
mov ecx, dword [eax]
mov eax, dword [0x1017f838]
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100c13d0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
push 0x100d87a6
push 0x64
mov esi, edx
call fcn.100d1952
mov edi, eax
add esp, 8
test edi, edi
je 0x100c1556
push 0x63
lea ecx, [edi + 1]
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov byte [edi], 1
lea eax, [edi + 4]
push 2
push eax
call dword [sym.imp.MSVCP140.dll__Mtx_init_in_situ]
lea eax, [edi + 0x34]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
add esp, 0xc
mov dword [0x10179560], edi
xorps xmm0, xmm0
movq qword [edi + 0x5c], xmm0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x10146918
mov dword [0x10179564], eax
call dword [sym.imp.MSVCP140.dll__Mtx_lock]
add esp, 4
test eax, eax
je 0x100c1451
push eax
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
test esi, esi
je 0x100c1466
movups xmm0, xmmword [esi]
movups xmmword [0x10179448], xmm0
movq xmm0, qword [esi + 0x10]
jmp 0x100c1470
xorps xmm0, xmm0
movups xmmword [0x10179448], xmm0
movq qword [0x10179458], xmm0
xorps xmm0, xmm0
push 0x10146918
movups xmmword [0x10179668], xmm0
movq qword [0x10179678], xmm0
call dword [sym.imp.MSVCP140.dll__Mtx_unlock]
add esp, 4
cmp dword [0x1017d788], 0
jne 0x100c1560
mov eax, str.889495873183154226
mov dword [0x101669b0], 0x100f9f04
mov esi, 1
mov edx, 0x101669c0
sub esi, eax
lea ecx, [eax + esi]
cmp ecx, 0x40
jae 0x100c14d3
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
cmp byte [eax], 0
jne 0x100c14c0
mov esi, dword [0x10179560]
mov al, 1
mov byte [edx], 0
mov dword [0x1017d788], 0x101669b0
mov dword [0x101669b8], 0x100c1ab0
mov dword [0x101669bc], 0x100c1ac0
xchg byte [esi], al
push 4
call fcn.100d1440
add esp, 4
lea ecx, [ebp - 4]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x100c2160
push 0
push 0
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, eax
add esp, 0x18
mov dword [ebp - 8], ecx
test ecx, ecx
je 0x100c1547
cmp dword [esi + 0x60], 0
je 0x100c1538
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, dword [ebp - 4]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 4], 0
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
mov dword [0x10179560], 0
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100c2960
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x1017d788]
push esi
push dword [ebp + 8]
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x100c2a49
mov eax, dword [edi]
test eax, eax
jne 0x100c29bf
push 0x4f
push str.C:UsersRichcieDesktopFedoraware_mainSE_OwnedTeamFortress2TeamFortress2SDKDiscord_srcconnection_win.cpp
push str.self
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x100c2a02
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x100c2a02
test ebx, ebx
jne 0x100c29e2
push 0x56
push str.C:UsersRichcieDesktopFedoraware_mainSE_OwnedTeamFortress2TeamFortress2SDKDiscord_srcconnection_win.cpp
push 0x100ee688
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
add esp, 0xc
jmp 0x100c2a02
push 0
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x100c2a02
cmp dword [ebp + 0xc], esi
je 0x100c2a49
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x100c2a22
mov eax, dword [edi + 4]
cmp eax, 3
je 0x100c2a16
cmp eax, 1
jne 0x100c2a22
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100c70b0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x5c
push esi
push 0x40
lea eax, [esp + 0x24]
mov esi, ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, 0x20
mov dword [esp + 0x14], 0x67452301
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x2c]
shr eax, 3
mov edx, 0x3f
and eax, 0x3f
mov dword [esp + 0x18], 0xefcdab89
add ecx, eax
mov dword [esp + 0x1c], 0x98badcfe
mov dword [esp + 0x20], 0x10325476
sub edx, eax
mov dword [esp + 0x28], 0
add esp, 0xc
mov dword [esp + 0x20], esi
mov byte [ecx], 0x80
inc ecx
cmp edx, 8
jae 0x100c7147
push edx
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x14]
call fcn.100c6a30
push 0x38
lea eax, [esp + 0x30]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x18
jmp 0x100c7156
lea eax, [edx - 8]
push eax
push 0
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
mov dword [esp + 0x58], eax
lea ecx, [esp + 8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x5c], eax
call fcn.100c6a30
mov eax, dword [esp + 0xe]
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x100cbb40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d6c71
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100fbfac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1017f878]
cmp eax, dword [ecx + 4]
jle 0x100cbc31
push 0x1017f878
call fcn.100d136a
add esp, 4
cmp dword [0x1017f878], 0xffffffff
jne 0x100cbc31
mov dword [ebp - 4], 0
xor eax, eax
movaps xmm0, xmmword [0x100f0ae0]
movups xmmword [ebp - 0x1d], xmm0
mov byte [ebp - 0xd], 1
nop dword [eax]
lea ecx, [eax - 0x40]
xor byte [ebp + eax - 0x1d], cl
inc eax
cmp eax, 0xf
jb 0x100cbbb0
mov byte [ebp - 0xd], 0
xor ecx, ecx
mov dword [ebp - 0x38], 0x4bb04b1
mov dword [ebp - 0x34], 0x4ae04bd
mov dword [ebp - 0x30], 0x4a504a7
mov dword [ebp - 0x2c], 0x4e004af
mov dword [ebp - 0x28], 0x4bc04ab
mov dword [ebp - 0x24], 0x4bd
mov byte [ebp - 0x20], 1
lea eax, [ecx + 0x4c7]
xor word [ebp + ecx*2 - 0x38], ax
inc ecx
cmp ecx, 0xb
jb 0x100cbbf1
lea ecx, [ebp - 0x38]
mov byte [ebp - 0x20], 0
call fcn.10009b60
lea edx, [ebp - 0x1d]
mov ecx, eax
call fcn.100098c0
push 0x1017f878
mov dword [0x1017f874], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100d1320
add esp, 4
call dword [0x1017f874]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x100cc930
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x14
push esi
call fcn.10009b60
mov esi, eax
test esi, esi
je 0x100cc986
movaps xmm0, xmmword [0x100f0b30]
xor ecx, ecx
movups xmmword [ebp - 0x11], xmm0
mov byte [ebp - 1], 1
lea eax, [ecx - 0x40]
xor byte [ebp + ecx - 0x11], al
inc ecx
cmp ecx, 0xf
jb 0x100cc956
lea edx, [ebp - 0x11]
mov byte [ebp - 1], 0
mov ecx, esi
call fcn.100098c0
test eax, eax
je 0x100cc986
push 0
push dword [ebp + 0xc]
call eax
add esp, 8
pop esi
mov esp, ebp
pop ebp
ret 8
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x100ce710
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d6d01
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100fbfac]
push esi
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1017f88c]
cmp eax, dword [ecx + 4]
jle 0x100ce85d
push 0x1017f88c
call fcn.100d136a
add esp, 4
cmp dword [0x1017f88c], 0xffffffff
jne 0x100ce85d
mov dword [ebp - 4], 0
xor ecx, ecx
mov dword [ebp - 0x66], 0x4fc04fd
mov dword [ebp - 0x62], 0x4f304ea
mov dword [ebp - 0x5e], 0x4ed048e
mov dword [ebp - 0x5a], 0x48c048b
mov dword [ebp - 0x56], 0x4e904f0
mov dword [ebp - 0x52], 0x4f304e1
mov dword [ebp - 0x4e], 0x4960491
mov dword [ebp - 0x4a], 0x4e404f6
mov dword [ebp - 0x46], 0x4f904e0
mov dword [ebp - 0x42], 0x4e804ef
mov dword [ebp - 0x3e], 0x4e504fc
mov dword [ebp - 0x3a], 0x4ff049c
mov dword [ebp - 0x36], 0x4a504d5
mov dword [ebp - 0x32], 0x4d304c2
mov dword [ebp - 0x2e], 0x4a7
mov byte [ebp - 0x2a], 1
nop dword [eax]
lea eax, [ecx + 0x4c8]
xor word [ebp + ecx*2 - 0x66], ax
inc ecx
cmp ecx, 0x1d
jb 0x100ce7e0
xor eax, eax
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x28], 0x4af04a5
mov dword [ebp - 0x24], 0x4aa04a5
mov dword [ebp - 0x20], 0x4a004aa
mov dword [ebp - 0x1c], 0x4a304e8
mov dword [ebp - 0x18], 0x4a504a4
mov word [ebp - 0x14], ax
mov byte [ebp - 0x12], 1
lea ecx, [eax + 0x4c0]
xor word [ebp + eax*2 - 0x28], cx
inc eax
cmp eax, 0xa
jb 0x100ce822
lea eax, [ebp - 0x66]
mov byte [ebp - 0x12], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.100d08f0
push 0x1017f88c
mov dword [0x1017f894], eax
mov dword [ebp - 4], 0xffffffff
call fcn.100d1320
add esp, 4
mov ecx, dword [ebp + 8]
push 0
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [0x1017f894]
mov ecx, dword [ebp - 0xc]
test eax, eax
mov dword fs:[0], ecx
setne al
pop esi
mov esp, ebp
pop ebp
ret 0x14
Function at 0x100ce890
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x100d6d21
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100fbfac]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1017f888]
cmp eax, dword [ecx + 4]
jle 0x100ce9f0
push 0x1017f888
call fcn.100d136a
add esp, 4
cmp dword [0x1017f888], 0xffffffff
jne 0x100ce9f0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x6c], 0x48f048e
xor ecx, ecx
mov dword [ebp - 0x68], 0x4fa04ea
mov dword [ebp - 0x64], 0x4ed04f9
mov dword [ebp - 0x60], 0x4ef04f1
mov dword [ebp - 0x5c], 0x4f104ef
mov dword [ebp - 0x58], 0x4f304ed
mov dword [ebp - 0x54], 0x4f504eb
mov dword [ebp - 0x50], 0x4e404ee
mov dword [ebp - 0x4c], 0x49a04f8
mov dword [ebp - 0x48], 0x4fb04ee
mov dword [ebp - 0x44], 0x4e504ec
mov dword [ebp - 0x40], 0x4e704fe
mov dword [ebp - 0x3c], 0x4c104d9
mov dword [ebp - 0x38], 0x4d504d2
mov dword [ebp - 0x34], 0x4dd04c4
mov dword [ebp - 0x30], 0x4c704a4
mov dword [ebp - 0x2c], 0x4df04ab
mov word [ebp - 0x28], ax
mov byte [ebp - 0x26], 1
nop
lea eax, [ecx + 0x4c8]
xor word [ebp + ecx*2 - 0x6c], ax
inc ecx
cmp ecx, 0x22
jb 0x100ce970
xor eax, eax
mov byte [ebp - 0x26], 0
mov dword [ebp - 0x24], 0x4af04a5
mov dword [ebp - 0x20], 0x4aa04a5
mov dword [ebp - 0x1c], 0x4a004aa
mov dword [ebp - 0x18], 0x4a304e8
mov dword [ebp - 0x14], 0x4a504a4
mov word [ebp - 0x10], ax
mov byte [ebp - 0xe], 1
lea ecx, [eax + 0x4c0]
xor word [ebp + eax*2 - 0x24], cx
inc eax
cmp eax, 0xa
jb 0x100ce9b2
lea eax, [ebp - 0x6c]
mov byte [ebp - 0xe], 0
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.100d08f0
sub eax, 0x42
mov dword [ebp - 4], 0xffffffff
push 0x1017f888
mov dword [0x1017f898], eax
call fcn.100d1320
add esp, 4
push dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
call dword [0x1017f898]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x100cf5a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [ebp + 8]
xor ecx, ecx
push esi
push edi
mov edx, 0x811c9dc5
mov esi, dword [eax + 4]
mov edi, dword [eax]
test esi, esi
je 0x100cf5d1
nop dword [eax + eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100cf5c0
pop edi
mov eax, edx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x100cfef0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x100cffe3
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x100cffdc
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x20], 0x10
jb 0x100cffc2
call ebx
cmp dword [ebp - 0x14], eax
jne 0x100cffc2
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x100cffc2
mov edx, dword [esi]
test edx, edx
jne 0x100cff88
push 0x200
push edx
push dword [0x100fc518]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x100cffdc
jmp 0x100cffb3
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x100cffb3
shl eax, 3
push eax
push edx
push 0
push dword [0x100fc518]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x100cffdc
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
lea eax, [ecx + 1]
mov dword [esi + 8], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100cff47
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x100d0029
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x100d0029
nop
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100d0023
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 4]
mov ecx, ebx
call fcn.100cfda0
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x100cfff0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100d0030
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1017f8b0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ecx, [ebp - 4]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x100d007d
pop edi
pop esi
mov eax, 0xa
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x100d009e
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x100d00bf
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x100d00bf
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x100d00b9
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x100d00bf
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop edi
mov byte [esi + 0x14], cl
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100d0110
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [0x1017f8b8]
push ebx
push esi
push edi
xor edi, edi
xor esi, esi
mov dword [ebp - 4], edi
mov ebx, ecx
test edx, edx
je 0x100d0201
mov eax, dword [0x1017f8b0]
add eax, 0x14
movzx ecx, byte [eax]
shr ecx, 1
and ecx, 1
cmp ecx, ebx
jne 0x100d0155
inc esi
add eax, 0x2c
cmp esi, edx
jb 0x100d0138
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100d0201
xor eax, eax
lea ecx, [ebp - 0x10]
test ebx, ebx
setne al
or edx, 0xffffffff
push eax
call fcn.100cfef0
mov ecx, dword [0x1017f8b8]
add esp, 4
cmp esi, ecx
jae 0x100d01b5
imul edi, esi, 0x2c
mov eax, dword [0x1017f8b0]
movzx eax, byte [edi + eax + 0x14]
shr eax, 1
and eax, 1
cmp eax, ebx
je 0x100d01aa
mov edx, ebx
mov ecx, esi
call fcn.100d0030
mov dword [ebp - 4], eax
test eax, eax
jne 0x100d01b2
mov ecx, dword [0x1017f8b8]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x100d0181
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x100d0201
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x100d01f2
mov edi, eax
push dword [edi + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x100d01e6
push ebx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x100d01c5
mov edi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x100fc518]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret