joyce8/EMBER2024-capa huggingface dataset:
Function at 0x431fea
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x450440]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0042b121
mov dword [ebp - 0x14], eax
cmp dword [0x452704], esi
jne 0x4320dd
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x43206a
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x4321bd
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x4321bd
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4321bd
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x452704], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x452708], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x45270c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x452714], eax
test eax, eax
je 0x4320da
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x452710], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x432102
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x4320f5
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x432117
push 4
pop eax
jmp 0x4321bf
cmp dword [ebp - 0x14], esi
je 0x432117
push dword [0x452704]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x4320fc
mov eax, dword [0x452710]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x432175
cmp dword [0x452714], edi
je 0x432175
push eax
call ebx
push dword [0x452714]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x432175
test eax, eax
je 0x432175
call ecx
test eax, eax
je 0x43216a
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x43216a
test byte [ebp - 8], 1
jne 0x432175
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x4321a5
mov eax, dword [0x452708]
cmp eax, edi
je 0x4321a2
push eax
call ebx
test eax, eax
je 0x4321a2
call eax
mov esi, eax
test esi, esi
je 0x4321a2
mov eax, dword [0x45270c]
cmp eax, edi
je 0x4321a2
push eax
call ebx
test eax, eax
je 0x4321a2
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x452704]
call ebx
test eax, eax
je 0x4321bd
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x4321bf
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041f9e6
mov esp, ebp
pop ebp
ret
Function at 0x77205c43
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x772080bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x108]
push edx
push 0xf003f
push 0
push ecx
push eax
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x77205cdb
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
push edi
mov edi, 0x100
jmp 0x77205ca5
lea eax, [ebp - 0x104]
push eax
push dword [ebp - 0x108]
call 0x77210cbb
push edi
lea eax, [ebp - 0x104]
push eax
push 0
push dword [ebp - 0x108]
call esi
test eax, eax
je 0x77205c93
push dword [ebp - 0x108]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.772069d6
leave
ret 8

Function at 0x77205dfa
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x410
mov eax, dword [0x772080bc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x410], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push esi
mov dword [ebp - 0x40c], ecx
cmp edi, ebx
je 0x77205e62
push eax
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.77205cee
push 0x772014d4
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.77205d28
push edi
push esi
lea eax, [ebp - 0x404]
push eax
call fcn.77205d28
lea eax, [ebp - 0x404]
push ebx
lea ecx, [ebp - 0x408]
push ecx
push ebx
push 0xf003f
push ebx
push ebx
push ebx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, ebx
jne 0x77205ebc
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp - 0x40c]
push 1
push ebx
push dword [ebp - 0x410]
push dword [ebp - 0x408]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp - 0x408]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.772069d6
leave
ret 8
Function at 0x401390
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 4
call fcn.0040fe20
mov dword [esp], 0x4f2144
push 0x82
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x4013f5
push esi
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4013ee
push esi
call fcn.004079a0
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
je 0x4013ee
push 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
call fcn.0040fe30
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
push 0
push ecx
mov eax, esp
mov dword [eax], str.skin_define.xml
call fcn.00401bf3
mov ecx, eax
call fcn.004116d0
pop edi
pop esi
ret

Function at 0x4015e6
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2c
mov eax, dword [0x500324]
xor eax, esp
mov dword [esp + 0x28], eax
push esi
mov esi, dword [ebp + 8]
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x401677
lea ecx, [esp + 0xc]
call fcn.0049f5e3
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0x10]
call fcn.0049fcc6
sub esp, 0x18
mov ecx, esp
push str.WinAssist
call fcn.00401bce
push 0
push esi
call fcn.0040168c
mov ecx, eax
call fcn.004a050f
lea ecx, [esp + 0xc]
call fcn.0049f7e2
cmp eax, 1
jg 0x40165e
push ecx
push ecx
mov ecx, esi
call fcn.0040140f
pop ecx
pop ecx
jmp 0x401663
call fcn.00401507
call fcn.004017d2
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0xc]
call fcn.0049f647
mov ecx, dword [esp + 0x2c]
xor eax, eax
pop esi
xor ecx, esp
call fcn.004a17fd
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4017d2
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x214]
push eax
push 0xf003f
push 0
push str.SoftwareMicrosoftWindows_NTCurrentVersionAppCompatFlagsCompatibility_AssistantPersisted
push reloc.gdiplus.dll_Ordinal_1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x401849
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x401849
push 4
lea eax, [ebp - 0x210]
mov dword [ebp - 0x210], 1
push eax
push 4
push 0
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a17fd
leave
ret
Function at 0x47a250
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x500324]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 0x18]
test ecx, ecx
jne 0x47a275
xor eax, eax
jmp 0x47a33c
mov edx, dword [ebp - 8]
cmp dword [edx + 0x10], 0
jne 0x47a285
xor eax, eax
jmp 0x47a33c
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
add eax, 1
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
shl eax, 1
call fcn.004a2270
mov dword [ebp - 0x14], esp
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 0
jne 0x47a2b8
xor eax, eax
jmp 0x47a33c
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
add ecx, 0x1dc
call fcn.00415910
push 0
push 0
push 0
push str.textchanged
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x10]
mov ecx, dword [ebp - 8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.0040f060
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x10]
mov eax, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x10]
mov eax, dword [edx + 0x1c]
call eax
mov ecx, eax
call fcn.00407e50
movzx ecx, al
test ecx, ecx
je 0x47a33a
mov edx, dword [ebp - 8]
mov ecx, dword [edx + 0x10]
call fcn.0042aec0
xor eax, eax
lea esp, [ebp - 0x14]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a17fd
mov esp, ebp
pop ebp
ret 0x10
Function at 0x486a20
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x486a65
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 4]
cmp eax, dword [ecx + 4]
jne 0x486a56
mov edx, dword [ebp + 0x14]
mov dword [edx], 1
xor eax, eax
jmp 0x486add
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 8], eax
jmp 0x486a32
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_DefWindowProcW]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
cmp dword [ecx + 0x5a8], 0
jne 0x486acb
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
add eax, 0x5a0
push eax
push 0
push 0x466
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x10]
mov dword [ecx + 0x5a8], 1
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x10]
call fcn.00486b10
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret 0x10

Function at 0x48e090
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d5f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x500324]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x10]
call fcn.00411a60
mov ecx, dword [ebp - 0x10]
add ecx, 0x10
call fcn.0048e220
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x10]
add eax, 0x18
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], vtable.DuiLib::INotifyUI.0
mov edx, dword [ebp - 0x10]
add edx, 0x1c
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
mov dword [eax], vtable.DuiLib::IDialogBuilderCallback.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx], vtable.DuiLib::CMenuWnd.0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x10], vtable.DuiLib::CMenuWnd.1.0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x18], vtable.DuiLib::CMenuWnd.2.0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x1c], vtable.DuiLib::CMenuWnd.3.0
mov edx, dword [ebp - 0x10]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 0x10]
add eax, 0x2c
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], 0x4f22ec
mov ecx, dword [ebp - 0x10]
add ecx, 0x30
call fcn.004042a0
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x784], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x788], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x78c], 6
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4a0f97
Capabilities:
Create process on windows
Get common file path
Get program files directory

Disassembly:
push 0x210
mov eax, 0x4d6c1f
call fcn.004a214e
mov esi, dword [ebp + 8]
push 1
push 0
push esi
push 0x4e6eb4
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor ebx, ebx
cmp eax, 0x20
setg bl
jle 0x4a0e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x483
jne 0x4a0e83
push 0x208
xor ebx, ebx
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.004b9470
add esp, 0xc
lea eax, [ebp - 0x218]
push ebx
push 0x26
push eax
push ebx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
call fcn.00401da0
push eax
lea ecx, [ebp - 0x21c]
call fcn.004a0c3d
lea eax, [ebp - 0x218]
mov dword [ebp - 4], ebx
push eax
lea eax, [ebp - 0x21c]
push str.__sInternet_Exploreriexplore.exe_
push eax
call fcn.004a0cf9
add esp, 0xc
push 1
push ebx
push esi
mov esi, dword [ebp - 0x21c]
push esi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
lea ecx, [esi - 0x10]
setg bl
call fcn.004a0f54
mov eax, ebx
call fcn.004a2109
ret
push ebp
mov ebp, esp
push 1
xor eax, eax
push eax
push eax
push dword [ebp + 8]
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x4a0fba
pop ebp
jmp 0x4a0dc7
pop ebp
ret

Function at 0x4a1046
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x4d6c60
call fcn.004a211a
and dword [ebp - 0x20], 0
xor eax, eax
mov ebx, dword [ebp + 8]
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
mov word [ebx], ax
and dword [ebp - 4], eax
push 0x208
mov dword [ebp - 0x20], 1
call fcn.004a2255
mov edx, eax
xor eax, eax
pop ecx
mov ecx, 0x82
mov dword [ebp - 0x14], edx
mov edi, edx
rep stosd dword es:[edi], eax
mov edi, 0x20019
mov dword [ebp - 0x1c], edi
lea eax, [ebp - 0x18]
push eax
push edi
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0x4a114c
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x104
push eax
xor eax, eax
push eax
push eax
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x4a1143
cmp dword [ebp - 0x10], 0x104
jbe 0x4a1114
push dword [ebp - 0x14]
call fcn.004a225e
mov eax, dword [ebp - 0x10]
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a2255
mov edi, eax
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x14], edi
push eax
push esi
push edi
call fcn.00403cf0
add esp, 0x14
jmp 0x4a1117
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push edi
push 0
push 0
push dword [ebp + 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
mov ecx, ebx
mov esi, eax
push edi
call fcn.00401b59
push edi
call fcn.004a225e
mov edi, dword [ebp - 0x1c]
pop ecx
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
pop eax
cmp esi, eax
jne 0x4a116e
cmp dword [ebp + 0xc], reloc.OLEAUT32.dll_SysReAllocString
jne 0x4a116e
cmp edi, 0x20019
jne 0x4a116e
mov edi, 0x20119
jmp 0x4a1093
mov eax, ebx
call fcn.004a20f4
ret
Function at 0x401160
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x35c
mov eax, dword [0x411034]
xor eax, esp
mov dword [esp + 0x358], eax
push ebp
mov ebp, dword [esp + 0x364]
push esi
push edi
push ebp
lea eax, [esp + 0x25c]
push 0x104
push eax
call fcn.00403459
add esp, 0xc
push str..
lea ecx, [esp + 0x25c]
push 0x104
push ecx
call fcn.004034c1
add esp, 0xc
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x25c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 0xc], eax
cmp eax, 0xffffffff
je 0x4012ab
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
lea ebx, [ebx]
lea ecx, [esp + 0x3c]
push 0x40ebe0
push ecx
call fcn.004036e3
add esp, 8
test eax, eax
je 0x401288
lea edx, [esp + 0x3c]
push 0x40ebe4
push edx
call fcn.004036e3
add esp, 8
test eax, eax
je 0x401288
push 0x103
lea eax, [esp + 0x155]
push 0
push eax
mov byte [esp + 0x15c], 0
call fcn.00403cc0
add esp, 0xc
lea ecx, [esp + 0x3c]
push ecx
push ebp
lea edx, [esp + 0x158]
push str._s_s
push edx
call esi
add esp, 0x10
lea eax, [esp + 0x150]
push eax
call edi
test al, 0x10
je 0x401267
lea ecx, [esp + 0x150]
push ecx
call fcn.00401160
add esp, 4
jmp 0x401288
push 0x80
lea edx, [esp + 0x154]
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov edx, dword [esp + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4011e0
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x364]
pop edi
pop esi
pop ebp
xor ecx, esp
xor eax, eax
call fcn.00402f18
add esp, 0x35c
ret
Function at 0x402e40
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x24
lea eax, [esp + 4]
push eax
push 0x20
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x402ef2
lea ecx, [esp + 8]
push ecx
push str.SeDebugPrivilege
push 0
mov dword [esp + 0x1c], 1
mov dword [esp + 0x28], 2
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x402ede
mov edx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push 0
push 0
push 0x10
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
push 0
push edx
mov dword [esp + 0x30], eax
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x402eca
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add esp, 0x24
ret
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffff31c
add esp, 0x24
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffff3e4
add esp, 0x24
ret
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffff3e4
add esp, 0x24
ret

Function at 0x402f18
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x411034]
jne 0x402f22
repz ret
jmp fcn.00403b1b
Function at 0x408eb2
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004052f3
and dword [ebp - 4], 0
cmp dword [0x4129a8], 0
mov ebx, eax
jne 0x408f63
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x409014
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x40ea9c
push edi
call esi
test eax, eax
je 0x409014
push eax
call fcn.00405281
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4129a8], eax
call esi
push eax
call fcn.00405281
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4129ac], eax
call esi
push eax
call fcn.00405281
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4129b0], eax
call esi
push eax
call fcn.00405281
pop ecx
mov dword [0x4129b8], eax
test eax, eax
je 0x408f63
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00405281
pop ecx
mov dword [0x4129b4], eax
mov eax, dword [0x4129b4]
cmp eax, ebx
je 0x408fbb
cmp dword [0x4129b8], ebx
je 0x408fbb
push eax
call fcn.004052fc
push dword [0x4129b8]
mov esi, eax
call fcn.004052fc
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408fbb
test edi, edi
je 0x408fbb
call esi
test eax, eax
je 0x408fb2
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408fb2
test byte [ebp - 0xc], 1
jne 0x408fbb
or dword [ebp + 0x10], 0x200000
jmp 0x408ff4
mov eax, dword [0x4129ac]
cmp eax, ebx
je 0x408ff4
push eax
call fcn.004052fc
pop ecx
test eax, eax
je 0x408ff4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408ff4
mov eax, dword [0x4129b0]
cmp eax, ebx
je 0x408ff4
push eax
call fcn.004052fc
pop ecx
test eax, eax
je 0x408ff4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4129a8]
call fcn.004052fc
pop ecx
test eax, eax
je 0x409014
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x409016
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401130
Capabilities:
Get mac address on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x417db4]
push ebx
push esi
push edi
push 0x288
push 1
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0x288
call fcn.004048c0
mov ebx, eax
add esp, 8
mov dword [ebp - 0x14], ebx
test ebx, ebx
je 0x401298
mov esi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
lea eax, [ebp - 4]
push eax
push ebx
call esi
cmp eax, 0x6f
jne 0x401196
push ebx
call fcn.00404888
push 1
push dword [ebp - 4]
call fcn.004048c0
mov ebx, eax
add esp, 0xc
mov dword [ebp - 0x14], eax
test ebx, ebx
je 0x40129f
lea eax, [ebp - 4]
push eax
push ebx
call esi
test eax, eax
jne 0x401284
mov edi, ebx
test ebx, ebx
je 0x401291
nop
lea esi, [edi + 0x10c]
test esi, esi
jne 0x4011be
xor eax, eax
jmp 0x4011cc
push 0x84
push esi
call fcn.00404b63
add esp, 8
add eax, 2
mov dword [ebp - 8], eax
lea eax, [edi + 8]
test eax, eax
je 0x4011e7
push 0x104
push eax
call fcn.00404b63
add esp, 8
add eax, 2
push 0x1c
push 1
mov dword [ebp - 0xc], eax
call fcn.004048c0
mov ebx, dword [ebp - 0x10]
add esp, 8
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x18], eax
test eax, eax
je 0x401298
push 1
push dword [ebp - 8]
call fcn.004048c0
mov ecx, dword [ebp - 0x18]
add esp, 8
mov dword [ecx], eax
test eax, eax
je 0x401298
push 1
push dword [ebp - 0xc]
call fcn.004048c0
mov ecx, dword [ebx + 0x18]
add esp, 8
mov dword [ecx + 4], eax
test eax, eax
je 0x401298
mov eax, dword [ebx + 0x18]
push esi
push dword [ebp - 8]
push dword [eax]
call fcn.00404b7e
lea eax, [edi + 8]
push eax
mov eax, dword [ebx + 0x18]
push dword [ebp - 0xc]
push dword [eax + 4]
call fcn.00404b7e
push 6
lea eax, [edi + 0x194]
push eax
mov eax, dword [ebx + 0x18]
add eax, 8
push 6
push eax
call fcn.00404bd3
mov edi, dword [edi]
mov eax, dword [ebx + 0x18]
add esp, 0x28
mov dword [ebp - 0x10], eax
test edi, edi
jne 0x4011b0
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x401291
push ebx
call fcn.00404888
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0
call fcn.00404fe0
push 0
call fcn.00404fe0
int3