joyce8/EMBER2024-capa huggingface dataset:
Function at 0x429c70
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7e93
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x20], 0
push 0x404
lea eax, [ebp - 0x424]
mov dword [ebp - 4], 0
push 0
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
call fcn.00577190
add esp, 0xc
mov dword [ebp - 0x424], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
jne 0x429d29
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x429d29
call fcn.00428180
mov edi, eax
jmp 0x429e45
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x429d4c
call fcn.00428180
jmp 0x429e38
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x429d6a
call fcn.00428180
jmp 0x429e38
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x428], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x429d8b
mov edi, 0x8007000e
jmp 0x429e3a
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x429e80
jb 0x429da9
cmp eax, 0xffffffff
ja 0x429e80
cmp eax, 0x400
jbe 0x429dbe
push eax
lea ecx, [ebp - 0x424]
call fcn.00428150
jmp 0x429de4
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x429de4
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x429dfb
mov edi, 0x8007000e
jmp 0x429e3a
push edi
push dword [ebp - 0x424]
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x429e1b
call fcn.00428180
jmp 0x429e38
mov eax, dword [ebp - 0x424]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x424]
call fcn.00429b10
mov edi, eax
test esi, esi
je 0x429e45
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x429e60
lea ecx, [ebp - 0x424]
call fcn.00428130
nop
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0057389e
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.004043d0
int3
Function at 0x42bd80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x63b208
mov ebx, ecx
xor esi, esi
push edx
push ebx
mov dword [ebp - 0x10], ebx
xor edi, edi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x42be58
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x42be58
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x42be58
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push ebx
push 0x42
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x42be58
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x42be58
push ebx
push dword [ebp - 0x10]
push eax
call fcn.005765a0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x42be58
push 0x10
xor edi, edi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x42be56
xorps xmm0, xmm0
mov dword [ebp - 0xc], edi
lea ecx, [ebp - 0xc]
movups xmmword [esi], xmm0
mov eax, dword [ebp - 8]
push ecx
push eax
mov dword [esi], vtable.Gdiplus::Bitmap.0
call dword [sym.imp.gdiplus.dll_GdipCreateBitmapFromStream]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 4], eax
jmp 0x42be58
xor esi, esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x42be6c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], 0
test edi, edi
je 0x42be77
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0057389e
mov esp, ebp
pop ebp
ret
Function at 0x432ec0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8358
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
xor bl, bl
mov esi, str._nosurvey__uninstall__skipuninstallwebpage
test dl, dl
mov eax, str._nosurvey__uninstall
cmove esi, eax
mov dword [ebp - 4], 0
call fcn.004046a0
mov ecx, eax
test ecx, ecx
je 0x433060
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push esi
mov dword [ebp - 4], 1
lea eax, [ebp - 0x14]
push dword [0x6643c8]
push str.running_the_uninstaller_at__s_with_parameters__s_and_wait_for_it_to_exit...
push eax
call fcn.004205e0
push dword [ebp - 0x14]
mov edx, 0x18a
mov ecx, 0x63edd8
call fcn.0042bc90
mov eax, dword [0x6643c8]
add esp, 0x14
mov dword [ebp - 0x40], eax
xorps xmm0, xmm0
mov eax, dword [0x6643bc]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x50]
push eax
movlpd qword [ebp - 0x2c], xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x50], 0x3c
mov dword [ebp - 0x4c], 0x40
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0x63bdf0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x34], 1
mov dword [ebp - 0x30], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x432ff5
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push edi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [edi]
lea eax, [ebp - 0x14]
push str....the_uninstaller_exited_with_exit_code__d
push eax
call fcn.004205e0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x19c
mov ecx, 0x63edd8
push esi
call fcn.0042bc90
mov bl, 1
jmp 0x433020
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x14]
push str...._unable_to_run_the_uninstaller__ShellExecuteEx___failed_with_error_code__u
push eax
call fcn.004205e0
mov esi, dword [ebp - 0x14]
add esp, 0xc
mov edx, 0x1a2
mov ecx, 0x63edd8
push esi
call fcn.0042bc90
add esp, 4
add esi, 0xfffffff0
mov dword [ebp - 4], 2
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x433042
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057389e
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004043d0
int3
Function at 0x439390
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8ba0
mov eax, dword fs:[0]
push eax
push ebx
push ecx
push esi
mov eax, dword [0x65b0c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.00439a20
mov ecx, dword [ebx + 8]
mov esi, eax
mov dword [ebp - 4], 0
mov word [esi + 0xc], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
movups xmm0, xmmword [ecx]
movups xmmword [esi + 0x10], xmm0
movq xmm0, qword [ecx + 0x10]
movq qword [esi + 0x20], xmm0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
mov byte [ebp - 4], 1
lea ecx, [esi + 0x30]
push 0
mov byte [esi + 0x28], 0
call fcn.00436c60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8

Function at 0x441140
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9063
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x65b0c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.mb::common::crypto::EVPHashAlgorithm.0
mov dword [esi + 4], 0
push 0x48
mov byte [ebp - 4], 1
call fcn.00573e1f
add esp, 4
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
test ecx, ecx
je 0x441222
push 0x48
push ecx
call fcn.00573e00
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x441700
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9063
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x65b0c8]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.mb::common::crypto::EVPHashAlgorithm2.0
mov dword [esi + 4], 0
push 0x48
mov byte [ebp - 4], 1
call fcn.00573e1f
add esp, 4
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x28], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov dword [eax + 0x38], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov ecx, dword [esi + 4]
mov dword [esi + 4], eax
test ecx, ecx
je 0x4417e2
push 0x48
push ecx
call fcn.00573e00
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x444a60
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a95f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
test edx, edx
je 0x444b3e
mov edi, dword [ebp + 8]
test edi, edi
je 0x444b3e
push 0
lea eax, [ebp - 0x14]
push eax
push edi
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x444ac0
cmp dword [ebp - 0x14], edi
je 0x444b66
test esi, esi
je 0x444b3a
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00449460
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x444adf
mov ecx, dword [ecx]
mov eax, dword [esi]
push ecx
push str.Error_writting_to_file_:__s
push str.FileStreamUtils
push 4
push 0xbb
push str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_filestreamutils_win32.cpp
push str.mb::common::io::FileStreamUtils::Write
push esi
call dword [eax + 0x10]
mov edx, dword [ebp - 0x18]
add esp, 0x20
cmp edx, 8
jb 0x444b3a
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x444b30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444b84
push edx
push ecx
call fcn.00573e00
add esp, 8
xor al, al
jmp 0x444b68
test esi, esi
je 0x444b66
mov eax, dword [esi]
push str.Skipping_writting_zero_byte_buffer__this_may_be_an_empty_file_
push str.FileStreamUtils
push 4
push 0xb3
push str.d:jenkinsworkspace_n_mbcommon_srcmbcommon_filestreamutils_win32.cpp
push str.mb::common::io::FileStreamUtils::Write
push esi
call dword [eax + 0x10]
add esp, 0x1c
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057389e
mov esp, ebp
pop ebp
ret
call fcn.0057f5fe
int3
Function at 0x444cb0
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9628
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x20]
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], 0
jb 0x444cfd
mov eax, dword [esi]
push 0xf0000000
xor ecx, ecx
mov dword [esi + 0x10], 0
push 1
push ecx
mov word [eax], cx
lea eax, [ebp - 0x7c]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x444e39
lea eax, [ebp - 0x80]
push eax
push 0
push 0
push 0x8004
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
jne 0x444d4e
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x444e39
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp + 8]
mov eax, dword [ebp + 0x18]
cmovae ecx, dword [ebp + 8]
add eax, eax
push eax
push ecx
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
push 0
test eax, eax
je 0x444e27
lea eax, [ebp - 0x84]
mov dword [ebp - 0x84], 0x14
push eax
lea eax, [ebp - 0x24]
push eax
push 2
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x444e25
mov edi, dword [ebp - 0x84]
cmp edi, 0x14
ja 0x444e25
push 0x52
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.00577190
add esp, 0xc
xor edx, edx
test edi, edi
je 0x444dec
nop dword [eax]
movzx ecx, byte [ebp + edx - 0x24]
mov eax, ecx
and ecx, 0xf
shr eax, 4
movzx eax, word [eax*2 + str.0123456789abcdef]
mov word [ebp + edx*4 - 0x78], ax
movzx eax, word [ecx*2 + str.0123456789abcdef]
mov word [ebp + edx*4 - 0x76], ax
inc edx
cmp edx, edi
jb 0x444dc0
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea edx, [ebp - 0x78]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x444e06
sub edx, ecx
lea eax, [ebp - 0x78]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.00419250
mov bl, 1
jmp 0x444e3b
push 0
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor bl, bl
mov edx, dword [ebp + 0x1c]
cmp edx, 8
jb 0x444e71
mov ecx, dword [ebp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x444e67
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x444e91
push edx
push ecx
call fcn.00573e00
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057389e
mov esp, ebp
pop ebp
ret 0x1c
call fcn.0057f5fe
int3
Function at 0x445490
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
cmp dword [esi + 0x14], 8
jb 0x4454bc
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x10]
push eax
push 0x101
push ecx
push str.SoftwareMicrosoftCryptography
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x44555a
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 8]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x445551
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x445551
push edi
push eax
call fcn.00574151
mov edi, eax
add esp, 4
test edi, edi
je 0x445550
lea eax, [ebp - 0xc]
push eax
push edi
lea eax, [ebp - 8]
push eax
push 0
push str.MachineGuid
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x445547
mov eax, dword [ebp - 0xc]
mov ecx, esi
shr eax, 1
dec eax
push eax
push edi
call fcn.00419250
push edi
call fcn.00573e0e
add esp, 4
pop edi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0057389e
mov esp, ebp
pop ebp
ret 4
Function at 0x445570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a96c8
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov eax, esi
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x30], 0
cmp dword [esi + 0x14], 8
jb 0x4455b6
mov eax, dword [esi]
xor ecx, ecx
mov dword [esi + 0x10], 0
mov word [eax], cx
lea eax, [ebp - 0x34]
push eax
push 0x101
push ecx
push str.HardwareDescriptionSystem
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x445764
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.SystemBiosVersion
push dword [ebp - 0x34]
call ebx
test eax, eax
jne 0x44564a
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x44564a
push eax
call fcn.00574151
mov edi, eax
add esp, 4
test edi, edi
je 0x44564a
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push str.SystemBiosVersion
push dword [ebp - 0x34]
call ebx
test eax, eax
jne 0x445641
mov eax, dword [ebp - 0x30]
mov ecx, esi
shr eax, 1
push eax
push edi
call fcn.00419250
push edi
call fcn.00573e0e
add esp, 4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x445654
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
mov ecx, esi
jb 0x445660
mov ecx, dword [esi]
mov edi, eax
xor edx, edx
sub edi, ecx
inc edi
shr edi, 1
cmp ecx, eax
cmova edi, edx
test edi, edi
je 0x445686
lea eax, [edx + 0x3a]
cmp word [ecx], 0
jne 0x44567e
mov word [ecx], ax
inc edx
add ecx, 2
cmp edx, edi
jne 0x445675
lea eax, [ebp - 0x30]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push 0
push str.SystemBiosDate
push dword [ebp - 0x34]
call ebx
test eax, eax
jne 0x44575b
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x44575b
push eax
call fcn.00574151
mov edi, eax
add esp, 4
test edi, edi
je 0x44575b
lea eax, [ebp - 0x30]
push eax
push edi
lea eax, [ebp - 0x14]
push eax
push 0
push str.SystemBiosDate
push dword [ebp - 0x34]
call ebx
test eax, eax
jne 0x445752
mov eax, dword [ebp - 0x30]
xor ecx, ecx
shr eax, 1
dec eax
mov word [ebp - 0x2c], cx
push eax
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
call fcn.00419250
mov dword [ebp - 4], 0
lea eax, [ebp - 0x2c]
cmp dword [ebp - 0x18], 8
mov ecx, esi
push dword [ebp - 0x1c]
cmovae eax, dword [ebp - 0x2c]
push eax
call fcn.00426070
mov edx, dword [ebp - 0x18]
cmp edx, 8
jb 0x445752
mov ecx, dword [ebp - 0x2c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x445748
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x445782
push edx
push ecx
call fcn.00573e00
add esp, 8
push edi
call fcn.00573e0e
add esp, 4
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057389e
mov esp, ebp
pop ebp
ret 4
call fcn.0057f5fe
int3
Function at 0x445c40
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9788
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x65b0c8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x5c], edi
push ecx
mov ecx, 5
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.004302f0
add esp, 4
test al, al
jne 0x445d65
xorps xmm0, xmm0
mov dword [ebp - 0x38], 0
sub esp, 8
movq qword [ebp - 0x68], xmm0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x60], 0
movups xmmword [ebp - 0x58], xmm0
movups xmmword [ebp - 0x48], xmm0
call fcn.00446530
mov ecx, dword [ebp - 0x64]
mov eax, 0x1948b0fd
mov esi, dword [ebp - 0x68]
sub ecx, esi
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
imul eax, eax, 0x288
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
push eax
push esi
call dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
test eax, eax
jne 0x445d5b
mov esi, dword [ebp - 0x68]
or eax, 0xffffffff
cmp dword [esi + 0x19c], eax
jae 0x445d49
movzx eax, byte [esi + 0x199]
push eax
movzx eax, byte [esi + 0x198]
push eax
movzx eax, byte [esi + 0x197]
push eax
movzx eax, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push eax
movzx eax, byte [esi + 0x194]
push eax
push 0x644f80
lea eax, [ebp - 0x58]
push 0x12
push eax
call fcn.00444be0
mov eax, dword [esi + 0x19c]
add esp, 0x24
mov esi, dword [esi]
test esi, esi
jne 0x445cf8
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call fcn.00444b90
lea ecx, [ebp - 0x68]
call fcn.004465a0
jmp 0x445dac
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov esi, eax
mov dword [ebp - 0x5c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x445d8c
cmp esi, 1
je 0x445d8c
cmp esi, 0x80010106
jne 0x445d96
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00445e00
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x445da6
cmp esi, 1
jne 0x445dac
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov dword [edi + 0x10], 0
lea ecx, [ebp - 0x34]
mov dword [edi + 0x14], 7
mov word [edi], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x445dc5
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.00419250
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057389e
mov esp, ebp
pop ebp
ret 4