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

Disassembly:
push 0xffffffffffffffff
push 0x440968
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebp
push esi
push edi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
push 0x4483d8
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x38], 0
call fcn.00403bd0
add esp, 0xc
mov byte [esp + 0x2c], 1
call fcn.0040cccf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4026f4
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x2c], 2
call fcn.0040cccf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x402723
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea esi, [esp + 0x10]
mov byte [esp + 0x2c], 3
call fcn.004034e0
push 0x29
push str.MicrosoftInternet_ExplorerQuick_Launch
mov ecx, esi
call fcn.00404190
mov edi, dword [esp + 0x10]
push 0x448444
push edi
lea ecx, [esp + 0x1c]
push str._s_s.lnk
push ecx
call fcn.004045e0
add esp, 0x10
call fcn.00403580
mov ebp, dword [esp + 0x14]
test eax, eax
je 0x402792
mov edx, dword [esp + 0x18]
push 1
push 0
push 0
push edx
push str.taskbarunpin
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4027db
push ecx
lea eax, [ebp - 0x10]
mov dword [esp + 0x20], esp
mov esi, esp
push eax
call fcn.00401ef0
add eax, 0x10
mov dword [esi], eax
lea eax, [edi - 0x10]
mov dword [esp + 0x28], esp
mov esi, esp
push eax
mov byte [esp + 0x38], 4
call fcn.00401ef0
add eax, 0x10
mov dword [esi], eax
add esp, 4
mov byte [esp + 0x34], 3
call fcn.004035e0
add esp, 8
test eax, eax
je 0x4027db
push ebp
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x10]
mov byte [esp + 0x2c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4027fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x2c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40281d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402842
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40286a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x20
ret
Function at 0x4034e0
Capabilities:
Get common file path

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0x1a
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x403575
mov eax, dword [esi]
mov edx, dword [eax - 8]
sub eax, 0x10
mov ecx, 1
sub ecx, dword [eax + 0xc]
sub edx, 0x104
or ecx, edx
jge 0x403521
push 0x104
mov ecx, esi
call fcn.00401ea0
mov eax, dword [esi]
push edi
push eax
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov edi, eax
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x403549
push ecx
push eax
call fcn.004296ab
add esp, 8
test eax, eax
jl 0x40356b
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x40356b
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop ecx
ret
push 0x80070057
call fcn.00401090
xor eax, eax
pop ecx
ret

Function at 0x403580
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4558c0]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4035c3
cmp dword [esp + 0x10], 2
jne 0x4035c3
cmp dword [esp + 4], 6
jne 0x4035c3
mov eax, 1
cmp dword [esp + 8], eax
je 0x4035c5
xor eax, eax
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004293f9
add esp, 0x118
ret

Function at 0x4046f0
Capabilities:
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x288
mov dword [esp + 8], 0x288
call fcn.0040b670
mov esi, eax
add esp, 4
test esi, esi
je 0x4047c4
push 0x288
push 0
push esi
call fcn.0042b410
add esp, 0xc
lea eax, [esp + 4]
push eax
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
jne 0x40473f
push esi
call fcn.0040b69f
add esp, 4
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
jne 0x4047bb
mov eax, esi
mov ecx, 6
cmp dword [eax + 0x1a0], ecx
jne 0x404765
cmp dword [eax + 0x190], ecx
je 0x404779
mov eax, dword [eax]
test eax, eax
jne 0x404755
push esi
call fcn.0040b69f
add esp, 4
pop esi
pop ecx
ret 4
movzx edx, byte [esi + 0x199]
movzx eax, byte [esi + 0x198]
movzx ecx, byte [esi + 0x197]
push edx
movzx edx, byte [esi + 0x196]
push eax
movzx eax, byte [esi + 0x195]
push ecx
movzx ecx, byte [esi + 0x194]
push edx
mov edx, dword [esp + 0x1c]
push eax
push ecx
push str._02X__02X__02X__02X__02X__02X
push edx
call fcn.004045e0
add esp, 0x20
push esi
call fcn.0040b69f
add esp, 4
pop esi
pop ecx
ret 4
Function at 0x4047d0
Capabilities:
Get local ipv4 addresses
Get mac address on windows

Disassembly:
push ecx
push esi
push 0x170
mov dword [esp + 8], 0x170
call fcn.0040b670
mov esi, eax
add esp, 4
test esi, esi
je 0x404894
push 0x170
push 0
push esi
call fcn.0042b410
add esp, 0xc
lea eax, [esp + 4]
push eax
push esi
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
cmp eax, 0x6f
jne 0x404825
push esi
call fcn.0040b69f
add esp, 4
pop esi
pop ecx
ret 4
lea ecx, [esp + 4]
push ecx
push esi
push 0
push 0
push 0
call sub.IPHLPAPI.DLL_GetAdaptersAddresses
test eax, eax
jne 0x40488b
mov eax, esi
mov ecx, 6
cmp dword [eax + 0x34], ecx
je 0x40485b
mov eax, dword [eax + 8]
test eax, eax
jne 0x404841
push esi
call fcn.0040b69f
add esp, 4
pop esi
pop ecx
ret 4
movzx edx, byte [eax + 0x31]
movzx ecx, byte [eax + 0x30]
push edx
movzx edx, byte [eax + 0x2f]
push ecx
movzx ecx, byte [eax + 0x2e]
push edx
movzx edx, byte [eax + 0x2d]
movzx eax, byte [eax + 0x2c]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push eax
push str._02X__02X__02X__02X__02X__02X
push ecx
call fcn.004045e0
add esp, 0x20
push esi
call fcn.0040b69f
add esp, 4
pop esi
pop ecx
ret 4
Function at 0x408370
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x440b38
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x18]
cmp dword [eax - 4], 1
jle 0x4083b4
mov eax, dword [eax - 0xc]
push eax
lea ecx, [esp + 0x1c]
call fcn.004022b0
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
mov eax, dword [esp + 0x18]
setne cl
mov esi, ecx
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004296ab
add esp, 8
test eax, eax
jl 0x40842d
mov ecx, dword [esp + 0x18]
cmp eax, dword [ecx - 8]
jg 0x40842d
mov dword [ecx - 0xc], eax
mov ecx, dword [esp + 0x18]
xor edx, edx
mov word [ecx + eax*2], dx
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x408418
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0xc
ret 4
push 0x80070057
call fcn.00401090
int3
Function at 0x408890
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x440ab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
call fcn.0040cccf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4088d7
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
jne 0x408946
push 0
lea edx, [esp + 0x10]
push edx
lea ebx, [esp + 0x30]
call fcn.0040a270
mov ecx, dword [esp + 0x24]
add ecx, 0xf4
push eax
mov byte [esp + 0x20], 2
call fcn.00401b80
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408946
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408967
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40898f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x4089b0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x440ab8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
mov eax, dword [0x4558c0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov dword [esp + 0x1c], 0
call fcn.0040cccf
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4089f7
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x10], esi
mov byte [esp + 0x1c], 1
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x408a65
push 1
lea edx, [esp + 0x10]
push edx
lea ebx, [esp + 0x30]
call fcn.0040a270
mov ecx, dword [esp + 0x24]
add ecx, 0xf4
push eax
mov byte [esp + 0x20], 2
call fcn.00401b80
mov byte [esp + 0x1c], 1
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a65
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov byte [esp + 0x1c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408a86
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408aae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x14
ret 8
Function at 0x409310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
call fcn.0040e096
mov esi, dword [eax + 0xc]
movzx eax, word [esp + 0x10]
push 0x4487b8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40933d
pop edi
pop esi
pop ebp
ret 8
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
jne 0x40935d
pop ebx
pop edi
pop esi
pop ebp
ret 8
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebx
push esi
push eax
call fcn.004308f0
add esp, 0xc
lea ecx, [esp + 0x18]
push ecx
push 0
push edi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
mov ebx, dword [esp + 0x18]
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
test esi, esi
je 0x4093b4
lea eax, [esi + 4]
push eax
push ebx
mov dword [esi], vtable.Gdiplus::Image.0
mov dword [eax], 0
call sub.gdiplus.dll_GdipLoadImageFromStream
mov dword [esi + 8], eax
jmp 0x4093b6
xor esi, esi
push edi
mov dword [ebp], esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [esp + 0x18]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
pop ebx
xor eax, eax
cmp dword [ebp], eax
pop edi
pop esi
setne al
pop ebp
ret 8
Function at 0x409fb0
Capabilities:
Acquire debug privileges

Disassembly:
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 4]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x40a014
lea edx, [esp + 0xc]
push edx
push str.SeDebugPrivilege
push 0
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x40a009
mov ecx, dword [esp + 4]
push 0
push 0
push 0
lea eax, [esp + 0x14]
push eax
push 0
push ecx
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 0x1c
ret
Function at 0x40c177
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x40c1a2
call fcn.0040e096
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x40c1c5
push eax
push dword [esi + 4]
call fcn.0040c0fd
push esi
push eax
mov ecx, 0x456d64
call fcn.0040bd84
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x411676
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x4116be
call fcn.0040e096
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4116be
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x411701
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x4116ea
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x4116ea
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x4116fe
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x413107
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x41312b
cmp dword [edi + 0x54], 0
jne 0x41312b
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.0040e096
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.004130c8
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x41927a
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x4192c1
call fcn.0040e096
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x4192c1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4192dd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00418df2
mov esi, eax
test edi, edi
je 0x4192db
test ebx, ebx
je 0x4192db
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4199dc
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43f6fc
call fcn.0042ade4
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x419a01
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x419a47
lea ecx, [ebp - 0x10]
call fcn.004017d0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040b9be
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401160
mov eax, esi
call fcn.0042aebc
ret 8

Function at 0x4293f9
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4558c0]
jne 0x429403
repz ret
jmp fcn.00430383
Function at 0x439940
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.0042fd92
and dword [ebp - 4], 0
cmp dword [0x459804], 0
mov ebx, eax
jne 0x4399f1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x439aa2
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x439aa2
push eax
call fcn.0042fd20
mov dword [esp], 0x4468d0
push edi
mov dword [0x459804], eax
call esi
push eax
call fcn.0042fd20
mov dword [esp], 0x4468bc
push edi
mov dword [0x459808], eax
call esi
push eax
call fcn.0042fd20
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45980c], eax
call esi
push eax
call fcn.0042fd20
pop ecx
mov dword [0x459814], eax
test eax, eax
je 0x4399f1
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042fd20
pop ecx
mov dword [0x459810], eax
mov eax, dword [0x459810]
cmp eax, ebx
je 0x439a49
cmp dword [0x459814], ebx
je 0x439a49
push eax
call fcn.0042fd9b
push dword [0x459814]
mov esi, eax
call fcn.0042fd9b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x439a49
test edi, edi
je 0x439a49
call esi
test eax, eax
je 0x439a40
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x439a40
test byte [ebp - 0xc], 1
jne 0x439a49
or dword [ebp + 0x10], 0x200000
jmp 0x439a82
mov eax, dword [0x459808]
cmp eax, ebx
je 0x439a82
push eax
call fcn.0042fd9b
pop ecx
test eax, eax
je 0x439a82
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x439a82
mov eax, dword [0x45980c]
cmp eax, ebx
je 0x439a82
push eax
call fcn.0042fd9b
pop ecx
test eax, eax
je 0x439a82
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x459804]
call fcn.0042fd9b
pop ecx
test eax, eax
je 0x439aa2
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x439aa4
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4015af
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
push 0
call dword [0x420748]
mov byte [ebp - 0x18], 0x57
mov byte [ebp - 0x17], 0x49
mov byte [ebp - 0x16], 0x4e
mov byte [ebp - 0x15], 0x4d
mov byte [ebp - 0x14], 0x4d
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0
lea eax, [ebp - 0x18]
push eax
call dword [0x420790]
mov dword [0x41e3c8], eax
call dword [0x420938]
test eax, eax
jne 0x40160b
xor al, al
jmp 0x401785
push 0
call dword [0x420748]
mov dword [ebp - 8], 0
push 0
call dword [0x420748]
lea ecx, [ebp - 8]
push ecx
push 4
mov edx, dword [ebp - 0x1c]
push edx
push 0x401901
push 0
push 0
call dword [0x420754]
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x2c], eax
push 0x20000
push 0
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 0x46
push eax
push 0xffff
mov ecx, dword [ebp - 0x1c]
add ecx, 0x18
push ecx
call dword [0x420964]
mov dword [ebp - 4], eax
push 0
call dword [0x420748]
cmp dword [ebp - 4], 0
je 0x40167d
xor al, al
jmp 0x401785
nop
mov dword [ebp - 0xc], 0
jmp 0x401690
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 2
jge 0x40172c
push 0
call dword [0x420748]
push 0
call dword [0x420748]
push 0
call dword [0x420748]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*4 + 0x30]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + eax*4 + 8]
mov dword [edx], eax
push 0
call dword [0x420748]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + ecx*4 + 0x30]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*4 + 0x30]
mov dword [edx + 0x10], 0
push 0
call dword [0x420748]
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*4 + 0x30]
mov dword [edx + 0x14], 0
push 0x20
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*4 + 0x30]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x420960]
jmp 0x401687
push 0x20
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x1c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + eax*4 + 0x30]
push edx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
push ecx
call dword [0x42095c]
push 0
call dword [0x420748]
push 0
call dword [0x420748]
push 0
call dword [0x420748]
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x2c]
push eax
call dword [0x420758]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x18]
push edx
call dword [0x420958]
nop
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x44], 1
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret