joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001caa4
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x1001cab3
pop dword [ebp - 0x34]
mov eax, 0x5a688b39
add eax, 0xb5993f7a
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xa1a1a024
sub dword [ebp - 0x44], 0x534f5ad9
mov dword [ebp - 0x40], 0x1a19d2fe
sub dword [ebp - 0x40], 0xe7e686b9
mov dword [ebp - 0x3c], 0x5e6b340a
add dword [ebp - 0x3c], 0xede11024
mov dword [ebp - 0x38], 0x568f567e
add dword [ebp - 0x38], 0xa970a982
lea eax, [ebp - 0x44]
push eax
mov eax, 0x1ab26b97
add eax, 0xf54da52d
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3aaa7ec
add dword [ebp - 0x44], 0x70c7c16a
mov dword [ebp - 0x40], 0xa404ae0a
sub dword [ebp - 0x40], 0x62984c95
mov dword [ebp - 0x3c], 0x174932bf
sub dword [ebp - 0x3c], 0xb3d9c653
mov dword [ebp - 0x38], 0x2bc91726
sub dword [ebp - 0x38], 0x2bc91726
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3dc5c
push 0
call eax
mov ecx, 0x4e6f
mov edx, eax
mov edi, 0x6585c9cb
sub edi, 0x5582efcb
add edi, dword [ebp - 0x34]
mov esi, 0x9878e61d
sub esi, 0x3b8487c8
add dword [ebp - 0x24], 0x2ce78534
mov ebx, dword [edi]
xor dword [ebp - 8], eax
sub ebx, esi
xor dword [ebp - 0xc], 0x3558e3f8
mov dword [edx], ebx
add edx, 0x88ee8164
sub edx, 0x88ee8160
add edi, 0xd6436f11
add edi, 0x29bc90f3
loop 0x1001cbca
add eax, 0x12c8f
mov ebx, eax
add eax, 0x2bf17120
sub eax, 0x2bf1711b
mov ecx, 0x811c0ff5
add ecx, 0x8ee3f00b
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x10023d3a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10001b3c]
jne 0x1002420f
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x328
mov dword [0x10028d58], eax
mov dword [0x10028d54], ecx
mov dword [0x10028d50], edx
mov dword [0x10028d4c], ebx
mov dword [0x10028d48], esi
mov dword [0x10028d44], edi
mov word [0x10028d70], ss
mov word [0x10028d64], cs
mov word [0x10028d40], ds
mov word [0x10028d3c], es
mov word [0x10028d38], fs
mov word [0x10028d34], gs
pushfd
pop dword [0x10028d68]
mov eax, dword [ebp]
mov dword [0x10028d5c], eax
mov eax, dword [ebp + 4]
mov dword [0x10028d60], eax
lea eax, [ebp + 8]
mov dword [0x10028d6c], eax
mov eax, dword [ebp - 0x320]
mov dword [0x10028ca8], 0x10001
mov eax, dword [0x10028d60]
mov dword [0x10028c5c], eax
mov dword [0x10028c50], 0xc0000409
mov dword [0x10028c54], 1
mov eax, dword [0x10001b3c]
mov dword [ebp - 0x328], eax
mov eax, dword [0x10028390]
mov dword [ebp - 0x324], eax
call dword [sym.imp.kernel32.dll_IsDebuggerPresent]
mov dword [0x10028ca0], eax
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0
call dword [sym.imp.kernel32.dll_SetUnhandledExceptionFilter]
push 0x10001b4c
call dword [sym.imp.kernel32.dll_UnhandledExceptionFilter]
cmp dword [0x10028ca0], 0
jne 0x100242fb
push 1
call sub.MSVCR100.dll__crt_debugger_hook
pop ecx
push 0xc0000409
call dword [sym.imp.kernel32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.kernel32.dll_TerminateProcess]
leave
ret
Function at 0x402907
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x402916
pop dword [ebp - 0x1c]
mov eax, 0x93db4132
add eax, 0x6c64e7e4
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x184d825
sub dword [ebp - 0x2c], 0xb33292da
mov dword [ebp - 0x28], 0x3911e909
add dword [ebp - 0x28], 0xf921633c
mov dword [ebp - 0x24], 0x15543c0b
sub dword [ebp - 0x24], 0xc907f7dd
mov dword [ebp - 0x20], 0xd81405e1
sub dword [ebp - 0x20], 0xd81405e1
lea eax, [ebp - 0x2c]
push eax
mov eax, 0x943384ea
sub eax, 0x93f314ce
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x9f9cb4f2
add dword [ebp - 0x2c], 0xd4d5b464
mov dword [ebp - 0x28], 0xbabe78a5
sub dword [ebp - 0x28], 0x79521730
mov dword [ebp - 0x24], 0x8bd1b2b
sub dword [ebp - 0x24], 0xa54daebf
mov dword [ebp - 0x20], 0x1bba5617
sub dword [ebp - 0x20], 0x1bba5617
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3a478
push 0
call eax
mov ecx, 0x5228
xor esi, esi
add esi, eax
mov edi, 0xd060bef9
sub edi, 0xd01ff6f9
add edi, dword [ebp - 0x1c]
mov edx, 0x95a300e8
sub dword [ebp - 0x18], ebx
mov ebx, dword [edi]
sub ebx, edx
add dword [ebp - 8], ecx
mov dword [esi], ebx
xor dword [ebp - 0x10], edi
add esi, 0x6e2b4cc0
add esi, 0x91d4b344
add edi, 4
loop 0x402a29
add eax, 0x782b8d91
sub eax, 0x782a521e
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x3f6eb1
sub ecx, 0xffff6eb1
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x404635
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4069e0
call fcn.004054fb
cmp dword [0x40a010], 0
mov esi, dword [ebp + 8]
jne 0x404654
mov al, 1
jmp 0x40471d
test esi, esi
je 0x40471b
xor ebx, ebx
cmp word [esi], bx
je 0x40471b
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40471b
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x40471b
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00402907
pop ecx
pop ecx
mov esi, dword [0x40a010]
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x18], ebx
je 0x40470f
lea eax, [ebp - 0x28]
push eax
call fcn.00402907
pop ecx
test al, al
jne 0x40470f
cmp dword [ebp - 0x18], esi
jbe 0x40470f
cmp dword [0x40a014], 8
lea eax, [ebp - 0x28]
mov ecx, section..data
cmovae ecx, dword [section..data]
cmp dword [ebp - 0x14], 8
push esi
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsnicmp]
add esp, 0xc
test eax, eax
jne 0x40470f
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
test eax, eax
je 0x40470f
push 0x407620
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
xor edx, edx
movzx ebx, bl
inc edx
test eax, eax
pop ecx
pop ecx
cmovne ebx, edx
lea ecx, [ebp - 0x28]
call fcn.00401788
mov al, bl
jmp 0x40471d
xor al, al
call fcn.004054b6
ret
Function at 0x10001350
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x68
mov eax, dword [0x1014a240]
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.10004f60
add esp, 4
lea esi, [esp + 8]
mov ecx, edi
call fcn.10005000
mov ecx, dword [esp + 0x64]
pop esi
xor ecx, esp
call fcn.100e1a8a
add esp, 0x68
ret
Function at 0x100014c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov esi, eax
lea eax, [esp + 0x18]
push eax
push 0x20119
xor edi, edi
push edi
push str.SOFTWARE360MachineSignature
push reloc.WS2_32.dll_bind
mov ebx, ecx
mov dword [esp + 0x30], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10001651
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esi + 0x10], eax
push ebx
mov dword [esi + 0x14], eax
lea edx, [esp + 0x1c]
push edx
mov dword [esi + 0x18], eax
push eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], eax
mov eax, dword [esp + 0x28]
push str.Operator
mov edi, 0x400
push eax
mov dword [esp + 0x28], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10001553
cmp dword [esp + 0x14], 1
jne 0x10001638
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi], ebx
lea ebx, [eax + ebx]
je 0x10001638
mov eax, dword [esp + 0x18]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.IssueDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x10001598
cmp dword [esp + 0x14], 1
jne 0x10001638
mov eax, dword [esp + 0x10]
mov dword [esi + 4], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x10001638
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.ExpirationDate
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x100015cf
cmp dword [esp + 0x14], 1
jne 0x10001638
mov eax, dword [esp + 0x10]
mov dword [esi + 8], ebx
sub edi, eax
add ebx, eax
test edi, edi
je 0x10001638
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x10]
push ecx
push ebx
lea edx, [esp + 0x1c]
push edx
push 0
push str.SignData
push eax
mov dword [esp + 0x28], edi
call ebp
test eax, eax
jne 0x10001638
cmp dword [esp + 0x14], 3
jne 0x10001638
mov eax, dword [esp + 0x10]
sub edi, eax
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], ebx
je 0x10001638
lea eax, [esi + 0xc]
call fcn.100013c0
test eax, eax
je 0x10001638
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov ecx, 0x400
sub ecx, edi
push eax
mov dword [edx], ecx
mov esi, 1
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x10001a10
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x1014a240]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
lea eax, [esp + 8]
mov esi, edx
push eax
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x18], 0x67452301
mov dword [esp + 0x1c], 0xefcdab89
mov dword [esp + 0x20], 0x98badcfe
mov dword [esp + 0x24], 0x10325476
call fcn.10003ac0
add esp, 8
test eax, eax
jne 0x10001a7b
pop esi
mov ecx, dword [esp + 0x68]
xor ecx, esp
call fcn.100e1a8a
add esp, 0x6c
ret
mov eax, dword [esp + 0x74]
test eax, eax
jbe 0x10001a90
push esi
lea ecx, [esp + 0x14]
call fcn.10004f60
add esp, 4
lea esi, [esp + 0x10]
mov ecx, ebx
call fcn.10005000
test edi, edi
je 0x10001aae
mov ecx, dword [esp + 0xc]
xor eax, eax
cmp ecx, dword [esp + 8]
sete al
mov dword [edi], eax
mov ecx, dword [esp + 0x6c]
pop esi
xor ecx, esp
mov eax, 1
call fcn.100e1a8a
add esp, 0x6c
ret

Function at 0x10001b40
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x1014a240]
xor eax, esp
mov dword [esp + 0x5c], eax
xor eax, eax
push esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
push edi
lea eax, [esp + 8]
mov edi, ecx
push eax
mov dword [esp + 0xc], 0x67452301
mov dword [esp + 0x10], 0xefcdab89
mov dword [esp + 0x14], 0x98badcfe
mov dword [esp + 0x18], 0x10325476
call fcn.10003cb0
add esp, 4
test eax, eax
jne 0x10001b9e
pop edi
pop esi
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.100e1a8a
add esp, 0x64
ret
lea esi, [esp + 8]
mov ecx, ebx
call fcn.10005000
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.100e1a8a
add esp, 0x64
ret

Function at 0x10001bc0
Capabilities:
Hash data using sha256

Disassembly:
sub esp, 0x74
mov eax, dword [0x1014a240]
xor eax, esp
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x78]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
push edi
lea ecx, [esp + 8]
push ecx
push eax
mov dword [esp + 0x10], 0x6a09e667
mov dword [esp + 0x14], 0xbb67ae85
mov dword [esp + 0x18], 0x3c6ef372
mov dword [esp + 0x1c], 0xa54ff53a
mov dword [esp + 0x20], 0x510e527f
mov dword [esp + 0x24], 0x9b05688c
mov dword [esp + 0x28], 0x1f83d9ab
mov dword [esp + 0x2c], 0x5be0cd19
call fcn.10003d90
add esp, 8
test eax, eax
jne 0x10001c3f
pop edi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.100e1a8a
add esp, 0x74
ret
mov eax, esi
lea edi, [esp + 8]
call fcn.10004b40
mov ecx, dword [esp + 0x74]
pop edi
xor ecx, esp
mov eax, 1
call fcn.100e1a8a
add esp, 0x74
ret

Function at 0x10002610
Capabilities:
Read file on windows

Disassembly:
push ecx
push 0
lea eax, [esp + 4]
push eax
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x1000263b
push 0x10142edc
mov eax, 0x10142edc
call fcn.10005aa0
add esp, 4
xor eax, eax
pop ecx
ret
mov eax, 1
cmp esi, dword [esp]
je 0x10002654
push 0x10142edc
call fcn.10005b10
add esp, 4
xor eax, eax
pop ecx
ret
Function at 0x10002ef0
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x28
mov eax, dword [0x1014a240]
xor eax, esp
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
push ebx
push ebp
xor ebx, ebx
push esi
mov esi, ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ebx
cmp eax, ebx
jne 0x10002f23
mov dword [esp + 0x10], 0xffffffff
jmp 0x10002f29
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push ebx
push ebx
push ebp
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x10002f57
push 0x10142edc
mov eax, 0x10142edc
call fcn.10005aa0
add esp, 4
jmp 0x10003037
push 0
lea edx, [esp + 0x1c]
push edx
push 8
lea eax, [esp + 0x30]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10002f87
push 0x10142edc
mov eax, 0x10142edc
call fcn.10005aa0
add esp, 4
jmp 0x10003037
mov eax, 8
cmp dword [esp + 0x18], eax
je 0x10002fa9
mov eax, 1
push 0x10142edc
call fcn.10005b10
add esp, 4
jmp 0x10003037
cmp dword [esp + 0x40], ebx
je 0x10002fe5
mov ebx, eax
cmp dword [esp + 0x10], eax
jae 0x10002fcb
mov eax, 5
push 0x10142edc
call fcn.10005b10
add esp, 4
jmp 0x10003037
mov ecx, dword [esp + 0x24]
mov dx, word [esp + 0x28]
mov dword [esi], ecx
mov cx, word [esp + 0x2a]
mov word [esi + 4], dx
mov word [esi + 6], cx
jmp 0x1000302f
mov esi, dword [esp + 0x24]
cmp esi, dword [esp + 0x10]
jbe 0x10002ff3
mov ebx, esi
jmp 0x10002fb7
mov edx, dword [esp + 0x38]
xor ebx, ebx
push ebx
push ebx
push ebp
push edx
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x1000301c
push 0x10142edc
mov eax, 0x10142edc
call fcn.10005aa0
add esp, 4
jmp 0x10003037
mov ecx, dword [esp + 0x20]
mov edx, edi
call fcn.10002610
test eax, eax
je 0x10003037
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10003041
mov dword [eax], ebx
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100e1a8a
add esp, 0x28
ret
Function at 0x10003920
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, eax
mov eax, dword [ebx]
mov esi, dword [ebx + 0x18]
lea ecx, [esp + 0x10]
push ecx
xor edi, edi
push eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x10003962
push 0x10142edc
mov eax, 0x10142edc
call fcn.10005aa0
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov edi, dword [esp + 0x10]
mov ecx, dword [ebx + 0xb4]
xor edx, edx
sub edi, esi
mov esi, dword [esp + 0x14]
sbb esi, edx
sub edi, 0x298
sbb esi, edx
xor eax, eax
cmp esi, eax
jl 0x10003a27
jg 0x10003992
cmp edi, ecx
jb 0x10003a27
mov ebx, dword [ebx]
push 0
push 0
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
jne 0x100039c0
push 0x10142edc
mov eax, 0x10142edc
call fcn.10005aa0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x1c]
push 0
lea eax, [esp + 0x10]
push eax
push 0x298
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100039a5
cmp dword [esp + 0xc], 0x298
je 0x10003a01
push 0x10142edc
mov eax, 1
call fcn.10005b10
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x20]
test eax, eax
je 0x10003a0e
mov dword [eax], edi
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10003a34
mov edx, 1
mov word [eax], dx
mov eax, edx
pop edi
pop esi
pop ebx
add esp, 0xc
ret
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10003a34
xor ecx, ecx
mov word [eax], cx
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0xc
ret
Function at 0x100042e0
Capabilities:
Get storage device properties

Disassembly:
sub esp, 0x1c
mov eax, dword [0x1014a240]
xor eax, esp
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x20]
push ebp
xor ebp, ebp
mov dword [esp + 0xc], eax
mov dword [esp + 4], ebp
mov dword [esp + 8], ebp
cmp eax, ebp
je 0x10004420
cmp dword [esp + 0x28], ebp
je 0x10004420
push ebx
push 0x2800
call fcn.100e3cdd
mov ebx, eax
add esp, 4
cmp ebx, ebp
jne 0x10004343
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop ebx
or eax, 0xffffffff
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100e1a8a
add esp, 0x1c
ret
push esi
push edi
xor edi, edi
jmp 0x10004350
push edi
push str..PhysicalDrive_d
mov ecx, 0x2800
call fcn.100024a0
add esp, 8
push ebp
push 0x80
push 3
push ebp
push 3
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x100043f6
xor eax, eax
push 0x2800
push ebp
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
push ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
call fcn.100e1a10
add esp, 0xc
push ebp
lea eax, [esp + 0x18]
push eax
push 0x2800
push ebx
push 0xc
lea ecx, [esp + 0x30]
push ecx
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100043e9
mov eax, dword [ebx + 0x18]
cmp eax, ebp
jbe 0x100043e9
mov edx, dword [esp + 0x18]
add eax, ebx
push eax
mov eax, dword [esp + 0x38]
push edx
push str.DISKID:
call fcn.10004060
add esp, 0xc
mov dword [esp + 0x10], eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x10], ebp
jne 0x10004400
inc edi
cmp edi, 0x10
jl 0x10004350
push ebx
call fcn.100e3c00
mov eax, dword [esp + 0x14]
add esp, 4
pop edi
pop esi
pop ebx
pop ebp
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.100e1a8a
add esp, 0x1c
ret
mov ecx, dword [esp + 0x1c]
pop ebp
xor ecx, esp
or eax, 0xffffffff
call fcn.100e1a8a
add esp, 0x1c
ret
Function at 0x100044d0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
xor esi, esi
push edi
xor edi, edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x24], esi
cmp dword [esp + 0x30], esi
je 0x1000450a
cmp dword [esp + 0x34], esi
je 0x1000450a
push 0x200
call fcn.100e3cdd
mov ebx, eax
add esp, 4
cmp ebx, esi
jne 0x10004515
push 8
call dword [sym.imp.KERNEL32.dll_SetLastError]
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
lea eax, [esp + 0x14]
push eax
push 0x20119
push esi
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionNetworkCards
push reloc.WS2_32.dll_bind
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10004674
mov edx, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x20]
push ecx
push ebx
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
jne 0x1000460a
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1000456d
mov eax, reloc.WS2_32.dll_bind
lea ecx, [esp + 0x1c]
push ecx
push 0x20119
push 0
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100045e3
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x20]
lea eax, [ebx + 4]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push str.ServiceName
push edx
mov dword [esp + 0x38], 1
mov dword [esp + 0x28], 0x200
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x100045d8
mov eax, ebx
mov dword [ebx], 0x5c2e5c5c
call fcn.10004440
cmp edx, edi
jb 0x100045d8
ja 0x100045d2
cmp eax, dword [esp + 0x24]
jbe 0x100045d8
mov dword [esp + 0x24], eax
mov edi, edx
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [esp + 0x14]
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push ebx
inc esi
push esi
push edx
mov dword [esp + 0x30], 0x100
call ebp
test eax, eax
je 0x10004560
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
ja 0x10004620
cmp dword [esp + 0x24], 0
jbe 0x10004674
mov ecx, dword [esp + 0x24]
push edi
push ecx
push str._012I64X
mov ecx, 0x200
call fcn.100024a0
add esp, 0xc
test eax, eax
jne 0x10004659
push ebx
mov dword [esp + 0x1c], 0xffffffff
call fcn.100e3c00
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
push ebx
push edx
push str.MAC:
call fcn.10004060
add esp, 0xc
mov dword [esp + 0x18], eax
push ebx
call fcn.100e3c00
mov eax, dword [esp + 0x1c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x10007120
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10101720
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x1014a240]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ecx, dword [0x101555d8]
xor edi, edi
cmp ecx, edi
jne 0x1000716b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
jne 0x10007178
mov dword [ebp - 0x14], edi
jmp 0x10007190
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x14], eax
cmp eax, edi
jne 0x10007236
mov ecx, dword [0x101555d8]
mov eax, dword [ecx]
cmp eax, edi
je 0x10007157
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x10007157
mov dword [ebp - 4], edi
mov ebx, 0x101555d8
call fcn.10007250
mov esi, eax
mov dword [ebp - 0x14], esi
cmp esi, edi
jne 0x100071ce
mov dword [ebp - 0x18], 1
push 0x101449e4
lea eax, [ebp - 0x18]
push eax
call fcn.100e70bc
mov ecx, dword [0x101555d8]
mov eax, dword [ecx + 4]
cmp eax, 0xffffffff
je 0x100071e8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
cmp eax, edi
jne 0x100071fd
mov dword [ebp - 0x1c], 4
push 0x101449e4
lea edx, [ebp - 0x1c]
push edx
call fcn.100e70bc
mov dword [ebp - 4], 0xffffffff
jmp 0x10007222
mov eax, dword [0x101555d8]
mov eax, dword [eax]
test eax, eax
je 0x10007234
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret