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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b16f3
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x6670c8]
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.0057fee0
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 0x4370d9
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x430], eax
test esi, esi
jne 0x4370d9
call fcn.00435530
mov edi, eax
jmp 0x4371f5
push dword [ebp - 0x428]
push dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4370fc
call fcn.00435530
jmp 0x4371e8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x42c], ebx
test ebx, ebx
jne 0x43711a
call fcn.00435530
jmp 0x4371e8
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 0x43713b
mov edi, 0x8007000e
jmp 0x4371ea
mov ecx, 2
mov byte [ebp - 4], 2
mul ecx
test edx, edx
ja 0x437230
jb 0x437159
cmp eax, 0xffffffff
ja 0x437230
cmp eax, 0x400
jbe 0x43716e
push eax
lea ecx, [ebp - 0x424]
call fcn.00435500
jmp 0x437194
lea eax, [ebp - 0x420]
mov dword [ebp - 0x424], eax
jmp 0x437194
mov dword [ebp - 4], 1
cmp dword [ebp - 0x424], 0
jne 0x4371ab
mov edi, 0x8007000e
jmp 0x4371ea
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 0x4371cb
call fcn.00435530
jmp 0x4371e8
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.00436ec0
mov edi, eax
test esi, esi
je 0x4371f5
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x420]
cmp dword [ebp - 0x424], eax
je 0x437210
lea ecx, [ebp - 0x424]
call fcn.004354e0
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.0057c5eb
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.00403f50
int3
Function at 0x4390e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6670c8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x643290
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 0x4391b8
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4391b8
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4391b8
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 0x4391b8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x4391b8
push ebx
push dword [ebp - 0x10]
push eax
call fcn.0057f2f0
add esp, 0xc
lea eax, [ebp - 8]
push eax
push 1
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
js 0x4391b8
push 0x10
xor edi, edi
call dword [sym.imp.gdiplus.dll_GdipAlloc]
mov esi, eax
mov dword [ebp - 0x10], esi
test esi, esi
je 0x4391b6
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 0x4391b8
xor esi, esi
mov eax, dword [ebp - 8]
test eax, eax
je 0x4391cc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 8], 0
test edi, edi
je 0x4391d7
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.0057c5eb
mov esp, ebp
pop ebp
ret
Function at 0x43eb10
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1a46
mov eax, dword fs:[0]
push eax
sub esp, 0x264
mov eax, dword [0x6670c8]
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
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push ebx
push 2
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x43ec56
push 0x22c
lea eax, [ebp - 0x240]
push ebx
push eax
call fcn.0057fee0
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x43ebc9
mov ebx, dword [sym.imp.KERNEL32.dll_Process32NextW]
cmp dword [ebp - 0x238], esi
je 0x43ebb7
lea eax, [ebp - 0x240]
push eax
push edi
call ebx
test eax, eax
jne 0x43eb93
push edi
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43ecd7
mov ebx, dword [ebp - 0x228]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43ecd7
lea ecx, [ebp - 0x258]
call fcn.0044a310
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43ebe6
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_n_mb5uns_srcmb4uns_setuputils.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0xbc
mov ecx, eax
call fcn.00414f30
mov edx, str.:_Process32First___failed__error_
mov ecx, eax
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x258]
call fcn.00418110
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x43ecd7
lea ecx, [ebp - 0x270]
call fcn.0044a310
mov dword [ebp - 4], 1
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x43ec73
mov eax, dword [eax]
push ecx
mov edx, eax
mov ecx, 0x66f280
call fcn.00417550
add esp, 4
mov edx, str.c:jenkinsworkspacembam_windows_n_mb5uns_srcmb4uns_setuputils.cpp
mov ecx, eax
call fcn.00416700
mov edx, 0x643b2c
mov ecx, eax
call fcn.00416700
push 0xc3
mov ecx, eax
call fcn.00414f30
mov edx, str.:_CreateToolhelp32Snapshot___failed__error_
mov ecx, eax
call fcn.00416700
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00419b10
push eax
call fcn.00416a70
add esp, 4
lea ecx, [ebp - 0x270]
call fcn.00418110
mov eax, ebx
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.0057c5eb
mov esp, ebp
pop ebp
ret
Function at 0x440500
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 1
push 0
push 0
mov esi, edx
mov edi, ecx
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push dword [ebp + 8]
mov edx, esi
mov byte [0x6704ed], 1
mov ecx, edi
call fcn.0043fc80
add esp, 4
pop edi
pop esi
pop ebp
ret
Function at 0x4505c0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2bf3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6670c8]
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.0057cb6c
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 0x4506a2
push 0x48
push ecx
call fcn.0057cb4d
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 0x450b30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2bf3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x6670c8]
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.0057cb6c
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 0x450c12
push 0x48
push ecx
call fcn.0057cb4d
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 0x453800
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3188
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x6670c8]
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 0x4538a4
mov edi, dword [ebp + 8]
test edi, edi
je 0x4538a4
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 0x453854
cmp dword [ebp - 0x14], edi
je 0x4538cc
test esi, esi
je 0x4538a0
mov edx, ebx
lea ecx, [ebp - 0x2c]
call fcn.00457930
mov ecx, eax
mov dword [ebp - 4], 0
cmp dword [ecx + 0x14], 8
jb 0x453873
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.e:jenkinsworkspace_n_mbcommon_srcmbcommon_filestreamutils_win32.cpp
push str.mb::common::io::FileStreamUtils::Write
push esi
call dword [eax + 0x10]
add esp, 0x20
lea ecx, [ebp - 0x2c]
call fcn.00418110
xor al, al
jmp 0x4538ce
test esi, esi
je 0x4538cc
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.e: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.0057c5eb
mov esp, ebp
pop ebp
ret
Function at 0x453b90
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 0x5b31b8
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x6670c8]
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 0x453bdd
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 0x453d19
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 0x453c2e
push dword [ebp - 0x7c]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x453d19
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 0x453d07
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 0x453d05
mov edi, dword [ebp - 0x84]
cmp edi, 0x14
ja 0x453d05
push 0x52
lea eax, [ebp - 0x78]
push 0
push eax
call fcn.0057fee0
add esp, 0xc
xor edx, edx
test edi, edi
je 0x453ccc
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 0x453ca0
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 0x453ce6
sub edx, ecx
lea eax, [ebp - 0x78]
sar edx, 1
mov ecx, esi
push edx
push eax
call fcn.004181e0
mov bl, 1
jmp 0x453d1b
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
lea ecx, [ebp + 8]
call fcn.00418110
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.0057c5eb
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x4540f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x6670c8]
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 0x45411c
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 0x4541ba
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 0x4541b1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4541b1
push edi
push eax
call fcn.0057ce9e
mov edi, eax
add esp, 4
test edi, edi
je 0x4541b0
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 0x4541a7
mov eax, dword [ebp - 0xc]
mov ecx, esi
shr eax, 1
dec eax
push eax
push edi
call fcn.004181e0
push edi
call fcn.0057cb5b
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.0057c5eb
mov esp, ebp
pop ebp
ret 4
Function at 0x4541d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3258
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x6670c8]
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 0x454216
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 0x45438e
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 0x4542aa
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x4542aa
push eax
call fcn.0057ce9e
mov edi, eax
add esp, 4
test edi, edi
je 0x4542aa
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 0x4542a1
mov eax, dword [ebp - 0x30]
mov ecx, esi
shr eax, 1
push eax
push edi
call fcn.004181e0
push edi
call fcn.0057cb5b
add esp, 4
cmp dword [esi + 0x14], 8
mov ecx, esi
jb 0x4542b4
mov ecx, dword [esi]
mov eax, dword [esi + 0x10]
lea eax, [ecx + eax*2]
mov ecx, esi
jb 0x4542c0
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 0x4542e6
lea eax, [edx + 0x3a]
cmp word [ecx], 0
jne 0x4542de
mov word [ecx], ax
inc edx
add ecx, 2
cmp edx, edi
jne 0x4542d5
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 0x454385
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x454385
push eax
call fcn.0057ce9e
mov edi, eax
add esp, 4
test edi, edi
je 0x454385
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 0x45437c
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.004181e0
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.00433560
lea ecx, [ebp - 0x2c]
call fcn.00418110
push edi
call fcn.0057cb5b
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.0057c5eb
mov esp, ebp
pop ebp
ret 4
Function at 0x454780
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3318
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6670c8]
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.0043d460
add esp, 4
test al, al
jne 0x4548a5
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.00454f10
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 0x45489b
mov esi, dword [ebp - 0x68]
or eax, 0xffffffff
cmp dword [esi + 0x19c], eax
jae 0x454889
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 0x650380
lea eax, [ebp - 0x58]
push 0x12
push eax
call fcn.004538f0
mov eax, dword [esi + 0x19c]
add esp, 0x24
mov esi, dword [esi]
test esi, esi
jne 0x454838
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x34]
call fcn.00453b00
lea ecx, [ebp - 0x68]
call fcn.00454f80
jmp 0x4548ec
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 0x4548cc
cmp esi, 1
je 0x4548cc
cmp esi, 0x80010106
jne 0x4548d6
push ecx
lea eax, [ebp - 0x34]
push eax
call fcn.00454940
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x4548e6
cmp esi, 1
jne 0x4548ec
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 0x454905
sub ecx, edx
lea eax, [ebp - 0x34]
sar ecx, 1
push ecx
push eax
mov ecx, edi
call fcn.004181e0
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.0057c5eb
mov esp, ebp
pop ebp
ret 4
Function at 0x459ee0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3b1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004602b0
lea esi, [edi + 4]
mov dword [edi], vtable.Poco::JSON::ParseHandler.0
push 8
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0057cb6c
mov dword [esi], eax
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0xf
mov byte [edi + 0x18], 0
lea ecx, [edi + 0x30]
mov byte [ebp - 4], 2
call fcn.00463b80
mov al, byte [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov byte [edi + 0x34], al
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x45e5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b3f38
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0045ea30
mov dword [edi], eax
lea esi, [edi + 8]
mov dword [ebp - 4], 0
push 8
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
call fcn.0057cb6c
mov ecx, dword [ebp + 8]
add esp, 4
mov dword [esi], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [esi]
mov dword [eax], esi
mov al, cl
and al, 1
shr ecx, 1
mov byte [edi + 0x1c], al
and cl, 1
mov byte [edi + 0x1d], cl
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
pop edi
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4