joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44c40c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x44c444]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c425
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44c434
or bl, 4
test esi, 0x20000000
je 0x44c43f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x452aec
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x452afe
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cebc
mov eax, dword [0x460f50]
mov dword [eax + 4], ebx
mov dword [eax], 0x452e90
mov eax, dword [0x460f5c]
mov dword [eax + 4], ebx
mov dword [eax], 0x452e9c
mov eax, ebx
call fcn.00452ea8
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44f2c4
push eax
push 0
push 0
mov eax, dword [0x4610b0]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e918]
call fcn.0042012c
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e918]
call fcn.0042012c
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e918]
call fcn.0042012c
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.004532c8
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4531a4
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4531a4
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4531a4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x452c3b
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x452f88
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x453133
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453114
mov dl, 1
mov eax, dword [0x415594]
call fcn.004032b4
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404034
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x453103
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00440d54
test al, al
je 0x4530f6
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x453144
lea eax, [ebp - 0x254]
call fcn.00408eb4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4530f6
xor eax, eax
push ebp
push 0x4530ef
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x45317c
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4530d8
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x4530d8
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4530f6
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x452ff9
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.004190ac
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45313a
lea eax, [ebp - 0x260]
call fcn.00404034
ret

Function at 0x453a68
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x462be0]
cmp byte [eax + 0xa5], 0
jne 0x453ad9
cmp dword [0x462bf8], 0
jne 0x453a9a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453a24
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x462bf8], eax
cmp dword [0x462bf4], 0
jne 0x453ab5
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x462bf4], eax
cmp dword [0x462bfc], 0
jne 0x453ad9
push esp
push 0
push 0
push 0x4539c8
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x462bfc], eax
pop edx
ret
Function at 0x453bd0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x453be7
add esp, 0xfffffff0
call fcn.00403608
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041cebc
mov eax, dword [0x46109c]
cmp word [eax + 2], 0
jne 0x453c0f
mov eax, dword [0x46109c]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455338
mov eax, dword [0x461150]
cmp word [eax + 2], 0
jne 0x453c29
mov eax, dword [0x461150]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455530
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x415178]
call fcn.004032b4
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41f498]
call fcn.00426dac
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x453db0
mov eax, dword [0x460fb4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0042717c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x455ae0
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x460fb4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040c60c
test eax, eax
je 0x453d1e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004088a8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040c634
test eax, eax
je 0x453d32
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.004042a4
mov eax, dword [0x460e84]
cmp byte [eax], 0
jne 0x453d66
mov eax, ebx
call fcn.00453ed8
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.00455cbc
mov eax, ebx
call fcn.00456680
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453da6
call fcn.00403660
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454158
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x462be0]
cmp dword [eax + 0x30], 0
je 0x454202
cmp dword [ebx + 0x94], 0
jne 0x4541fc
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4540e8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4541fc
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4541c2
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4541fc
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004174e0
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4541d1
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x454d64
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x454d99
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404124
jmp 0x454da6
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404088
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x455e98
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x455ed9
mov eax, esi
call fcn.0043c414
test al, al
je 0x455ed9
mov eax, dword [ebx + 0x84]
call fcn.0043c13c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x455ed9
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043c13c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x456b98
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x414728]
call fcn.004049cc
xor eax, eax
push ebp
push 0x456cdc
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x460d9c], 0
jne 0x456beb
mov ecx, dword [0x460e94]
mov dl, 1
mov eax, dword [0x407214]
call fcn.0040b8b0
call fcn.00403a70
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.00402cf8
mov eax, ebx
call fcn.0040489c
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x456cec
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00405950
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.004048ac
test eax, eax
jle 0x456c83
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x456c7c
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.004042bc
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.004042a4
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408078
test eax, eax
jne 0x456c7c
mov ebx, 0x15
jmp 0x456c88
mov ebx, 0x10
jmp 0x456c88
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x460d9c]
call fcn.00456af0
mov eax, dword [ebp - 8]
call fcn.00456af0
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00405968
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x456ce3
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404058
lea eax, [ebp - 0x10]
mov edx, dword [0x414728]
call fcn.00404a9c
ret
Function at 0x1001ffe3
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov esi, ecx
call dword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
or dword [esi + 0x1384], 0xffffffff
lea edi, [esi + 8]
mov ecx, eax
xor edx, edx
mov dword [esi + 4], ecx
inc edx
mov ebx, 0x270
mov eax, ecx
shr eax, 0x1e
xor eax, ecx
imul ecx, eax, 0x6c078965
add ecx, edx
inc edx
mov dword [edi], ecx
lea edi, [edi + 4]
cmp edx, ebx
jb 0x1002000c
mov dword [esi], ebx
xorps xmm0, xmm0
movsd qword [esi + 0x1388], xmm0
mov eax, esi
movsd xmm0, qword [0x100c6940]
pop edi
movsd qword [esi + 0x1390], xmm0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10020518
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0x270
cmp dword [esi], edi
jne 0x10020560
lea edx, [esi + 8]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x10020528
jmp 0x1002056d
cmp dword [esi], 0x4e0
jb 0x1002056d
call fcn.100205a7
mov eax, dword [esi]
pop edi
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
pop esi
ret

Function at 0x100205a7
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
lea edi, [esi + 0x9c4]
mov esi, 0xe3
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi + 0x630]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x100205c0
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edi, [edi + 4]
mov ebx, dword [edi]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edi - 0xd50]
xor eax, ecx
mov dword [edi - 0x9c4], eax
sub esi, 1
jne 0x10020608
mov esi, dword [ebp - 4]
pop edi
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
and dword [esi], 0
mov dword [esi + 0x9c0], eax
pop esi
pop ebx
leave
ret
Function at 0x10027226
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
push 0x100
mov dword [ebp - 4], esi
lea ecx, [esi + 8]
mov dword [esi], 0x100b67cc
call fcn.100067af
lea edi, [esi + 0x38]
xor ebx, ebx
push 0x2c
mov dword [ebp - 4], edi
mov dword [edi], ebx
mov dword [edi + 4], ebx
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
pop ecx
test eax, eax
jne 0x10027265
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
push 0x10000000
push ebx
push ebx
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
push ebx
mov dword [edi], eax
push ebx
mov byte [esi + 0x40], bl
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push esi
push edi
xor edi, edi
mov esi, 0x811c9dc5
test edx, edx
je 0x10027b92
movzx eax, byte [edi + ecx]
xor eax, esi
imul esi, eax, 0x1000193
inc edi
cmp edi, edx
jb 0x10027b81
pop edi
mov eax, esi
pop esi
ret
Function at 0x10030f3f
Capabilities:
Check os version

Disassembly:
push 0x124
push 0x100cc720
call fcn.100aafe3
mov esi, ecx
mov dword [ebp - 0x134], esi
push 0x110
push 0
lea eax, [ebp - 0x12c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x130], 0x114
lea eax, [ebp - 0x130]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x12c], 6
jb 0x10030f9e
cmp dword [ebp - 0x128], 2
jae 0x10030fa2
cmp dword [ebp - 0x12c], 6
ja 0x10030fa2
xor eax, eax
jmp 0x10030fa5
xor eax, eax
inc eax
test eax, eax
je 0x10031022
and dword [ebp - 4], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jns 0x10030fc2
mov dword [ebp - 4], 0xfffffffe
jmp 0x10031022
mov byte [esi + 0x71], 1
mov ecx, esi
call fcn.10030bf9
test al, al
je 0x10030ff5
lea eax, [esi + 0x14]
push eax
push ecx
push ecx
call fcn.100a11f5
test eax, eax
js 0x10030fee
mov ecx, esi
call fcn.1003087f
mov ecx, esi
call fcn.10030c68
mov ecx, esi
call fcn.10030e5c
mov dword [ebp - 4], 0xfffffffe
jmp 0x10031012
cmp byte [esi + 0x71], 0
je 0x10031022
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esi + 0x71], 0
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10031321
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x100b0354
call fcn.100aae81
mov esi, ecx
push 4
xor ebx, ebx
call fcn.1000379e
pop ecx
test eax, eax
je 0x10031346
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx]
mov dword [eax], ecx
jmp 0x10031348
mov eax, ebx
mov dword [ebp + 8], eax
lea edi, [esi + 4]
mov dword [ebp - 4], ebx
push edi
push ebx
push eax
push 0x1003157f
push ebx
push ebx
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x10031374
mov eax, esi
call fcn.100aae55
ret 4
push 6
mov dword [edi], ebx
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
Function at 0x10032515
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x100d20c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, 0x104
lea eax, [ebp - 0x108]
push edi
mov esi, ecx
xor ebx, ebx
push ebx
mov dword [ebp - 0x10c], esi
push eax
mov dword [ebp - 0x10c], esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x10c], edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push 2
push str.CommercialId
push 0x100b7bfc
push 0x80000002
call edi
test eax, eax
je 0x100325af
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x10c], 0x104
push eax
lea eax, [ebp - 0x108]
push eax
push ebx
push 2
push str.CommercialId
push str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesDataCollection
push 0x80000002
call edi
lea eax, [ebp - 0x108]
mov ecx, esi
push eax
call fcn.10004eb1
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100a9985
leave
ret
Function at 0x100325ce
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x2a4
mov eax, 0x100b0701
call fcn.100aaeb4
mov ebx, edx
mov edi, ecx
mov esi, 0x104
lea eax, [ebp - 0x11c]
push esi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [ebp - 0x2b0], esi
lea eax, [ebp - 0x2b0]
push eax
lea eax, [ebp - 0x11c]
push eax
push 0
push 0x10002
push str.BuildLabEx
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegGetValueA]
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x14c]
call fcn.10004eb1
and dword [ebp - 4], 0
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x1003265f
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
xor eax, eax
jmp 0x10032663
xor eax, eax
mov esi, eax
push 0x100
push eax
mov dword [ebp - 0x2a8], eax
mov dword [ebp - 0x2a4], eax
mov dword [ebp - 0x2a0], eax
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x298]
push eax
mov dword [ebp - 0x2ac], 0x114
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
test esi, esi
je 0x10032835
lea eax, [ebp - 0x2ac]
push eax
call esi
test eax, eax
js 0x10032835
push 0
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x164]
call fcn.10009b17
mov esi, eax
push 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x17c]
push dword [ebp - 0x2a8]
call fcn.10009b17
push 1
push 0x100b3fec
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.10009d97
push eax
lea ecx, [ebp - 0x134]
call fcn.100066ed
push esi
lea eax, [ebp - 0x134]
mov byte [ebp - 4], 3
push eax
push dword [ebp - 0x2b0]
lea ecx, [ebp - 0x194]
call fcn.1001012d
lea eax, [ebp - 0x194]
mov ecx, edi
push eax
call fcn.1000911b
lea ecx, [ebp - 0x194]
call fcn.10004eea
lea ecx, [ebp - 0x134]
call fcn.10004eea
lea ecx, [ebp - 0x17c]
call fcn.10004eea
lea ecx, [ebp - 0x164]
mov byte [ebp - 4], 0
call fcn.10004eea
push 0
push dword [ebp - 0x2a0]
lea ecx, [ebp - 0x17c]
call fcn.10009b17
mov esi, eax
push 0x100b3fec
mov edx, edi
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x164]
call fcn.1000ffa2
push esi
push eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x134]
push dword [ebp - 0x2b0]
call fcn.1001012d
lea eax, [ebp - 0x134]
mov ecx, ebx
push eax
call fcn.1000911b
lea ecx, [ebp - 0x134]
call fcn.10004eea
lea ecx, [ebp - 0x164]
call fcn.10004eea
lea ecx, [ebp - 0x17c]
mov byte [ebp - 4], 0
call fcn.10004eea
push 0x100b3fec
mov edx, edi
lea ecx, [ebp - 0x164]
call fcn.1000ffa2
mov byte [ebp - 4], 6
lea edx, [ebp - 0x14c]
cmp dword [ebp - 0x138], 0xf
push dword [ebp - 0x13c]
cmova edx, dword [ebp - 0x14c]
push edx
mov ecx, eax
call fcn.10009d97
push eax
lea ecx, [ebp - 0x134]
call fcn.100066ed
lea eax, [ebp - 0x134]
mov ecx, ebx
push eax
call fcn.1000911b
lea ecx, [ebp - 0x134]
call fcn.10004eea
lea ecx, [ebp - 0x164]
call fcn.10004eea
lea ecx, [ebp - 0x14c]
call fcn.10004eea
call fcn.100aae69
ret
Function at 0x10033575
Capabilities:
Create thread

Disassembly:
push 0x10
mov eax, 0x100b0915
call fcn.100aae81
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], 0x100b7dd8
mov dword [edi + 4], eax
mov dword [edi + 8], eax
lea ecx, [edi + 0xc]
mov dword [ebp - 4], eax
push 0x100
call fcn.100067af
push 0
lea ecx, [edi + 0x3c]
call fcn.100067af
lea eax, [edi + 0x6c]
push eax
call dword [sym.imp.MSVCP140.dll__Cnd_init_in_situ]
and dword [edi + 0x94], 0
pop ecx
lea ecx, [edi + 0x98]
mov byte [ebp - 4], 1
call fcn.10033b84
lea ecx, [edi + 0xa0]
mov byte [ebp - 4], 2
call fcn.10033b84
lea ecx, [edi + 0xa8]
call fcn.100278f7
mov byte [ebp - 4], 4
xor esi, esi
push 8
mov dword [edi + 0x108], esi
mov dword [edi + 0x104], esi
call fcn.1000379e
pop ecx
test eax, eax
je 0x10033612
mov dword [eax], edi
mov dword [eax + 4], 0x100338e1
jmp 0x10033614
mov eax, esi
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
push ecx
push esi
push eax
push 0x10033d0a
push esi
push esi
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x10033658
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 4]
call fcn.10030578
cmp dword [ebp - 0x18], 0
je 0x10033650
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
mov eax, edi
call fcn.100aae55
ret
push 6
mov dword [ebp - 0x18], esi
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3

Function at 0x100383a6
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov eax, ecx
mov edi, edx
push 0
push 0x14
mov dword [ebp - 4], edi
and dword [eax], 0
mov dword [ebp - 8], eax
call fcn.10036339
mov esi, eax
test esi, esi
jne 0x100383ce
push 7
pop eax
jmp 0x1003843e
cmp byte [0x100d296c], 0
push ebx
je 0x10038411
mov ecx, 0xc8
call fcn.10038aa1
test eax, eax
jne 0x10038411
mov eax, dword [ebp + 8]
lea ebx, [esi + 8]
mov dword [ebx], edi
lea edi, [esi + 4]
push edi
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push esi
push 0x10038386
push eax
push eax
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
jne 0x10038420
jmp 0x10038414
lea ebx, [esi + 8]
mov edi, esi
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea edi, [esi + 4]
cmp dword [ebx], 0
pop ebx
jne 0x10038437
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push dword [ebp + 8]
mov dword [edi], eax
call dword [ebp - 4]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 8]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
leave
ret 4