joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47d0b0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.DATA
lea edi, [esi - 0x52000]
push edi
or ebp, 0xffffffff
jmp 0x47d0d2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x47d0d9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d0c8
mov eax, 1
add ebx, ebx
jne 0x47d0eb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x47d0fc
jne 0x47d10c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x47d10c
dec eax
add ebx, ebx
jne 0x47d108
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x47d0e0
xor ecx, ecx
sub eax, 3
jb 0x47d124
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x47d196
sar eax, 1
mov ebp, eax
jmp 0x47d12f
add ebx, ebx
jne 0x47d12f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x47d13c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x47d160
inc ecx
add ebx, ebx
jne 0x47d14c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x47d141
jne 0x47d15d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x47d141
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x47d180
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x47d171
jmp 0x47d0ce
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x47d180
add edi, ecx
jmp 0x47d0ce
pop esi
mov edi, esi
mov ecx, 0x43
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x47d19e
cmp byte [edi], 9
jne 0x47d19e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x47d1a3
lea edi, [esi + 0x7b000]
mov eax, dword [edi]
or eax, eax
je 0x47d21b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x7f1f0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x7f254]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x47d1d0
mov ecx, edi
jns 0x47d1ff
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x7f258]
or eax, eax
je 0x47d215
mov dword [ebx], eax
add ebx, 4
jmp 0x47d1ed
call dword [esi + 0x7f25c]
popal
jmp 0x401540

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
mov ecx, 0x1c6d4403
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x136c19ab
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x9d2058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x9d21a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x9d207e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9d206a
add dl, dl
jne 0x9d2089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9d20dc
xor eax, eax
add dl, dl
jne 0x9d2096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x9d217d
add dl, dl
jne 0x9d20a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d20b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d20bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d20c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x9d20d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x9d2075
mov eax, 1
add dl, dl
jne 0x9d20ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x9d20f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9d20e1
sub eax, ebx
mov ebx, 1
jne 0x9d2128
mov ecx, 1
add dl, dl
jne 0x9d210e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9d2119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9d2105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9d2075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x9d213f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x9d214a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x9d2136
cmp eax, 0x7d00
jae 0x9d216d
cmp eax, 0x500
jb 0x9d2168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9d2075
cmp eax, 0x7f
ja 0x9d2170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x9d2075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x9d219e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x9d2075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x474f40
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4aba08
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x4d0084]
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, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
cmp dword [edi + 0x14], 8
jb 0x474f7b
mov eax, dword [edi]
jmp 0x474f7d
mov eax, edi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x474fa3
test esi, esi
je 0x474f9c
mov dword [esi], 0
call fcn.00473ff0
mov dword [esi + 4], eax
mov al, 1
jmp 0x475029
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov dword [ebp - 0x64], 0
call fcn.00473ff0
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
push eax
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00475ea0
add esp, 0xc
cmp dword [ebp - 0x6c], 3
sete al
test al, al
je 0x474fe7
test esi, esi
je 0x475027
mov dword [esi], 0
call fcn.00473ff0
jmp 0x475024
test esi, esi
jne 0x47501d
push str.boost::filesystem::create_directory
lea ecx, [ebp - 0x28]
call fcn.00471230
mov dword [ebp - 4], esi
call fcn.00473ff0
push eax
push ebx
push edi
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004742c0
push 0x4cd294
lea eax, [ebp - 0x5c]
push eax
call fcn.0047ab53
call fcn.00473ff0
mov dword [esi], ebx
mov dword [esi + 4], eax
xor al, al
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.004785e6
mov esp, ebp
pop ebp
ret
Function at 0x475ea0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4abbf2
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4d0084]
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, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x34], esi
cmp dword [edi + 0x14], 8
jb 0x475ee1
mov eax, dword [edi]
jmp 0x475ee3
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [ebp - 0x38], eax
cmp eax, 0xffffffff
jne 0x475f02
push esi
push edi
push ebx
call fcn.00475670
add esp, 0xc
jmp 0x475ffe
test eax, 0x400
je 0x475fbd
cmp dword [edi + 0x14], 8
jb 0x475f17
mov eax, dword [edi]
jmp 0x475f19
mov eax, edi
push eax
lea ecx, [ebp - 0x28]
call fcn.004744c0
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.00430f90
cmp esi, 0xffffffff
jne 0x475f72
push dword [ebp - 0x34]
push edi
push ebx
call fcn.00475670
add esp, 0xc
jmp 0x475ffe
push edi
call fcn.004751e0
add esp, 4
test al, al
jne 0x475fa5
mov eax, dword [ebp - 0x38]
push eax
push edi
call fcn.004752c0
add esp, 8
mov dword [ebx], 9
mov dword [ebx + 4], eax
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x475ffe
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
test esi, esi
je 0x475fcf
mov dword [esi], 0
call fcn.00473ff0
mov dword [esi + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x30], 3
push eax
push edi
test al, 0x10
jne 0x475fe6
mov dword [ebp - 0x30], 2
call fcn.004752c0
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov eax, dword [ecx]
add esp, 8
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov dword [ebx + 4], eax
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.004785e6
mov esp, ebp
pop ebp
ret

Function at 0x499b75
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004999f4

Function at 0x49dde8
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0049d986
Function at 0x4015c8
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x563008]
je 0x4015e3
inc edi
cmp edi, 0x17
jb 0x4015d4
cmp edi, 0x17
jae 0x401763
push ebp
push 3
call fcn.004036d0
cmp eax, 1
pop ecx
je 0x40172f
push 3
call fcn.004036d0
test eax, eax
pop ecx
jne 0x401617
cmp dword [section..data], 1
je 0x40172f
cmp ebx, 0xfc
je 0x401762
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x589518
push ebp
call fcn.0040366b
add esp, 0xc
test eax, eax
je 0x40164d
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
push 0x104
mov esi, 0x589531
push esi
push 0
mov byte [0x589635], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x401691
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.0040366b
add esp, 0xc
test eax, eax
je 0x401691
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.00402b95
add esp, 0x14
push esi
call fcn.004035e0
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x4016d6
push esi
call fcn.004035e0
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x58982c
push 0x5589b4
sub ecx, eax
push ecx
push eax
call fcn.00403522
add esp, 0x14
test eax, eax
je 0x4016d6
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
jmp 0x4016d8
xor esi, esi
push 0x5589b0
push ebx
push ebp
call fcn.004034b1
add esp, 0xc
test eax, eax
je 0x4016f8
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
push dword [edi*8 + 0x56300c]
push ebx
push ebp
call fcn.004034b1
add esp, 0xc
test eax, eax
je 0x40171a
push esi
push esi
push esi
push esi
push esi
call fcn.00402b95
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004032f4
add esp, 0xc
jmp 0x401762
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x401762
cmp ebp, 0xffffffff
je 0x401762
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x56300c]
push dword [esi]
call fcn.004035e0
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4032f4
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.004020d7
xor ebx, ebx
cmp dword [0x589ad8], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4033ca
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x4034aa
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x558ae0
push edi
call esi
cmp eax, ebx
je 0x4034aa
push eax
call fcn.00402069
mov dword [esp], 0x558ad0
push edi
mov dword [0x589ad8], eax
call esi
push eax
call fcn.00402069
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x589adc], eax
call esi
push eax
call fcn.00402069
mov dword [0x589ae0], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00401319
test eax, eax
pop ecx
pop ecx
je 0x403398
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402b95
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4033ca
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402069
cmp eax, ebx
pop ecx
mov dword [0x589ae8], eax
je 0x4033ca
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402069
pop ecx
mov dword [0x589ae4], eax
mov eax, dword [0x589ae4]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x40344f
cmp dword [0x589ae8], ecx
je 0x40344f
push eax
call fcn.004020e0
push dword [0x589ae8]
mov esi, eax
call fcn.004020e0
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x40344f
cmp edi, ebx
je 0x40344f
call esi
cmp eax, ebx
je 0x40341c
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40341c
test byte [ebp - 0x18], 1
jne 0x40344f
lea eax, [ebp - 0x10]
push eax
call fcn.0040138c
test eax, eax
pop ecx
je 0x403437
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.00402b95
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x403446
or dword [ebp + 0x10], 0x200000
jmp 0x40348a
or dword [ebp + 0x10], 0x40000
jmp 0x40348a
mov eax, dword [0x589adc]
cmp eax, dword [ebp - 8]
je 0x40348a
push eax
call fcn.004020e0
cmp eax, ebx
pop ecx
je 0x40348a
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x40348a
mov eax, dword [0x589ae0]
cmp eax, dword [ebp - 8]
je 0x40348a
push eax
call fcn.004020e0
cmp eax, ebx
pop ecx
je 0x40348a
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x589ad8]
call fcn.004020e0
cmp eax, ebx
pop ecx
je 0x4034aa
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4034ac
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40526d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x563a68]
jne 0x405277
repz ret
jmp fcn.00408575
Function at 0x40b480
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x576914
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x14], eax
push str.SELECT__FROM_Win32_BaseBoard
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x40b4eb
jmp 0x40b594
cmp dword [ebp - 4], 0
je 0x40b594
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x40b594
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.Product
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jl 0x40b581
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x40b581
cmp dword [ebp - 0x28], 0
je 0x40b581
mov eax, dword [ebp - 0x28]
push eax
push str.Virtual_Machine
call fcn.00467d32
add esp, 8
test eax, eax
je 0x40b577
mov dword [ebp - 0xc], 1
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x40b503
cmp dword [ebp - 4], 0
je 0x40b5a8
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40b5d0
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ebp - 8], ecx
push 0x576988
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x18], eax
push str.SELECT__FROM_Win32_BIOS
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0x10], eax
lea edx, [ebp - 4]
push edx
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x50]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40b63b
jmp 0x40b6ed
cmp dword [ebp - 4], 0
je 0x40b6ed
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x20]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x10]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x40b6ed
push 0
push 0
lea eax, [ebp - 0x30]
push eax
push 0
push str.SerialNumber
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [edx]
mov ecx, dword [eax + 0x10]
call ecx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x40b6da
movzx edx, word [ebp - 0x30]
cmp edx, 8
jne 0x40b6da
cmp dword [ebp - 0x28], 0
je 0x40b6da
push str.VMware
mov eax, dword [ebp - 0x28]
push eax
call fcn.00467d32
add esp, 8
test eax, eax
je 0x40b6c9
mov dword [ebp - 0xc], 1
jmp 0x40b6d0
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x30]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
call edx
jmp 0x40b653
cmp dword [ebp - 4], 0
je 0x40b701
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x40b720
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push str.ROOTCIMV2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 0xc], eax
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], 0
jge 0x40b78b
cmp dword [ebp - 0x14], 0x80010106
je 0x40b78b
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
jmp 0x40b89d
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40b7ba
cmp dword [ebp - 0x14], 0x80010119
je 0x40b7ba
jmp 0x40b859
lea edx, [ebp - 0x18]
push edx
push 0x5610c4
push 1
push 0
push 0x561194
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40b7dd
jmp 0x40b859
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
call edx
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40b80a
jmp 0x40b859
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jge 0x40b82d
jmp 0x40b859
cmp dword [ebp + 8], 1
jne 0x40b844
lea ecx, [ebp - 0x10]
push ecx
call fcn.0040b480
add esp, 4
mov dword [ebp - 8], eax
jmp 0x40b859
cmp dword [ebp + 8], 0
jne 0x40b859
lea edx, [ebp - 0x10]
push edx
call fcn.0040b5d0
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 0x10], 0
je 0x40b86d
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
cmp dword [ebp - 0x18], 0
je 0x40b881
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [eax + 8]
call ecx
cmp dword [ebp - 4], 0x80010106
je 0x40b890
call dword [sym.imp.ole32.dll_CoUninitialize]
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x40c0c0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp + 0x10]
jge 0x40c122
push 0
push 1
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 1
je 0x40c0f4
mov eax, dword [ebp - 4]
neg eax
mov dword [ebp - 4], eax
jmp 0x40c122
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
movsx eax, byte [edx]
cmp eax, 0xd
jne 0x40c10a
jmp 0x40c0cb
mov ecx, dword [ebp + 0xc]
movsx edx, byte [ecx]
cmp edx, 0xa
jne 0x40c117
jmp 0x40c122
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
jmp 0x40c0cb
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40c420
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
jmp 0x40c438
mov eax, dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x10]
jge 0x40c472
push 0
mov edx, dword [ebp + 0x10]
sub edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WSOCK32.dll_recv]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jg 0x40c467
mov eax, dword [ebp - 4]
neg eax
jmp 0x40c475
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 8]
mov dword [ebp + 0xc], edx
jmp 0x40c42f
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x40d4b9
Capabilities:
Check os version

Disassembly:
lea esp, [esp + 4]
mov al, byte [ebp + 0xc]
jmp 0x4459b0
ja 0x43da6b
jbe 0x426220
add esp, dword [edx]
or al, 0xf
xchg byte [ebp + 0x78], al
add dword [eax], eax
jbe 0x43da6b
fst dword [edi + 0x5f]
mov si, si
mov cx, word [ebp + 0x10]
cmp bl, bl
cmc
cmp al, 1
jno 0x412779
jo 0x441383
push esi
fld dword [si]
jo 0x412779
sbb esi, dword [esi]
inc ebx
add byte [eax], al
inc eax
add byte [eax], al
xor byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], ah
cmp byte [eax], 0
add byte [eax], al
add byte [ecx], ah
add byte [eax], al
and al, byte [eax]
add byte [eax], al
cwde
mov dh, 0x43
add bl, ah
test byte [edx], al
or al, 0
add byte [eax], al
xor byte [eax], al
add byte [eax], al
xchg ecx, eax
inc esp
add byte [ecx + 0x4a], ch
inc esp
add cl, bl
invalid
js 0x44136b
mov si, si
jns 0x4459bd
push cs
fisttp dword [edi]
mov dword [eax - 0x7d000047], ebp
sub cl, byte [eax + 0x66f00554]
shl ecx, 0x20
jns 0x44136b
sub byte [edx], 0x88
push esp
add eax, 0xe1c166f0
and byte [eax + 0x66], al
add esi, 0x83d0000
add byte [eax], al
add byte [edi], cl
invalid