joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403e72
Capabilities:
Get disk information

Disassembly:
push ebx
push ecx
push esi
push edi
enter 0x348, 0
sub ebp, 0x39a
mov edi, eax
mov esi, edx
xor ecx, ecx
cmp byte [eax], 0
je 0x403e99
mov edx, 0x403d6d
call fcn.004058a0
test eax, eax
je 0x403eb0
call dword [0x40e18c]
mov dword [eax + 4], 1
mov eax, 0xffffffff
jmp 0x404011
mov edx, 0x104
lea eax, [ebp + 0x296]
mov ebx, 0x104
call fcn.004058f0
lea eax, [ebp + 0x192]
mov edx, edi
call fcn.00405a20
test eax, eax
je 0x403f06
movzx eax, byte [ebp + 0x192]
test byte [eax + 0x404ef1], 0xc0
je 0x403f06
cmp byte [ebp + 0x193], 0x3a
jne 0x403f06
cmp byte [ebp + 0x194], 0x5c
jne 0x403f06
cmp byte [ebp + 0x195], 0
jne 0x403f06
mov ecx, 1
mov eax, edi
mov edx, edi
call fcn.004052a0
cmp byte [eax], 0x3a
jne 0x403f17
lea edx, [edi + 2]
mov al, byte [edx]
cmp al, 0x2f
je 0x403f21
cmp al, 0x5c
jne 0x403f27
cmp byte [edx + 1], 0
je 0x403f2b
test ecx, ecx
je 0x403f58
lea eax, [ebp + 0x192]
push eax
call dword [sym.imp.KERNEL32.DLL_GetDriveTypeA]
test eax, eax
je 0x403e99
mov ebx, 0x140
lea eax, [ebp + 0x52]
xor edx, edx
call fcn.00405a90
mov dword [ebp + 0x52], 0x10
jmp 0x403f78
lea edx, [ebp + 0x52]
mov eax, edi
call fcn.00405ab0
cmp eax, 0xffffffff
jne 0x403f71
call fcn.00405b30
jmp 0x404011
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, edi
call fcn.004052a0
cmp byte [eax], 0x3a
jne 0x403f89
movzx eax, byte [edi]
jmp 0x403f90
movzx eax, byte [ebp + 0x296]
call fcn.004034bd
movsx eax, al
sub eax, 0x61
mov dword [esi], eax
mov eax, dword [esi]
mov dword [esi + 0x12], eax
mov eax, dword [ebp + 0x72]
lea edx, [ebp + 0x7e]
mov dword [esi + 0x16], eax
mov ebx, edi
mov eax, dword [ebp + 0x52]
call fcn.00403d7f
mov word [esi + 8], ax
lea eax, [ebp + 0x66]
call fcn.00405b60
mov dword [esi + 0x1e], eax
lea eax, [ebp + 0x56]
call fcn.00405b60
mov dword [esi + 0x22], eax
lea eax, [ebp + 0x5e]
call fcn.00405b60
mov word [esi + 0x10], 0
mov dword [esi + 0x1a], eax
mov ax, word [esi + 0x10]
mov word [esi + 0xa], 1
cwde
mov dword [esi + 0xc], eax
mov dword [esi + 4], eax
mov eax, dword [ebp + 0x52]
mov dword [esi + 0x2e], 0
mov dword [esi + 0x32], 0
mov word [esi + 0x36], 0
mov byte [esi + 0x38], 0
mov dword [esi + 0x2a], eax
xor eax, eax
lea esp, [ebp + 0x39a]
pop ebp
pop edi
pop esi
pop ecx
pop ebx
ret
Function at 0x404020
Capabilities:
Timestomp file

Disassembly:
push ebx
push ecx
push esi
push edi
sub esp, 0x20
mov esi, edx
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov ebx, eax
mov edi, eax
cmp eax, 0xffffffff
je 0x4040af
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.KERNEL32.DLL_GetFileTime]
test eax, eax
je 0x4040bc
test esi, esi
jne 0x404079
xor eax, eax
lea esi, [esp + 0x10]
call fcn.00405b80
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea edx, [esp + 8]
mov eax, dword [esi + 4]
call fcn.00405bc0
mov edx, esp
mov eax, dword [esi]
call fcn.00405bc0
lea eax, [esp + 8]
push eax
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_SetFileTime]
test eax, eax
jne 0x4040bf
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
call fcn.00405b30
add esp, 0x20
pop edi
pop esi
pop ecx
pop ebx
ret
push ebx
jmp 0x4040a9
push edi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
add esp, 0x20
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x4040ed
Capabilities:
Delete file
Terminate process
Write file on windows

Disassembly:
push eax
mov eax, dword [esp + 8]
push eax
cmp eax, esp
jae 0x404114
sub eax, esp
neg eax
push esi
push eax
call dword [0x40e18c]
mov esi, eax
pop eax
cmp eax, dword [esi]
pop esi
jbe 0x404114
call fcn.00404125
pop eax
ret 4
pop eax
pop eax
mov eax, 0x40e160
mov edx, 1
jmp fcn.00405c60
Function at 0x404a50
Capabilities:
Accept command line arguments

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov esi, ebx
mov dword [0x40f148], eax
mov dword [0x40e188], edx
call fcn.00406580
xor eax, eax
mov dword [0x40f77c], eax
call dword [sym.imp.KERNEL32.DLL_GetVersion]
mov edx, eax
mov byte [0x40e41d], al
shr eax, 0x10
mov word [0x40e41f], ax
xor eax, eax
mov ax, word [0x40e41f]
and edx, 0xffff
mov dword [0x40e421], eax
xor eax, eax
sar edx, 8
mov al, byte [0x40e41d]
and edx, 0xff
mov dword [0x40e425], eax
xor eax, eax
mov al, dl
mov byte [0x40e41e], dl
mov dword [0x40e429], eax
mov eax, dword [0x40e425]
mov edx, dword [0x40e429]
shl eax, 8
or eax, edx
mov dword [0x40e42d], eax
cmp byte [0x40e41d], 4
jae 0x404b77
mov eax, 0x4049e8
push eax
xor edx, edx
push 0x404a15
mov dword [0x40e419], edx
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edx, eax
test eax, eax
je 0x404b0a
call edx
mov dword [0x40e419], eax
push 0x104
push 0x40f14c
push 0
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x40f250
xor eax, eax
mov dword [0x40e3e8], 0x40f14c
call fcn.00406920
mov dword [0x40e3f4], 0x40f250
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
call fcn.004069c0
mov edx, eax
mov bl, byte [eax]
mov dword [0x40f140], eax
cmp bl, 0x22
je 0x404b81
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x404ef1], 2
je 0x404b99
xor edx, edx
mov dl, byte [eax]
test byte [edx + 0x404ef1], 2
je 0x404ba0
inc eax
jmp 0x404b67
mov eax, 0x4049fe
jmp 0x404ae2
inc eax
cmp bl, byte [eax]
je 0x404b91
cmp byte [eax], 0
je 0x404b91
inc eax
cmp byte [eax], 0x22
jne 0x404b86
cmp byte [eax], 0
je 0x404b67
inc eax
jmp 0x404b67
test dl, dl
je 0x404b67
inc eax
jmp 0x404b5a
mov dword [0x40e3e4], eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
test eax, eax
je 0x404c16
call fcn.00406a00
mov edx, eax
mov bx, word [eax]
mov dword [0x40f144], eax
cmp bx, 0x22
je 0x404be9
xor eax, eax
mov ax, word [edx]
call fcn.00406a27
test eax, eax
je 0x404c0b
xor eax, eax
mov ax, word [edx]
call fcn.00406a27
test eax, eax
je 0x404c1b
add edx, 2
jmp 0x404bd6
lea edx, [eax + 2]
cmp bx, word [edx]
je 0x404c00
cmp word [edx], 0
je 0x404c00
add edx, 2
cmp word [edx], 0x22
jne 0x404bf1
cmp word [edx], 0
je 0x404bd6
add edx, 2
jmp 0x404bd6
cmp word [edx], 0
je 0x404bd6
add edx, 2
jmp 0x404bc8
mov edx, 0x404a22
mov dword [0x40e3f0], edx
test edi, edi
jne 0x404c2e
mov eax, 1
pop edi
pop esi
pop ecx
ret
push 0x104
push 0x40f458
push esi
mov ebx, 0x208
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
mov edx, 0x40f55c
mov eax, esi
mov dword [0x40e3ec], 0x40f458
call fcn.00406920
mov dword [0x40e3f8], 0x40f55c
mov eax, 1
pop edi
pop esi
pop ecx
ret
Function at 0x4053b0
Capabilities:
Read file on windows

Disassembly:
push ecx
sub esp, 4
test eax, eax
jl 0x4053e1
cmp eax, dword [0x40e55c]
jae 0x4053e1
push 0
lea ecx, [esp + 4]
push ecx
push ebx
push edx
call fcn.004064b0
push eax
call dword [sym.imp.KERNEL32.DLL_ReadFile]
test eax, eax
je 0x4053f8
mov eax, dword [esp]
add esp, 4
pop ecx
ret
call dword [0x40e18c]
mov dword [eax + 4], 4
mov eax, 0xffffffff
add esp, 4
pop ecx
ret
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
call fcn.00405ae0
cmp edx, 0x6d
jne 0x405410
cmp dword [esp], 0
je 0x4053d9
mov eax, 0xffffffff
add esp, 4
pop ecx
ret

Function at 0x405680
Capabilities:
Write file on windows

Disassembly:
push ecx
push esi
push edi
push ebp
sub esp, 8
mov esi, eax
mov ebp, edx
mov edi, ebx
test eax, eax
jl 0x405714
cmp eax, dword [0x40e55c]
jae 0x405714
call fcn.004064b0
mov edx, eax
mov dword [esp + 4], eax
mov eax, esi
xor ebx, ebx
call fcn.004086e0
test al, 0x80
je 0x4056d8
mov eax, esi
call dword [0x40e194]
push 2
push 0
push 0
push edx
mov ebx, 1
call dword [sym.imp.KERNEL32.DLL_SetFilePointer]
cmp eax, 0xffffffff
je 0x405728
push 0
lea eax, [esp + 4]
push eax
push edi
push ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x405732
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
cmp ebx, 1
jne 0x405705
mov eax, esi
call dword [0x40e198]
mov eax, edx
call fcn.00405ae0
add esp, 8
pop ebp
pop edi
pop esi
pop ecx
ret
call dword [0x40e18c]
mov dword [eax + 4], 4
mov eax, 0xffffffff
jmp 0x40570c
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edx, eax
jmp 0x4056fd
cmp edi, dword [esp]
je 0x405744
call dword [0x40e18c]
mov dword [eax + 4], 0xc
cmp ebx, 1
jne 0x405751
mov eax, esi
call dword [0x40e198]
mov eax, dword [esp]
add esp, 8
pop ebp
pop edi
pop esi
pop ecx
ret

Function at 0x4058f0
Capabilities:
Get common file path

Disassembly:
push ebx
push ecx
push esi
push edi
sub esp, 0x104
mov edi, eax
mov ebx, edx
mov eax, esp
push eax
push 0x104
call dword [sym.imp.KERNEL32.DLL_GetCurrentDirectoryA]
mov ecx, eax
test eax, eax
je 0x405942
inc eax
test edi, edi
jne 0x405949
cmp ebx, eax
jbe 0x40591d
mov eax, ebx
call fcn.00404390
mov edi, eax
test eax, eax
jne 0x40595c
call dword [0x40e18c]
mov dword [eax + 4], 5
xor eax, eax
add esp, 0x104
pop edi
pop esi
pop ecx
pop ebx
ret
call fcn.00405b30
jmp 0x405935
cmp eax, ebx
jbe 0x40595c
call dword [0x40e18c]
mov dword [eax + 4], 0xe
jmp 0x405935
mov esi, esp
inc ecx
push edi
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov cl, al
and cl, 3
rep movsb byte es:[edi], byte [esi]
pop edi
mov eax, edi
add esp, 0x104
pop edi
pop esi
pop ecx
pop ebx
ret

Function at 0x406220
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edx
push 0x40
push 0x1000
mov edx, dword [eax]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_VirtualAlloc]
pop edx
pop ecx
ret
Function at 0x408d60
Capabilities:
Delete file
Terminate process

Disassembly:
push edx
push ebp
mov ebp, esp
mov eax, dword [0x40e404]
add eax, 3
and al, 0xfc
mov edx, dword [0x40e404]
sub esp, eax
mov eax, esp
add eax, edx
mov dword [0x40e408], eax
call fcn.0040afd0
mov edx, dword [0x40f894]
mov eax, dword [0x40f890]
call fcn.00402010
jmp 0x40afd2
mov ecx, eax
call dword [0x40e7b0]
cmp dword [0x40f148], 0
je 0x40b00f
cmp dword [0x40e1d0], 0
je 0x40affc
mov edx, 0xff
mov eax, 0x10
call dword [0x40e1d0]
call dword [0x40e7b0]
call dword [0x40e7b4]
mov eax, ecx
jmp fcn.00404d50
mov edx, 0xff
mov eax, 0x10
call fcn.00407890
jmp 0x40affc

Function at 0x40b740
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x5c
mov esi, eax
mov edi, ebx
mov dword [ebp - 4], ecx
mov eax, edx
mov edx, dword [ebp + 0x10]
xor ecx, ecx
call fcn.0040b6ac
mov ebx, 0x44
lea eax, [ebp - 0x5c]
xor edx, edx
call fcn.00405a90
mov dword [ebp - 0x5c], 0x44
mov dword [ebp - 0x30], 1
cmp esi, 4
setne al
xor ah, ah
mov word [ebp - 0x2c], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x5c]
push eax
push 0
mov ecx, dword [ebp - 4]
push ecx
push 0
cmp esi, 4
setne al
and eax, 0xff
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
je 0x40b82d
test esi, esi
jne 0x40b892
cmp word [0x40e41f], 0x8000
jb 0x40b865
cmp byte [0x40e41d], 4
jae 0x40b865
push 0x3e8
call dword [sym.imp.KERNEL32.DLL_Sleep]
mov dword [ebp - 8], 0x103
push 0x64
call dword [sym.imp.KERNEL32.DLL_Sleep]
lea eax, [ebp - 8]
push eax
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
je 0x40b858
cmp dword [ebp - 8], 0x103
je 0x40b7eb
mov ebx, dword [ebp - 0x18]
push ebx
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
pop edi
pop esi
ret 4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
cmp eax, 5
jne 0x40b848
mov esi, 2
mov eax, esi
call fcn.00405ae0
jmp 0x40b825
cmp eax, 0xc1
je 0x40b83a
cmp eax, 0xa1
je 0x40b83a
jmp 0x40b83f
call fcn.00405b30
mov esp, ebp
pop ebp
pop edi
pop esi
ret 4
push 0xffffffffffffffff
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
jne 0x40b885
lea eax, [ebp - 8]
push eax
mov edi, dword [ebp - 0x18]
push edi
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
jmp 0x40b80e
call fcn.00405b30
mov dword [ebp - 8], eax
jmp 0x40b80e
cmp esi, 4
jne 0x40b8a1
xor ebx, ebx
mov dword [ebp - 8], ebx
jmp 0x40b818
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
jmp 0x40b818
Function at 0x40bcb0
Capabilities:
Get file attributes

Disassembly:
push ecx
push edx
push esi
sub esp, 0x140
mov ecx, eax
cmp word [0x40e41f], 0x8000
jae 0x40bccf
cmp byte [0x40e41d], 4
jae 0x40bd1e
mov dl, 0x2a
mov esi, ecx
mov al, byte [esi]
cmp al, dl
je 0x40bceb
cmp al, 0
je 0x40bce9
inc esi
mov al, byte [esi]
cmp al, dl
je 0x40bceb
inc esi
cmp al, 0
jne 0x40bcd3
sub esi, esi
test esi, esi
jne 0x40bd0f
mov dl, 0x3f
mov esi, ecx
mov al, byte [esi]
cmp al, dl
je 0x40bd0b
cmp al, 0
je 0x40bd09
inc esi
mov al, byte [esi]
cmp al, dl
je 0x40bd0b
inc esi
cmp al, 0
jne 0x40bcf3
sub esi, esi
test esi, esi
je 0x40bd27
mov eax, 0xffffffff
add esp, 0x140
pop esi
pop edx
pop ecx
ret
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesA]
jmp 0x40bd14
mov edx, esp
mov eax, ecx
call fcn.00405ab0
cmp eax, 0xffffffff
je 0x40bd14
push eax
call dword [sym.imp.KERNEL32.DLL_FindClose]
mov eax, dword [esp]
add esp, 0x140
pop esi
pop edx
pop ecx
ret
Function at 0x4067e5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c610
cmp edx, dword [eax]
je 0x406807
add eax, 8
inc ecx
cmp eax, 0x40c6a0
jl 0x4067f8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c610]
jne 0x406935
mov eax, dword [0x40c890]
cmp eax, 1
je 0x40690f
test eax, eax
jne 0x406838
cmp dword [0x40c254], 1
je 0x40690f
cmp edx, 0xfc
je 0x406935
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40686f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004041e0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004042d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4068b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.004042d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a54c
push edi
call fcn.004084d0
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004041e0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004041f0
lea eax, [ebp - 0xa0]
push 0x40a52c
push eax
call fcn.004041f0
push dword [esi + 0x40c614]
lea eax, [ebp - 0xa0]
push eax
call fcn.004041f0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408610
add esp, 0x2c
pop edi
jmp 0x406935
lea eax, [ebp + 8]
lea esi, [esi + 0x40c614]
push 0
push eax
push dword [esi]
call fcn.004042d0
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 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4051ab
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4087d0]
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.0040429a
and dword [ebp - 0x14], 0
cmp dword [0x40c630], 0
mov dword [ebp - 0x18], eax
jne 0x40525e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x405306
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x405306
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x40c630], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x40c634], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x40c638], eax
call edi
push eax
call esi
mov dword [0x40c640], eax
test eax, eax
je 0x40525e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x40c63c], eax
mov eax, dword [0x40c63c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4052b7
cmp dword [0x40c640], ecx
je 0x4052b7
push eax
call esi
push dword [0x40c640]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4052b7
test ebx, ebx
je 0x4052b7
call edi
test eax, eax
je 0x4052ae
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4052ae
test byte [ebp - 8], 1
jne 0x4052b7
or dword [ebp + 0x10], 0x200000
jmp 0x4052ea
mov eax, dword [0x40c634]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4052ea
mov eax, dword [0x40c638]
cmp eax, dword [ebp - 0x18]
je 0x4052ea
push eax
call esi
test eax, eax
je 0x4052ea
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x40c630]
call esi
test eax, eax
je 0x405306
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x405308
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405516
leave
ret

Function at 0x405516
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4087d0]
jne 0x405520
repz ret
jmp fcn.00406683

Function at 0x406305
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4222c4], 0
push esi
jne 0x40633c
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406316
mov dword [ecx*4 + 0x4222c0], eax
inc ecx
cmp ecx, 0x100
jl 0x406311
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40636d
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4222c0]
xor eax, esi
inc ecx
dec edx
jne 0x40634f
pop edi
not eax
pop esi
ret 0xc
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
push 4
nop
nop
nop
nop
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
je 0x430072
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
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
nop
nop
pop eax
nop
mov esi, 0x47aa7262
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
loop 0x430060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4300d2
nop
mov ebx, 0x42e1d0
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1ce10bcd
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4300c0
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219

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

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x683f3795
nop
nop
nop
nop
test eax, eax
je 0x43304e
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
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x12227f36
nop
nop
nop
nop
nop
test eax, eax
je 0x433084
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219
Function at 0x42a8d0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xf000]
push edi
or ebp, 0xffffffff
jmp 0x42a8f2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x42a8f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x42a8e8
mov eax, 1
add ebx, ebx
jne 0x42a90b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x42a900
jne 0x42a91c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a900
xor ecx, ecx
sub eax, 3
jb 0x42a930
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42a9a2
mov ebp, eax
add ebx, ebx
jne 0x42a93b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x42a948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x42a96c
inc ecx
add ebx, ebx
jne 0x42a958
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x42a94d
jne 0x42a969
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x42a94d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x42a98c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x42a97d
jmp 0x42a8ee
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x42a98c
add edi, ecx
jmp 0x42a8ee
pop esi
mov edi, esi
mov ecx, 0x342
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x42a9aa
cmp byte [edi], 1
jne 0x42a9aa
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x42a9af
lea edi, [esi + 0x27000]
mov eax, dword [edi]
or eax, eax
je 0x42aa27
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2a818]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2a908]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x42a9dc
mov ecx, edi
jns 0x42aa0b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x2a90c]
or eax, eax
je 0x42aa21
mov dword [ebx], eax
add ebx, 4
jmp 0x42a9f9
call dword [esi + 0x2a914]
mov ebp, dword [esi + 0x2a910]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42aa5b
sub esp, 0xffffff80
jmp 0x40a6d0