joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ea310
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b5ab
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x5903c4]
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 edi, ecx
mov eax, dword [ebp + 8]
mov dword [edi + 0x10], eax
mov dword [eax + 0x6e8], 0
cmp dword [edi + 4], 0
jne 0x4ea3bb
lea eax, [ebp - 0xa4]
push eax
call fcn.004e9e60
mov ecx, dword [edi + 0x10]
movups xmm0, xmmword [ebp - 0xa4]
push 0
sub esp, 0x10
mov eax, esp
push 0
movups xmmword [eax], xmm0
mov eax, dword [ecx]
push 0x40000000
push 0
call dword [eax + 0x24]
mov ecx, eax
call fcn.004dfdb0
push eax
mov ecx, edi
call fcn.004fbbd0
mov esi, dword [edi + 0x10]
mov ecx, esi
call fcn.004fa3b0
push eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x24]
mov ecx, eax
call fcn.004df940
push 1
push dword [eax]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [edi + 0x10]
lea edx, [ebp - 0x94]
push edx
mov eax, dword [ecx]
call dword [eax + 0x38]
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.004eb3d0
lea ecx, [ebp - 0x94]
mov bl, al
call fcn.004eaa40
test bl, bl
je 0x4ea3f8
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov eax, dword [edi + 0x10]
add eax, 0x6d8
push eax
push 0
push 0x1002
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 4
push dword [edi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov byte [edi + 0x18], 1
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.00519876
mov esp, ebp
pop ebp
ret 4

Function at 0x4ea450
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004f2ff0
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x4ea4e1
lea eax, [ebp - 0x14]
push eax
call fcn.004e9e60
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4ea4b7
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00519876
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4ea5f0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 4], eax
movups xmm0, xmmword [ebp + 8]
push esi
push dword [ebp + 0x18]
mov esi, ecx
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call fcn.004f5210
mov ecx, dword [esi + 0x6f0]
test ecx, ecx
je 0x4ea687
lea eax, [ebp - 0x14]
push eax
call fcn.004e9e60
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4ea65d
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp - 0x14]
push 0x54
push eax
mov eax, dword [ebp - 0xc]
sub eax, ecx
push eax
push edx
push ecx
mov ecx, dword [esi + 0x6f0]
push 0
call fcn.004db330
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00519876
mov esp, ebp
pop ebp
ret 0x14

Function at 0x4f0b70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
cmp dword [esi + 0x694], 0
je 0x4f0bdf
cmp dword [ebp + 8], 0x100
jne 0x4f0bcf
cmp word [ebp + 0xc], 0xd
jne 0x4f0bcf
cmp byte [esi + 0x69a], 0
je 0x4f0bae
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x4f0bcf
cmp byte [esi + 0x69b], 0
jne 0x4f0bcf
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x4f0bc8
push 1
push 0
push 0
push 0
push str.return
push esi
call fcn.004e3810
xor eax, eax
pop esi
pop ebp
ret 0x10
mov eax, dword [esi + 0x694]
pop esi
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
pop ebp
jmp dword [eax + 0xc]
mov eax, 1
pop esi
pop ebp
ret 0x10
Function at 0x402c00
Capabilities:
Access peb ldr_data

Disassembly:
push ebx
mov ebx, dword [0x429684]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push edi
call esi
and eax, 0x136dc45e
xor edx, edx
mov ecx, 0xeeff5aef
div ecx
mov edi, eax
and edi, 0x19
call esi
mov ecx, eax
and ecx, 0x31
or ecx, edi
or ecx, 0xb64133c6
xor edx, edx
mov eax, 0x44b
div ecx
xor eax, ebx
mov ebx, dword fs:[0x30]
mov dword [0x429684], eax
mov edi, dword [0x429684]
call esi
and eax, 0x5951
sub eax, 0xfc
sub edi, eax
imul edi, edi, 0xff
call esi
mov ecx, dword [ebx + 0xc]
and eax, 0x59
imul eax, edi
mov edi, dword [ecx + 0xc]
mov dword [0x429684], eax
xor eax, 0x2560
mov ebx, eax
call esi
mov ecx, eax
and ecx, 0x60b9
or ecx, ebx
xor ecx, 0xe81
mov dword [0x429684], ecx
test edi, edi
je 0x402d64
mov ebx, 0x42966c
xor ecx, 0x4000
and ecx, 0x30bd4400
or ecx, 0x8f2
xor ecx, 0x10884802
or ecx, 0x4f42330d
xor edx, edx
push 0xb
pop eax
div ecx
xor edx, edx
mov esi, dword [edi + 0x18]
mov ecx, eax
or ecx, 0xfe047cec
mov eax, 0x42f5
div ecx
mov dword [0x429684], eax
test esi, esi
je 0x402d64
call fcn.0040310e
mov dword [0x429684], eax
cmp esi, ebx
ja 0x402cfc
mov ecx, dword [edi + 0x20]
add ecx, esi
cmp ecx, ebx
ja 0x402d6a
add eax, 0xffffff9a
xor edx, edx
mov ecx, 0x9f5f96d
div ecx
mov ecx, 0xf11d09af
mov edi, dword [edi]
mov eax, edx
xor edx, edx
div ecx
mov eax, 0x6d2d777e
mov ecx, edx
or ecx, 0x28383a1f
xor edx, edx
div ecx
xor edx, edx
mov ecx, eax
imul ecx, ecx, 0x210cc181
sub ecx, 0x40773725
or ecx, 0x5cb268b0
mov eax, 0x3de11635
div ecx
xor edx, edx
mov ecx, eax
or ecx, 0x65fbf5dd
mov eax, 0x40f3
div ecx
mov ecx, eax
mov dword [0x429684], ecx
test edi, edi
jne 0x402ca3
xor eax, eax
pop edi
pop esi
pop ebx
ret
mov eax, esi
jmp 0x402d66

Function at 0x4035f4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test eax, eax
je 0x403622
mov ecx, dword [ebp - 4]
cmp ecx, 2
jl 0x403622
push dword [eax + ecx*4 - 4]
call dword [sym.imp.msvcrt.dll__wtoi]
pop ecx
leave
ret
xor eax, eax
leave
ret
Function at 0x403ee8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push 2
mov dword [ebp - 8], 0x3be501e
mov dword [ebp - 4], 0xfc41afe1
pop esi
lea edx, [edx]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 4]
xor eax, dword [0x429680]
not eax
push ebx
pop dword [ebp - 0xc]
push 0
mov bl, bl
call eax
dec esi
jne 0x403f01
pop esi
pop ebx
leave
ret
Function at 0x4094a3
Capabilities:
Check os version
Terminate process

Disassembly:
and esi, 0xffffffff
neg ecx
mov dword [0x416dba], esi
and edi, 0xffffffff
not ecx
mov dword [0x416db6], edi
and ebx, 0xffffffff
not ecx
mov dword [0x416dc6], ebx
pop eax
jmp fcn.00403a67
Function at 0x403376
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
xor esi, esi
cmp eax, esi
jl 0x4033a1
mov ecx, dword [0x429ab8]
push esi
add eax, ecx
push esi
push eax
mov dword [0x420ef4], eax
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
call fcn.0040347e
cmp eax, esi
jl 0x403478
lea eax, [ebp + 8]
push 4
push eax
push dword [0x40a01c]
call fcn.004061f5
test eax, eax
je 0x403468
push dword [ebp + 8]
add dword [0x420ef4], 4
call fcn.0040347e
mov ebx, eax
cmp ebx, esi
jl 0x403476
cmp dword [ebp + 0x10], esi
jne 0x403444
cmp dword [ebp + 8], esi
jle 0x403476
mov esi, 0x414ef0
cmp dword [ebp + 8], 0x4000
mov eax, dword [ebp + 8]
jl 0x403406
mov eax, 0x4000
push eax
push esi
push dword [0x40a01c]
mov dword [ebp - 4], eax
call fcn.004061f5
test eax, eax
je 0x403468
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call fcn.00406224
test eax, eax
je 0x403440
mov eax, dword [ebp - 4]
sub dword [ebp + 8], eax
add dword [0x420ef4], eax
add ebx, eax
cmp dword [ebp + 8], 0
jg 0x4033f5
jmp 0x403476
push 0xfffffffffffffffe
jmp 0x40346a
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x40344f
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push esi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a01c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x40346d
push 0xfffffffffffffffd
pop eax
jmp 0x403478
mov ebx, dword [ebp - 4]
add dword [0x420ef4], ebx
mov eax, ebx
pop esi
pop ebx
leave
ret 0x10

Function at 0x405d8e
Capabilities:
Contain obfuscated stackstrings

Disassembly:
add byte [eax - 0x3fa5b], al
inc dword [eax]
mov byte [ebp - 0x3fa], 0xb1
and byte [ebp - 0x3f9], 0
mov byte [ebp - 0x3f8], 0xd
mov byte [ebp - 0x3f7], 0x3c
mov byte [ebp - 0x3f6], 0x2b
mov byte [ebp - 0x3f5], 0x2f
mov byte [ebp - 0x3f4], 0x3a
mov byte [ebp - 0x3f3], 0x2b
mov byte [ebp - 0x3f2], 8
mov byte [ebp - 0x3f1], 0x27
mov byte [ebp - 0x3f0], 0x22
mov byte [ebp - 0x3ef], 0x2b
mov byte [ebp - 0x3ee], 0xf
mov byte [ebp - 0x3ed], 0x4e
call fcn.00404b68
imul esi, dword [ebx - 0x7a727291], 4
cld
invalid
Function at 0x40651d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x406c08
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x4066d4
add byte [eax], al
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 0xd2
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0x6e
mov byte [ebp - 0x777], 0x17
mov byte [ebp - 0x776], 0x71
inc dword [ecx - 0x3a]
test dword [edi + 0x2dfffff8], esi
cmp dword [ebp - 0x6fc], 1
jne 0x40678e
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0x5f
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 0xfc
mov byte [ebp - 0x787], 0xc4
mov byte [ebp - 0x786], 0xcc
mov byte [ebp - 0x785], 0xc3
mov byte [ebp - 0x784], 0xcf
mov byte [ebp - 0x783], 0xc5
mov byte [ebp - 0x782], 0xd2
mov byte [ebp - 0x781], 0x8e
mov byte [ebp - 0x780], 0xc4
mov byte [ebp - 0x77f], 0xcc
mov byte [ebp - 0x77e], 0xcc
mov byte [ebp - 0x77d], 0xa0
call fcn.00404b68
nop
das
pop ebp
mov ebx, 0x858d0c6a
je 0x406758
invalid
cmp dword [ebp - 0x6fc], 2
jne 0x406842
and byte [ebp - 0x79c], 0
and byte [ebp - 0x79b], 0
mov byte [ebp - 0x79a], 0xa9
and byte [ebp - 0x799], 0
mov byte [ebp - 0x798], 0xa
mov byte [ebp - 0x797], 0x35
mov byte [ebp - 0x796], 0x39
mov byte [ebp - 0x795], 0x38
mov byte [ebp - 0x794], 0x24
mov byte [ebp - 0x793], 0x33
mov byte [ebp - 0x792], 0x25
mov byte [ebp - 0x791], 0x78
mov byte [ebp - 0x790], 0x32
mov byte [ebp - 0x78f], 0x3a
mov byte [ebp - 0x78e], 0x3a
mov byte [ebp - 0x78d], 0x56
push 0xc
lea eax, [ebp - 0x79c]
push eax
call fcn.00404b78
pop ecx
push eax
mov eax, dword [ebp - 0x550]
lea eax, [ebp + eax - 0x654]
push eax
call fcn.00404ad9
add esp, 0xc
lea eax, [ebp - 0x654]
mov dword [ebp - 0x3a0], eax
jmp 0x406ada
cmp dword [ebp - 0x6fc], 3
jne 0x4068e3
and byte [ebp - 0x7ac], 0
and byte [ebp - 0x7ab], 0
mov byte [ebp - 0x7aa], 0x50
and byte [ebp - 0x7a9], 0
mov byte [ebp - 0x7a8], 0xf3
mov byte [ebp - 0x7a7], 0xe8
mov byte [ebp - 0x7a6], 0xeb
mov byte [ebp - 0x7a5], 0xc3
mov byte [ebp - 0x7a4], 0x9c
mov byte [ebp - 0x7a3], 0x9d
mov byte [ebp - 0x7a2], 0x81
mov byte [ebp - 0x7a1], 0xcb
mov byte [ebp - 0x7a0], 0xc3
mov byte [ebp - 0x79f], 0xc3
mov byte [ebp - 0x79e], 0xaf
push 0xb
lea eax, [ebp - 0x7ac]
push eax
call fcn.00404b78
pop ecx
push eax
mov eax, dword [ebp - 0x338]
lea eax, [ebp + eax - 0x230]
push eax
call fcn.00404ad9
add esp, 0xc
jmp 0x406ada
cmp dword [ebp - 0x6fc], 4
jne 0x406984
and byte [ebp - 0x7bc], 0
and byte [ebp - 0x7bb], 0
mov byte [ebp - 0x7ba], 0x41
and byte [ebp - 0x7b9], 0
mov byte [ebp - 0x7b8], 0xe2
mov byte [ebp - 0x7b7], 0xf1
mov byte [ebp - 0x7b6], 0xf2
mov byte [ebp - 0x7b5], 0xfb
mov byte [ebp - 0x7b4], 0x8c
invalid
Function at 0x942020
Capabilities:
Execute anti-debugging instructions

Disassembly:
dec esi
rol bh, cl
ror esi, 2
bswap ebp
inc esi
bt ebx, 0x17
bswap esi
cmp si, 0x121a
rcl di, 0x30
bt bx, 8
lea esi, [esi + ecx]
mov edi, esp
cwd
cwde
sub esp, 0xc0
push ecx
mov ecx, edi
bswap ecx
setle cl
pushfd
push edx
push ebx
push ebp
dec ebp
push eax
rdtsc
movsx ecx, di
mov ebp, esp
push edi
push esi
inc ecx
dec bx
mov ecx, 0
xchg ebp, ebx
rdtsc
cbw
push ecx
mov bp, ax
mov esi, dword [esp + 0x28]
not bl
not esi
jmp 0x869f2b
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x45507c]
jne 0x401cdf
repz ret
jmp fcn.00402908

Function at 0x40837a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x45507c]
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.00405b1d
and dword [ebp - 0x14], 0
cmp dword [0x457e64], 0
mov dword [ebp - 0x18], eax
jne 0x40842d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4084d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4084d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x457e64], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x457e68], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x457e6c], eax
call edi
push eax
call esi
mov dword [0x457e74], eax
test eax, eax
je 0x40842d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x457e70], eax
mov eax, dword [0x457e70]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408486
cmp dword [0x457e74], ecx
je 0x408486
push eax
call esi
push dword [0x457e74]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408486
test ebx, ebx
je 0x408486
call edi
test eax, eax
je 0x40847d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40847d
test byte [ebp - 8], 1
jne 0x408486
or dword [ebp + 0x10], 0x200000
jmp 0x4084b9
mov eax, dword [0x457e68]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084b9
mov eax, dword [0x457e6c]
cmp eax, dword [ebp - 0x18]
je 0x4084b9
push eax
call esi
test eax, eax
je 0x4084b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x457e64]
call esi
test eax, eax
je 0x4084d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4084d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x401cd5
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4ae07c]
jne 0x401cdf
repz ret
jmp fcn.00402a42

Function at 0x4083ba
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4ae07c]
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.00405dcd
and dword [ebp - 0x14], 0
cmp dword [0x4b0e68], 0
mov dword [ebp - 0x18], eax
jne 0x40846d
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408515
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408515
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x4b0e68], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x4b0e6c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x4b0e70], eax
call edi
push eax
call esi
mov dword [0x4b0e78], eax
test eax, eax
je 0x40846d
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x4b0e74], eax
mov eax, dword [0x4b0e74]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4084c6
cmp dword [0x4b0e78], ecx
je 0x4084c6
push eax
call esi
push dword [0x4b0e78]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4084c6
test ebx, ebx
je 0x4084c6
call edi
test eax, eax
je 0x4084bd
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4084bd
test byte [ebp - 8], 1
jne 0x4084c6
or dword [ebp + 0x10], 0x200000
jmp 0x4084f9
mov eax, dword [0x4b0e6c]
cmp eax, dword [ebp - 0x18]
je 0x4084f9
push eax
call esi
test eax, eax
je 0x4084f9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4084f9
mov eax, dword [0x4b0e70]
cmp eax, dword [ebp - 0x18]
je 0x4084f9
push eax
call esi
test eax, eax
je 0x4084f9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x4b0e68]
call esi
test eax, eax
je 0x408515
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408517
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401cd5
leave
ret
Function at 0x407e15
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42e180]
jne 0x407e1f
repz ret
jmp fcn.0040bc0c

Function at 0x40c279
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
pushal
call 0x40c288
pop dword [ebp - 0x10]
mov eax, 0x4319aa1a
add eax, 0xbd27186e
sub dword [ebp - 0x10], eax
mov dword [ebp - 0x20], 0xae440833
add dword [ebp - 0x20], 0xa00e3d18
mov dword [ebp - 0x1c], 0x38e3e651
sub dword [ebp - 0x1c], 0x6b09a0c
mov dword [ebp - 0x18], 0x95b26501
add dword [ebp - 0x18], 0xb699df2d
mov dword [ebp - 0x14], 0x7ec4fa8f
sub dword [ebp - 0x14], 0x7ec4fa8f
lea eax, [ebp - 0x20]
push eax
mov eax, 0x3a97739d
sub eax, 0x3a554329
add eax, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x20], 0x91e06c71
add dword [ebp - 0x20], 0xe291fce5
mov dword [ebp - 0x1c], 0xc78c822
sub dword [ebp - 0x1c], 0xcb0c66ad
mov dword [ebp - 0x18], 0x4b081170
add dword [ebp - 0x18], 0x18675afc
mov dword [ebp - 0x14], 0x7408e0e9
sub dword [ebp - 0x14], 0x7408e0e9
lea ebx, [ebp - 0x20]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x10]
call dword [eax]
push 0x40
push 0x1000
push 0x3e18b
push 0
call eax
mov ecx, 0x82e89ea5
add ecx, 0x7d17aaff
xor ebx, ebx
add ebx, eax
mov esi, 0x28c67f9e
sub esi, 0x28833b9e
add esi, dword [ebp - 0x10]
mov edx, 0x6dfddc6
add edx, 0xd966a527
xor dword [ebp - 0xc], ecx
mov edi, dword [esi]
sub edi, edx
xor dword [ebp - 0xc], 0xa4b83994
mov dword [ebx], edi
add dword [ebp - 0xc], 0x181f5170
add ebx, 0x4d8625e6
sub ebx, 0x4d8625e2
add esi, 4
loop 0x40c3a7
add eax, 0xbbc0b09f
add eax, 0x444068c4
xor ebx, ebx
add ebx, eax
add eax, 0x6a8c6dad
add eax, 0x95739258
mov ecx, 0x400000
add ecx, dword [ebp - 0x10]
call ebx
leave
ret
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x403d6f
nop
sub eax, 0x403d15
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x425100
Capabilities:
Parse pe header

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

Function at 0x498190
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x61000]
push edi
jmp 0x4981aa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4981b1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4981a0
mov eax, 1
add ebx, ebx
jne 0x4981c3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4981d4
jne 0x4981f3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4981f3
dec eax
add ebx, ebx
jne 0x4981e0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4981b8
add ebx, ebx
jne 0x4981ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x498245
xor ecx, ecx
sub eax, 3
jb 0x49820b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x49827a
sar eax, 1
mov ebp, eax
jmp 0x498216
add ebx, ebx
jne 0x498216
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4981e4
inc ecx
add ebx, ebx
jne 0x498224
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4981e4
add ebx, ebx
jne 0x498231
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x498226
jne 0x498242
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x498226
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x498264
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x498256
jmp 0x4981a6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x498264
add edi, ecx
jmp 0x4981a6
pop esi
mov edi, esi
mov ecx, 0x3021
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x498282
cmp byte [edi], 0x19
jne 0x498282
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 0x498287
lea edi, [esi + 0x95000]
mov eax, dword [edi]
or eax, eax
je 0x4982ff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x9e8f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x9ea0c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4982b4
mov ecx, edi
jns 0x4982e3
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 + 0x9ea10]
or eax, eax
je 0x4982f9
mov dword [ebx], eax
add ebx, 4
jmp 0x4982d1
call dword [esi + 0x9ea20]
mov ebp, dword [esi + 0x9ea14]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x498333
sub esp, 0xffffff80
jmp 0x45282d