joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401ee2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411280]
jne 0x401eec
repz ret
jmp fcn.00404399

Function at 0x40a873
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40a882
pop dword [ebp - 0x48]
mov eax, 0x1c392378
add eax, 0xe407850a
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x3742f
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x8fd0e5a5
add ecx, 0x702f5a8c
mov edx, eax
mov edi, 0x508aa62a
sub edi, 0x50496a66
add edi, dword [ebp - 0x48]
mov esi, 0x7b78d8f8
sub esi, 0x89bc7b3d
xor dword [ebp - 8], 0x92a2644a
mov ebx, dword [edi]
add dword [ebp - 0x14], edx
sub ebx, esi
mov dword [edx], ebx
sub dword [ebp - 0x20], edi
add edx, 4
add edi, 0x2f0163f4
add edi, 0xd0fe9c10
loop 0x40a8dc
add eax, 0x8e66ec1a
add eax, 0x719a077d
xor ebx, ebx
add ebx, eax
add eax, 0x76571f15
sub eax, 0x76571f10
mov ecx, 0xf1e0d14f
add ecx, 0xe5f2eb1
add ecx, dword [ebp - 0x48]
call ebx
leave
ret

Function at 0x45ede0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x3d000]
push edi
jmp 0x45edfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x45ee01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45edf0
mov eax, 1
add ebx, ebx
jne 0x45ee13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45ee08
jne 0x45ee24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45ee08
xor ecx, ecx
sub eax, 3
jb 0x45ee38
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x45eeaa
mov ebp, eax
add ebx, ebx
jne 0x45ee43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x45ee50
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x45ee74
inc ecx
add ebx, ebx
jne 0x45ee60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x45ee55
jne 0x45ee71
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x45ee55
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45ee94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45ee85
jmp 0x45edf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45ee94
add edi, ecx
jmp 0x45edf6
pop esi
lea edi, [esi + 0x5c000]
mov eax, dword [edi]
or eax, eax
je 0x45eef3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x64bac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x64c18]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45eeb1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x64c20]
or eax, eax
je 0x45eeed
mov dword [ebx], eax
add ebx, 4
jmp 0x45eece
call dword [esi + 0x64c1c]
mov ebp, dword [esi + 0x64c24]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x45ef27
sub esp, 0xffffff80
jmp 0x401a50
Function at 0x405f20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x405f31
jmp dword [eax*4 + 0x408b04]
cmp dword [0x40c088], 0
je 0x406040
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40c0a4]
test edi, edi
je 0x406035
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x405f7b
mov edi, dword [edi + 8]
test edi, edi
je 0x406035
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x405f70
test esi, esi
je 0x405f70
mov ecx, dword [edi + 4]
call dword [0x408bd4]
push esi
call ecx
add esp, 4
jmp 0x405f70
call fcn.004058c0
jmp case.default.0x405f31
cmp dword [0x40c088], 0
je case.default.0x405f31
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x40c0a4]
test edi, edi
je 0x406028
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x405fe7
mov edi, dword [edi + 8]
test edi, edi
je 0x406028
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x405fe0
test esi, esi
je 0x405fe0
mov ecx, dword [edi + 4]
call dword [0x408bd4]
push esi
call ecx
add esp, 4
jmp 0x405fe0
cmp dword [0x40c088], 0
jne 0x40601c
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x40c088], 1
jmp case.default.0x405f31
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp case.default.0x405f31
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x40c088]
cmp eax, 1
jne case.default.0x405f31
mov eax, dword [0x40c0a4]
test eax, eax
je 0x406072
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.msvcrt.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x406060
mov dword [0x40c0a4], 0
mov dword [0x40c088], 0
push 0x40c08c
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4061b0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x407004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x406216
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x406216
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x406216
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x406216
mov edx, dword [esp + 0xc]
sub edx, dword [0x407004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x406206
add esi, 0x28
dec ecx
je 0x406216
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x406200
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x406200
mov eax, esi
pop esi
pop edi
ret
Function at 0x4015a0
Capabilities:
Terminate process

Disassembly:
call fcn.00401940
jmp fcn.004012d0

Function at 0x4015b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x403008]
jne 0x4015ba
repz ret
jmp fcn.004019f0

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401300
Capabilities:
Get process heap force flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov dword [esp], 1
call sym.__configure_narrow_argv
call sym.__initialize_narrow_environment
call sym.___p___argc
mov esi, dword [eax]
call sym.___p___argv
mov edi, dword [eax]
call sym.__get_initial_narrow_environment
mov ebx, eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 8]
mov edx, dword [eax + 0x3c]
cmp word [eax + edx + 0x5c], 2
sete al
movzx eax, al
inc eax
mov dword [esp], eax
call sym.__set_app_type
mov dword [esp + 8], ebx
mov dword [esp + 4], edi
mov dword [esp], esi
call sym._main
mov dword [esp], eax
call sym._exit
nop
nop

Function at 0x401400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0x10
mov esi, dword [ebp + 8]
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_strlen]
mov ebx, eax
xor eax, eax
test ebx, ebx
je 0x40145b
cmp byte [esi + ebx - 1], 0xa
je 0x40142f
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
xchg dword [0x405084], eax
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], esi
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 8]
pop ebx
pop esi
pop ebp
ret
Function at 0x4019b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff0
sub esp, 0xf0
mov edi, dword [0x405094]
mov esi, dword [ebp + 8]
test edi, edi
je 0x401b70
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x405094]
movzx eax, al
bt eax, esi
jae 0x401bd0
mov ecx, dword [0x405084]
xor eax, eax
mov edx, dword fs:[0x18]
cmp dword [edx + 0x24], ecx
je 0x401a76
test byte [0x402018], 8
jne 0x401b10
lea ebx, [esp + 0x28]
mov edi, ebx
test byte [0x402028], 8
jne 0x401ac0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], str._04x:
mov dword [esp], edi
mov dword [esp + 8], eax
call sym._sprintf
mov edx, dword [ebp + 0x10]
test edx, edx
je 0x401a45
cmp esi, 3
jbe 0x401a80
mov dword [esp], 2
call dword [sym.imp.ucrtbase.dll___acrt_iob_func]
mov dword [esp], ebx
mov esi, eax
call dword [sym.imp.ucrtbase.dll_strlen]
mov dword [esp + 0xc], esi
mov dword [esp + 8], eax
mov dword [esp + 4], 1
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_fwrite]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
add eax, edi
mov edi, dword [ebp + 0x10]
mov dword [esp + 8], str._s:_s:_s
mov dword [esp], eax
mov dword [esp + 0x14], edi
mov edi, dword [ebp + 0xc]
lea edx, [edi + 1]
mov dword [esp + 0x10], edx
mov edx, dword [esi*4 + 0x403114]
mov dword [esp + 0xc], edx
mov edx, ebx
sub edx, eax
add edx, 0xc8
mov dword [esp + 4], edx
call sym._snprintf.constprop.0
jmp 0x401a45
mov ecx, dword [0x405094]
test ecx, ecx
je 0x401bb0
mov dword [esp], 0x402028
call dword [0x405094]
test al, 8
je 0x401a1c
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x20]
mov dword [esp], edi
mov dword [esp + 4], str._04x:
mov dword [esp + 8], eax
call sym._sprintf
add edi, eax
jmp 0x401a1c
mov ebx, dword [0x405094]
test ebx, ebx
je 0x401b90
mov dword [esp], 0x402018
call dword [0x405094]
test al, 8
je 0x401a09
call dword [sym.imp.kernel32.dll_GetTickCount]
mov edx, 0x10624dd3
mov dword [esp + 4], str._3u._03u:
mov ecx, eax
mul edx
shr edx, 6
imul ebx, edx, 0x3e8
mov dword [esp + 8], edx
sub ecx, ebx
lea ebx, [esp + 0x28]
mov dword [esp + 0xc], ecx
mov dword [esp], ebx
call sym._sprintf
lea edi, [ebx + eax]
jmp 0x401a0f
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x4019d0
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401b1a
mov ecx, sym._fallback__wine_dbg_get_channel_flags
mov edx, str.__wine_dbg_get_channel_flags
mov eax, 0x405094
call sym._load_func.part.0
jmp 0x401ace
mov eax, 0xffffffff
jmp 0x401a76
Function at 0xde3058
Capabilities:
Decompress data using aplib

Disassembly:
call 0xde31a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xde307e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde306a
add dl, dl
jne 0xde3089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde30dc
xor eax, eax
add dl, dl
jne 0xde3096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xde317d
add dl, dl
jne 0xde30a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde30b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde30bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde30c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xde30d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xde3075
mov eax, 1
add dl, dl
jne 0xde30ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xde30f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde30e1
sub eax, ebx
mov ebx, 1
jne 0xde3128
mov ecx, 1
add dl, dl
jne 0xde310e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde3119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde3105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde3075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xde313f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xde314a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xde3136
cmp eax, 0x7d00
jae 0xde316d
cmp eax, 0x500
jb 0xde3168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde3075
cmp eax, 0x7f
ja 0xde3170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xde3075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xde319e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xde3075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100178b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
cmp dword [esi + 0x14], 0x10
jb 0x100178c2
mov esi, dword [esi]
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100178c7
push edi
sub eax, edx
mov edi, 0x811c9dc5
mov edx, 0
je 0x100178f1
lfence
movzx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x100178e0
push 0x1f31d
and edi, 0x7fffffff
push edi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_ldiv]
imul ecx, edx, 0x41a7
add esp, 8
imul eax, eax, 0xb14
pop edi
sub ecx, eax
jns 0x1001791d
add ecx, 0x7fffffff
mov eax, dword [ebx + 0x18]
pop esi
and eax, ecx
pop ebx
pop ebp
ret 4

Function at 0x1001f330
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ea4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100f2050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x14
lfence
call fcn.1008b17c
mov esi, eax
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [edi + 4], esi
mov dword [ebp - 0x14], 0x3fffffff
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x14], 0x7fffffff
push 0x40
lfence
call fcn.1008b17c
mov dword [edi + 0xc], eax
add esp, 8
lea ecx, [eax + 0x40]
mov dword [edi + 0x14], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
mov eax, edi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x40800000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x1001f420
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ea7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x100f2050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
push 0x20
lfence
call fcn.1008b17c
mov esi, eax
mov dword [esi], esi
mov dword [esi + 4], esi
mov dword [edi + 4], esi
mov dword [ebp - 0x14], 0x3fffffff
mov dword [ebp - 4], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 0x14], 0x7fffffff
push 0x40
lfence
call fcn.1008b17c
mov dword [edi + 0xc], eax
add esp, 8
lea ecx, [eax + 0x40]
mov dword [edi + 0x14], ecx
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov dword [eax + 0xc], esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], esi
mov dword [eax + 0x18], esi
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], esi
mov dword [eax + 0x24], esi
mov dword [eax + 0x28], esi
mov dword [eax + 0x2c], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x34], esi
mov dword [eax + 0x38], esi
mov dword [eax + 0x3c], esi
mov eax, edi
mov dword [edi + 0x10], ecx
mov dword [edi + 0x18], 7
mov dword [edi + 0x1c], 8
mov dword [edi], 0x40800000
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x1001f510
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ead7
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x100f2050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov byte [edi + 0x18], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0xf
mov byte [edi + 0x1c], 0
lea esi, [edi + 0x3c]
mov byte [ebp - 4], 1
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x14
lfence
call fcn.1008b17c
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
lea esi, [edi + 0x44]
mov byte [ebp - 4], 2
mov dword [ebp + 8], esi
mov dword [esi], 0
mov dword [esi + 4], 0
push 0x14
lfence
call fcn.1008b17c
add esp, 8
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov dword [edi + 0x4c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0xf
mov byte [edi + 0x50], 0
lea ecx, [edi + 0x68]
mov byte [ebp - 4], 4
push 0
push 0x1009b447
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.10006ea0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10021000
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1008ed10
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x100f2050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
lea eax, [ebx + 0x7c]
test eax, eax
je 0x10021053
mov edi, dword [eax + 4]
mov esi, dword [eax]
cmp esi, edi
je 0x10021050
mov ecx, dword [esi]
add esi, 4
test ecx, ecx
je 0x10021046
mov eax, dword [ecx]
push 1
call dword [eax]
cmp esi, edi
jne 0x10021037
mov esi, dword [ebx + 0x7c]
lea eax, [ebx + 0x7c]
mov dword [eax + 4], esi
mov eax, dword [ebx + 0x98]
lea edi, [ebx + 0x94]
sub eax, dword [edi]
xor esi, esi
sar eax, 2
test eax, eax
je 0x1002108a
nop word [eax + eax]
mov eax, dword [edi]
push dword [eax + esi*4]
call fcn.1008b807
mov eax, dword [edi + 4]
inc esi
sub eax, dword [edi]
add esp, 4
sar eax, 2
cmp esi, eax
jb 0x10021070
lea esi, [ebx + 0x70]
test esi, esi
je 0x100210a3
push dword [esi + 4]
push dword [esi]
call fcn.10018bd0
mov eax, dword [esi]
add esp, 8
mov dword [esi + 4], eax
lea eax, [ebx + 0x88]
test eax, eax
je 0x100210c6
push dword [eax + 4]
push dword [eax]
call fcn.10018c50
mov eax, dword [ebx + 0x88]
add esp, 8
mov dword [ebx + 0x8c], eax
lea ecx, [ebx + 0x114]
call fcn.10020c10
lea ecx, [ebx + 0x108]
call fcn.10020b50
lea ecx, [ebx + 0xfc]
call fcn.10020b50
lea ecx, [ebx + 0xf0]
call fcn.10020c70
lea ecx, [ebx + 0xe8]
call fcn.10020450
lea ecx, [ebx + 0xc4]
call fcn.10020220
lea ecx, [ebx + 0xa0]
call fcn.10020270
mov ecx, edi
call fcn.10020af0
lea ecx, [ebx + 0x88]
call fcn.10020a30
lea ecx, [ebx + 0x7c]
call fcn.10020a90
mov ecx, esi
call fcn.100209d0
lea ecx, [ebx + 0x4c]
call fcn.10020400
lea ecx, [ebx + 0x38]
call fcn.10037fd0
push dword [ebx + 0x30]
lea esi, [ebx + 0x30]
push esi
call fcn.1001a280
push 0x20
push dword [esi]
call fcn.1008b1ac
add esp, 0x10
lea ecx, [ebx + 0x18]
call fcn.10037fd0
push dword [ebx + 0x10]
lea esi, [ebx + 0x10]
push esi
call fcn.1001a280
push 0x20
push dword [esi]
call fcn.1008b1ac
add esp, 0x10
mov ecx, ebx
call fcn.100027a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x100214a0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [eax]
mov eax, edi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100214b0
sub eax, edx
mov esi, 0x811c9dc5
mov edx, 0
je 0x100214d9
lfence
movzx ecx, byte [edx + edi]
inc edx
xor ecx, esi
imul esi, ecx, 0x1000193
cmp edx, eax
jb 0x100214c8
push 0x1f31d
and esi, 0x7fffffff
push esi
call dword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_ldiv]
imul eax, eax, 0xb14
add esp, 8
imul ecx, edx, 0x41a7
pop edi
pop esi
sub ecx, eax
lea eax, [ecx + 0x7fffffff]
js 0x10021508
mov eax, ecx
pop ebp
ret 4