joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4078a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d975
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x254
mov ecx, 0x4355eb
call fcn.00408d2f
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x4078d9
mov al, 1
jmp 0x407a04
push 0x208
push 0
lea eax, [ebp - 0x260]
push eax
call fcn.0040ad60
add esp, 0xc
mov dword [ebp - 0x1c], 0
push 0x104
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [ebp - 0x58], 0x3c
push 0x38
push 0
lea eax, [ebp - 0x54]
push eax
call fcn.0040ad60
add esp, 0xc
mov dword [ebp - 0x4c], str.runas
lea ecx, [ebp - 0x260]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x3c], 1
lea ecx, [ebp - 0x14]
call fcn.004032d0
mov dword [ebp - 4], 0
mov edx, dword [ebp + 8]
movzx eax, byte [edx]
test eax, eax
je 0x407962
push str._upprivi__can_ins_d
lea ecx, [ebp - 0x14]
call fcn.00403ad0
jmp 0x40796f
push str._upprivi
lea ecx, [ebp - 0x14]
call fcn.00403ad0
lea ecx, [ebp - 0x14]
call fcn.00403bb0
mov dword [ebp - 0x44], eax
lea ecx, [ebp - 0x58]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x4079ee
push 0x420744
lea ecx, [ebp - 0x18]
call fcn.00403220
mov byte [ebp - 4], 1
push 0x42075c
lea ecx, [ebp - 0x18]
call fcn.00403d00
push 4
push 0x420780
lea ecx, [ebp - 0x18]
call fcn.00403bb0
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
je 0x4079ca
push 0
call fcn.0040e7fa
mov byte [ebp - 0xd], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.004037e0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004037e0
mov al, byte [ebp - 0xd]
jmp 0x407a04
mov byte [ebp - 0xe], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004037e0
mov al, byte [ebp - 0xe]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x408770
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov ecx, 0x435c0b
call fcn.00408d2f
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0xc]
call fcn.00403220
lea ecx, [ebp - 0x3c]
call fcn.004086f0
call fcn.00405ef0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x10]
call fcn.00403220
lea edx, [ebp - 0x3c]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00407480
add esp, 8
lea ecx, [ebp - 0x10]
call fcn.004037e0
push str.GCMainWnd
lea ecx, [ebp - 4]
call fcn.00403220
movzx ecx, byte [ebp - 0x3b]
test ecx, ecx
jne 0x4088db
movzx edx, byte [ebp - 0x35]
test edx, edx
jne 0x40889e
lea eax, [ebp - 4]
push eax
push 0x42308c
lea ecx, [ebp - 0x14]
push ecx
call fcn.00403bd0
add esp, 0xc
mov ecx, eax
call fcn.00403bb0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
call fcn.004037e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x408827
cmp dword [ebp - 0x18], 0
jne 0x40889c
lea ecx, [ebp - 4]
call fcn.00403bb0
push eax
push 0
call dword [sym.imp.USER32.dll_FindWindowW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x408875
movzx edx, byte [ebp - 0x3a]
test edx, edx
jne 0x408875
push 0
push 0xf020
push 0x112
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0xf120
push 0x112
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 4]
call fcn.004037e0
lea ecx, [ebp - 0x3c]
call fcn.00408750
lea ecx, [ebp - 0xc]
call fcn.004037e0
mov eax, dword [ebp - 0x1c]
jmp 0x408968
jmp 0x4088db
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 4]
push edx
push str.Global_
lea eax, [ebp - 0x20]
push eax
call fcn.00403bd0
add esp, 0xc
mov ecx, eax
call fcn.00403bb0
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x20]
call fcn.004037e0
movzx ecx, byte [ebp - 0x3c]
test ecx, ecx
jne 0x4088f7
movzx edx, byte [ebp - 0x35]
test edx, edx
jne 0x4088f7
lea eax, [ebp - 0x3c]
push eax
call fcn.00407750
add esp, 4
movzx ecx, byte [ebp - 0x3b]
test ecx, ecx
jne 0x408946
movzx edx, byte [ebp - 0x3a]
test edx, edx
jne 0x408946
movzx eax, byte [ebp - 0x35]
test eax, eax
jne 0x408946
lea ecx, [ebp - 0x3c]
push ecx
call fcn.004078a0
add esp, 4
movzx edx, al
test edx, edx
jne 0x408946
mov dword [ebp - 0x24], 0
lea ecx, [ebp - 4]
call fcn.004037e0
lea ecx, [ebp - 0x3c]
call fcn.00408750
lea ecx, [ebp - 0xc]
call fcn.004037e0
mov eax, dword [ebp - 0x24]
jmp 0x408968
mov dword [ebp - 0x28], 0
lea ecx, [ebp - 4]
call fcn.004037e0
lea ecx, [ebp - 0x3c]
call fcn.00408750
lea ecx, [ebp - 0xc]
call fcn.004037e0
mov eax, dword [ebp - 0x28]
mov esp, ebp
pop ebp
ret 0x10
Function at 0x409baa
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x409be9
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x409be9
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x409be9
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x409be9
cmp dword [ecx + 0x74], 0xe
jbe 0x409be9
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4162c4
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041613a

Function at 0x41d190
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41d1bd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41d1bd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401020
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401054
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40104c
lea ecx, [ecx]
cmp al, 0x22
je 0x401051
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401040
cmp byte [esi], 0x22
jne 0x40105e
inc esi
jmp 0x40105e
cmp al, 0x20
jbe 0x40105e
inc esi
cmp byte [esi], 0x20
ja 0x401058
mov al, byte [esi]
test al, al
je 0x401070
cmp al, 0x20
ja 0x401070
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x401064
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
movzx eax, word [ebp - 0x14]
jne 0x401090
mov eax, 0xa
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
push eax
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4019d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43ebe3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 0xc], esi
mov dword [esi], vtable.CMenu.0
mov dword [esi + 4], edi
lea ebx, [esi + 8]
mov dword [esp + 0x18], edi
mov ecx, ebx
call fcn.0042bdbf
mov dword [ebx], method.CPtrArray.virtual_0
lea ebx, [esi + 0x1c]
mov byte [esp + 0x18], 1
mov ecx, ebx
call fcn.0042bdbf
or eax, 0xffffffff
push 0x453ca8
mov dword [ebx], method.CPtrArray.virtual_0
push edi
mov dword [esi], 0x44173c
mov dword [esi + 0x54], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x30], 0x10
mov dword [esi + 0x34], 0xf
mov dword [esi + 0x4c], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x38], 0xc0c0c0
mov dword [esi + 0x3c], edi
call dword [sym.imp.KERNEL32.DLL_GetCPInfo]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x58], edi
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x405290
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x43f0c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebx
push ebp
xor eax, eax
push esi
push edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CPen.0
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], eax
push ecx
push eax
push eax
call dword [sym.imp.GDI32.dll_CreatePen]
push eax
lea ecx, [esp + 0x14]
call fcn.00434471
mov esi, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00433b82
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x3c], eax
mov ecx, esi
lea eax, [edi + 2]
push eax
lea eax, [esp + 0x1c]
push ebx
push eax
call fcn.00433f82
lea eax, [edi + 5]
mov ecx, esi
push eax
push ebx
call fcn.00433fce
lea ebp, [edi + 3]
lea eax, [ebx + 1]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00433f82
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 1]
push eax
call fcn.00433fce
lea eax, [edi + 4]
lea ecx, [ebx + 2]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00433f82
lea eax, [edi + 7]
mov ecx, esi
push eax
lea eax, [ebx + 2]
push eax
call fcn.00433fce
lea eax, [ebx + 3]
push ebp
lea ecx, [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call fcn.00433f82
lea eax, [edi + 6]
mov ecx, esi
push eax
lea eax, [ebx + 3]
push eax
call fcn.00433fce
lea eax, [edi + 2]
lea ecx, [ebx + 4]
push eax
lea edx, [esp + 0x1c]
push ecx
push edx
mov ecx, esi
call fcn.00433f82
lea eax, [edi + 5]
mov ecx, esi
push eax
lea eax, [ebx + 4]
push eax
call fcn.00433fce
lea ecx, [edi + 1]
lea eax, [ebx + 5]
push ecx
lea edx, [esp + 0x1c]
push eax
push edx
mov ecx, esi
call fcn.00433f82
lea eax, [edi + 4]
mov ecx, esi
push eax
lea eax, [ebx + 5]
push eax
call fcn.00433fce
add ebx, 6
push edi
lea eax, [esp + 0x1c]
push ebx
push eax
mov ecx, esi
call fcn.00433f82
push ebp
push ebx
mov ecx, esi
call fcn.00433fce
mov ecx, dword [esp + 0x3c]
push ecx
mov ecx, esi
call fcn.00433b82
lea ecx, [esp + 0x10]
call fcn.004344c8
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 1
call fcn.004344c8
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x406300
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x43f1f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov eax, esi
mov ebp, ecx
push edi
xor edi, edi
mov ecx, dword [eax]
mov dword [esp + 0x14], edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x10], vtable.CBrush.0
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x30], edi
call fcn.00401b20
test eax, eax
je 0x40635e
push 0xf
jmp 0x406360
push 4
mov ebx, dword [sym.imp.USER32.dll_GetSysColor]
call ebx
cmp dword [esp + 0x40], edi
jne 0x406381
push 0x3fe33333
push 0x33333333
push eax
call fcn.00402a40
add esp, 0xc
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0x14]
call fcn.00434471
mov edi, dword [esp + 0x14]
lea eax, [esp + 0x10]
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x38]
push eax
lea eax, [esp + 0x1c]
mov ecx, dword [edi + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 0x10]
call fcn.004344c8
call fcn.00401b10
test eax, eax
je 0x4063d9
mov eax, dword [edi + 4]
push 0xf
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.USER32.dll_DrawEdge]
mov eax, dword [esp + 0x44]
push 7
test eax, eax
jne 0x4063fd
call ebx
mov ecx, dword [esi + 4]
mov edx, dword [esi]
add ecx, 4
push eax
add edx, 4
push ecx
push edx
push edi
mov ecx, ebp
call fcn.00405290
jmp 0x406415
call ebx
mov ecx, dword [esi]
push eax
mov eax, dword [esi + 4]
add ecx, 5
add eax, 4
push eax
push ecx
push edi
mov ecx, ebp
call fcn.00405170
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 1
call fcn.004344c8
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0x10

Function at 0x406930
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
call fcn.0043bb03
mov edi, dword [esp + 0x14]
mov ebx, dword [eax + 0xc]
mov ebp, dword [sym.imp.KERNEL32.DLL_FindResourceA]
and edi, 0xffff
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40696b
xor ebx, ebx
push 2
push edi
push ebx
call ebp
mov esi, eax
test esi, esi
jne 0x40696b
pop edi
pop esi
pop ebp
pop ebx
ret
push esi
push ebx
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
jne 0x40697c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
jne 0x40698c
pop edi
pop esi
pop ebp
pop ebx
ret
push eax
call fcn.004068f0
add esp, 4
cmp ax, 0x10
je 0x4069a2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
push 0
push esi
push ebx
call fcn.00434f19
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x406b80
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x453cc8]
sub esp, 0x134
test eax, eax
jne 0x406c55
lea eax, [esp]
mov dword [0x453cc8], 1
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftPlus_ThemesCurrent
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x406c55
push esi
lea ecx, [esp + 0xc]
push edi
lea edx, [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x10]
push edx
push eax
push 0
push 0
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], 1
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x406c48
mov ecx, 5
mov esi, str.Windows_Classic.theme
lea edi, [esp + 0x14]
lea edx, [esp + 0x2c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [sym.imp.KERNEL32.DLL_lstrlenA]
push edx
call edi
mov esi, eax
lea eax, [esp + 0x14]
push eax
call edi
cmp esi, eax
jl 0x406c48
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
call edi
sub esi, eax
lea eax, [esp + esi + 0x30]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
test eax, eax
jne 0x406c48
mov dword [0x453cc4], 1
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [0x453cc4]
add esp, 0x134
ret
Function at 0x4081c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x43f3f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
mov eax, dword [esi + 0x1c]
push eax
call edi
push eax
call fcn.0042dac1
push eax
lea ecx, [esp + 0x30]
call fcn.004341c9
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x50], 0
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esi + 0x1c]
push edx
call edi
push eax
call fcn.0042dac1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call fcn.0043407f
mov eax, dword [esi + 0x174]
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
jne 0x4082f6
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x2c]
neg eax
sbb eax, eax
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x170]
call fcn.004339ee
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
sub eax, ecx
mov ecx, dword [esp + 0x14]
sub ecx, edi
push eax
push ecx
push edx
lea edi, [esi + 0x180]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call fcn.00434471
test edi, edi
je 0x4082a2
mov edi, dword [edi + 4]
mov eax, dword [esi + 0x174]
push edi
push eax
call fcn.00433b2f
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
mov dword [esi + 0x188], eax
mov eax, dword [esp + 0xc]
sub ecx, edx
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x30]
sub edx, eax
lea eax, [esp + 0x2c]
push 0xcc0020
neg eax
sbb eax, eax
and eax, edi
mov edi, dword [esp + 0x24]
push edi
mov edi, dword [esp + 0x24]
push edi
push eax
push ecx
mov ecx, dword [esi + 0x174]
push edx
push 0
push 0
push ecx
call ebx
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
sub eax, ecx
mov ecx, dword [esp + 0x14]
lea edx, [esi + 0x170]
sub ecx, edi
test edx, edx
je 0x408317
mov edx, dword [edx + 4]
push 0xcc0020
push 0
push 0
push edx
mov edx, dword [esp + 0x60]
push eax
push ecx
push 0
mov eax, dword [edx + 4]
push 0
push eax
call ebx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x48], 0xffffffff
call fcn.0043423b
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x40c8d0
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret 4

Function at 0x40dfa0
Capabilities:
Access peb ldr_data
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43f720
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebx
push esi
push edi
mov esi, ecx
lea eax, [esp + 0x10]
xor ebx, ebx
push eax
mov dword [esp + 0x34], ebx
call fcn.0042b17b
push 0xffffffffffffffff
push ebx
push 0xf
push 0x16
push 0x13
push 3
push 0x7cf
lea ecx, [esp + 0x30]
call fcn.0042b097
push 0xffffffffffffffff
push ebx
push 0xf
push 0x16
push 0x14
push 3
push 0x7cf
lea ecx, [esp + 0x34]
call fcn.0042b097
push ecx
mov ecx, dword [esp + 0x18]
mov eax, esp
lea edx, [esp + 0x20]
mov dword [esp + 0x28], esp
push edx
mov dword [eax], ecx
lea ecx, [esp + 0x20]
call fcn.0040de60
push ecx
mov ecx, dword [esp + 0x20]
mov eax, esp
mov dword [esp + 0x28], esp
lea edx, [esp + 0x28]
mov dword [eax], ecx
push edx
lea ecx, [esp + 0x18]
call fcn.0040e120
mov eax, dword [eax]
lea ecx, [esp + 0xc]
push str._Y__m__d__H__M__S
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], eax
call fcn.0042b18e
lea edx, [esp + 0xc]
mov ecx, esi
push edx
mov byte [esp + 0x34], 1
mov dword [esp + 0x24], ebx
call fcn.0040e140
mov eax, dword [esp + 0x38]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, ebx
je 0x40e0e5
cmp esi, 0xffffffff
je 0x40e0e5
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x20]
push ebx
push edx
mov eax, dword [ecx - 8]
lea ecx, [esp + 0x14]
push eax
push ebx
call fcn.0042d345
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_WriteFile]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0042cf89
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042cf89
mov eax, edi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], bl
call fcn.0042cf89
lea ecx, [esp + 0x38]
mov dword [esp + 0x30], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0x28]
pop edi
pop esi
xor eax, eax
mov dword fs:[0], ecx
pop ebx
add esp, 0x28
ret 4
Function at 0x40e210
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43f75b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40c
mov eax, dword [esp + 0x41c]
push ebx
push ebp
push esi
mov eax, dword [eax]
push edi
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
mov dword [esp + 0x30], ecx
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebp, eax
test ebp, ebp
je 0x40e2f7
cmp ebp, 0xffffffff
je 0x40e2f7
mov ecx, 0xff
xor eax, eax
lea edi, [esp + 0x1d]
mov byte [esp + 0x1c], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x430]
xor ebx, ebx
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x1c]
lea edx, [esp + 0x1c]
rep stosd dword es:[edi], eax
xor edi, edi
lea ecx, [esp + 0x10]
push edi
push ecx
push 0x13
push edx
push ebp
mov dword [esp + 0x24], edi
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x40e2f0
cmp dword [esp + 0x10], edi
je 0x40e314
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x14]
push eax
push esi
push ecx
call fcn.0042d21e
push eax
mov ecx, esi
mov dword [esp + 0x428], edi
call fcn.0042d0c2
lea ecx, [esp + 0x14]
mov dword [esp + 0x424], 0xffffffff
call fcn.0042cf89
add ebx, dword [esp + 0x10]
jmp 0x40e286
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
mov ecx, dword [esp + 0x41c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x418
ret 8
mov ecx, dword [esp + 0x18]
push esi
call fcn.0040e340
push ebp
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edx, dword [esi]
xor eax, eax
cmp dword [edx - 8], 0x13
sete al
jmp 0x40e2f9

Function at 0x40e450
Capabilities:
Get mac address on windows

Disassembly:
sub esp, 0x84
push esi
push edi
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
xor esi, esi
push eax
push esi
mov dword [esp + 0x10], 4
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40e4a1
mov ecx, dword [esp + 8]
push ecx
call fcn.0041ac3e
add esp, 4
lea edx, [esp + 8]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 0x199]
mov cl, byte [esi + 0x198]
xor edx, edx
push eax
mov dl, byte [esi + 0x197]
push ecx
xor eax, eax
push edx
mov al, byte [esi + 0x196]
xor ecx, ecx
mov cl, byte [esi + 0x195]
xor edx, edx
mov dl, byte [esi + 0x194]
push eax
push ecx
push edx
lea eax, [esp + 0x24]
push str._0.2X:_0.2X:_0.2X:_0.2X:_0.2X:_0.2X
push eax
call fcn.0041c514
add esp, 0x20
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x94]
call fcn.0042d112
pop edi
mov eax, 1
pop esi
add esp, 0x84
ret 4
Function at 0x40e660
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x43f7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push edi
mov ecx, 0x11
xor eax, eax
lea edi, [esp + 0x14]
lea edx, [esp + 0x14]
rep stosd dword es:[edi], eax
mov dword [esp + 4], eax
lea ecx, [esp + 4]
mov dword [esp + 8], eax
push ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x70]
push edx
push eax
push 0
push 0x200
push 0
push 0
mov edi, 1
push 0
push 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x38], 0x44
mov dword [esp + 0x64], edi
mov word [esp + 0x68], di
call fcn.0042d345
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x40e726
mov ecx, dword [esp + 8]
push esi
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
push ecx
call esi
mov edx, dword [esp + 8]
push edx
call esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x64], 0xffffffff
call fcn.0042cf89
mov eax, edi
pop esi
pop edi
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
add esp, 0x60
ret 8
lea ecx, [esp + 0x6c]
mov dword [esp + 0x60], 0xffffffff
call fcn.0042cf89
mov ecx, dword [esp + 0x58]
xor eax, eax
pop edi
mov dword fs:[0], ecx
add esp, 0x60
ret 8