joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402678
Capabilities:
Get graphical window text

Disassembly:
mov ebx, dword [0x4050c0]
mov dword [0x4171b6], 0
push dword [0x405008]
call sub.user32.dll_GetWindowTextLengthA
shl eax, 3
push eax
push 0
push dword [0x4050d4]
call sub.kernel32.dll_HeapAlloc
mov dword [0x4050e0], eax
or eax, eax
jne 0x4026d1
push str.SetupFileNamesWanted
call fcn.00401180
pushal
push 0
push str.Find_All
push str.error_allocating_heap
push 0
call sub.user32.dll_MessageBoxA
popal
jmp 0x4027f6
mov edi, dword [0x4050e0]
push 0x416a30
push 0x200
push 0xd
push dword [0x405008]
call sub.user32.dll_SendMessageA
or eax, eax
je 0x4027cd
mov dword [0x4171ce], 0
mov esi, 0x416a30
mov dword [0x416e3c], edi
add edi, 4
mov ecx, 0
movzx eax, byte [esi]
inc esi
cmp al, 0x20
je 0x402713
or al, al
jne 0x402732
cmp dword [0x4171ce], 0
je 0x4027cd
jmp 0x402768
movzx eax, byte [esi]
inc esi
mov al, byte [eax + ebx]
or al, al
je 0x402768
cmp al, 0x20
je 0x402768
cmp al, 0x2e
je 0x402745
stosb byte es:[edi], al
inc ecx
jmp 0x40272e
cmp dword [0x4171ce], 0
je 0x402771
pushal
push 0
push str.Find_All
push str.error_in_file_specification__check_for_extra_dot
push 0
call sub.user32.dll_MessageBoxA
popal
jmp 0x4027eb
cmp dword [0x4171ce], 1
je 0x4027a9
or ecx, ecx
jne 0x402779
mov byte [edi], 0x2a
inc edi
mov byte [edi], 0
inc edi
mov dword [0x4171ce], 1
mov ecx, dword [0x416e3c]
mov dword [ecx], edi
mov ecx, 0
cmp al, 0x20
je 0x4027a0
or al, al
jne 0x402705
mov dword [0x416e3c], edi
add edi, 4
mov byte [edi], 0
inc edi
mov dword [0x4171ce], 0
inc dword [0x4171b6]
mov ecx, dword [0x416e3c]
mov dword [ecx], edi
cmp al, 0
jne 0x402705
cmp dword [0x4171b6], 0
jne 0x4027f8
pushal
push 0
push str.Find_All
push str.No_file_specifications_entered
push 0
call sub.user32.dll_MessageBoxA
popal
push dword [0x405008]
call sub.user32.dll_SetFocus
stc
ret
clc
ret

Function at 0x4027fa
Capabilities:
Get graphical window text

Disassembly:
push 0x416a30
push 0x104
push 0xd
push dword [0x405014]
call sub.user32.dll_SendMessageA
or eax, eax
je 0x402832
push 0x416e3c
push 0x415e24
push 0x104
push 0x416a30
call sub.kernel32.dll_GetFullPathNameA
or eax, eax
jne 0x402854
pushal
push 0
push str.Find_All
push 0x4052e8
push 0
call sub.user32.dll_MessageBoxA
popal
push dword [0x405014]
call sub.user32.dll_SetFocus
stc
ret
clc
ret
Function at 0x402999
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ecx
push esi
push edi
push 1
push 0
push 0
push dword [ebp + 8]
push 0
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x21
jb 0x4029c3
pop edi
pop esi
pop ecx
leave
ret 4
cmp eax, 0x1f
jne 0x402a0a
lea edi, [ebp - 0x104]
mov esi, str.rundll32.exe_shell32.dll_OpenAs_RunDLL
mov ecx, 0x27
rep movsb byte es:[edi], byte [esi]
mov esi, dword [ebp + 8]
lodsb al, byte [esi]
stosb byte es:[edi], al
cmp al, 0
jne 0x4029dd
pushal
push 0
push str.Find_All
lea eax, [ebp - 0x104]
push eax
push 0
call sub.user32.dll_MessageBoxA
popal
push 1
lea eax, [ebp - 0x104]
push eax
call sub.kernel32.dll_WinExec
jmp 0x402a77
or eax, eax
jne 0x402a25
pushal
push 0
push str.Find_All
push str.Out_of_Memory_Resources
push 0
call sub.user32.dll_MessageBoxA
popal
jmp 0x402a77
cmp eax, 2
jne 0x402a41
pushal
push 0
push str.Find_All
push str.File_not_found
push 0
call sub.user32.dll_MessageBoxA
popal
jmp 0x402a77
cmp eax, 3
jne 0x402a5d
pushal
push 0
push str.Find_All
push str.Path_not_found
push 0
call sub.user32.dll_MessageBoxA
popal
jmp 0x402a77
cmp eax, 0xb
jne 0x402a77
pushal
push 0
push str.Find_All
push str.Bad_File_Format
push 0
call sub.user32.dll_MessageBoxA
popal
pop edi
pop esi
pop ecx
leave
ret 4

Function at 0x402a7e
Capabilities:
Get graphical window text

Disassembly:
push 0x416a30
push 0x104
push 0xd
push dword [section..data]
call sub.user32.dll_SendMessageA
or eax, eax
je 0x402ab8
push 0x416e3c
push 0x416c30
push 0x104
push 0x416a30
call sub.kernel32.dll_GetFullPathNameA
or eax, eax
je 0x402ab8
clc
ret
call fcn.00402abf
stc
ret

Function at 0x402b08
Capabilities:
Get graphical window text
Write file on windows

Disassembly:
pushal
call fcn.00402a7e
jae 0x402b15
jmp 0x402bdf
mov dword [0x416e3c], 0
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push 0x416c30
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x402b54
push str.SaveStrings
call fcn.00401180
call fcn.00402abf
jmp 0x402bdf
mov dword [0x416e3c], eax
push dword [0x40500c]
pop dword [0x4171ca]
push str._Strs:_r_n
push dword [0x416e3c]
call fcn.00402ae0
push 0x405e24
push 0x10000
push 0xd
push dword [0x4171ca]
call sub.user32.dll_SendMessageA
cmp word [eax + 0x405e22], 0xa0d
je 0x402ba3
mov word [eax + 0x405e24], 0xa0d
add eax, 2
push 0
push 0x416e48
push eax
push 0x405e24
push dword [0x416e3c]
call sub.kernel32.dll_WriteFile
mov eax, dword [0x405010]
cmp eax, dword [0x4171ca]
je 0x402bdf
mov dword [0x4171ca], eax
push str._Nots:_r_n
push dword [0x416e3c]
call fcn.00402ae0
jmp 0x402b75
cmp dword [0x416e3c], 0
je 0x402bf3
push dword [0x416e3c]
call sub.kernel32.dll_CloseHandle
popal
ret
Function at 0x402bf5
Capabilities:
Read file on windows

Disassembly:
pushal
call fcn.00402a7e
jae 0x402c02
jmp 0x402cfb
mov dword [0x416e3c], 0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push 0x416c30
call sub.kernel32.dll_CreateFileA
cmp eax, 0xffffffff
jne 0x402c41
push str.ReadStrings
call fcn.00401180
call fcn.00402abf
jmp 0x402cfb
mov dword [0x416e3c], eax
push 0
push 0x416e48
push 0x10000
push 0x405e24
push dword [0x416e3c]
call sub.kernel32.dll_ReadFile
mov ecx, dword [0x416e48]
cmp ecx, 8
jbe 0x402cfb
mov esi, 0x405e24
mov byte [ecx + esi], 0
cmp dword [esi], 0x7274532d
jne 0x402ce6
cmp dword [esi + 4], 0xa0d3a73
jne 0x402ce6
add esi, 8
sub ecx, 8
mov edx, esi
cmp dword [esi], 0x746f4e2d
jne 0x402ccc
cmp dword [esi + 4], 0xa0d3a73
jne 0x402ccc
mov byte [esi], 0
push edx
push 0
push 0xc
push dword [0x40500c]
call sub.user32.dll_SendMessageA
add esi, 8
push esi
push 0
push 0xc
push dword [0x405010]
call sub.user32.dll_SendMessageA
jmp 0x402cfb
lodsb al, byte [esi]
dec ecx
je 0x402cd6
cmp al, 0xa
jne 0x402ccc
jmp 0x402c93
push edx
push 0
push 0xc
push dword [0x40500c]
call sub.user32.dll_SendMessageA
pushal
push 0
push str.Find_All
push str.No_Strings
push 0
call sub.user32.dll_MessageBoxA
popal
cmp dword [0x416e3c], 0
je 0x402d0f
push dword [0x416e3c]
call sub.kernel32.dll_CloseHandle
popal
ret

Function at 0x402d31
Capabilities:
Enumerate files on windows

Disassembly:
cmp dword [0x4171aa], 0
jne 0x402dcc
mov ecx, 0x416ee4
cmp byte [ecx], 0
je 0x402e69
mov dword [0x4171aa], 1
inc ecx
cmp byte [ecx], 0
jne 0x402d56
mov dword [0x41719e], ecx
mov eax, dword [0x4050d0]
mov dword [0x4171a6], eax
mov dword [0x4171a2], 1
mov dword [0x405404], 1
mov eax, dword [0x41719e]
cmp byte [eax - 1], 0x5c
je 0x402d96
mov word [eax], 0x5c
inc eax
mov dword [0x41719e], eax
mov ecx, dword [0x4171a6]
mov dword [ecx], eax
mov dword [eax], 0x2a2e2a
push 0x41705c
push 0x416ee4
call sub.kernel32.dll_FindFirstFileA
mov dword [0x41719a], eax
mov ecx, dword [0x4171a6]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x402e61
jmp 0x402de0
push 0x41705c
push dword [0x41719a]
call sub.kernel32.dll_FindNextFileA
or eax, eax
je 0x402e3e
mov edx, 0x417088
cmp byte [edx], 0x2e
je 0x402dcc
mov ecx, dword [0x41719e]
mov al, byte [edx]
mov byte [ecx], al
inc edx
inc ecx
or al, al
jne 0x402df0
test dword [0x41705c], 0x10
jne 0x402e10
cmp dword [0x405404], 1
jne 0x402dcc
ret
cmp dword [0x405404], 2
jne 0x402dcc
mov eax, dword [0x4171a2]
cmp eax, 0x80
je 0x402dcc
dec ecx
mov dword [0x41719e], ecx
add dword [0x4171a6], 8
inc dword [0x4171a2]
jmp 0x402d76
push dword [0x41719a]
call sub.kernel32.dll_FindClose
cmp dword [0x405404], 1
jne 0x402e61
mov dword [0x405404], 2
jmp 0x402d80
dec dword [0x4171a2]
jne 0x402e75
mov dword [0x4171aa], 0
stc
ret
sub dword [0x4171a6], 8
mov ecx, dword [0x4171a6]
mov eax, dword [ecx]
mov dword [0x41719e], eax
mov eax, dword [ecx + 4]
mov dword [0x41719a], eax
mov dword [0x405404], 2
jmp 0x402dcc
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x432072
nop
nop
nop
nop
nop
mov ebx, 0x40c7d0
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
mov esi, 0x28ea3237
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4320d2
nop
nop
mov ebx, 0x42f314
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x52e6228c
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x40ad5c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40ae72
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405c66
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40adb3
mov byte [ebp - 2], 0
jmp 0x40addd
call 0x40e9d8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40adfc
cmp al, 0x7f
ja 0x40adfc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40ae1b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call 0x40e9c0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call 0x40e9b4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call 0x40e9b4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40ad90
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x1000448b
Capabilities:
Parse pe header

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x100071ec
push ebx
push esi
call fcn.10007118
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.100070ac
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x10007199
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100071eb
push edi
push eax
call fcn.1000810a
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x100071b9
call fcn.10005bf4
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x100071ea
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.100070ac
add esp, 0x20
test eax, eax
jne 0x100071d8
push edi
call fcn.10005bf4
jmp 0x100071e0
push ebx
call fcn.10005bf4
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x10007459
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4e8
push 0x1000e4e0
push str.FlsAlloc
push 0x1f
call fcn.10007375
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000748d
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d10c]
call esi
jmp 0x10007493
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x100074d7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e4f8
push 0x1000e4f0
push str.FlsGetValue
push 0x21
call fcn.10007375
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1000750e
push dword [ebp + 8]
mov ecx, esi
call dword [0x1000d10c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x10007516
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x1000e500
push 0x1000e4f8
push str.FlsSetValue
push 0x22
call fcn.10007375
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10007550
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1000d10c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x1000cbd0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1000cbfd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1000cbfd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x402a85
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push 0
push dword [ebp + 8]
call sub.user32.dll_GetWindowLongA
mov ebx, eax
push dword [ebp + 8]
call sub.user32.dll_GetParent
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
call sub.user32.dll_GetDC
mov dword [ebp - 4], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
call sub.user32.dll_GetClientRect
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
call sub.user32.dll_GetWindowRect
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x28]
call sub.user32.dll_ScreenToClient
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x28]
call sub.user32.dll_ScreenToClient
cmp dword [ebx + 0x18c], 0
jne 0x402b43
push dword [ebp - 4]
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebx + 0x18c], eax
push dword [ebp - 8]
push dword [ebp - 0xc]
push dword [ebp - 4]
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebx + 0x184], eax
push dword [ebx + 0x184]
push dword [ebx + 0x18c]
call sub.gdi32.dll_SelectObject
mov dword [ebx + 0x188], eax
push 0xcc0020
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push dword [ebx + 0x18c]
call sub.gdi32.dll_BitBlt
push 0xcc0020
push 0
push 0
push dword [ebx + 0x18c]
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0
push 0
push dword [ebp + 0xc]
call sub.gdi32.dll_BitBlt
push dword [ebp - 4]
push dword [ebp - 0x28]
call sub.user32.dll_ReleaseDC
pop ebx
leave
ret 8
Function at 0x40f639
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x4e3018
cmp edx, dword [eax]
je 0x40f65b
add eax, 8
inc ecx
cmp eax, 0x4e30a8
jl 0x40f64c
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x4e3018]
jne 0x40f789
mov eax, dword [0x4e3518]
cmp eax, 1
je 0x40f763
test eax, eax
jne 0x40f68c
cmp dword [0x4e2f64], 1
je 0x40f763
cmp edx, 0xfc
je 0x40f789
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40f6c3
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00410c80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0040fda0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x40f706
lea eax, [ebp - 0x1a4]
push eax
call fcn.0040fda0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x416a30
push edi
call fcn.00411130
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00410c80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00410c90
lea eax, [ebp - 0xa0]
push 0x416a10
push eax
call fcn.00410c90
push dword [esi + 0x4e301c]
lea eax, [ebp - 0xa0]
push eax
call fcn.00410c90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004110a5
add esp, 0x2c
pop edi
jmp 0x40f789
lea eax, [ebp + 8]
lea esi, [esi + 0x4e301c]
push 0
push eax
push dword [esi]
call fcn.0040fda0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x406291
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4261d0]
jne 0x40629b
repz ret
jmp fcn.0040871c

Function at 0x40adfc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4261d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004074b2
and dword [ebp - 0x14], 0
cmp dword [0x427a30], 0
mov dword [ebp - 0x18], eax
jne 0x40aeaf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40af57
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40af57
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x427a30], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x427a34], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x427a38], eax
call edi
push eax
call esi
mov dword [0x427a40], eax
test eax, eax
je 0x40aeaf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x427a3c], eax
mov eax, dword [0x427a3c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40af08
cmp dword [0x427a40], ecx
je 0x40af08
push eax
call esi
push dword [0x427a40]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40af08
test ebx, ebx
je 0x40af08
call edi
test eax, eax
je 0x40aeff
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40aeff
test byte [ebp - 8], 1
jne 0x40af08
or dword [ebp + 0x10], 0x200000
jmp 0x40af3b
mov eax, dword [0x427a34]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40af3b
mov eax, dword [0x427a38]
cmp eax, dword [ebp - 0x18]
je 0x40af3b
push eax
call esi
test eax, eax
je 0x40af3b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x427a30]
call esi
test eax, eax
je 0x40af57
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40af59
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406291
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403daa
nop
sub eax, 0x403d50
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x430030
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43001e
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp int.00401219
Function at 0x10002a90
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1013cd35
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x10165004]
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 esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [esi + 0x34]
mov ebx, dword [ebp + 8]
lea edx, [esi + 0xc]
push ecx
push edx
mov dword [ebp - 0x3c], eax
lea edi, [esi + 0x10]
mov dword [esi + 8], eax
lea eax, [esi + 0x18]
push eax
push edi
push dword [ebp - 0x3c]
mov dword [esi], 6
push ebx
mov dword [esi + 4], ebx
mov dword [edx], 0
mov dword [esi + 0x30], 0
mov dword [ecx], 0
mov dword [edi], 6
mov dword [esi + 0x14], eax
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10002b5c
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x38]
call fcn.100023d0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.100029a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10002be5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002bdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c31
jmp 0x10002bdb
mov eax, dword [edi]
cmp eax, dword [esi]
jbe 0x10002c11
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10129182
add esp, 4
mov dword [esi + 0x30], eax
mov dword [esi + 0x14], eax
push 0
push 0
push eax
push edi
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.node.exe_napi_get_cb_info]
add esp, 0x18
test eax, eax
je 0x10002c11
mov edx, dword [esi + 4]
lea ecx, [ebp - 0x38]
call fcn.100023d0
mov ecx, eax
mov dword [ebp - 4], 1
call fcn.100029a0
mov ecx, dword [ebp - 0x14]
cmp ecx, 0x10
jb 0x10002be5
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10002bdb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c36
push ecx
push edx
call fcn.10129174
add esp, 8
mov eax, dword [ebp - 0x34]
mov byte [ebp - 0x28], 0
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
test eax, eax
je 0x10002c11
cmp byte [ebp - 0x30], 0
jne 0x10002c11
push eax
push dword [ebp - 0x38]
call dword [sym.imp.node.exe_napi_delete_reference]
add esp, 8
mov eax, esi
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.10129131
mov esp, ebp
pop ebp
ret 8
call fcn.1012c930
call fcn.1012c930
int3