joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x41e6c0]
sub esp, 0x904
push ebx
xor ebx, ebx
push esi
push edi
cmp eax, ebx
je 0x401039
cmp word [0x41e6c2], bx
je 0x401027
call eax
mov dword [0x41e6c0], eax
push eax
call fcn.004025a3
push eax
call fcn.00408d1f
pop ecx
jmp 0x4010cc
push 0x27
call fcn.004025a3
mov esi, dword [ebp + 8]
push dword [esi + 0xc]
mov edi, dword [sym.imp.USER32.dll_wsprintfW]
push dword [esi]
push eax
lea eax, [ebp - 0x904]
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], ebx
cmp dword [esi + 0x10], ebx
jbe 0x40109d
lea ebx, [esi + 0x14]
push dword [ebx]
lea eax, [ebp - 0x104]
push str._t0x_p_n
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x904]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
add ebx, 4
cmp eax, dword [esi + 0x10]
jb 0x401066
xor ebx, ebx
cmp byte [str.___Install__UTF_8_], 0x3b
je 0x4010c0
push ebx
push 3
call fcn.004025a3
pop ecx
push eax
lea eax, [ebp - 0x904]
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x4010cd
lea eax, [ebp - 0x904]
push eax
call fcn.00408d1f
pop ecx
call fcn.004046cc
push 0xa
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x40143b
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push dword [ebp + 8]
mov esi, ecx
lea ecx, [esi + 0xc]
call fcn.00408f80
push dword [ebp + 0xc]
lea ecx, [esi + 0x10]
call fcn.00411391
push 0x5c
lea ecx, [esi + 0x10]
call fcn.004011ee
xor edi, edi
lea eax, [ebp - 4]
push eax
push edi
push esi
push 0x401333
push edi
push edi
mov dword [0x41e6c4], esi
mov dword [0x41e6cc], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x41e6c8], eax
cmp eax, edi
je 0x4014ae
cmp dword [0x41e730], 2
je 0x4014a0
call fcn.00408c7f
mov eax, dword [0x41e6c8]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [0x41e6c8]
mov ecx, dword [0x41e6cc]
mov dword [0x41e7d0], edi
cmp ecx, edi
je 0x4014f4
cmp ecx, 1
je 0x4014e8
cmp ecx, 2
je 0x4014e4
cmp ecx, 3
je 0x4014e0
cmp ecx, 0x67
jle 0x4014db
cmp ecx, 0x6b
jle 0x40155d
push ecx
push 0x14
jmp 0x40152e
push 0x12
jmp 0x4014ea
push 0x13
jmp 0x4014ea
push 0x11
push edi
call fcn.00408e03
pop ecx
pop ecx
jmp 0x40155d
mov dword [ebp + 8], edi
cmp dword [0x41e7d8], edi
jne 0x40155d
cmp eax, edi
je 0x40151b
lea ecx, [ebp + 8]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x40151b
cmp dword [ebp + 8], edi
jne 0x40151b
xor eax, eax
jmp 0x401562
mov ecx, dword [ebp + 8]
mov eax, 0x80070000
and ecx, eax
cmp ecx, eax
je 0x401531
push dword [ebp + 8]
push 0x21
push edi
jmp 0x401555
mov eax, dword [ebp + 8]
and eax, 0xffff
cmp eax, 0xe
jne 0x401547
cmp dword [0x41e734], 0xffffffff
je 0x40155d
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push dword [ebp + 8]
push 0x22
push 1
call fcn.00408e03
add esp, 0xc
mov eax, 0x80004005
pop edi
pop esi
leave
ret 8
Function at 0x401d66
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
push 0
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401da7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, 0xb7
cmp eax, esi
je 0x401d91
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop esi
ret
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x401da7
test al, 0x10
jne 0x401da7
push esi
jmp 0x401d87
xor eax, eax
inc eax
pop esi
ret

Function at 0x4021e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
movzx ecx, word [0x41e6e4]
mov esi, dword [sym.imp.KERNEL32.dll_FindResourceExA]
push ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], eax
push dword [ebp + 8]
push eax
call esi
mov ebx, eax
mov edi, 0x409
test ebx, ebx
jne 0x40222b
push edi
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call esi
mov ebx, eax
test ebx, ebx
je 0x402255
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x40223e
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [esi], eax
push ebx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x402255
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x4022bf
cmp dword [0x41e6f4], 0
jne 0x4022bd
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SetProcessPreferredUILanguages
push dword [0x41e6f8]
mov dword [0x41e6f4], 1
call esi
push 0
mov ebx, eax
movzx eax, word [0x41e6e4]
push edi
push 0
push eax
lea eax, [ebp - 0x44]
push str._04X_c_04X_c
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
test ebx, ebx
jne 0x4022b3
push str.SetThreadPreferredUILanguages
push dword [0x41e6f8]
call esi
mov ebx, eax
test ebx, ebx
je 0x4022bd
push 0
lea eax, [ebp - 0x44]
push eax
push 4
call ebx
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40285a
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
xor ebx, ebx
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], ebx
mov word [ebp - 0xc], 0x500
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x4028ad
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov eax, dword [ebp - 8]
pop ebx
leave
ret

Function at 0x402a0b
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Set current directory
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push ebx
push esi
push edi
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00411362
push 0x41a764
lea ecx, [ebp - 0xc]
call fcn.004113e9
lea eax, [ebp - 0x25c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x402ae7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.00411391
push 0x5c
lea ecx, [ebp - 0xc]
call fcn.004011ee
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0xc]
call fcn.004113e9
test byte [ebp - 0x25c], 0x10
je 0x402ab2
push 0x41a760
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x402aca
push 0x41a758
lea eax, [ebp - 0x230]
push eax
call edi
test eax, eax
je 0x402aca
push dword [ebp - 0xc]
call fcn.00402a0b
pop ecx
jmp 0x402ac6
push 0
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x402b18
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x402b18
lea eax, [ebp - 0x25c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x402a56
push ebx
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [0x41e760]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push 0
push dword [ebp + 8]
call esi
test eax, eax
je 0x402b18
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x402b18
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor eax, eax
inc eax
jmp 0x402b22
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor eax, eax
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b28
Capabilities:
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
cmp dword [0x41e7e4], 0
je 0x402b3f
xor eax, eax
inc eax
leave
ret
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x250]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
jne 0x402b5b
xor eax, eax
inc eax
jmp 0x402b8c
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
test byte [ebp - 0x250], 0x10
jne 0x402b85
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x402b81
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x402b8c
xor eax, eax
jmp 0x402b8c
push esi
call fcn.00402a0b
pop ecx
pop esi
leave
ret

Function at 0x40341e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
lea ecx, [ebp - 0x18]
mov esi, eax
mov dword [ebp - 4], eax
call fcn.00411362
push 0
lea ecx, [ebp - 0x18]
call fcn.00403001
mov edi, eax
movzx eax, word [ebx + esi*2 - 2]
cmp eax, 0x5c
je 0x40345a
cmp eax, 0x2f
jne 0x403488
xor eax, eax
mov word [edi + esi*2 - 2], ax
dec esi
mov dword [ebp - 4], esi
jmp 0x403488
movzx eax, word [edi + esi*2]
cmp eax, 0x2f
je 0x40347a
cmp eax, 0x5c
je 0x40347a
dec esi
test esi, esi
jg 0x403467
test esi, esi
je 0x40352c
xor eax, eax
mov word [edi + esi*2], ax
push edi
call fcn.00401d66
pop ecx
test eax, eax
je 0x403476
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x4034bf
lea eax, [ebp - 0xc]
push eax
push edi
call fcn.00403117
pop ecx
pop ecx
test eax, eax
je 0x4034bf
xor esi, esi
jmp 0x40354f
push edi
call fcn.00401d66
pop ecx
test eax, eax
jne 0x403519
push edi
push 0xc
push 1
call fcn.00408e03
add esp, 0xc
jmp 0x4034b8
mov eax, dword [ebp - 4]
sub eax, esi
inc eax
push eax
mov eax, dword [ebp + 8]
lea eax, [eax + esi*2]
push eax
lea ebx, [edi + esi*2]
push ebx
call sub.MSVCRT.dll_memcpy
xor ecx, ecx
add esp, 0xc
cmp word [ebx], cx
je 0x40350b
jmp 0x40350a
movzx eax, word [edi + esi*2]
cmp eax, 0x5c
je 0x403511
cmp eax, 0x2f
je 0x403511
inc esi
cmp word [edi + esi*2], cx
jne 0x4034fc
xor eax, eax
mov word [edi + esi*2], ax
jmp 0x4034bf
cmp esi, dword [ebp - 4]
jl 0x4034d9
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
xor eax, eax
pop ecx
inc eax
jmp 0x403573
cmp dword [ebp - 4], 2
jne 0x40355c
mov ax, word [ebx]
or ax, 0x20
cmp ax, 0x61
jb 0x40355c
cmp ax, 0x7a
ja 0x40355c
cmp word [ebx + 2], 0x3a
jne 0x40355c
xor esi, esi
inc esi
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, esi
jmp 0x403573
push ebx
push 0xc
push 1
call fcn.00408e03
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x404a70
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push edi
lea ecx, [ebp - 0xc]
call fcn.00410f2d
lea ecx, [ebp - 0x18]
call fcn.00410f2d
push 0x3c
xor edi, edi
lea eax, [ebp - 0x54]
push edi
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [ebp + 0x10]
xor ebx, ebx
inc ebx
add esp, 0xc
mov dword [ebp - 0x54], 0x3c
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x50], 0x740
mov dword [ebp - 0x38], ebx
test byte [ebp + 0xc], bl
je 0x404ac2
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x50], 0x8740
test byte [ebp + 0xc], 2
je 0x404acf
mov dword [ebp - 0x48], str.runas
mov eax, dword [0x41e6e0]
push 5
push eax
mov dword [ebp - 0x4c], eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp - 0x4c]
call dword [sym.imp.USER32.dll_BringWindowToTop]
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004042ca
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x18]
call fcn.00411391
cmp dword [ebp - 8], edi
jne 0x404b19
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, ebx
jmp 0x404b64
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404b52
test dword [ebp + 0xc], 0x10000
jne 0x404b47
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, ebx
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
mov eax, edi
pop ecx
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x404e30
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov ecx, esi
call fcn.00410f2d
push 2
mov ecx, esi
call fcn.00403001
mov edi, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push 1
call edi
and dword [esi + 4], 0
mov ecx, dword [esi]
xor edx, edx
mov word [ecx], dx
test eax, eax
je 0x404e85
lea ebx, [eax + 1]
push ebx
mov ecx, esi
call fcn.00403001
push eax
push ebx
call edi
mov edi, dword [esi]
push edi
call fcn.00401d03
pop ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov word [edi + eax*2], cx
mov eax, dword [esi + 4]
and dword [ebp + 8], 0
lea ecx, [eax + 0xf]
mov dword [ebp - 4], ecx
lea ebx, [eax + eax]
push dword [ebp - 4]
mov ecx, esi
call fcn.00403001
push dword [ebp + 8]
add eax, ebx
push dword [ebp + 0xc]
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov edi, dword [esi]
push edi
call fcn.00401d03
xor ecx, ecx
add esp, 0x10
mov dword [esi + 4], eax
mov word [edi + eax*2], cx
push dword [esi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x404edb
inc dword [ebp + 8]
cmp dword [ebp + 8], 0xfff
jl 0x404e95
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x404ee2
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
xor esi, esi
cmp dword [0x41e7ac], esi
jle 0x404f36
mov eax, dword [0x41e7a8]
mov eax, dword [eax + esi*4]
add eax, 0xc
push eax
lea ecx, [ebp - 0xc]
call fcn.00410f51
lea eax, [ebp - 0xc]
push eax
call fcn.0040408b
mov eax, dword [0x41e7a8]
mov eax, dword [eax + esi*4]
pop ecx
push dword [ebp - 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
push dword [ebp - 0xc]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
inc esi
pop ecx
cmp esi, dword [0x41e7ac]
jl 0x404ef3
pop esi
leave
ret
Function at 0x405016
Capabilities:
Create process on windows
Get disk information
Self delete
Set file attributes
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x30
cmp word [eax + 2], 0x3a
push ebx
push edi
jne 0x4051ca
movzx ecx, word [eax + 4]
cmp ecx, 0x5c
je 0x40503e
cmp ecx, 0x2f
jne 0x4051ca
mov ax, word [eax]
push 0x3a
mov word [ebp - 0xc], ax
pop eax
mov word [ebp - 0xa], ax
push 0x5c
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x405070
push dword [ebp + 8]
jmp 0x4051cb
lea eax, [ebp - 0x24]
push str.7ZSfx_03x.cmd
push eax
call fcn.00404e30
pop ecx
pop ecx
xor eax, eax
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x405192
push esi
lea ecx, [ebp - 0x18]
call fcn.00410f2d
push str.:Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.00411391
mov edi, str.del__
push edi
lea ecx, [ebp - 0x18]
call fcn.004113e9
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00410fd1
mov esi, 0x41b9b4
push esi
lea ecx, [ebp - 0x18]
call fcn.004113e9
push str.if_exist__
lea ecx, [ebp - 0x18]
call fcn.004113e9
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x18]
call fcn.00410fd1
push str.__goto_Repeat_r_n
lea ecx, [ebp - 0x18]
call fcn.004113e9
push edi
lea ecx, [ebp - 0x18]
call fcn.004113e9
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x18]
call fcn.00410fd1
push esi
lea ecx, [ebp - 0x18]
call fcn.004113e9
mov esi, dword [ebp - 0x14]
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00403094
mov eax, dword [eax]
add esp, 0xc
xor edi, edi
push edi
lea ecx, [ebp - 4]
push ecx
push esi
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebp - 0x30]
mov esi, eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, edi
pop esi
je 0x4051a5
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jne 0x4051a5
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push edi
push edi
push dword [ebp - 0x24]
push str.open
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
jmp 0x4051d0
push dword [ebp - 0x24]
call fcn.00402b28
push dword [ebp - 0x18]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x24]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x10
jmp 0x4051d1
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop edi
pop ebx
leave
ret
Function at 0x418250
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420aa0], ecx
inc edx
cmp edx, 0x100
jb 0x418252
cmp edx, 0x800
jae 0x418329
lea esp, [esp]
mov eax, dword [edx*4 + 0x4206a0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420aa0]
inc edx
mov dword [edx*4 + 0x420a9c], eax
cmp edx, 0x800
jb 0x418300
mov eax, 0x418b00
mov dword [0x420a84], eax
mov dword [0x422aa0], eax
mov dword [0x420a80], 0x418a20
call fcn.00418560
test eax, eax
jne 0x418355
mov dword [0x422aa0], 0x418a20
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x442673cf
nop
nop
nop
test eax, eax
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
mov ecx, 0x28853b73
nop
nop
nop
nop
nop
test eax, eax
nop
je 0x430084
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x420b5b
Capabilities:
Parse pe header

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

Function at 0x433310
Capabilities:
Parse pe header

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

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

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b520]
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.00416e52
and dword [ebp - 0x14], 0
cmp dword [0x4599f8], 0
mov dword [ebp - 0x18], eax
jne 0x41fc1f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x41fcc7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x41fcc7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4599f8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4599fc], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x459a00], eax
call edi
push eax
call esi
mov dword [0x459a08], eax
test eax, eax
je 0x41fc1f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x459a04], eax
mov eax, dword [0x459a04]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x41fc78
cmp dword [0x459a08], ecx
je 0x41fc78
push eax
call esi
push dword [0x459a08]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x41fc78
test ebx, ebx
je 0x41fc78
call edi
test eax, eax
je 0x41fc6f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x41fc6f
test byte [ebp - 8], 1
jne 0x41fc78
or dword [ebp + 0x10], 0x200000
jmp 0x41fcab
mov eax, dword [0x4599fc]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x41fcab
mov eax, dword [0x459a00]
cmp eax, dword [ebp - 0x18]
je 0x41fcab
push eax
call esi
test eax, eax
je 0x41fcab
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4599f8]
call esi
test eax, eax
je 0x41fcc7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x41fcc9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004113cb
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x6e77d0
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x430024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
mov ecx, 0x9d65354
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43006c
nop
popal
nop
nop
nop
nop
jmp 0x401219