joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5de310
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637ac9
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x6ce488]
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 ebx, dword [ebp + 8]
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
push 0x288
mov dword [ebp - 4], 0
mov dword [ebp - 0x58], 1
call fcn.0061435b
push 0x40
mov edi, eax
mov dword [ebp - 0x54], 0x288
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.005feb40
add esp, 0x10
lea eax, [ebp - 0x54]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x5de3ab
push edi
call fcn.006140b6
push dword [ebp - 0x54]
call fcn.0061435b
add esp, 8
mov edi, eax
lea eax, [ebp - 0x54]
push eax
push edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x5de46c
mov esi, edi
test edi, edi
je 0x5de479
nop word [eax + eax]
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
lea eax, [ebp - 0x50]
push str._02X__02X__02X__02X__02X__02X
push eax
call fcn.005dc600
add esp, 0x20
lea ecx, [ebp - 0x50]
mov eax, str.00_00_00_00_00_00
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x5de440
test dl, dl
je 0x5de43c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x5de440
add ecx, 2
add eax, 2
test dl, dl
jne 0x5de420
xor eax, eax
jmp 0x5de445
sbb eax, eax
or eax, 1
test eax, eax
jne 0x5de451
mov esi, dword [esi]
test esi, esi
jne 0x5de3d0
jmp 0x5de46c
lea ecx, [ebp - 0x50]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5de457
sub ecx, edx
lea eax, [ebp - 0x50]
push ecx
push eax
mov ecx, ebx
call fcn.00417150
test edi, edi
je 0x5de479
push edi
call fcn.006140b6
add esp, 4
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.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5de9e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x164
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x15c]
push 0x118
push 0
push eax
mov dword [ebp - 0x164], edi
call fcn.005feb40
add esp, 0xc
mov dword [ebp - 0x160], 0x11c
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x15c], 5
mov dword [ebp - 0x164], 0
jne 0x5dea82
mov esi, dword [ebp - 0x158]
cmp esi, 1
je 0x5deacf
test esi, esi
je 0x5deacf
cmp esi, 2
jne 0x5deacf
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
je 0x5deac9
cmp dword [ebp - 0x15c], 5
jne 0x5dea82
mov esi, dword [ebp - 0x158]
cmp esi, 2
jne 0x5deacf
push 0x59
call dword [sym.imp.USER32.dll_GetSystemMetrics]
test eax, eax
jne 0x5deac9
cmp dword [ebp - 0x15c], 6
jne 0x5deac9
mov esi, dword [ebp - 0x158]
test esi, esi
je 0x5deacf
cmp esi, 1
je 0x5deacf
cmp esi, 2
jne 0x5deacf
cmp byte [ebp - 0x46], 1
jne 0x5deacf
lea eax, [ebp - 0x164]
push eax
lea eax, [ebp - 0x154]
push eax
lea eax, [ebp - 0x158]
push eax
lea eax, [ebp - 0x15c]
push eax
call fcn.005ddfb0
add esp, 0x10
mov esi, dword [ebp - 0x158]
push 0x40
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.005feb40
push dword [ebp - 0x164]
lea eax, [ebp - 0x44]
push dword [ebp - 0x154]
push esi
push dword [ebp - 0x15c]
push str._u._u._u._u
push eax
call fcn.005dc600
lea ecx, [ebp - 0x44]
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
lea edx, [ecx + 1]
add esp, 0x24
mov byte [edi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5deb17
sub ecx, edx
lea eax, [ebp - 0x44]
push ecx
push eax
mov ecx, edi
call fcn.00417150
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5deee0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push 0
push eax
mov dword [ebp - 0x108], esi
call fcn.005feb40
add esp, 0xc
lea eax, [ebp - 0x10c]
xorps xmm0, xmm0
movlpd qword [ebp - 0x10c], xmm0
push eax
push 0
push 0
push 0x6ad0b0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x5def6d
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
shrd ecx, eax, 0x14
shr eax, 0x14
push eax
push ecx
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x104]
push 0x6429c0
push eax
mov dword [ebp - 0x10c], ecx
call fcn.005d97a0
add esp, 0x10
lea ecx, [ebp - 0x104]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
lea edx, [ecx + 1]
mov byte [esi], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5def87
sub ecx, edx
lea eax, [ebp - 0x104]
push ecx
push eax
mov ecx, esi
call fcn.00417150
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5df6c0
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637c3d
mov eax, dword fs:[0]
push eax
sub esp, 0x148
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
or edi, 0xffffffff
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x14c], 0
mov dword [ebp - 0x154], ecx
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0xf
mov byte [ebp - 0x130], 0
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov dword [esi], 0
lea edx, [eax - 1]
push edx
push 0
push eax
push ecx
mov dword [ebp - 0x150], edx
call fcn.00622a49
push 0x105
lea eax, [ebp - 0x118]
push 0
push eax
call fcn.005feb40
add esp, 0x1c
lea eax, [ebp - 0x118]
push eax
push 0
push 0
push 0x801a
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x5df781
mov dword [esi], 3
jmp 0x5df8fa
lea ecx, [ebp - 0x118]
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5df790
sub ecx, edx
lea eax, [ebp - 0x118]
push ecx
push eax
lea ecx, [ebp - 0x130]
call fcn.00417150
mov eax, dword [ebp - 0x120]
lea ecx, [ebp - 0x148]
add eax, 0xd
mov byte [ebp - 4], 1
push eax
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0xf
mov byte [ebp - 0x148], 0
mov dword [ebp - 0x14c], 1
call fcn.00478140
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push dword [ebp - 0x120]
cmovae eax, dword [ebp - 0x130]
lea ecx, [ebp - 0x148]
push eax
call fcn.00417520
push 0xd
push str.GlobalMgr.db
lea ecx, [ebp - 0x148]
call fcn.00417520
lea ecx, [ebp - 0x130]
call fcn.00417a20
movups xmm1, xmmword [ebp - 0x148]
cmp dword [ebp - 0x134], 0x10
lea ecx, [ebp - 0x130]
movq xmm0, qword [ebp - 0x138]
push 0
push 0x80
push 3
push 0
movd eax, xmm1
push 3
push 0xc0000000
cmovae ecx, eax
movq qword [ebp - 0x120], xmm0
push ecx
movups xmmword [ebp - 0x130], xmm1
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x5df887
mov dword [esi], 0x50
jmp 0x5df8c6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x5df8f4
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push 0
cmovae eax, dword [ebp - 0x130]
push 0x80
push 2
push 0
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x5df8f4
cmp dword [ebp - 0x11c], 0x10
lea eax, [ebp - 0x130]
push dword [ebp - 0x150]
cmovae eax, dword [ebp - 0x130]
push eax
push dword [ebp + 0x10]
push dword [ebp - 0x154]
call fcn.00622a3e
add esp, 0x10
jmp 0x5df8fa
mov dword [esi], 0x65f
mov edx, dword [ebp - 0x11c]
cmp edx, 0x10
jb 0x5df930
mov ecx, dword [ebp - 0x130]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5df926
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5df94f
push edx
push ecx
call fcn.005c385c
add esp, 8
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.005c358e
mov esp, ebp
pop ebp
ret 0x10
call fcn.00606fc9
int3
Function at 0x5e0400
Capabilities:
Get common file path
Get startup folder

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x238], esi
mov dword [ebp - 0x234], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push 0x208
push eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0x234], 1
call fcn.005feb40
mov bl, byte [ebp + 0xc]
add esp, 0xc
mov ecx, 0x1a
test bl, bl
mov eax, 0x23
cmovne eax, ecx
push 1
push eax
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x5e055e
xor eax, eax
mov dword [ebp - 0x220], 0
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x5e04c7
sub ecx, edx
lea eax, [ebp - 0x218]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x230]
call fcn.00416b00
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
mov ecx, esi
push eax
mov dword [ebp - 4], 1
call fcn.0048abb0
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0
call fcn.00402f80
mov ecx, esi
push 7
test bl, bl
je 0x5e0530
push str.PHXDU
jmp 0x5e0535
push str.PHXDT
call fcn.0048abb0
push esi
call fcn.005e1520
add esp, 4
test al, al
jne 0x5e0550
push esi
call fcn.005df960
add esp, 4
push 0xa
push str.Global.db
mov ecx, esi
call fcn.0048abb0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret
Function at 0x5e0580
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x637d68
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x298], eax
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.005e0400
add esp, 8
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
push 0
cmovae eax, dword [ebp - 0x40]
push 0
push 3
push 0
push 1
push accept
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5e06b7
lea eax, [ebp - 0x28]
push 1
push eax
call fcn.005e0400
mov esi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
lea ecx, [ebp - 0x290]
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push ecx
push eax
call esi
cmp eax, 0xffffffff
je 0x5e0630
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x5e0687
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x290]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call esi
cmp eax, 0xffffffff
je 0x5e0687
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp - 0x2c], 8
lea ecx, [ebp - 0x40]
push 0
cmovae ecx, dword [ebp - 0x40]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
push ecx
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x5e0687
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 3
push 0
push 1
push accept
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x28]
mov esi, eax
call fcn.00402f80
cmp esi, 0xffffffff
je 0x5e0704
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x10
jb 0x5e06fd
push 0
lea eax, [ebp - 0x294]
mov dword [ebp - 0x294], 0
push eax
push 0x10
push dword [ebp - 0x298]
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x5e06fd
cmp dword [ebp - 0x294], 0x10
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x2c]
cmp edx, 8
jb 0x5e073a
mov ecx, dword [ebp - 0x40]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e0730
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e0759
push edx
push ecx
call fcn.005c385c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 4
call fcn.00606fc9
int3
Function at 0x5e2400
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x638018
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6ce488]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x28]
push 0
push eax
call fcn.005e0400
add esp, 8
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0
push 2
push 0
push 1
push 0x40000000
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x5e24ad
lea eax, [ebp - 0x40]
push 1
push eax
call fcn.005e0400
add esp, 8
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
cmovae eax, dword [ebp - 0x40]
push 0
push 0
push 2
push 0
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00402f80
cmp esi, 0xffffffff
je 0x5e24d9
push 0
lea eax, [ebp - 0x48]
push eax
push 0x10
push dword [ebp - 0x44]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5e24d2
cmp dword [ebp - 0x48], 0x10
mov eax, 1
movzx ebx, bl
cmove ebx, eax
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x14]
cmp edx, 8
jb 0x5e250f
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x5e2505
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x5e252e
push edx
push ecx
call fcn.005c385c
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c358e
mov esp, ebp
pop ebp
ret 4
call fcn.00606fc9
int3
Function at 0x5e2bc0
Capabilities:
Connect to wmi namespace via wbemlocator
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov dword [esi], vtable.CWMIInterface.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
call fcn.004021b0
test eax, eax
je 0x5e2ced
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x1c], eax
call fcn.004021b0
test eax, eax
je 0x5e2ced
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x20], eax
call fcn.004021b0
test eax, eax
je 0x5e2ced
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x24], eax
call fcn.004021b0
test eax, eax
je 0x5e2ced
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esi + 0x28], eax
call fcn.004021b0
test eax, eax
je 0x5e2ced
mov edx, dword [eax]
mov ecx, eax
push ebx
call dword [edx + 0xc]
add eax, 0x10
lea ebx, [esi + 0x10]
mov dword [esi + 0x2c], eax
push 0
push 0
mov dword [ebx], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test eax, eax
jns 0x5e2c9b
push str.error_At__CWMIInterface_Construction_CoInitializeEx_
call edi
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]
test eax, eax
jns 0x5e2cbe
push str.error_At__CWMIInterface_Construction__CoInitializeSecurity_
call edi
push ebx
push 0x692c1c
push 1
push 0
push 0x692cec
call dword [sym.imp.ole32.dll_CoCreateInstance]
pop ebx
test eax, eax
jns 0x5e2ce5
call dword [sym.imp.ole32.dll_CoUninitialize]
push str.error_At__CWMIInterface_Construction__CoCreateInstance_
call edi
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00401f90
int3
Function at 0x5e4450
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov byte [esi], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x14], 0
mov dword [esi + 4], 0x67452301
mov dword [esi + 8], 0xefcdab89
mov dword [esi + 0xc], 0x98badcfe
mov dword [esi + 0x10], 0x10325476
cmp dword [eax + 0x14], 0x10
mov ecx, dword [eax + 0x10]
jb 0x5e4491
mov eax, dword [eax]
push ecx
push eax
mov ecx, esi
call fcn.005e44b0
mov eax, esi
pop esi
pop ebp
ret 4
Function at 0x5e69c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
pop ebp
ret
Function at 0x5e9061
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x62725b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.006270da

Function at 0x62a31b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00629fdb
Function at 0x1006c1bc
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
mov dword [ebp + 8], 0x1006c26f
mov eax, dword [ebp + 8]
leave
sub esp, 0x60
pushfd
pushal
push dword [esp + 0x84]
push 0
push eax
fnsave dword [esp + 0x30]
wait
push dword fs:[0]
mov dword fs:[0], esp
mov eax, 1
jmp dword [esp + 0xc]

Function at 0x100813c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100ed740
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.100e2b94
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.10084230
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x10081414
jmp dword [ecx*4 + 0x1008157c]
mov al, byte [esi]
test al, al
je 0x10081442
cmp al, 0x20
je 0x1008142e
cmp al, 0xa1
jne 0x10081442
cmp byte [esi + 1], al
jne 0x10081442
test al, 0x80
je 0x1008143a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x10081442
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x10081421
test ecx, ecx
je case.default.0x10081414
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x10081414
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x10081488
cmp dl, 0xa1
jne 0x1008147c
cmp byte [eax + 1], 0xa1
jne 0x1008147c
test ecx, ecx
jne 0x10081474
mov edi, eax
mov ecx, 1
inc eax
jmp 0x1008149c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100814b6
jmp 0x1008149c
cmp dl, 0x20
jne 0x1008149a
test ecx, ecx
jne 0x10081493
mov edi, eax
mov ecx, 1
jmp 0x1008149c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x1008145c
cmp ecx, 1
jne case.default.0x10081414
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10081414
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x10081414
mov al, byte [esi]
test al, al
je 0x1008150e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100814f4
mov cl, byte [esi + 1]
test cl, cl
je 0x1008150e
cmp al, 0xa1
jne 0x100814e4
cmp cl, al
je 0x100814f1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.10084500
inc esi
jmp 0x10081506
cmp al, 0x20
je 0x10081506
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.10084540
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100814cd
push 0
lea ecx, [esp + 0x14]
call fcn.10084540
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.1008e3b0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x10081541
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x100faf58
call fcn.10084430
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.100e2b26
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x10088590
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x100edb4b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.100e289b
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x10088612
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.100e07ea
mov eax, dword [eax]
push 0x1010b224
push eax
call fcn.100d3514
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.100e2b26
test bl, bl
je 0x10088612
push 0x1010b224
lea ecx, [esp + 0xc]
call fcn.100e2eb6
push 0x1010ed70
lea ecx, [esp + 0xc]
call fcn.100e2eb6
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x1008864e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.100e2b26
jmp 0x10088719
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x100886d2
lea edx, [esp + 0x7c]
push 0x1010ed6c
push edx
call fcn.100d3514
add esp, 8
test eax, eax
je 0x100886d2
lea eax, [esp + 0x7c]
push 0x1010ed68
push eax
call fcn.100d3514
add esp, 8
test eax, eax
je 0x100886d2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x10088662
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.100e2b26
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x10088f10
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x10088f72
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc