joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10003ec0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x10003f10
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000c824
mov esp, ebp
pop ebp
ret

Function at 0x10003f30
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 1
push esi
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov bl, byte [esi]
test eax, eax
je 0x10003f81
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1000c824
mov esp, ebp
pop ebp
ret

Function at 0x10005750
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
push esi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x1c], edx
mov dword [ecx], eax
mov ecx, edx
call fcn.10002a40
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualProtect]
add esp, 4
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], esi
push eax
push 0x40
push 1
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov byte [esi], 0xe9
test eax, eax
je 0x100057b8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
inc esi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], esi
lea eax, [esi + 4]
sub edi, eax
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
call ebx
test eax, eax
setne byte [ebp - 0xc]
mov dword [esi], edi
test eax, eax
je 0x100057f8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.1000c824
mov esp, ebp
pop ebp
ret
Function at 0x100065c0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1002ca80]
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 - 8]
push ecx
push 0x40
lea eax, [eax*2 + 5]
push eax
push edi
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10006621
pop edi
pop esi
mov eax, 0xa
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x10006642
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 0x10006663
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10006663
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x1000665d
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10006663
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [ebp - 8]
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, bl
xor eax, eax
add cl, cl
shl bl, 2
xor cl, byte [esi + 0x14]
and cl, 2
xor cl, byte [esi + 0x14]
xor bl, cl
and bl, 4
xor bl, cl
mov ecx, dword [ebp - 4]
pop edi
mov byte [esi + 0x14], bl
xor ecx, ebp
pop esi
pop ebx
call fcn.1000c824
mov esp, ebp
pop ebp
ret

Function at 0x100066c0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1002ca88]
sub esp, 0x10
push esi
xor esi, esi
test ecx, ecx
je 0x100066ed
mov eax, dword [0x1002ca80]
add eax, 0x14
nop dword [eax + eax]
test byte [eax], 2
jne 0x100066f4
inc esi
add eax, 0x2c
cmp esi, ecx
jb 0x100066e0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
cmp esi, 0xffffffff
je 0x100066ed
push ebx
push 0
lea ecx, [ebp - 0x10]
call fcn.10006290
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x1000679f
mov ecx, dword [0x1002ca88]
push edi
cmp esi, ecx
jae 0x1000674e
imul edi, esi, 0x2c
mov eax, dword [0x1002ca80]
test byte [edi + eax + 0x14], 2
je 0x10006743
xor edx, edx
mov ecx, esi
call fcn.100065c0
mov ebx, eax
test ebx, ebx
jne 0x1000674b
mov ecx, dword [0x1002ca88]
inc esi
add edi, 0x2c
cmp esi, ecx
jb 0x10006722
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1000679c
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x1000678d
mov ebx, eax
nop
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10006781
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10006760
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1002c904]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, ebx
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x10006c70
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor ebx, ebx
call fcn.100067b0
cmp dword [0x1002c904], ebx
je 0x10006d7e
mov edi, dword [0x1002ca88]
xor esi, esi
test edi, edi
je 0x10006d83
mov edx, dword [0x1002ca80]
add edx, 0x14
mov cl, byte [edx]
shr cl, 1
xor cl, byte [edx]
test cl, 2
jne 0x10006cbd
inc esi
add edx, 0x2c
cmp esi, edi
jb 0x10006ca5
jmp 0x10006d83
cmp esi, 0xffffffff
je 0x10006d83
push 2
lea ecx, [ebp - 0x10]
call fcn.10006290
mov ebx, eax
mov dword [ebp - 4], eax
add esp, 4
test ebx, ebx
jne 0x10006d83
mov edx, dword [0x1002ca88]
cmp esi, edx
jae 0x10006d2a
imul edi, esi, 0x2c
nop dword [eax]
mov eax, dword [0x1002ca80]
mov cl, byte [edi + eax + 0x14]
mov al, cl
shr al, 1
xor al, cl
test al, 2
je 0x10006d1f
movzx edx, cl
mov ecx, esi
shr edx, 2
and edx, 1
call fcn.100065c0
mov ebx, eax
test ebx, ebx
jne 0x10006d27
mov edx, dword [0x1002ca88]
inc esi
add edi, 0x2c
cmp esi, edx
jb 0x10006cf0
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x10006d83
xor esi, esi
cmp dword [ebp - 8], esi
jbe 0x10006d6d
mov ebx, eax
nop word [eax + eax]
push dword [ebx + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10006d61
push edi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebp - 8]
jb 0x10006d40
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
push eax
push 0
push dword [0x1002c904]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10006d83
mov ebx, 2
xor eax, eax
mov ecx, 0x1002c900
xchg dword [ecx], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000ada0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x1000af3b
lea eax, [ecx - 1]
mov esi, dword [0x1002ca34]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1002ca3c
lea eax, [edi + edi]
push eax
call fcn.1000a0c0
lea eax, [edi - 1]
mov dword [0x1002ca4c], edi
mov dword [0x1002ca48], eax
mov eax, dword [0x1002ca34]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1000af05
nop dword [eax + eax]
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
mov edx, dword [0x1002ca3c]
imul edi, edi, 0x1000193
and edi, dword [0x1002ca48]
lea edx, [edx + edi*8]
mov dword [ebp - 0x10], edx
cmp dword [edx], esi
jne 0x1000ae76
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1000aefb
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000aeb9
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1000aeb1
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1000aefb
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
je 0x1000aecf
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1000af10
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
jne 0x1000aec0
mov esi, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [ebp - 0xc], edi
mov esi, dword [ebp - 0xc]
mov dword [edi], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], esi
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov esi, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1000ae20
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1000aef8
push str.invalid_hash_bucket_count
call fcn.1000da68
int3
Function at 0x1000beb0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x1000c04b
lea eax, [ecx - 1]
mov esi, dword [0x1002c984]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1002c98c
lea eax, [edi + edi]
push eax
call fcn.1000a0c0
lea eax, [edi - 1]
mov dword [0x1002c99c], edi
mov dword [0x1002c998], eax
mov eax, dword [0x1002c984]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1000c015
nop dword [eax + eax]
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
mov edx, dword [0x1002c98c]
imul edi, edi, 0x1000193
and edi, dword [0x1002c998]
lea edx, [edx + edi*8]
mov dword [ebp - 0x10], edx
cmp dword [edx], esi
jne 0x1000bf86
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1000c00b
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000bfc9
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1000bfc1
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1000c00b
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
je 0x1000bfdf
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1000c020
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
jne 0x1000bfd0
mov esi, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [ebp - 0xc], edi
mov esi, dword [ebp - 0xc]
mov dword [edi], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], esi
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov esi, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1000bf30
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1000c008
push str.invalid_hash_bucket_count
call fcn.1000da68
int3
Function at 0x1000c060
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x10
bsr ecx, eax
push esi
push edi
mov edi, 1
mov eax, edi
shl eax, cl
mov ecx, dword [ebx + 8]
cmp ecx, eax
ja 0x1000c1fb
lea eax, [ecx - 1]
mov esi, dword [0x1002c964]
or eax, edi
mov dword [ebp - 8], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
mov ecx, 0x1002c96c
lea eax, [edi + edi]
push eax
call fcn.1000a0c0
lea eax, [edi - 1]
mov dword [0x1002c97c], edi
mov dword [0x1002c978], eax
mov eax, dword [0x1002c964]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x1000c1c5
nop dword [eax + eax]
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
mov edx, dword [0x1002c96c]
imul edi, edi, 0x1000193
and edi, dword [0x1002c978]
lea edx, [edx + edi*8]
mov dword [ebp - 0x10], edx
cmp dword [edx], esi
jne 0x1000c136
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x1000c1bb
mov edx, dword [edx + 4]
mov edi, dword [eax + 8]
cmp edi, dword [edx + 8]
jne 0x1000c179
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x1000c171
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x1000c1bb
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
je 0x1000c18f
mov edx, dword [edx + 4]
cmp edi, dword [edx + 8]
je 0x1000c1d0
mov esi, dword [ebp - 0x10]
cmp dword [esi], edx
jne 0x1000c180
mov esi, dword [eax + 4]
mov dword [ebp - 4], esi
mov dword [esi], ecx
mov edi, dword [ecx + 4]
mov dword [ebp - 0xc], edi
mov esi, dword [ebp - 0xc]
mov dword [edi], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], esi
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov esi, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x1000c0e0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov edx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebp - 0xc], edx
mov dword [edx], ecx
mov edi, dword [ecx + 4]
mov edx, dword [ebp - 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ecx + 4], edi
mov dword [eax + 4], edx
jmp 0x1000c1b8
push str.invalid_hash_bucket_count
call fcn.1000da68
int3
Function at 0x1000c560
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov ecx, 0x401000
call fcn.1000c790
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.10003b70
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000c5c8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
push ecx
push eax
push dword [ebp - 0x14]
mov dword [ebp - 8], eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp esi, 0x53ec8b55
jne 0x1000c5e4
mov eax, 0x3e9
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
mov ecx, 0x401000
call fcn.1000c7b0
cmp eax, 0x16197be9
jne 0x1000c609
mov eax, 0x3ea
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
mov ecx, 0x8245bc
call fcn.1000c7b0
cmp eax, 0x94bf
jne 0x1000c62e
mov eax, 0x3f3
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
mov ecx, 0x8252fc
call fcn.1000c7b0
cmp eax, 0x94bf
jne 0x1000c653
mov eax, 0x44d
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
mov ecx, 0x82533c
call fcn.1000c7b0
cmp eax, 0x94bf
jne 0x1000c678
mov eax, 0x457
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
mov ecx, 0x858d51
call fcn.1000c7b0
cmp eax, 0x3539f633
jne 0x1000c69d
mov eax, 0xc80
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret
mov ecx, 0x858c61
call fcn.1000c7b0
xor ecx, ecx
mov edx, 0xc8a
cmp eax, 0x3539f633
pop esi
cmove ecx, edx
mov eax, ecx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1000c824
mov esp, ebp
pop ebp
ret

Function at 0x1000c7b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x1002a040]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call fcn.1000c790
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
lea eax, [ebp - 0x1c]
push eax
call fcn.10003b70
mov dword [ebp - 0x14], 4
mov esi, dword [eax]
lea eax, [ebp - 0x10]
push eax
push 0x40
push 4
push esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
setne byte [ebp - 0xc]
mov esi, dword [esi]
test eax, eax
je 0x1000c813
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 8]
push eax
push ecx
push dword [ebp - 0x14]
mov dword [ebp - 8], ecx
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1000c824
mov esp, ebp
pop ebp
ret
Function at 0x100122d7
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x10012316
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10012316
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10012316
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x10012316
cmp dword [ecx + 0x74], 0xe
jbe 0x10012316
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x100139eb
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021bd8
push 0x10021bd0
push str.FlsAlloc
push 0x1f
call fcn.10013907
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013a1f
push dword [ebp + 8]
mov ecx, esi
call dword [0x10020170]
call esi
jmp 0x10013a25
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10013a69
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021be8
push 0x10021be0
push str.FlsGetValue
push 0x21
call fcn.10013907
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013aa0
push dword [ebp + 8]
mov ecx, esi
call dword [0x10020170]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10013aa8
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10021bf0
push 0x10021be8
push str.FlsSetValue
push 0x22
call fcn.10013907
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10013ae2
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x10020170]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x10016a1e
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x10016abb
push ebx
push esi
call fcn.100169e7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001697b
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10016a68
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016aba
push edi
push eax
call fcn.10014203
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x10016a88
call fcn.100137b4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x10016ab9
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001697b
add esp, 0x20
test eax, eax
jne 0x10016aa7
push edi
call fcn.100137b4
jmp 0x10016aaf
push ebx
call fcn.100137b4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret