joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4186b0
Capabilities:
Hide graphical window
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebx, dword [esp + 0x18]
mov esi, dword [0x43d318]
jmp 0x4186ce
push 0
push esi
call fcn.004098b0
add esp, 8
mov esi, dword [esi + 0x68]
test esi, esi
je 0x4186fd
mov eax, dword [esi]
mov ecx, eax
and ecx, 0x40000001
cmp ecx, 1
jne 0x4186cb
or eax, 0x60000000
mov dword [esi], eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4186c0
nop
or byte [eax + 3], 0x80
mov eax, dword [eax + 8]
test eax, eax
jne 0x4186f0
jmp 0x4186c0
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x20]
mov eax, ebx
or eax, 0x40000
push str.Window
push 0x419a20
push eax
push 0
push 0xa8
call fcn.0040b840
add esp, 0x14
mov esi, eax
mov dword [eax + 0x58], 0x3f800000
mov dword [eax + 0x14], eax
mov dword [eax + 0x6c], eax
mov eax, dword [0x43d318]
mov dword [esi + 0x68], eax
mov dword [0x43d318], esi
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x418775
movss xmm0, dword [ecx + 0x58]
movss dword [esi + 0x58], xmm0
test bl, 1
jne 0x4187ea
test ebp, ebp
mov eax, 0x80000000
cmove ebp, eax
test edi, edi
cmove edi, eax
mov eax, dword [ecx + 0xa0]
jmp 0x41878f
test bl, 1
jne 0x418857
test ebp, ebp
mov eax, 0x80000000
cmove ebp, eax
test edi, edi
cmove edi, eax
xor eax, eax
push 0
push 0
push 0
push eax
push edi
push ebp
push 0x80000000
push 0x80000000
push 0xcf0000
push dword [esp + 0x40]
push 0x42ecb4
push 0x10
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xa0], eax
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 5
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 5
push dword [esi + 0xa0]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x418850
mov eax, dword [ecx + 0xa0]
sub esp, 0x30
mov dword [esp + 0x20], eax
movaps xmm0, xmmword [0x42e0c0]
movups xmmword [esp + 8], xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x24], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 4], str.shadow
mov dword [esp], 0x8000008
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [esi + 0xa0], eax
push esi
push 0xffffffffffffffeb
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [0x43d408], 1
push 0
push 0
push str.Assertion_failure_on_line_5604
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x418e90
Capabilities:
Terminate process

Disassembly:
mov ecx, dword [esp + 4]
mov edx, dword [ecx + 8]
xor eax, eax
test edx, edx
je 0x418edd
mov edx, dword [edx + 0x10]
cmp edx, ecx
je 0x418edd
nop word cs:[eax + eax]
mov eax, edx
mov edx, dword [edx + 0xc]
cmp edx, ecx
je 0x418edd
test edx, edx
jne 0x418eb0
mov byte [0x43d408], 1
push 0
push 0
push str.Assertion_failure_on_line_4223
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]
ret
Function at 0x41abe0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x944
lea esi, [esp + 0x144]
push dword [esp + 0x958]
push str._s.
push esi
call fcn.0041eb30
add esp, 0xc
lea ebp, [esp + 4]
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp eax, 0xffffffff
je 0x41aca6
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileA]
mov edi, 0x2e2e
jmp 0x41ac38
push ebp
push esi
call ebx
test eax, eax
je 0x41ac9f
cmp word [esp + 0x30], 0x2e
je 0x41ac30
mov eax, dword [esp + 0x30]
xor eax, edi
movzx ecx, byte [esp + 0x32]
or cx, ax
je 0x41ac30
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x95c]
push str._s_s
lea eax, [esp + 0x150]
push eax
call fcn.0041eb30
add esp, 0x10
test byte [esp + 4], 0x10
je 0x41ac30
lea eax, [esp + 0x30]
push eax
call fcn.00401350
add esp, 4
mov dword [esp], eax
push 1
lea eax, [esp + 4]
push eax
push dword [0x43d428]
call fcn.004082e0
add esp, 0xc
jmp 0x41ac30
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp esi, 0xffffffff
setne al
add esp, 0x944
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41c8c0
Capabilities:
Create process on windows
Query environment variable

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x208
lea esi, [esp + 0x104]
push 0x104
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x41c94a
push 0x104
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
test eax, eax
je 0x41c94a
mov ebx, dword [esp + 0x21c]
mov edi, esp
push str._c_ping_localhost__n_3___nul__rmdir__s_q
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [ebx]
push edi
call ebp
push str.____NUL
push edi
call ebp
push 0x104
push esi
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x41c94a
push 0
push 0
push edi
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, eax
mov al, 1
cmp ecx, 0x20
jg 0x41c94c
xor eax, eax
add esp, 0x208
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41c960
Capabilities:
Create process on windows
Query environment variable
Self delete

Disassembly:
push ebx
push edi
push esi
sub esp, 0x208
mov edi, dword [esp + 0x218]
mov esi, esp
push str._c_ping_localhost__n_3___nul__del
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
push dword [edi]
push esi
call ebx
push str.____NUL
push esi
call ebx
lea edi, [esp + 0x104]
push 0x104
push edi
push str.ComSpec
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
test eax, eax
je 0x41c9c6
push 0
push 0
push esi
push edi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, eax
mov al, 1
cmp ecx, 0x20
jg 0x41c9c8
xor eax, eax
add esp, 0x208
pop esi
pop edi
pop ebx
ret
Function at 0x41c9e0
Capabilities:
Create process on windows

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x40
lea esi, [esp + 0x28]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edi, esp
mov ebx, dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop dword [eax]
mov dword [esp], 0
xorps xmm0, xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x14], 0
mov dword [esi + 0x10], 0
movaps xmm0, xmmword [0x42ee30]
movups xmmword [esp + 4], xmm0
mov dword [esp + 0x14], str.taskkill
mov dword [esp + 0x18], str._IM__discord.exe___T__F
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
lea eax, [esp + 4]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
push dword [esp + 0x40]
call ebp
push edi
push dword [esp + 0x40]
call ebx
mov eax, dword [esp]
test eax, eax
je 0x41ca00
cmp eax, 0x80
sete al
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
ret

Function at 0x41cb00
Capabilities:
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
sete al
ret
Function at 0x41cb20
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
mov ebp, dword [ebx + 4]
inc ebp
sub esp, 0x14
movaps xmm0, xmmword [0x42f8f0]
movups xmmword [esp + 4], xmm0
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_WriteProcessMemory]
push 0
push ebp
push dword [ebx]
push eax
push eax
call edi
mov dword [esp], eax
push 0
push ebp
mov ebp, dword [esp + 0x24]
push dword [ebx]
push esi
push ebp
call edi
test eax, eax
je 0x41cbc7
push 0x42f922
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x42f92b
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0
push 0
push esi
push eax
push 0
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
test eax, eax
je 0x41cbeb
test ebp, ebp
je 0x41cc0f
test esi, esi
je 0x41cc0f
cmp dword [esp], 6
je 0x41cc0f
mov ebx, eax
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0xffffffff
je 0x41cc33
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x10
push 0x42f919
push 0x42f900
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x10
push 0x42f919
push 0x42f938
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x10
push 0x42f919
push 0x42f951
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
push 0
push ebp
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0x10
push 0x42f919
push 0x42f96a
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3
Function at 0x41ec30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
push ebx
push edi
push esi
mov eax, dword [esp + 0x18]
cmp eax, 3
ja case.default.0x41ec41
jmp dword [eax*4 + 0x43ad68]
cmp dword [0x43d4b8], 0
je 0x41ed43
push 0x43d4bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x43d4d4]
test edi, edi
je 0x41ed38
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41ec8b
mov edi, dword [edi + 8]
test edi, edi
je 0x41ed38
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x41ec80
test esi, esi
je 0x41ec80
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x41ec80
cmp dword [0x43d4b8], 0
jne 0x41ecc0
push 0x43d4bc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x43d4b8], 1
jmp case.default.0x41ec41
call fcn.0041ce80
jmp case.default.0x41ec41
cmp dword [0x43d4b8], 0
je case.default.0x41ec41
push 0x43d4bc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [0x43d4d4]
test edi, edi
je 0x41ed93
mov ebx, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x41ed17
mov edi, dword [edi + 8]
test edi, edi
je 0x41ed93
push dword [edi]
call ebx
mov esi, eax
call ebp
test eax, eax
jne 0x41ed10
test esi, esi
je 0x41ed10
mov ecx, dword [edi + 4]
call dword [section..00cfg]
push esi
call ecx
add esp, 4
jmp 0x41ed10
push 0x43d4bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x43d4b8]
cmp eax, 1
jne case.default.0x41ec41
mov eax, dword [0x43d4d4]
test eax, eax
je 0x41ed72
nop word cs:[eax + eax]
mov esi, dword [eax + 8]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_free
add esp, 4
mov eax, esi
test esi, esi
jne 0x41ed60
mov dword [0x43d4d4], 0
mov dword [0x43d4b8], 0
push 0x43d4bc
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
jmp case.default.0x41ec41
push 0x43d4bc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x41eef0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
push edi
push esi
mov esi, dword [0x42b004]
movzx ecx, word [esi]
xor eax, eax
cmp ecx, 0x5a4d
jne 0x41ef56
mov ecx, dword [esi + 0x3c]
cmp dword [esi + ecx], 0x4550
jne 0x41ef56
add esi, ecx
movzx ecx, word [esi + 0x18]
cmp ecx, 0x10b
jne 0x41ef56
movzx ecx, word [esi + 6]
test ecx, ecx
je 0x41ef56
mov edx, dword [esp + 0xc]
sub edx, dword [0x42b004]
movzx edi, word [esi + 0x14]
add esi, edi
add esi, 0x18
jmp 0x41ef46
add esi, 0x28
dec ecx
je 0x41ef56
mov edi, dword [esi + 0xc]
cmp edi, edx
ja 0x41ef40
add edi, dword [esi + 8]
cmp edi, edx
jbe 0x41ef40
mov eax, esi
pop esi
pop edi
ret
Function at 0x4216a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push edi
push esi
sub esp, 0x104
mov esi, dword [esp + 0x114]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0
test esi, esi
je 0x4216e4
cmp byte [esi], 0
je 0x4216d4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4216f4
test al, 0x10
jne 0x421704
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0x14
jmp 0x4217c4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0xe
jmp 0x4217c4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 2
jmp 0x4217c4
mov ebx, esp
push 0x104
push esi
push ebx
call sub.api_ms_win_crt_filesystem_l1_1_0.dll__fullpath
add esp, 0xc
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 0x233
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
test eax, eax
je 0x4217b9
mov esi, eax
lea edi, [eax + 0x22c]
push ebx
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcpy
add esp, 8
cmp byte [esi + 0x22c], 0
je 0x421779
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
movzx eax, byte [eax + esi + 0x22b]
cmp eax, 0x2f
je 0x421779
cmp eax, 0x5c
je 0x421779
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov word [edi + eax], 0x5c
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov word [esi + eax + 0x22c], 0x2a
mov dword [esi + 0x224], 0xffffffff
mov dword [esi + 0x228], 0
mov eax, esi
add eax, 0x118
push 0x10c
push 0
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
add esp, 0xc
jmp 0x4217c6
call sub.api_ms_win_crt_runtime_l1_1_0.dll__errno
mov dword [eax], 0xc
xor esi, esi
mov eax, esi
add esp, 0x104
pop esi
pop edi
pop ebx
ret
Function at 0x5f9090
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x555015
lea edi, [esi - 0x154015]
lea eax, [edi + 0x17fdd0]
push dword [eax]
mov dword [eax], 0x1b638a0b
push eax
push edi
or ebp, 0xffffffff
jmp 0x5f90c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f90c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f90b8
mov eax, 1
add ebx, ebx
jne 0x5f90db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f90ec
jne 0x5f910b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f910b
dec eax
add ebx, ebx
jne 0x5f90f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f90d0
add ebx, ebx
jne 0x5f9107
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f915d
xor ecx, ecx
sub eax, 3
jb 0x5f9123
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f9192
sar eax, 1
mov ebp, eax
jmp 0x5f912e
add ebx, ebx
jne 0x5f912e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f90fc
inc ecx
add ebx, ebx
jne 0x5f913c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f90fc
add ebx, ebx
jne 0x5f9149
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f913e
jne 0x5f915a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f913e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f917c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f916e
jmp 0x5f90be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f917c
add edi, ecx
jmp 0x5f90be
pop esi
pop edi
pop eax
mov dword [edi], eax
mov edi, esi
mov ecx, 0x8216
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f919e
cmp byte [edi], 0x36
jne 0x5f919e
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 0x5f91a3
lea edi, [esi + 0x1f6000]
mov eax, dword [edi]
or eax, eax
je 0x5f9212
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1fd7c4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1fd888]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f91d0
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1fd890]
or eax, eax
je 0x5f920c
mov dword [ebx], eax
add ebx, 4
jmp 0x5f91ed
call dword [esi + 0x1fd88c]
mov ebp, dword [esi + 0x1fd894]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x1f926d]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5f925e
sub esp, 0xffffff80
jmp 0x402b90
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
mov ecx, 0x8f3472e
nop
nop
nop
nop
test eax, eax
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
mov ecx, 0x62791726
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

Function at 0x401000
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x401029
mov al, byte [esi + 1]
inc esi
test al, al
je 0x401021
cmp al, 0x22
jne 0x401015
cmp byte [esi], 0x22
jne 0x401033
inc esi
jmp 0x401033
cmp al, 0x20
jle 0x401033
inc esi
cmp byte [esi], 0x20
jg 0x40102d
mov al, byte [esi]
test al, al
je 0x40103d
cmp al, 0x20
jle 0x401026
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004018d4
push 0x404004
push section..data
call fcn.004018ba
test byte [ebp - 0x18], 1
pop ecx
pop ecx
je 0x40106d
movzx eax, word [ebp - 0x14]
jmp 0x401070
push 0xa
pop eax
push eax
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call main
mov esi, eax
call fcn.00401123
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4015dd
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43107c]
jne 0x4015e7
repz ret
jmp fcn.00401fb4

Function at 0x407acc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43107c]
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.00405794
and dword [ebp - 0x14], 0
cmp dword [0x433e50], 0
mov dword [ebp - 0x18], eax
jne 0x407b7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407c27
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407c27
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x433e50], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x433e54], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x433e58], eax
call edi
push eax
call esi
mov dword [0x433e60], eax
test eax, eax
je 0x407b7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x433e5c], eax
mov eax, dword [0x433e5c]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x407bd8
cmp dword [0x433e60], ecx
je 0x407bd8
push eax
call esi
push dword [0x433e60]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x407bd8
test ebx, ebx
je 0x407bd8
call edi
test eax, eax
je 0x407bcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x407bcf
test byte [ebp - 8], 1
jne 0x407bd8
or dword [ebp + 0x10], 0x200000
jmp 0x407c0b
mov eax, dword [0x433e54]
cmp eax, dword [ebp - 0x18]
je 0x407c0b
push eax
call esi
test eax, eax
je 0x407c0b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407c0b
mov eax, dword [0x433e58]
cmp eax, dword [ebp - 0x18]
je 0x407c0b
push eax
call esi
test eax, eax
je 0x407c0b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x433e50]
call esi
test eax, eax
je 0x407c27
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407c29
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004015dd
leave
ret
Function at 0x409924
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x40bb1b
call fcn.0040a890
sub esp, 0x10
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
lea ecx, [ebp + 0xc]
mov dword [ebp - 4], 1
call fcn.004062b4
mov esi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ebx, dword [esi]
mov dword [ebp - 0x18], ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea ecx, [ebp + 0xc]
call fcn.0040628c
push 0xfffffffffffffffc
mov edi, eax
pop eax
sub eax, ebx
add edi, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add esi, 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebp - 0x1c], esi
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
add esi, ebx
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
xor ecx, ecx
test edi, edi
jle 0x409a07
mov eax, ecx
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov al, byte [edx + eax]
xor byte [ecx + esi], al
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc ecx
cmp ecx, edi
jl 0x4099d7
lea ecx, [ebp - 0x14]
call fcn.00406271
mov byte [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
push edi
push esi
push edi
lea ecx, [ebp - 0x14]
call fcn.0040878c
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x14]
push eax
call fcn.0040659c
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00406565
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00406565
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8

Function at 0x409f72
Capabilities:
Move file

Disassembly:
mov eax, 0x40bca7
call fcn.0040a890
sub esp, 0x14
push ebx
push esi
push edi
push ecx
mov eax, esp
xor ebx, ebx
mov dword [ebp - 0x20], esp
push eax
mov dword [ebp - 0x10], ebx
call fcn.0040129d
lea eax, [ebp - 0x1c]
mov dword [ebp - 4], ebx
push eax
call fcn.00401db0
mov dword [ebp - 4], 2
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
push 1
lea eax, [ebp - 0x1c]
pop edi
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push eax
call fcn.0040a684
mov byte [ebp - 4], 4
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
lea eax, [ebp - 0x14]
mov esi, 0x40faa4
push eax
push esi
call fcn.00408c13
test al, al
je 0x40a019
mov ecx, dword [ebp + 8]
push esi
call fcn.00406638
mov dword [ebp - 0x10], edi
jmp 0x40a0d2
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x20], esp
push eax
call fcn.0040659c
mov byte [ebp - 4], 4
jmp loc.004164e4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.00406565
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call fcn.00406565
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4