joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10098aab
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14c
mov eax, 0x100e5a6a
call fcn.10001af6
lea edi, [ecx + 0x6c]
mov eax, dword [edi]
cmp dword [eax - 4], 0
je 0x10098acc
mov al, 1
jmp 0x10098c5c
push 0x124
xor ebx, ebx
lea eax, [ebp - 0x13c]
push ebx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x13c]
mov edx, str.1042Normal
mov ecx, str.CB4C9D1A_87CD_4CB9_A669_00AE2FE75DA5
push eax
call sym.fpsrvutl.dll_Ordinal_1591
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x140]
call sym.fpsrvutl.dll_Ordinal_1591
push 0x100ea6e8
lea eax, [ebp - 0x13c]
mov dword [ebp - 4], ebx
push eax
call sym.fpsrvutl.dll_Ordinal_1591
test eax, eax
je 0x10098b9d
push str.mssp3ko.lex
lea ecx, [ebp - 0x144]
call sym.fpsrvutl.dll_Ordinal_1591
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x140]
mov esi, dword [ebp - 0x144]
mov eax, dword [ebp - 0x140]
push dword [esi - 4]
push esi
push ebx
push dword [eax - 4]
call sym.fpsrvutl.dll_Ordinal_1591
lea ecx, [esi - 0xc]
mov byte [ebp - 4], bl
call sym.fpsrvutl.dll_Ordinal_5727
lea eax, [ebp - 0x140]
push eax
lea ecx, [ebp - 0x158]
call sym.fpsrvutl.dll_Ordinal_4804
mov ecx, eax
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_542
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0
mov bl, al
call sym.fpsrvutl.dll_Ordinal_974
test bl, bl
je 0x10098b9b
xor ebx, ebx
inc ebx
jmp 0x10098c3e
xor ebx, ebx
lea eax, [ebp - 0x148]
mov dword [ebp - 0x144], 0x124
push eax
push 0x20019
push ebx
push str.SOFTWAREMicrosoftShared_ToolsProofing_Tools_stemmer1042Normal
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10098beb
lea eax, [ebp - 0x144]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push str.Dictionary
push dword [ebp - 0x148]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
lea eax, [ebp - 0x13c]
sete bh
push eax
lea ecx, [ebp - 0x158]
call sym.fpsrvutl.dll_Ordinal_1980
mov ecx, eax
mov byte [ebp - 4], 3
call sym.fpsrvutl.dll_Ordinal_542
lea ecx, [ebp - 0x158]
mov byte [ebp - 4], 0
mov bl, al
call sym.fpsrvutl.dll_Ordinal_974
xor eax, eax
movzx ecx, bh
test bl, bl
cmove ecx, eax
lea eax, [ebp - 0x13c]
mov bl, cl
lea ecx, [ebp - 0x140]
push eax
call sym.fpsrvutl.dll_Ordinal_1591
test bl, bl
je 0x10098c4c
lea eax, [ebp - 0x140]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_1591
mov ecx, dword [ebp - 0x140]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.10001b2d
ret
Function at 0x1009d168
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x10]
push edi
xor edi, edi
mov dword [ebp - 4], ecx
test ebx, ebx
je 0x1009d26f
mov edx, dword [ebp + 8]
mov al, byte [edx]
inc edx
mov byte [ebp + edi + 0xc], al
inc edi
dec ebx
mov dword [ebp + 8], edx
cmp edi, 3
jne 0x1009d204
cmp ecx, 4
jl 0x1009d211
movzx eax, byte [ebp + 0xc]
movzx ecx, byte [ebp + 0xd]
movzx edx, byte [ebp + 0xe]
shr eax, 2
shr ecx, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov al, byte [ebp + 0xc]
shl al, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov cl, byte [ebp + 0xd]
mov byte [esi + 1], al
mov eax, edx
shl cl, 2
and edx, 0x3f
shr eax, 6
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov ecx, dword [ebp - 4]
mov byte [esi + 2], al
sub ecx, 4
mov al, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov edx, dword [ebp + 8]
mov byte [esi + 3], al
add esi, 4
mov dword [ebp - 4], ecx
xor edi, edi
test ebx, ebx
jne 0x1009d18a
test edi, edi
jle 0x1009d26f
cmp ecx, 4
jge 0x1009d218
mov eax, 0x8007000e
jmp 0x1009d279
movzx edx, byte [ebp + 0xd]
xor eax, eax
cmp edi, 1
cmove edx, eax
movzx eax, byte [ebp + 0xc]
shr eax, 2
movzx ecx, dl
shr ecx, 4
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi], al
mov al, byte [ebp + 0xc]
shl al, 4
or ecx, eax
and ecx, 0x3f
mov al, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi + 1], al
cmp edi, 1
jle 0x1009d263
and dl, 0xf
shl dl, 2
movzx eax, dl
mov al, byte [eax + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
jmp 0x1009d265
mov al, 0x3d
mov byte [esi + 2], al
mov byte [esi + 3], 0x3d
add esi, 4
mov ecx, dword [ebp + 0x14]
sub esi, dword [ebp + 0x10]
xor eax, eax
mov dword [ecx], esi
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100a8405
Capabilities:
Get common file path

Disassembly:
push ecx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
push edi
cmp eax, 2
jne 0x100a842b
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
jmp 0x100a8431
call dword [sym.imp.kernel32.dll_GetCurrentDirectoryA]
pop edi
pop esi
pop ecx
ret

Function at 0x100a8435
Capabilities:
Set current directory

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x100a8456
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryW]
pop esi
ret
call dword [sym.imp.kernel32.dll_SetCurrentDirectoryA]
pop esi
ret

Function at 0x100a8d84
Capabilities:
Enumerate files on windows

Disassembly:
push 0x67c
mov eax, 0x100e76f4
call fcn.10001af6
mov edi, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x688], eax
call fcn.10005575
mov ebx, 0x10178fec
mov esi, 0x104
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
mov ecx, 0x208
cmove esi, ecx
cmp esi, dword [ebp - 0x1c]
jle 0x100a8dd8
push 1
push esi
lea ecx, [ebp - 0x220]
call sym.fpsrvutl.dll_Ordinal_1591
and dword [ebp - 4], 0
mov ecx, ebx
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [ebp - 0x1c]
cmp eax, 2
jne 0x100a8ded
shr ecx, 1
lea edx, [ebp - 0x220]
call fcn.100a8405
test eax, eax
je 0x100a8f3e
lea ecx, [ebp - 0x680]
call fcn.10005575
push edi
call sym.fpsrvutl.dll_Ordinal_1591
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 1
call fcn.100a8435
test eax, eax
je 0x100a8f24
mov dword [ebp - 0x684], 0x1017c79c
lock inc dword [0x1017c790]
mov ecx, ebx
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x470]
push eax
jne 0x100a8e5d
push 0x100ef5a0
call dword [sym.imp.kernel32.dll_FindFirstFileW]
jmp 0x100a8e68
push 0x100efcd4
call dword [sym.imp.kernel32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100a8f16
mov bl, byte [ebp + 0xc]
mov edi, dword [ebp - 0x688]
test byte [ebp - 0x470], 0x10
jne 0x100a8ee2
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x444]
jne 0x100a8ea8
push eax
lea ecx, [ebp - 0x684]
call sym.fpsrvutl.dll_Ordinal_3753
jmp 0x100a8ec3
push 0
push eax
call sym.fpsrvutl.dll_Ordinal_1591
push eax
lea eax, [ebp - 0x444]
push eax
lea ecx, [ebp - 0x684]
call sym.fpsrvutl.dll_Ordinal_1496
mov ecx, dword [ebp - 0x684]
mov dl, bl
call fcn.100a8f53
test al, al
je 0x100a8ee2
lea eax, [ebp - 0x684]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_1591
mov ecx, 0x10178fec
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
lea eax, [ebp - 0x470]
push eax
push esi
jne 0x100a8f01
call dword [sym.imp.kernel32.dll_FindNextFileW]
jmp 0x100a8f07
call dword [sym.imp.kernel32.dll_FindNextFileA]
test eax, eax
jne 0x100a8e7c
push esi
call dword [sym.imp.kernel32.dll_FindClose]
mov ecx, dword [ebp - 0x684]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
lea ecx, [ebp - 0x680]
mov byte [ebp - 4], 0
call fcn.100057a4
lea ecx, [ebp - 0x220]
call fcn.100a8435
lea ecx, [ebp - 0x220]
call fcn.100057a4
call fcn.10001b2d
ret 8
Function at 0x100aa45b
Capabilities:
Set thread local storage value

Disassembly:
push 0x10
mov eax, 0x100e7a12
call fcn.1000131b
mov ebx, ecx
mov ecx, dword [ebx + 0x5c]
xor edi, edi
test ecx, ecx
je 0x100aa4d8
mov eax, dword [vtable.VprocessGlobals.0]
mov edi, dword [eax + 0x24]
call fcn.100ab8dd
mov ecx, dword [ebx + 0x5c]
mov esi, eax
lea eax, [ebp - 0x10]
push eax
mov edx, dword [ecx]
call dword [edx + 0xc]
and dword [ebp - 4], 0
push esi
push dword [eax]
mov esi, 0x10178fec
push str.The_error___s__with_hr:_d_in_the_thread_context_was_not_processed_before_thread_detach._The_full_error_log_entry_follows.
push 1
push 0
push esi
call edi
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push dword [ebx + 0x5c]
mov eax, dword [vtable.VprocessGlobals.0]
mov ecx, esi
push 1
call dword [eax + 0xc]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x100aa4d3
mov eax, dword [ecx]
push 1
call dword [eax]
xor edi, edi
mov dword [ebx + 0x5c], edi
mov esi, dword [ebx + 0x30]
test esi, esi
je 0x100aa515
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], 1
push eax
push 0x100209e6
mov ecx, esi
mov dword [ebp - 0x1c], 0x100706e5
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sym.fpsrvutl.dll_Ordinal_1591
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_4537
or dword [ebp - 4], 0xffffffff
push esi
call sym.fpsrvutl.dll_Ordinal_1591
pop ecx
mov dword [ebx + 0x30], edi
cmp dword [ebx + 0x74], edi
jle 0x100aa52b
mov ecx, ebx
mov dword [ebx + 0x74], 1
call sym.fpsrvutl.dll_Ordinal_2309
push edi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsSetValue]
call fcn.100013b7
ret

Function at 0x100ab1e5
Capabilities:
Get thread local storage value

Disassembly:
push 0xc
mov eax, 0x100e2f44
call fcn.1000131b
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], 0x1017c79c
lock inc dword [0x1017c790]
and dword [ebp - 4], 0
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100ab238
lea eax, [edi + 0x60]
mov ecx, dword [eax]
cmp dword [ecx - 4], 0
je 0x100ab238
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_1591
mov eax, dword [edi + 0x2c]
shr eax, 2
and al, 1
jmp 0x100ab261
lea eax, [ebp - 0x14]
push eax
call sym.fpsrvutl.dll_Ordinal_1591
push eax
lea ecx, [ebp - 0x10]
call sym.fpsrvutl.dll_Ordinal_1591
mov eax, dword [ebp - 0x14]
lea ecx, [eax - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
push 0
call fcn.100047aa
mov al, byte [0x1017ca42]
test al, al
jne 0x100ab27a
mov dword [esi], 0x1017c79c
lock inc dword [0x1017c790]
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0xc]
jmp 0x100ab285
mov eax, dword [ebp - 0x10]
mov dword [esi], eax
lea ecx, [eax - 0xc]
lock inc dword [ecx]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, esi
call fcn.100013b7
ret
Function at 0x100ab801
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
mov esi, ecx
mov word [esi], ax
test ebx, ebx
je 0x100ab84c
push edi
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x100ab84b
movzx ecx, word [edi + 0x68]
movzx eax, bx
mov word [esi], cx
cmp cx, ax
jne 0x100ab83d
xor eax, eax
mov word [esi], ax
jmp 0x100ab84b
push eax
call sym.fpsrvutl.dll_Ordinal_1591
push eax
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_1591
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100ab99f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
lea edi, [esi + 0xc]
lock inc dword [edi]
lea eax, [ebp - 4]
xor ebx, ebx
push eax
push ebx
push esi
push 0x100aba0a
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov ecx, dword [ebp - 4]
add esp, 0x18
mov dword [esi + 8], ecx
test eax, eax
jne 0x100ab9eb
mov dword [esi + 4], ebx
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x100ab9e7
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
xor al, al
jmp 0x100ab9f0
mov dword [esi + 4], eax
mov al, 1
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x100ab9f7
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ecx + 4]
call dword [sym.imp.kernel32.dll_TerminateThread]
pop ebp
ret 4
Function at 0x100aec97
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
xor ebx, ebx
movsx eax, byte [edi + 8]
push eax
push dword [edi + 0x50]
mov eax, dword [vtable.VprocessGlobals.0]
push str.VdirectUpdateLock::endUpdate__InFilePath___s__Locked___d_n
push 3
push ebx
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
cmp dword [edi + 0xb0], ebx
jne 0x100aece6
mov eax, dword [edi]
push 8
pop ecx
mov edx, dword [eax + 0x14]
xor eax, eax
cmp byte [ebp + 8], al
cmovne eax, ecx
mov ecx, edi
push eax
call edx
test eax, eax
jne 0x100aed84
mov eax, dword [edi + 0x12c]
push esi
cmp eax, 0xffffffff
je 0x100aed66
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.kernel32.dll_SetFilePointer]
test eax, eax
jne 0x100aed8a
push ebx
lea eax, [ebp - 4]
push eax
push dword [edi + 0x134]
push dword [edi + 0x124]
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_WriteFile]
test eax, eax
je 0x100aed8a
mov eax, dword [ebp - 4]
cmp eax, dword [edi + 0x134]
jne 0x100aed8a
cmp byte [edi + 0x130], bl
jne 0x100aed48
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_SetEndOfFile]
test eax, eax
je 0x100aed8a
push dword [edi + 0x12c]
call dword [sym.imp.kernel32.dll_CloseHandle]
test eax, eax
jne 0x100aed5f
mov esi, 0x20006
jmp 0x100aed8f
or dword [edi + 0x12c], 0xffffffff
push dword [edi + 0x124]
call sym.fpsrvutl.dll_Ordinal_1591
mov dword [edi + 0x124], ebx
xor eax, eax
mov byte [edi + 8], bl
mov dword [edi + 0xb0], ebx
pop ecx
pop esi
pop edi
pop ebx
leave
ret 4
mov esi, 0x2000c
mov ebx, dword [edi + 0x68]
call dword [sym.imp.kernel32.dll_GetLastError]
push ebx
mov edx, eax
mov ecx, esi
call fcn.1005ca7d
mov edx, dword [edi]
mov ecx, edi
mov esi, eax
call dword [edx + 8]
push dword [edi + 0x124]
call sym.fpsrvutl.dll_Ordinal_1591
and dword [edi + 0x124], 0
mov eax, esi
jmp 0x100aed82
Function at 0x100b78af
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x488
mov eax, dword [0x10148250]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
push dword [0x10150ddc]
mov edi, dword [ebp + 8]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x100b7903
cmp dword [esi + 0xc], 0
jle 0x100b7903
mov ecx, dword [esi + 0x10]
cmp dword [ecx], 0
je 0x100b7903
push 0xffffffffffffffff
push dword [ecx]
lea eax, [ebp - 0x84]
push 0x80
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
jmp 0x100b791d
call dword [sym.imp.kernel32.dll_GetCurrentThreadId]
push eax
push str.thread_0x_x
lea eax, [ebp - 0x84]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_1591
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x10
cmp byte [0x1017bdda], 0
push edi
je 0x100b7946
push ebx
push str._Assert_failure_in__s_xx____.400s_
push 0
push 0
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
jmp 0x100b795e
push dword [ebp + 0x10]
push ebx
push str._Assert_failure_in__s__d___.400s_
push 0
push 8
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x1c
cmp byte [0x1017bddd], 0
jne 0x100b7a28
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsNoAssertMsgBox
call sym.fpsrvutl.dll_Ordinal_1591
test al, al
jne 0x100b79e3
push edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x84]
push ebx
push eax
push str.Assert_failed__Vframework___s___File__.200s__line__d_nExpression___.400s_n_click_Retry_to_debug_
lea eax, [ebp - 0x484]
push 0xffffffffffffffff
push eax
call sym.fpsrvutl.dll_Ordinal_1591
add esp, 0x1c
mov ecx, str.SoftwareMicrosoftFrontPageServerExtensionsIgnoreAsserts
call sym.fpsrvutl.dll_Ordinal_1591
push 3
pop ecx
push 5
test al, al
pop edx
cmovne ecx, edx
cmp byte [0x1014af8c], 0
je 0x100b79d1
push 0x12
push 0x1012551c
lea eax, [ebp - 0x484]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, eax
cmp ecx, 3
je 0x100b79e3
cmp ecx, 4
jne 0x100b7a28
call dword [sym.imp.kernel32.dll_DebugBreak]
jmp 0x100b7a28
test esi, esi
je 0x100b7a28
cmp dword [0x1017ca10], 0
je 0x100b79fc
mov ecx, 0x2d0
call sym.fpsrvutl.dll_Ordinal_1591
jmp 0x100b7a08
push 0x2d0
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
mov esi, eax
test esi, esi
je 0x100b7a20
lea eax, [esi + 4]
mov dword [esi], vtable.VassertContextStatus.0
push eax
call dword [sym.imp.kernel32.dll_RtlCaptureContext]
jmp 0x100b7a22
xor esi, esi
push esi
call sym.fpsrvutl.dll_Ordinal_1591
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100013a8
leave
ret 0xc
Function at 0x100b7a39
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x100b7ac1
mov eax, dword [vtable.VprocessGlobals.0]
push ebx
push edi
push dword [ebp + 0x10]
xor edi, edi
mov ebx, 0x10178fec
cmp byte [0x1017bddd], 0
push dword [ebp + 0xc]
je 0x100b7a6a
push str._nUnexpected_status_in_file:__s__line:_xx__n
push edi
push edi
jmp 0x100b7a72
push str._nUnexpected_status_in_file:__s__line:__d__n
push edi
push 8
push ebx
call dword [eax + 0x24]
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x18
mov ecx, ebx
push esi
push edi
call dword [eax + 0xc]
mov eax, dword [vtable.VprocessGlobals.0]
push 0x100ef728
push edi
push edi
push ebx
call dword [eax + 0x24]
add esp, 0x10
push dword [0x10150ddc]
call dword [sym.imp.kernel32.dll_TlsGetValue]
pop edi
pop ebx
test eax, eax
je 0x100b7ab9
cmp byte [0x1017bddd], 0
jne 0x100b7ab9
push esi
call sym.fpsrvutl.dll_Ordinal_1591
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
pop esi
pop ebp
ret 0xc
Function at 0x100bad2c
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov esi, ecx
call fcn.100ba201
mov edi, dword [ebp + 8]
test edi, edi
je 0x100bad7a
cmp dword [esi + 0x4c], 0
mov ebx, dword [sym.imp.ADVAPI32.dll_EqualSid]
je 0x100bad56
push edi
push dword [esi + 0x4c]
call ebx
test eax, eax
jne 0x100bad76
cmp dword [esi + 0x50], 0
je 0x100bad66
push edi
push dword [esi + 0x50]
call ebx
test eax, eax
jne 0x100bad76
cmp dword [esi + 0x54], 0
je 0x100bad7a
push edi
push dword [esi + 0x54]
call ebx
test eax, eax
je 0x100bad7a
mov al, 1
jmp 0x100bad7c
xor al, al
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x100c920c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, dword [ecx + 8]
mov edx, esi
push edi
lea edi, [ecx + 0xc]
mov ecx, esi
shr ecx, 2
test ecx, ecx
je 0x100c922e
mov eax, dword [edi]
add edi, 4
rol edx, 5
xor edx, eax
sub ecx, 1
jne 0x100c921f
and esi, 3
je 0x100c9248
xor ecx, ecx
movsx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
sub esi, 1
jne 0x100c9235
rol edx, 5
xor edx, ecx
pop edi
mov eax, edx
pop esi
ret

Function at 0x100caec7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_2016

Function at 0x100caed0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_4301

Function at 0x100caed9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_783

Function at 0x100caee2
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_3995

Function at 0x100caeeb
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_1161

Function at 0x100caef4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp sym.fpsrvutl.dll_Ordinal_2453

Function at 0x100cb00c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push 1
push 1
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb02c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push 1
push 2
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb04c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push 1
push 4
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb06c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push 1
push 8
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4
Function at 0x100cb0f5
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 8
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub eax, dword [ebp + 0xc]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8

Function at 0x100cb118
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb139
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 2
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb15a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 4
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 4

Function at 0x100cb17b
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
lea eax, [ebp + 8]
push 1
push 8
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
dec eax
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8

Function at 0x100cb205
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push dword [ecx + 4]
push dword [ebp + 0xc]
push 8
push dword [ebp + 8]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub eax, dword [ebp + 0xc]
add esp, 0x10
neg eax
sbb eax, eax
inc eax
pop ebp
ret 8