joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1009416c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x24
mov eax, dword [ecx]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
xor esi, esi
inc esi
push 2
pop ebx
cmp eax, esi
je 0x100941b2
cmp eax, ebx
je 0x100941b2
cmp eax, 3
je 0x100941b2
cmp dword [edi], 0
je 0x100941ae
dec eax
xor edx, edx
div dword [edi]
inc eax
mov dword [ecx], eax
cmp eax, 4
jbe 0x100941b4
cmp eax, 0x200
sbb esi, esi
add esi, 3
jmp 0x100941b4
mov esi, ebx
jmp 0x100941b4
mov esi, eax
cmp dword [edi], 0
jne 0x100941f5
mov eax, dword [0x10182798]
test eax, eax
jne 0x100941d4
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov eax, dword [ebp - 0x10]
mov dword [0x10182798], eax
mov ecx, esi
sub ecx, 1
je 0x100941ee
sub ecx, 1
je 0x100941ea
sub ecx, 1
jne 0x100941f5
shl eax, 2
jmp 0x100941f3
add eax, eax
jmp 0x100941f3
cmp eax, ebx
cmovg eax, ebx
mov dword [edi], eax
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x100a1a80
Capabilities:
Get file attributes

Disassembly:
push esi
mov esi, ecx
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push ecx
cmp eax, 2
jne 0x100a1aa1
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
pop esi
ret
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
pop esi
ret

Function at 0x100a1aa9
Capabilities:
Set file attributes

Disassembly:
push ecx
push esi
mov esi, ecx
mov ecx, 0x1017e06c
push edi
mov edi, edx
call sym.fpsrvutl.dll_Ordinal_2694
mov ecx, dword [esi + 0x200]
push edi
push ecx
cmp eax, 2
jne 0x100a1acf
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
jmp 0x100a1ad5
call dword [sym.imp.kernel32.dll_SetFileAttributesA]
pop edi
pop esi
pop ecx
ret

Function at 0x100a2384
Capabilities:
Copy file

Disassembly:
push 0x438
mov eax, 0x100e8e9b
call fcn.10001b03
mov edi, ecx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x434]
push edi
call sym.fpsrvutl.dll_Ordinal_2082
xor esi, esi
lea ecx, [ebp - 0x444]
push ebx
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_4804
lea eax, [ebp - 0x444]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x224]
call sym.fpsrvutl.dll_Ordinal_2082
push edi
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100a2414
lea eax, [ebp - 0x444]
push eax
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100a2414
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
push esi
push dword [ebp - 0x24]
push dword [ebp - 0x234]
cmp eax, 2
jne 0x100a240a
call dword [sym.imp.kernel32.dll_CopyFileW]
jmp 0x100a2410
call dword [sym.imp.kernel32.dll_CopyFileA]
test al, al
jne 0x100a2424
push dword [ebx]
mov ecx, 0x20055
push dword [edi]
call fcn.100a1b8d
mov esi, eax
lea ecx, [ebp - 0x224]
call fcn.100058ed
lea ecx, [ebp - 0x444]
call sym.fpsrvutl.dll_Ordinal_974
lea ecx, [ebp - 0x434]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret 4
Function at 0x100a3053
Capabilities:
Delete directory

Disassembly:
push 0x214
mov eax, 0x100e243e
call fcn.10001b03
mov edi, ecx
call sym.fpsrvutl.dll_Ordinal_1195
push edi
lea ecx, [ebp - 0x220]
call sym.fpsrvutl.dll_Ordinal_2082
xor esi, esi
mov ecx, 0x1017e06c
mov dword [ebp - 4], esi
call sym.fpsrvutl.dll_Ordinal_2694
push dword [ebp - 0x20]
cmp eax, 2
jne 0x100a3094
call dword [sym.imp.kernel32.dll_RemoveDirectoryW]
jmp 0x100a309a
call dword [sym.imp.kernel32.dll_RemoveDirectoryA]
test eax, eax
jne 0x100a30b5
mov esi, dword [edi]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20004
call fcn.1006a99f
mov esi, eax
lea ecx, [ebp - 0x220]
call fcn.100058ed
mov eax, esi
call fcn.10001b39
ret
Function at 0x100a3534
Capabilities:
Delete file
Move file

Disassembly:
push 0x444
mov eax, 0x100e9193
call fcn.10001b03
mov esi, ecx
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x224]
xor ebx, ebx
mov dword [ebp - 0x440], edi
push edi
mov dword [ebp - 0x43c], ebx
call sym.fpsrvutl.dll_Ordinal_2082
push esi
lea ecx, [ebp - 0x434]
mov dword [ebp - 4], ebx
call sym.fpsrvutl.dll_Ordinal_2082
mov byte [ebp - 4], 1
cmp byte [ebp + 0xc], bl
jne 0x100a35da
push edi
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_4804
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 2
call sym.fpsrvutl.dll_Ordinal_542
test al, al
je 0x100a35cb
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_1248
test al, al
jne 0x100a35cb
push dword [edi]
mov ecx, 0x20019
push dword [esi]
call fcn.100a1b8d
lea ecx, [ebp - 0x450]
mov ebx, eax
call sym.fpsrvutl.dll_Ordinal_974
jmp 0x100a3707
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 1
call sym.fpsrvutl.dll_Ordinal_974
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_542
test al, al
jne 0x100a35f3
push dword [esi]
xor edx, edx
mov ecx, 0x20015
jmp 0x100a36a4
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_1195
push esi
call sym.fpsrvutl.dll_Ordinal_4730
test al, al
jne 0x100a3634
push edi
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_4804
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 3
push eax
mov dword [ebp - 0x43c], 1
call sym.fpsrvutl.dll_Ordinal_4730
mov byte [ebp - 0x435], bl
test al, al
je 0x100a363b
mov byte [ebp - 0x435], 1
mov dword [ebp - 4], 1
test byte [ebp - 0x43c], 1
je 0x100a3656
lea ecx, [ebp - 0x450]
call sym.fpsrvutl.dll_Ordinal_974
cmp byte [ebp - 0x435], 0
je 0x100a3666
push dword [esi]
push 0xd
pop edx
jmp 0x100a369f
mov ecx, 0x1017e06c
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
jne 0x100a36ad
xor eax, eax
cmp byte [ebp + 0xc], al
setne al
add eax, 8
push eax
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileExW]
test eax, eax
jne 0x100a36ff
mov esi, dword [esi]
call dword [sym.imp.kernel32.dll_GetLastError]
push esi
mov edx, eax
mov ecx, 0x20014
call fcn.1006a99f
mov ebx, eax
jmp 0x100a3707
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
jne 0x100a36ff
cmp byte [ebp + 0xc], al
je 0x100a3694
mov edi, dword [sym.imp.kernel32.dll_GetLastError]
call edi
sub eax, 0x50
je 0x100a36d7
sub eax, 0x67
jne 0x100a36f3
push dword [ebp - 0x24]
call dword [sym.imp.kernel32.dll_DeleteFileA]
push dword [ebp - 0x24]
push dword [ebp - 0x234]
call dword [sym.imp.kernel32.dll_MoveFileA]
test eax, eax
jne 0x100a36f9
mov esi, dword [esi]
call edi
jmp 0x100a369c
mov edi, dword [ebp - 0x440]
push edi
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_2082
lea ecx, [ebp - 0x434]
call fcn.100058ed
lea ecx, [ebp - 0x224]
call fcn.100058ed
mov eax, ebx
call fcn.10001b39
ret 8
Function at 0x100a4498
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
call sym.fpsrvutl.dll_Ordinal_2694
cmp eax, 2
jne 0x100a4508
cmp byte [0x10181cda], 0
je 0x100a4508
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 1
push 0xc
call dword [sym.imp.kernel32.dll_GetCurrentThread]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenThreadToken]
test eax, eax
je 0x100a4513
call dword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x100a44fd
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, eax
call fcn.1006d275
push eax
call sym.fpsrvutl.dll_Ordinal_2082
push dword [ebp - 4]
call dword [sym.imp.kernel32.dll_CloseHandle]
jmp 0x100a4513
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
leave
ret 4

Function at 0x100a5d6e
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsGetValue]
cmp byte [0x10181cda], 0
mov ecx, eax
je 0x100a5d96
test ecx, ecx
je 0x100a5d96
cmp byte [ecx + 5], 0
je 0x100a5d96
mov al, 1
jmp 0x100a5d98
xor al, al
push esi
push edi
movzx edi, al
xor edi, 1
add edi, edi
test ecx, ecx
je 0x100a5dad
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x100a5db2
call sym.fpsrvutl.dll_Ordinal_981
mov esi, eax
test esi, esi
je 0x100a5df4
push ebx
mov ebx, dword [esi + 0x1c]
cmp ebx, 3
je 0x100a5dc4
mov dword [esi + 0x1c], edi
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call sym.fpsrvutl.dll_Ordinal_2082
mov edi, eax
test edi, edi
jne 0x100a5de2
mov ecx, esi
call sym.fpsrvutl.dll_Ordinal_5512
test edi, edi
je 0x100a5dea
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax]
cmp dword [esi + 0x1c], 3
je 0x100a5df3
mov dword [esi + 0x1c], ebx
pop ebx
pop edi
pop esi
pop ebp
ret 8
Function at 0x100a5fca
Capabilities:
Access the windows event log
Get thread local storage value

Disassembly:
push 0x418
mov eax, 0x100e972f
call fcn.10001b03
mov dword [ebp - 0x420], ecx
mov esi, dword [ebp + 0x14]
xor ebx, ebx
mov eax, dword [ebp + 0x18]
or edi, 0xffffffff
mov dword [ebp - 0x418], esi
mov dword [ebp - 0x424], eax
test esi, esi
je 0x100a6026
push eax
push ebx
push esi
push edi
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.10041d24
push dword [eax + 4]
push dword [eax]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsnprintf_s]
add esp, 0x20
test eax, eax
cmovs eax, edi
test eax, eax
jns 0x100a6029
mov byte [ebp - 0x11], bl
lea ecx, [ebp - 0x410]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a602f
add ecx, 0xfffffffe
mov al, byte [ecx]
cmp al, 0xa
je 0x100a6043
cmp al, 0xd
jne 0x100a6052
lea eax, [ebp - 0x410]
cmp ecx, eax
jb 0x100a6052
mov byte [ecx], bl
dec ecx
jmp 0x100a6039
mov eax, dword [0x101827e8]
push 2
pop edi
cmp dword [eax + 4], edi
setne bl
jne 0x100a618e
cmp byte [ebp - 0x410], 0
je 0x100a61a7
jmp 0x100a6083
mov al, byte [ecx]
cmp al, 0xa
je 0x100a607f
cmp al, 0xd
jne 0x100a6082
mov byte [ecx], 0x20
dec ecx
lea eax, [ebp - 0x410]
cmp ecx, eax
jae 0x100a6075
push eax
lea ecx, [ebp - 0x414]
call sym.fpsrvutl.dll_Ordinal_2082
and dword [ebp - 4], 0
lea ecx, [ebp - 0x414]
push 0
call sym.fpsrvutl.dll_Ordinal_2209
mov ecx, dword [ebp + 0x10]
movsx eax, cx
cmp eax, 0xfffffffd
je 0x100a60cd
cmp eax, 0xfffffffe
je 0x100a60d0
cmp eax, 0xffffffff
je 0x100a60c8
test eax, eax
je 0x100a60cd
cmp eax, 1
je 0x100a60d0
push 4
pop edi
jmp 0x100a60d0
xor edi, edi
inc edi
mov eax, dword [ebp - 0x414]
push dword [0x10174460]
mov dword [ebp - 0x41c], eax
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_5072
test eax, eax
je 0x100a610a
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x414]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
jmp 0x100a618e
push str.Windows_SharePoint_Services_4.0
xor ebx, ebx
push ebx
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
jne 0x100a6126
call dword [sym.imp.kernel32.dll_GetLastError]
jmp 0x100a6144
push ebx
lea eax, [ebp - 0x41c]
push eax
push ebx
push 1
push ebx
push 0x3e8
push ebx
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
test eax, eax
jne 0x100a6146
mov bl, 1
test esi, esi
je 0x100a6151
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
and dword [ebp - 4], 0
push dword [0x10174460]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ecx, eax
call sym.fpsrvutl.dll_Ordinal_2309
test eax, eax
je 0x100a6176
mov ecx, dword [eax]
push 1
mov edx, dword [ecx]
mov ecx, eax
call edx
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x414]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov esi, dword [ebp - 0x418]
test bl, bl
je 0x100a61a7
mov ecx, dword [ebp - 0x420]
push dword [ebp - 0x424]
push esi
mov eax, dword [ecx]
push dword [ebp + 0x10]
call dword [eax + 0x38]
call fcn.10001b39
ret 0x14
Function at 0x100aeef0
Capabilities:
Compare security identifiers

Disassembly:
push 0x2c
mov eax, 0x100e9e7a
call fcn.10001371
mov ebx, ecx
push ecx
lea ecx, [ebp - 0x14]
call fcn.10001e94
and dword [ebp - 4], 0
lea eax, [ebp - 0x18]
and dword [ebp - 0x18], 0
add ebx, 0x1c
push eax
mov eax, dword [ebp + 8]
mov ecx, ebx
mov dword [ebp - 0x1c], ebx
push dword [eax]
call sym.fpsrvutl.dll_Ordinal_2082
mov edi, dword [ebp - 0x18]
xor ecx, ecx
test eax, eax
cmovne edi, ecx
sete byte [ebp - 0xd]
jne 0x100aef8b
lea ecx, [edi + 0xc]
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp + 0xc]
lea eax, [edi + 0x18]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp + 0x10]
lea eax, [edi + 0x1c]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov eax, dword [ebp + 0x14]
lea ecx, [edi + 0xc]
mov edx, dword [edi + 0x24]
mov dword [eax], edx
call sym.fpsrvutl.dll_Ordinal_2082
or eax, 0xffffffff
lock xadd dword [edi + 4], eax
dec eax
push 1
pop ebx
jne 0x100af036
test edi, edi
je 0x100af036
mov eax, dword [edi]
mov ecx, edi
push ebx
call dword [eax]
jmp 0x100af036
and dword [ebp - 0x38], ecx
lea eax, [ebp - 0x38]
and dword [ebp - 0x34], ecx
mov ecx, ebx
movaps xmm0, xmmword [0x101300b0]
or dword [ebp - 0x20], 0xffffffff
push eax
movups xmmword [ebp - 0x30], xmm0
call sym.fpsrvutl.dll_Ordinal_2082
test eax, eax
jne 0x100af028
mov edi, dword [ebp - 0x1c]
xor ebx, ebx
inc ebx
mov esi, dword [ebp - 0x30]
test esi, esi
je 0x100aefca
mov eax, dword [ebp - 0x2c]
cmp eax, 6
ja 0x100aefca
mov esi, dword [esi + eax*4 + 0x20]
jmp 0x100aefcc
xor esi, esi
lea ecx, [esi + 0xc]
call sym.fpsrvutl.dll_Ordinal_2082
mov eax, dword [ebp + 8]
push dword [esi + 0x20]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x100af009
mov ecx, dword [ebp + 0xc]
lea eax, [esi + 0x18]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp + 0x10]
lea eax, [esi + 0x1c]
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp + 0x14]
mov eax, dword [esi + 0x24]
mov byte [ebp - 0xd], bl
mov dword [ecx], eax
lea ecx, [esi + 0xc]
call sym.fpsrvutl.dll_Ordinal_2082
cmp byte [ebp - 0xd], 0
jne 0x100af026
lea eax, [ebp - 0x38]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
test eax, eax
je 0x100aefb5
mov ebx, edi
lea eax, [ebp - 0x38]
mov ecx, ebx
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov bl, byte [ebp - 0xd]
lea ecx, [ebp - 0x14]
call fcn.10002232
mov al, bl
call fcn.1000140a
ret 0x10
Function at 0x100b1801
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
cmp dword [ebp + 0xc], esi
jne 0x100b181a
xor eax, eax
jmp 0x100b18c1
lea eax, [ebp - 4]
push eax
push esi
push 0x40000001
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x100b18a7
mov eax, dword [edi + 0x408]
add eax, dword [ebp - 4]
mov ecx, dword [edi + 0x40c]
cmp eax, ecx
jbe 0x100b1851
sub eax, ecx
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [edi + 0x408]
mov eax, dword [edi]
lea eax, [eax + ecx*2]
lea ecx, [ebp - 4]
push ecx
push eax
push 0x40000001
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
je 0x100b1891
mov eax, dword [edi + 0x408]
mov esi, dword [ebp - 4]
add eax, esi
cmp eax, dword [edi + 0x40c]
ja 0x100b18bf
mov dword [edi + 0x408], eax
jmp 0x100b18bf
mov eax, dword [vtable.VprocessGlobals.0]
push str.Unable_to_write_base_64_encoded_value.
push esi
push esi
push 0x1017e06c
call dword [eax + 0x24]
jmp 0x100b18bc
mov ecx, dword [vtable.VprocessGlobals.0]
push str.Unable_to_determine_size_of_base_64_encoded_value.
push esi
push esi
push 0x1017e06c
call dword [ecx + 0x24]
add esp, 0x10
mov eax, esi
pop edi
pop esi
leave
ret 8
Function at 0x100b2182
Capabilities:
Get thread local storage value

Disassembly:
push 0xc
mov eax, 0x100e9f6a
call fcn.10001371
mov edi, dword [ebp + 0x14]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
push dword [0x10174460]
movzx esi, di
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100b2288
cmp dword [ebp + 8], 0x80001
je 0x100b2288
test di, di
jne 0x100b21c3
movzx edi, word [eax + 0x68]
mov eax, 0x409
cmp di, ax
je 0x100b2288
test si, si
je 0x100b21e5
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.100a5cb6
xor ecx, ecx
inc ecx
jmp 0x100b21f0
lea ecx, [ebp + 0x14]
call fcn.1006e28b
push 2
pop ecx
mov esi, dword [eax]
mov dword [ebp - 0x18], esi
lea eax, [esi - 0xc]
lock inc dword [eax]
mov dword [ebp - 4], 1
test cl, 2
je 0x100b221b
and ecx, 0xfffffffd
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x14]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp - 0x10]
mov byte [ebp - 4], 2
test cl, 1
je 0x100b222f
mov ecx, dword [ebp - 0x14]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
cmp dword [esi - 4], ebx
je 0x100b2280
test di, di
jne 0x100b2251
push 0x5c
lea ecx, [esi - 0xc]
call sym.fpsrvutl.dll_Ordinal_2082
add eax, 0xfffffffc
add eax, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
movzx edi, ax
mov eax, 0x409
cmp di, ax
je 0x100b2280
push dword [ebp + 0x10]
lea edx, [ebp - 0x18]
mov ecx, edi
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.100b2337
mov edi, eax
test edi, edi
je 0x100b2280
lea ecx, [esi - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov eax, edi
jmp 0x100b22b8
lea ecx, [esi - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov ecx, dword [ebp + 8]
call fcn.100b2667
test eax, eax
js 0x100b22b6
push 0xffffffffffffffff
push dword [eax*8 + 0x10177524]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 0x10
push dword [ebp + 0xc]
call sym.fpsrvutl.dll_Ordinal_2082
mov ebx, eax
mov eax, ebx
call fcn.1000140a
ret 0x10
Function at 0x100b36b5
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14c
mov eax, 0x100ea115
call fcn.10001b03
mov edi, ecx
lea esi, [edi + 0x68]
mov eax, dword [esi]
cmp dword [eax - 4], 0
je 0x100b36dd
cmp dword [edi], 0
je 0x100b36dd
mov al, 1
jmp 0x100b38a7
push 0x124
lea eax, [ebp - 0x13c]
xor bl, bl
push 0
push eax
mov dword [ebp - 0x144], ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x13c]
mov edx, str.msstko32.dll
mov ecx, str.042F907C_714C_41C0_ABDC_004DD2497A1C
push eax
call sym.fpsrvutl.dll_Ordinal_2082
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x140]
call sym.fpsrvutl.dll_Ordinal_2082
and dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
push 0x100ee700
push eax
call sym.fpsrvutl.dll_Ordinal_2082
test eax, eax
je 0x100b37cb
push 0x101282f8
lea ecx, [ebp - 0x148]
call sym.fpsrvutl.dll_Ordinal_2082
xor eax, eax
lea ecx, [ebp - 0x140]
inc eax
mov byte [ebp - 4], al
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x140]
push dword [esi - 4]
push esi
push 0
push dword [eax - 4]
call sym.fpsrvutl.dll_Ordinal_2082
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
mov eax, dword [ebp - 0x144]
lea esi, [edi + 0x68]
movzx eax, al
test bl, bl
mov ebx, eax
mov dword [ebp - 0x144], eax
push 1
pop eax
cmovne ebx, eax
test bl, bl
jne 0x100b3876
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], 0x124
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftShared_ToolsProofing_Tools_stemmer1042Normal
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100b3823
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push str.Engine
push dword [ebp - 0x144]
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_2082
test bl, bl
je 0x100b3897
lea eax, [ebp - 0x140]
mov ecx, esi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
cmp dword [edi], 0
jne 0x100b3897
push dword [ebp - 0x140]
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov dword [edi], eax
mov ecx, dword [ebp - 0x140]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.10001b39
ret
Function at 0x100b38ad
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14c
mov eax, 0x100ea115
call fcn.10001b03
lea edi, [ecx + 0x6c]
mov eax, dword [edi]
cmp dword [eax - 4], 0
je 0x100b38ce
mov al, 1
jmp 0x100b3a82
push 0x124
lea eax, [ebp - 0x13c]
xor bl, bl
push 0
push eax
mov dword [ebp - 0x144], ebx
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_2082
lea eax, [ebp - 0x13c]
push eax
lea ecx, [ebp - 0x140]
call sym.fpsrvutl.dll_Ordinal_2082
and dword [ebp - 4], 0
lea eax, [ebp - 0x13c]
push 0x100ee700
push eax
call sym.fpsrvutl.dll_Ordinal_2082
test eax, eax
je 0x100b39b9
push str.mssp3ko.lex
lea ecx, [ebp - 0x148]
call sym.fpsrvutl.dll_Ordinal_2082
xor eax, eax
lea ecx, [ebp - 0x140]
inc eax
mov byte [ebp - 4], al
mov esi, dword [ebp - 0x148]
mov eax, dword [ebp - 0x140]
push dword [esi - 4]
push esi
push 0
push dword [eax - 4]
call sym.fpsrvutl.dll_Ordinal_2082
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
mov eax, dword [ebp - 0x144]
test bl, bl
movzx eax, al
mov ebx, eax
mov dword [ebp - 0x144], eax
push 1
pop eax
cmovne ebx, eax
test bl, bl
jne 0x100b3a64
lea eax, [ebp - 0x144]
mov dword [ebp - 0x148], 0x124
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.SOFTWAREMicrosoftShared_ToolsProofing_Tools_stemmer1042Normal
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100b3a11
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x13c]
push eax
push ebx
push ebx
push str.Dictionary
push dword [ebp - 0x144]
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_2082
test bl, bl
je 0x100b3a72
lea eax, [ebp - 0x140]
mov ecx, edi
push eax
call sym.fpsrvutl.dll_Ordinal_2082
mov ecx, dword [ebp - 0x140]
add ecx, 0xfffffff4
call sym.fpsrvutl.dll_Ordinal_5727
mov al, bl
call fcn.10001b39
ret