joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100065d0
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x414
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x410], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.1001a970
add esp, 0xc
lea esi, [esp + 8]
call fcn.10006420
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push str.QHVer.dll
mov edx, esi
push edx
lea eax, [esp + 0x218]
push eax
call edi
test eax, eax
jne 0x1000663e
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.10019069
add esp, 0x414
ret
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
lea ecx, [esp + 0x210]
push ecx
call esi
test eax, eax
je 0x1000666e
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x410]
xor ecx, esp
call fcn.10019069
add esp, 0x414
ret
push str.QHSafeMain.exe
lea edx, [esp + 0xc]
push edx
lea eax, [esp + 0x218]
push eax
call edi
test eax, eax
je 0x10006625
lea ecx, [esp + 0x210]
push ecx
call esi
mov ecx, dword [esp + 0x418]
pop edi
pop esi
xor ecx, esp
call fcn.10019069
add esp, 0x414
ret

Function at 0x100080f0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10032e30
push 0x1001aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x10035080]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov esi, ecx
mov edi, edx
xor eax, eax
cmp esi, eax
je 0x100081b8
cmp ebx, 1
jb 0x100081b8
mov dword [ebp - 4], eax
mov dword [ebp - 0x78], 0x67452301
mov dword [ebp - 0x74], 0xefcdab89
mov dword [ebp - 0x70], 0x98badcfe
mov dword [ebp - 0x6c], 0x10325476
mov dword [ebp - 0x68], 0xc3d2e1f0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x78]
cmp ebx, 0x32000
jbe 0x10008192
sub ebx, 0x32000
mov dword [ebp + 8], ebx
push 0x32000
push esi
call fcn.10007f10
add esp, 8
add esi, 0x32000
mov dword [ebp - 0x7c], esi
jmp 0x10008165
push ebx
push esi
call fcn.10007f10
add esp, 8
lea esi, [ebp - 0x78]
call fcn.10007ff0
mov dword [ebp - 4], 0xfffffffe
call fcn.100081b7
mov eax, 1
jmp 0x100081ba
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.10019069
mov esp, ebp
pop ebp
ret
Function at 0x10008bf0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x20
push ebx
push ebp
xor ebx, ebx
push esi
push edi
cmp dword [esp + 0x3c], ebx
je 0x10008da1
mov eax, dword [esp + 0x34]
push ebx
push 0x4000080
push 3
push ebx
push ebx
push closesocket
push eax
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x10008d91
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
ja 0x10008c48
mov esi, 0x80070057
jmp 0x10008d6a
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
cmp esi, ebx
jne 0x10008c60
mov esi, 0x8007000e
jmp 0x10008d6a
push ebx
lea ecx, [esp + 0x1c]
push ecx
push edi
push esi
push ebp
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10008c7d
mov esi, 0x8000ffff
jmp 0x10008d6a
lea edx, [esp + 0x14]
push edx
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov esi, eax
cmp esi, ebx
jl 0x10008d6a
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x10008cc9
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x3c], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov edx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov eax, esi
jmp 0x10008ccb
xor eax, eax
cmp eax, ebx
jne 0x10008d4d
push ebx
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x2c], 1
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x10008d13
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10008d07
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
cmp esi, ebx
je 0x10008d47
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x34]
push ecx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x3c], ebx
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov edx, dword [esp + 0x34]
mov dword [esi + 8], eax
mov dword [esi + 4], edx
mov eax, esi
jmp 0x10008d49
xor eax, eax
cmp eax, ebx
je 0x10008d65
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x14], ebx
mov dword [edx], eax
xor esi, esi
jmp 0x10008d6a
mov esi, 0x80004005
cmp ebp, ebx
je 0x10008d75
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10008d85
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0xc
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x10008da1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
pop edi
pop esi
pop ebp
mov eax, 0x80070057
pop ebx
add esp, 0x20
ret 0xc
Function at 0x10009760
Capabilities:
Check http status code

Disassembly:
sub esp, 0xc
push esi
xor esi, esi
mov dword [esp + 8], 3
mov dword [esp + 4], esi
mov dword [esp + 0xc], 4
test edi, edi
je 0x100097ef
push ebx
mov ebx, dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov eax, dword [esp + 0xc]
mov ecx, eax
dec eax
mov dword [esp + 0xc], eax
test ecx, ecx
jle 0x100097ee
push 0
push 0
push 0
push 0
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
mov esi, eax
test esi, esi
jne 0x100097b6
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x10009785
push 0
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x10]
push eax
push 0x20000013
push edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 4
call ebx
mov esi, eax
test esi, esi
je 0x100097a9
cmp dword [esp + 8], 0xc8
je 0x100097ee
xor esi, esi
jmp 0x10009785
pop ebx
mov eax, esi
pop esi
add esp, 0xc
ret
Function at 0x1000a050
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002c70c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10035080]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
or esi, 0xffffffff
test byte [0x1003a0b0], 1
jne 0x1000a0d4
or dword [0x1003a0b0], 1
xor eax, eax
mov dword [esp + 0x28], ebx
mov ecx, 0x1003a098
mov dword [0x1003a098], eax
mov dword [0x1003a09c], eax
mov dword [0x1003a0a0], eax
mov dword [0x1003a0a4], eax
mov dword [0x1003a0a8], eax
mov dword [0x1003a0ac], eax
call fcn.1000a810
cmp eax, ebx
jge 0x1000a0c3
push eax
call fcn.100096f0
push 0x1002cc20
call fcn.10019bb2
add esp, 4
mov dword [esp + 0x28], esi
test byte [0x1003a0b0], 2
jne 0x1000a103
or dword [0x1003a0b0], 2
mov dword [esp + 0x28], 1
push 0x1002cc00
mov dword [0x1003a094], ebx
call fcn.10019bb2
add esp, 4
mov dword [esp + 0x28], esi
push 0x1003a098
mov dword [esp + 0x14], 0x1003a098
mov byte [esp + 0x18], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x14], 1
mov dword [esp + 0x28], 2
cmp dword [0x1003a090], ebx
jne 0x1000a18f
cmp dword [0x1003a094], ebx
jne 0x1000a18f
push str.3E86EFF3_B841_4466_B791_89F1F0DA3E95
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1003a094], eax
cmp eax, ebx
jne 0x1000a18f
push str.3E86EFF3_B841_4466_B791_89F1F0DA3E95
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1003a094], eax
cmp eax, ebx
jne 0x1000a18f
push 0x1003a098
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x14], bl
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
push 0x1003a098
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1003a094]
push esi
push eax
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], 0x1003a094
mov byte [esp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x1c], 1
mov dword [esp + 0x28], 3
cmp dword [0x1003a090], ebx
jne 0x1000a20d
mov edi, 1
call fcn.10009de0
mov dword [0x1003a090], eax
cmp eax, ebx
jne 0x1000a20d
mov dword [esp + 0x28], esi
mov ecx, dword [0x1003a094]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x1c], bl
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x28], esi
mov edx, dword [0x1003a094]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x1003a090]
push 0x10030590
push eax
mov byte [esp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x1000a250
Capabilities:
Check mutex on windows

Disassembly:
push 0xffffffffffffffff
push 0x1002c6bc
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10035080]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
xor ebx, ebx
or esi, 0xffffffff
test byte [0x1003a08c], 1
jne 0x1000a2d4
or dword [0x1003a08c], 1
xor eax, eax
mov dword [esp + 0x28], ebx
mov ecx, 0x1003a074
mov dword [0x1003a074], eax
mov dword [0x1003a078], eax
mov dword [0x1003a07c], eax
mov dword [0x1003a080], eax
mov dword [0x1003a084], eax
mov dword [0x1003a088], eax
call fcn.1000a810
cmp eax, ebx
jge 0x1000a2c3
push eax
call fcn.100096f0
push 0x1002cc50
call fcn.10019bb2
add esp, 4
mov dword [esp + 0x28], esi
test byte [0x1003a08c], 2
jne 0x1000a303
or dword [0x1003a08c], 2
mov dword [esp + 0x28], 1
push 0x1002cc30
mov dword [0x1003a070], ebx
call fcn.10019bb2
add esp, 4
mov dword [esp + 0x28], esi
push 0x1003a074
mov dword [esp + 0x14], 0x1003a074
mov byte [esp + 0x18], bl
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x14], 1
mov edi, 2
mov dword [esp + 0x28], edi
cmp dword [0x1003a06c], ebx
jne 0x1000a390
cmp dword [0x1003a070], ebx
jne 0x1000a390
push str.AFF409B1_AA38_4b43_A069_8D0A59EC994F
push ebx
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
mov dword [0x1003a070], eax
cmp eax, ebx
jne 0x1000a390
push str.AFF409B1_AA38_4b43_A069_8D0A59EC994F
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x1003a070], eax
cmp eax, ebx
jne 0x1000a390
push 0x1003a074
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x14], bl
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
push 0x1003a074
mov dword [esp + 0x2c], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1003a070]
push esi
push eax
mov byte [esp + 0x1c], bl
mov dword [esp + 0x20], 0x1003a070
mov byte [esp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov byte [esp + 0x1c], 1
mov dword [esp + 0x28], 3
cmp dword [0x1003a06c], ebx
jne 0x1000a409
call fcn.10009de0
mov dword [0x1003a06c], eax
cmp eax, ebx
jne 0x1000a409
mov dword [esp + 0x28], esi
mov ecx, dword [0x1003a070]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov byte [esp + 0x1c], bl
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
mov dword [esp + 0x28], esi
mov edx, dword [0x1003a070]
push edx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, dword [0x1003a06c]
push str.Start_UI
push eax
mov byte [esp + 0x24], bl
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x1000a750
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 8]
push edi
push ebx
push ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x1000a767
pop edi
pop ebp
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x1000a798
push ebx
push ebp
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, esi
and edi, 0xf
jbe 0x1000a794
cmp esi, eax
jae 0x1000a798
sub edi, 1
movzx ecx, word [esi]
lea esi, [esi + ecx*2 + 2]
jne 0x1000a784
cmp esi, eax
jb 0x1000a79e
pop esi
pop edi
xor eax, eax
pop ebp
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebp
ret

Function at 0x1000aeb0
Capabilities:
Check os version

Disassembly:
sub esp, 0x56c
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x568], eax
mov eax, dword [esp + 0x570]
push ebp
push esi
push edi
push 0x11c
lea ecx, [esp + 0x4c]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.1001a970
push 0x11c
push 0
push ebx
mov dword [esp + 0x60], 0x11c
call fcn.1001a970
add esp, 0x18
push ebx
mov dword [ebx], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebx + 4], 5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
jne 0x1000af54
push str.IsWow64Process
push str.kernel32
call ebp
push eax
call edi
mov esi, eax
mov dword [esp + 0x10], 0
test esi, esi
je 0x1000af54
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
je 0x1000af54
cmp dword [esp + 0x10], 0
jne 0x1000b01b
push str.RtlGetVersion
push str.ntdll
call ebp
push eax
call edi
test eax, eax
je 0x1000af6e
lea ecx, [esp + 0x48]
push ecx
call eax
mov eax, dword [ebx + 4]
lea edx, [eax + eax*4]
mov eax, dword [ebx + 8]
lea edi, [eax + edx*2]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x50]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
cmp eax, edi
jle 0x1000af9b
mov ecx, 0x47
lea esi, [esp + 0x48]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
mov edi, eax
xor eax, eax
push 0x40e
push eax
lea ecx, [esp + 0x16e]
push ecx
mov word [esp + 0x170], ax
call fcn.1001a970
add esp, 0xc
lea esi, [esp + 0x164]
call fcn.1000adf0
test eax, eax
jl 0x1000b01b
lea edx, [esp + 0x14]
push edx
mov eax, esi
call fcn.1000b050
test eax, eax
je 0x1000b01b
mov ecx, dword [esp + 0x24]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
lea edx, [eax + eax*4]
lea edx, [ecx + edx*2]
cmp edi, edx
jge 0x1000b00e
mov dword [ebx + 4], eax
mov eax, dword [esp + 0x28]
mov dword [ebx + 8], ecx
mov ecx, dword [esp + 0xc]
shr eax, 0x10
mov dword [ebx + 0xc], eax
mov dword [ecx + 4], 1
jmp 0x1000b026
mov edx, dword [esp + 0xc]
mov dword [edx + 4], 0
jmp 0x1000b026
mov eax, dword [esp + 0xc]
mov dword [eax + 4], 0
mov ecx, dword [esp + 0x574]
pop edi
pop esi
pop ebp
xor ecx, esp
mov eax, 1
call fcn.10019069
add esp, 0x56c
ret 4
Function at 0x1000b050
Capabilities:
Extract resource via kernel32 functions

Disassembly:
sub esp, 8
push ebx
push esi
push edi
push 2
xor ebx, ebx
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
je 0x1000b0ce
push 0x10
push 1
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x1000b0c7
push ebp
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1000b0c6
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x10], eax
test eax, eax
je 0x1000b0bf
push ebp
call fcn.100190c7
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x1000b0bf
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
call fcn.1001e9b0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop ebp
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor esi, esi
cmp ebx, esi
je 0x1000b112
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
push 0x10030eec
push ebx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000b109
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x18]
mov ecx, 0xd
rep movsd dword es:[edi], dword [esi]
mov esi, 1
push ebx
call fcn.1001abdc
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret 4
Function at 0x1000b500
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x80
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov esi, edx
mov edi, ecx
call fcn.1000a5a0
xor eax, eax
xor ebx, ebx
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x94]
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0x67452301
mov dword [esp + 0x20], 0xefcdab89
mov dword [esp + 0x24], 0x98badcfe
mov dword [esp + 0x28], 0x10325476
mov dword [esp + 0x2c], 0xc3d2e1f0
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x78], ebx
call fcn.1000cf80
add esp, 4
lea eax, [esp + 0x18]
lea ecx, [esp + 0x78]
call fcn.1000d060
mov dword [esp + 0x10], ebx
jmp 0x1000b5a0
movzx ebx, byte [esp + ebx + 0x78]
mov eax, ebx
shr eax, 4
movzx ecx, word [eax*2 + str.0123456789abcdef]
mov eax, dword [esi]
mov ebp, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebp + 1]
sub eax, edi
or edx, eax
mov dword [esp + 0x14], ecx
jge 0x1000b5d8
mov ecx, edi
mov eax, esi
call fcn.1000ce60
mov ecx, dword [esi]
mov dx, word [esp + 0x14]
mov word [ecx + ebp*2], dx
test edi, edi
jl 0x1000b671
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x1000b671
mov dword [eax - 0xc], edi
mov eax, dword [esi]
xor ecx, ecx
mov word [eax + edi*2], cx
mov eax, dword [esi]
and ebx, 0xf
movzx ebp, word [ebx*2 + str.0123456789abcdef]
mov ebx, dword [eax - 0xc]
mov edx, 1
sub edx, dword [eax - 4]
mov eax, dword [eax - 8]
lea edi, [ebx + 1]
sub eax, edi
or edx, eax
jge 0x1000b62a
mov ecx, edi
mov eax, esi
call fcn.1000ce60
mov ecx, dword [esi]
mov word [ecx + ebx*2], bp
test edi, edi
jl 0x1000b671
mov eax, dword [esi]
cmp edi, dword [eax - 8]
jg 0x1000b671
mov ebx, dword [esp + 0x10]
mov dword [eax - 0xc], edi
mov edx, dword [esi]
inc ebx
xor eax, eax
mov word [edx + edi*2], ax
mov dword [esp + 0x10], ebx
cmp ebx, 0x14
jb 0x1000b5a0
mov ecx, dword [esp + 0x8c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10019069
add esp, 0x80
ret
push 0x80070057
call fcn.100096f0
int3

Function at 0x1000b9a0
Capabilities:
Set registry value

Disassembly:
push ecx
push esi
push edi
lea eax, [esp + 8]
push eax
push 0x202
push 0
push str.SOFTWARE360SafeLiveup
push closesocket
mov dword [esp + 0x1c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000ba15
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx]
mov edi, dword [esp + 8]
test esi, esi
jne 0x1000b9de
lea eax, [esi + 0xd]
jmp 0x1000b9fb
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edx, [eax + eax + 2]
push edx
push esi
push 1
push 0
push 0x10030e54
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov esi, ecx
test edi, edi
je 0x1000ba0f
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x1000cd40
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov eax, dword [edi]
lea ecx, [esp]
push ecx
mov ecx, dword [esp + 0xc]
push esi
add eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x18]
push 0
mov dword [edi], 0
mov edx, dword [ecx]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000cdae
mov eax, dword [esp + 0xc]
cmp eax, 1
je 0x1000cd7f
cmp eax, 2
jne 0x1000cd9a
mov eax, dword [esp]
test esi, esi
je 0x1000cda8
test eax, eax
je 0x1000cda3
test al, 1
jne 0x1000cd9a
mov ecx, eax
shr ecx, 1
cmp word [esi + ecx*2 - 2], 0
je 0x1000cda8
mov eax, 0xd
pop ecx
ret 8
xor edx, edx
mov word [esi], dx
shr eax, 1
mov dword [edi], eax
xor eax, eax
pop ecx
ret 8
Function at 0x1000e930
Capabilities:
Query or enumerate registry key

Disassembly:
push 0xffffffffffffffff
push 0x1002c4c6
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10035080]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov eax, dword [esp + 0x470]
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x474]
mov dword [eax], ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], ecx
mov dword [ecx], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
lea ecx, [esp + 0x24]
push ecx
push 8
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
mov dword [esp + 0x478], ebx
push closesocket
mov dword [esp + 0x38], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x1000e9ce
mov edi, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], eax
jmp 0x1000e9d9
xor eax, eax
jmp 0x1000eb20
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x268]
push edx
push eax
mov esi, 0x104
push edi
mov dword [esp + 0x38], esi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1000eb01
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
lea eax, [esp + 0x28]
push eax
push 1
push ebx
lea ecx, [esp + 0x260]
push ecx
mov byte [esp + 0x478], 1
push edi
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [esp + 0x20], ebx
cmp eax, ebx
jne 0x1000ea8d
mov ebp, dword [esp + 0x28]
push str.NetCfgInstanceId
lea edx, [esp + 0x20]
mov dword [esp + 0x1c], esi
push edx
lea edi, [esp + 0x20]
lea esi, [esp + 0x54]
mov dword [esp + 0x24], ebp
call fcn.1000cd40
test eax, eax
jne 0x1000ea73
mov eax, dword [esp + 0x3c]
push eax
mov ecx, esi
push ecx
call dword [sym.imp.SHLWAPI.dll_StrCmpIW]
test eax, eax
je 0x1000eaa3
mov byte [esp + 0x468], bl
cmp ebp, ebx
je 0x1000ea89
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov eax, dword [esp + 0x2c]
inc eax
cmp eax, 0x100
mov dword [esp + 0x2c], eax
jl 0x1000e9d5
jmp 0x1000eb01
push str.BusType
lea edx, [esp + 0x20]
push edx
lea edi, [esp + 0x20]
lea esi, [esp + 0x54]
mov dword [esp + 0x20], 0x104
call fcn.1000cd40
test eax, eax
jne 0x1000eaef
mov eax, esi
push eax
call fcn.1001a0fd
add esp, 4
cmp eax, 5
jne 0x1000eaef
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x40]
mov dword [ecx], 1
push edx
mov ecx, ebp
call fcn.1000e800
add esp, 4
mov byte [esp + 0x468], bl
cmp ebp, ebx
je 0x1000eb01
push ebp
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x468], 0xffffffff
mov eax, dword [esp + 0x24]
cmp eax, ebx
je 0x1000eb1b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.10019069
add esp, 0x458
ret
Function at 0x100101d0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x10035080]
xor eax, esp
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x6c]
xor ecx, ecx
push esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x18], ecx
push eax
mov eax, dword [esp + 0x78]
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10013fd0
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.10014070
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.10019069
add esp, 0x68
ret