joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10030930
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100654bd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, 0x7ffffffe
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
mov ecx, dword [edi + 0x10]
sub eax, ecx
cmp eax, 0x34
jb 0x10030ae1
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x10030976
mov eax, dword [edi]
push ecx
push eax
push 0x34
push str._registrymachineSYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x4c]
call fcn.100290a0
mov dword [ebp - 4], 0
call fcn.10023ac0
cmp dword [ebp - 0x38], 7
lea ecx, [ebp - 0x34]
mov esi, eax
lea eax, [ebp - 0x4c]
cmova eax, dword [ebp - 0x4c]
push 0x10096f6c
mov dword [ebp - 0x14], eax
call fcn.10011190
mov byte [ebp - 4], 1
call fcn.10027170
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.10024550
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp eax, dword [esi + 4]
je 0x100309f9
mov esi, dword [eax + 0x20]
call ebx
test esi, esi
je 0x100309fb
push dword [ebp - 0x14]
lea eax, [ebp - 0x1c]
push eax
call esi
jmp 0x100309fb
call ebx
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.10003480
call fcn.10023ac0
push 0x10097040
lea ecx, [ebp - 0x34]
mov esi, eax
call fcn.10011190
mov byte [ebp - 4], 2
call fcn.10027170
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x34]
mov ecx, esi
push eax
lea eax, [ebp + 8]
push eax
call fcn.10024550
mov eax, dword [ebp + 8]
cmp eax, dword [esi + 4]
je 0x10030a62
mov eax, dword [eax + 0x20]
mov dword [ebp + 8], eax
lea eax, [esi + 0x20]
push eax
call ebx
mov eax, dword [ebp + 8]
test eax, eax
je 0x10030a68
lea ecx, [ebp - 0x1c]
push ecx
call eax
mov ebx, eax
jmp 0x10030a6d
lea eax, [esi + 0x20]
push eax
call ebx
mov ebx, 0xc0000138
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call fcn.10003480
mov ecx, dword [edi + 0x10]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x22
jb 0x10030ae6
cmp dword [edi + 0x14], 7
jbe 0x10030a90
mov edi, dword [edi]
push ecx
push edi
push 0x22
push str.SYSTEMCurrentControlSetServices_
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x34]
call fcn.100290a0
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
cmova eax, dword [ebp - 0x34]
push eax
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
lea ecx, [ebp - 0x34]
call fcn.10010e70
lea ecx, [ebp - 0x4c]
call fcn.10010e70
mov ecx, dword [ebp - 0xc]
mov eax, ebx
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.100032e0
call fcn.100032e0
int3
Function at 0x10030d70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1006529d
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
jne 0x10030dae
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi]
mov eax, dword [eax + 8]
cmp dword [eax + 8], 3
jne 0x10030e63
cmp byte [eax + 0xe], 0
jne 0x10030e63
call fcn.10023ac0
push 0x100970c4
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10011190
mov dword [ebp - 4], 0
call fcn.10027170
lea ebx, [esi + 0x20]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x28]
mov ecx, esi
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10024550
mov eax, dword [ebp - 0x10]
push ebx
cmp eax, dword [esi + 4]
je 0x10030e3c
mov esi, dword [eax + 0x20]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10030e42
push dword [edi + 8]
call esi
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.10003480
cmp esi, 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [ebp - 0x28]
xor esi, esi
call fcn.10003480
cmp esi, 0xffffffff
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [ebp - 0xc]
cmp eax, 0xffffffff
pop edi
pop esi
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10030e90
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
mov edi, dword [ebx + 8]
mov esi, ecx
cmp edi, 4
ja 0x10031047
push 0x670
lea eax, [ebp - 0x950]
push 0
push eax
call fcn.10045a70
add esp, 0xc
lea eax, [ebp - 0x2e0]
push 0x2cc
push 0
push eax
call fcn.10045a70
mov ecx, dword [esi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x10030f11
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x10030f29
mov dword [ebp - 0x2e0], 0x10010
lea edx, [ebp - 0x2e0]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [esi + 8]
call eax
cmp byte [ebp - 1], 0
lea ecx, [ebp - 0x8e0]
lea edx, [ebp - 0x2c8]
cmovne ecx, edx
mov dword [ebp - 0xc], ecx
test eax, eax
js 0x10031049
mov edx, dword [ecx]
test edi, edi
jne 0x10030f5b
and edx, 0xfff0fffe
jmp 0x10030fc0
mov eax, edx
cmp edi, 1
jne 0x10030f69
mov edx, 0xfffffffb
jmp 0x10030f7c
cmp edi, 2
mov dword [ebp - 8], 0xffffffbf
mov edx, 0xffffffef
cmovne edx, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x10030f8a
mov eax, 0xff3fffff
jmp 0x10030f9d
cmp edi, 2
mov dword [ebp - 8], 0x3fffffff
mov eax, 0xf3ffffff
cmovne eax, dword [ebp - 8]
and edx, eax
cmp edi, 1
jne 0x10030fab
mov eax, 0xffcfffff
jmp 0x10030fbe
cmp edi, 2
mov dword [ebp - 8], 0xcfffffff
mov eax, 0xfcffffff
cmovne eax, dword [ebp - 8]
and edx, eax
mov eax, edx
mov dword [ecx], eax
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x10030fe2
mov eax, dword [ebp - 0xc]
and edx, 0xfffffeff
mov dword [eax], edx
mov ecx, esi
mov edi, 0xc000071c
call fcn.10030d70
cmp byte [ebp - 1], 0
jne 0x1003100a
test al, al
je 0x1003103a
mov eax, dword [esi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x1003101e
test al, al
je 0x1003103a
mov eax, dword [esi]
lea edx, [ebp - 0x2e0]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [esi + 8]
call eax
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [esi + 4], eax
je 0x1003103a
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
Function at 0x10031060
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x958
push esi
push edi
push 0x670
lea eax, [ebp - 0x950]
mov edi, ecx
push 0
push eax
call fcn.10045a70
add esp, 0xc
lea eax, [ebp - 0x2d8]
push 0x2cc
push 0
push eax
call fcn.10045a70
mov ecx, dword [edi]
add esp, 0xc
mov eax, dword [ecx + 8]
mov al, byte [eax + 0xe]
mov byte [ebp - 1], al
test al, al
jne 0x100310d5
mov dword [ebp - 0x920], 0x100010
lea edx, [ebp - 0x950]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
jmp 0x100310ed
mov dword [ebp - 0x2d8], 0x10010
lea edx, [ebp - 0x2d8]
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
push edx
push dword [edi + 8]
call eax
cmp byte [ebp - 1], 0
lea esi, [ebp - 0x8e0]
lea ecx, [ebp - 0x2c0]
cmovne esi, ecx
test eax, eax
jns 0x10031117
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
mov edx, dword [ebx + 8]
xor eax, eax
nop dword [eax]
lea ecx, [eax*4]
cmp dword [ebp + eax*8 - 0x908], edx
jne 0x1003113f
mov edx, dword [ebx + 0xc]
cmp dword [ebp + eax*8 - 0x904], edx
mov edx, dword [ebx + 8]
je 0x1003115e
cmp dword [ebp + ecx - 0x2d4], edx
je 0x1003115e
inc eax
cmp eax, 4
jl 0x10031120
mov eax, 0xc0000225
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
cmp byte [ebp - 1], 0
jne 0x1003117c
mov dword [ebp + eax*8 - 0x908], 0
mov dword [ebp + eax*8 - 0x904], 0
jmp 0x10031187
mov dword [ebp + ecx - 0x2d4], 0
mov edx, dword [esi]
test eax, eax
jne 0x1003119d
and edx, 0xfff3fffe
mov dword [esi], edx
and edx, 0xfffcffff
jmp 0x100311cd
cmp eax, 1
jne 0x100311b2
and edx, 0xff3ffffb
mov dword [esi], edx
and edx, 0xffcfffff
jmp 0x100311cd
cmp eax, 2
jne 0x100311c7
and edx, 0xf3ffffef
mov dword [esi], edx
and edx, 0xfcffffff
jmp 0x100311cd
and edx, 0xfffffbf
mov eax, esi
mov dword [eax], edx
mov eax, edx
shr eax, 2
mov ecx, eax
or ecx, edx
shr ecx, 4
or ecx, eax
or ecx, edx
test cl, 1
jne 0x100311ee
and edx, 0xfffffeff
mov dword [esi], edx
mov ecx, edi
mov esi, 0xc000071c
call fcn.10030d70
cmp byte [ebp - 1], 0
jne 0x10031216
test al, al
je 0x10031246
mov eax, dword [edi]
lea edx, [ebp - 0x950]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
jmp 0x1003122a
test al, al
je 0x10031246
mov eax, dword [edi]
lea edx, [ebp - 0x2d8]
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
push edx
push dword [edi + 8]
call eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [edi + 4], eax
je 0x10031246
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x10031280
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006554b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x42c
push esi
mov esi, ecx
lea ecx, [ebp - 0x13c]
call fcn.1002aa00
lea ecx, [ebp - 0x22c]
mov dword [ebp - 4], 0
call fcn.1002aa00
push 0x208
lea eax, [ebp - 0x434]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.10045a70
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x434]
push eax
lea ecx, [ebp - 0x30]
call fcn.10011010
mov byte [ebp - 4], 2
cmp byte [esi], 0
je 0x1003135a
mov ecx, dword [ebp - 0x20]
mov eax, 0x7ffffffe
sub eax, ecx
cmp eax, 0x13
jb 0x10031483
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0x13
cmova eax, dword [ebp - 0x30]
push str.System32_ntdll.dll
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.100290a0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x13c]
call fcn.1002ac90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.10010e70
jmp 0x1003142b
mov al, byte [esi + 1]
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x14], al
test al, al
je 0x10031375
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_Wow64DisableWow64FsRedirection]
mov esi, 0x7ffffffe
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
mov eax, esi
sub eax, ecx
cmp eax, 0x13
jb 0x10031488
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0x13
cmova eax, dword [ebp - 0x30]
push 0x10097540
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.100290a0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x22c]
call fcn.1002ac90
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.10010e70
mov ecx, dword [ebp - 0x20]
sub esi, ecx
cmp esi, 0x13
jb 0x1003148d
cmp dword [ebp - 0x1c], 7
lea eax, [ebp - 0x30]
push 0x13
cmova eax, dword [ebp - 0x30]
push str.SysWOW64_ntdll.dll
push ecx
push eax
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.100290a0
push ecx
lea eax, [ebp - 0x48]
mov byte [ebp - 4], 6
push eax
lea ecx, [ebp - 0x13c]
call fcn.1002ac90
lea ecx, [ebp - 0x48]
call fcn.10010e70
mov byte [ebp - 4], 2
cmp byte [ebp - 0x14], 0
je 0x1003142b
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_Wow64RevertWow64FsRedirection]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x13c]
push eax
mov ecx, esi
call fcn.100314a0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 7
push eax
lea ecx, [esi + 0xf0]
call fcn.100314a0
lea ecx, [ebp - 0x30]
call fcn.10010e70
lea ecx, [ebp - 0x22c]
call fcn.1002aba0
lea ecx, [ebp - 0x13c]
call fcn.1002aba0
mov ecx, dword [ebp - 0xc]
mov eax, esi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
call fcn.100032e0
call fcn.100032e0
call fcn.100032e0
int3
Function at 0x1003a110
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100656f5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
mov eax, ecx
push ebx
push esi
push edi
mov edi, dword [eax]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0
push 0x44
mov dword [ebp - 0x1c], 0
call fcn.10044157
add esp, 4
mov dword [ebp - 0x1c], eax
mov esi, dword [ebp + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 4], 1
mov ecx, ebx
mov dword [ebp - 0x10], ebx
push dword [esi]
call fcn.10011010
lea eax, [ebx + 0x18]
mov byte [ebp - 4], 2
push dword [esi + 4]
mov ecx, eax
mov dword [ebp - 0x14], eax
call fcn.10011010
mov eax, dword [ebp + 0x10]
mov edx, ebx
mov eax, dword [eax]
mov dword [edx + 0x30], eax
mov eax, dword [ebp - 0x1c]
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 8], edi
mov word [eax + 0xc], 0
mov ecx, dword [ebp - 0x18]
xor edi, edi
mov dword [ebp - 4], 3
mov ebx, 0xff
mov ecx, dword [ecx]
mov dword [ebp + 0xc], ecx
mov eax, dword [ecx + 4]
mov dword [ebp + 0x10], eax
cmp byte [eax + 0xd], 0
jne 0x1003a215
mov esi, eax
nop
push edx
lea ecx, [esi + 0x10]
mov dword [ebp + 0x10], esi
call fcn.1003a0a0
mov ecx, eax
test ecx, ecx
jne 0x1003a1e7
push dword [ebp - 0x14]
lea ecx, [esi + 0x28]
call fcn.1003a0a0
mov ecx, eax
test ecx, ecx
jne 0x1003a1e7
xor al, al
jmp 0x1003a1f1
mov eax, ebx
mov ecx, 1
cmovns eax, ecx
test al, al
jns 0x1003a1fd
mov esi, dword [esi + 8]
mov ecx, dword [ebp + 0xc]
jmp 0x1003a204
mov ecx, esi
mov esi, dword [esi]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebp - 0x10]
not al
movzx edi, al
shr edi, 7
cmp byte [esi + 0xd], 0
je 0x1003a1c0
cmp byte [ecx + 0xd], 0
jne 0x1003a289
lea esi, [ecx + 0x10]
mov ecx, edx
push esi
call fcn.1003a0a0
test eax, eax
jne 0x1003a23e
mov ecx, dword [ebp - 0x14]
lea eax, [esi + 0x18]
push eax
call fcn.1003a0a0
test eax, eax
jne 0x1003a23e
xor bl, bl
jmp 0x1003a246
mov eax, 1
cmovns ebx, eax
test bl, bl
js 0x1003a289
mov esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [esi], eax
mov byte [esi + 4], 0
call fcn.10010e70
mov ecx, dword [ebp - 0x10]
call fcn.10010e70
mov eax, dword [ebp - 0x1c]
push 0x44
push eax
call fcn.10044149
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp - 0x18]
cmp dword [ecx + 4], 0x3c3c3c3
je 0x1003a2c0
mov eax, dword [ebp - 0x1c]
push eax
push edi
push dword [ebp + 0x10]
call fcn.100028b0
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc
call fcn.100035d0
int3
Function at 0x1003c820
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov edx, dword [ebp + 8]
mov eax, 0x1fffffff
push ebx
mov ebx, ecx
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 4], ebx
mov eax, edi
shl eax, cl
cmp edx, eax
ja 0x1003c97a
mov esi, dword [ebx + 4]
lea eax, [edx - 1]
or eax, edi
mov dword [ebp + 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.10002260
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1003c94d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 8], edx
cmp edi, esi
jne 0x1003c8d3
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1003c943
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x1003c90d
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
cmp edx, eax
je 0x1003c905
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 0xc]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
jmp 0x1003c940
cmp edi, edx
je 0x1003c91d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x1003c956
cmp edi, edx
jne 0x1003c911
mov ebx, dword [eax + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 0xc]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 8]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 4]
mov eax, ecx
cmp ecx, esi
jne 0x1003c882
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 0xc], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp + 8]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x1003c940
push str.invalid_hash_bucket_count
call fcn.10043523
int3
Function at 0x1003ca00
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
lea edx, [ebp + 0x14]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
test esi, esi
jle 0x1003ca28
mov eax, dword [ebp + 0x14]
lea edx, [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
dec esi
mov dword [ebp + 0x10], esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], ecx
jmp 0x1003ca30
xorps xmm0, xmm0
movlpd qword [ebp - 0x10], xmm0
mov ecx, edx
test esi, esi
jle 0x1003ca4a
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
jmp 0x1003ca52
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
mov ecx, edx
test esi, esi
jle 0x1003ca6c
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], ecx
jmp 0x1003ca74
xorps xmm0, xmm0
movlpd qword [ebp - 0x20], xmm0
mov ecx, edx
test esi, esi
jle 0x1003ca8e
dec esi
add edx, 8
mov dword [ebp + 0x10], esi
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ecx
jmp 0x1003ca96
xorps xmm0, xmm0
movlpd qword [ebp - 0x28], xmm0
mov eax, edx
mov dword [ebp - 4], 0
cdq
xorps xmm0, xmm0
mov dword [ebp - 0x40], eax
mov eax, esi
mov dword [ebp - 0x3c], edx
cdq
movlpd qword [ebp - 0x38], xmm0
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 8], 0
mov word [ebp - 8], fs
mov eax, 0x2b
mov fs, ax
mov dword [ebp - 4], esp
and esp, 0xfffffff0
push 0x33
call 0x1003cad7
add dword [esp], 5
retf

Function at 0x1003cb60
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100649b0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5cc
push ebx
push esi
xorps xmm0, xmm0
push edi
movlpd qword [ebp - 0x18], xmm0
push 0x33
call 0x1003cb90
add dword [esp], 5
retf

Function at 0x1003cea0
Capabilities:
64-bit execution via heavens gate

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10065900
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
mov edx, dword [0x100a895c]
push ebx
push esi
mov esi, dword [0x100a8958]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], edx
push edi
test esi, esi
jne 0x1003cf00
test edx, edx
jne 0x1003cef4
call fcn.1003cb60
mov esi, eax
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [0x100a8958], esi
mov dword [0x100a895c], edx
test esi, esi
jne 0x1003cf00
test edx, edx
je 0x1003d333
lea eax, [ebp - 0xa0]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], edx
push 0x33
call 0x1003cf16
add dword [esp], 5
retf
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
xor edx, edx
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1003e2ef
Capabilities:
Enumerate threads

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100a6080]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push 4
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov ebx, eax
mov dword [ebp - 0x24], ebx
cmp ebx, 0xffffffff
je 0x1003e3fa
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x1003e3f3
inc edi
cmp dword [ebp - 0x20], 0x10
jb 0x1003e3b7
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x14], eax
jne 0x1003e3b7
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [ebp - 0x18], eax
je 0x1003e3b7
mov edx, dword [esi]
test edx, edx
jne 0x1003e380
push 0x200
push edx
push dword [0x100a87b8]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x1003e3dc
lea ebx, [esi + 8]
jmp 0x1003e3aa
mov eax, dword [esi + 4]
lea ebx, [esi + 8]
cmp dword [ebx], eax
jb 0x1003e3aa
add eax, eax
mov dword [esi + 4], eax
shl eax, 2
push eax
push edx
push 0
push dword [0x100a87b8]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x1003e40b
mov dword [esi], edx
mov ecx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov dword [edx + ecx*4], eax
inc dword [ebx]
mov ebx, dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0x1c
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x1003e338
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1003e3f3
xor edi, edi
cmp dword [esi], edi
je 0x1003e3f3
push dword [esi]
push edi
push dword [0x100a87b8]
call dword [sym.imp.KERNEL32.dll_HeapFree]
and dword [esi], edi
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10044977
leave
ret
mov ebx, dword [ebp - 0x24]
jmp 0x1003e3dc

Function at 0x1003e410
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov edi, ecx
mov dword [ebp - 8], edx
xor esi, esi
mov dword [edi], esi
mov dword [edi + 4], esi
mov dword [edi + 8], esi
call fcn.1003e2ef
test eax, eax
jne 0x1003e434
push 9
pop esi
jmp 0x1003e47b
cmp dword [edi], esi
je 0x1003e47b
push ebx
mov ebx, esi
cmp dword [edi + 8], esi
jbe 0x1003e47a
mov eax, dword [edi]
push dword [eax + ebx*4]
push esi
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov dword [ebp - 4], eax
test eax, eax
je 0x1003e474
push eax
call dword [sym.imp.KERNEL32.dll_SuspendThread]
push dword [ebp + 8]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
call fcn.1003e19c
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [edi + 8]
jb 0x1003e440
pop ebx
pop edi
mov eax, esi
pop esi
leave
ret