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

Disassembly:
cmp ecx, dword [0x45b030]
jne 0x401116
repz ret
jmp fcn.00401c81

Function at 0x40848e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00406852
and dword [ebp - 4], 0
cmp dword [0x45d814], 0
mov ebx, eax
jne 0x40853f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4085f0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4085f0
push eax
call fcn.004067e0
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x45d814], eax
call esi
push eax
call fcn.004067e0
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x45d818], eax
call esi
push eax
call fcn.004067e0
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x45d81c], eax
call esi
push eax
call fcn.004067e0
pop ecx
mov dword [0x45d824], eax
test eax, eax
je 0x40853f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004067e0
pop ecx
mov dword [0x45d820], eax
mov eax, dword [0x45d820]
cmp eax, ebx
je 0x408597
cmp dword [0x45d824], ebx
je 0x408597
push eax
call fcn.0040685b
push dword [0x45d824]
mov esi, eax
call fcn.0040685b
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408597
test edi, edi
je 0x408597
call esi
test eax, eax
je 0x40858e
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x40858e
test byte [ebp - 0xc], 1
jne 0x408597
or dword [ebp + 0x10], 0x200000
jmp 0x4085d0
mov eax, dword [0x45d818]
cmp eax, ebx
je 0x4085d0
push eax
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085d0
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4085d0
mov eax, dword [0x45d81c]
cmp eax, ebx
je 0x4085d0
push eax
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085d0
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45d814]
call fcn.0040685b
pop ecx
test eax, eax
je 0x4085f0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4085f2
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x40cc50
Capabilities:
Set console window title

Disassembly:
sub esp, 0x428
mov eax, dword [0x45b030]
xor eax, esp
mov dword [esp + 0x424], eax
mov eax, dword [0x85a7f4]
push ebx
mov ebx, dword [0x85a640]
push esi
mov esi, dword [0x45c050]
push edi
mov edi, eax
cmp eax, 0x930
jne 0x40cc91
push 0x4595c0
call dword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov eax, dword [0x85a7f4]
mov dword [0x45d9ec], esi
cmp eax, 0x114e
jne 0x40ccbb
push 0
call dword [sym.imp.KERNEL32.dll_HeapDestroy]
lea eax, [esp + 0x14]
push eax
push str.yubodumejuwal
call dword [sym.imp.KERNEL32.dll_BuildCommDCBW]
mov eax, dword [0x85a7f4]
cmp eax, 0x2f
jne 0x40ccdd
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x10]
push edx
push 0
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_ReadEventLogA]
call fcn.0040cba0
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0040110c
add esp, 0x428
ret
Function at 0x100556c
Capabilities:
Terminate process

Disassembly:
push 0x2d
push 2
call fcn.0100bd21
pop ecx
pop ecx
push 1
call dword [sym.imp.msvcrt.dll_exit]
int3

Function at 0x10063c5
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x1014d78]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x1001350
call dword [sym.imp.msvcrt.dll_getenv]
pop ecx
test eax, eax
je 0x100647a
push ebx
push esi
push eax
mov esi, 0x101
lea eax, [ebp - 0x108]
push esi
push eax
call sub.msvcrt.dll_strcpy_s
push 0x1001340
lea eax, [ebp - 0x108]
push esi
push eax
call sub.msvcrt.dll_strcat_s
lea eax, [ebp - 0x108]
push 0x100133c
push eax
call dword [sym.imp.msvcrt.dll_fopen]
mov ebx, eax
add esp, 0x20
test ebx, ebx
je 0x1006478
push edi
mov edi, dword [sym.imp.msvcrt.dll_fgets]
jmp 0x100645d
lea eax, [ebp - 0x108]
push 0xa
push eax
call dword [sym.imp.msvcrt.dll_strchr]
pop ecx
pop ecx
test eax, eax
je 0x1006451
mov byte [eax], 0
lea eax, [ebp - 0x108]
push eax
call fcn.01005de3
push ebx
lea eax, [ebp - 0x108]
push esi
push eax
call edi
add esp, 0xc
test eax, eax
jne 0x1006439
push ebx
call dword [sym.imp.msvcrt.dll_fclose]
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0100cc5f
leave
ret
Function at 0x1006bf6
Capabilities:
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 8]
mov eax, dword [sym.imp.msvcrt.dll__iob]
add eax, 0x40
push 0x1001378
push eax
call dword [sym.imp.msvcrt.dll_fprintf]
add esp, 0xc
push 2
call dword [sym.imp.msvcrt.dll_exit]
int3
Function at 0x10094ee
Capabilities:
Execute command

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x204
mov eax, dword [0x1014d78]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, edi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100950d
sub eax, ecx
mov esi, 0x100
cmp eax, esi
jb 0x100952c
push 0x2f
push 2
call fcn.0100bd21
pop ecx
pop ecx
jmp 0x1009570
lea eax, [ebp - 0x104]
push eax
push 0x10020f8
push edi
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0xc
cmp eax, 1
jne 0x1009570
lea eax, [ebp - 0x104]
push eax
push 0x10020e4
lea eax, [ebp - 0x204]
push esi
push eax
call sub.msvcrt.dll_sprintf_s
lea eax, [ebp - 0x204]
push eax
call dword [sym.imp.msvcrt.dll_system]
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0100cc5f
leave
ret 4
Function at 0x100c30f
Capabilities:
Create udp socket

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0
push 2
push dword [ebp + 8]
call dword [sym.imp.WSOCK32.dll_socket]
cmp eax, 0xffffffff
jne 0x100c32a
xor eax, eax
jmp 0x100c334
push eax
call dword [sym.imp.WSOCK32.dll_closesocket]
xor eax, eax
inc eax
pop ebp
ret 4
Function at 0x100d971
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x100d987
or dword [ebp + 0x18], 0xffffffff
push edi
mov edi, dword [ebp + 0x10]
cmp dword [ebp + 0x18], edi
ja 0x100d997
xor eax, eax
jmp 0x100dafb
push ebx
mov ebx, dword [ebp + 8]
push esi
lea esi, [ebx + 0x1fe]
lea eax, [esi - 0x54]
mov dword [ebp - 8], eax
cmp ebx, eax
jae 0x100da73
mov cl, byte [edi]
mov al, cl
inc edi
and al, 0xc0
mov byte [ebp + 0xb], cl
jne 0x100da07
movzx eax, cl
push eax
mov dword [ebp - 0xc], eax
mov eax, esi
push 0x1002ea4
sub eax, ebx
push eax
push ebx
call fcn.0100e2f7
add esp, 0x10
cmp byte [ebp + 0xb], 0
mov ebx, eax
je 0x100dae2
mov ecx, dword [ebp - 0xc]
lea eax, [ecx + edi]
mov dword [ebp - 0x10], eax
cmp eax, dword [ebp + 0x18]
jae 0x100da89
push ecx
push edi
push ebx
call sub.msvcrt.dll_memcpy
mov edi, dword [ebp - 0x10]
add esp, 0xc
add ebx, dword [ebp - 0xc]
jmp 0x100da6a
cmp al, 0xc0
jne 0x100dac8
cmp edi, dword [ebp + 0x18]
jae 0x100daa2
movzx ax, cl
movzx cx, byte [edi]
shl ax, 8
or ax, cx
movzx eax, ax
movzx eax, ax
push eax
mov dword [ebp + 8], eax
mov eax, esi
push 0x1002e9c
sub eax, ebx
push eax
push ebx
inc edi
call fcn.0100e2f7
add esp, 0x10
cmp dword [ebp + 0x14], 0
mov ebx, eax
je 0x100dac2
cmp dword [ebp - 4], 0
jne 0x100da56
mov dword [ebp - 4], edi
mov eax, dword [ebp + 8]
xor eax, 0xc000
add eax, dword [ebp + 0x14]
lea ecx, [edi - 2]
cmp eax, ecx
jae 0x100daaa
mov edi, eax
cmp ebx, dword [ebp - 8]
jb 0x100d9b0
sub esi, dword [ebp - 8]
push 0x1002e68
push esi
push dword [ebp - 8]
call fcn.0100e2f7
add esp, 0xc
jmp 0x100dadd
movzx eax, byte [ebp + 0xb]
push edi
push eax
push 0x1002e2c
sub esi, ebx
push esi
push ebx
call fcn.0100e2f7
add esp, 0x14
jmp 0x100dadd
push edi
push 0x1002df8
jmp 0x100dad1
push eax
lea eax, [edi - 2]
push eax
push 0x1002dc4
sub esi, ebx
push esi
push ebx
call fcn.0100e2f7
add esp, 0x14
jmp 0x100dae0
mov byte [ebx], 0
inc ebx
jmp 0x100dae2
movzx eax, cl
push eax
push 0x1002da8
sub esi, ebx
push esi
push ebx
call fcn.0100e2f7
add esp, 0x10
mov edi, dword [ebp + 0x10]
mov ebx, eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100daeb
mov dword [eax], ebx
cmp dword [ebp - 4], 0
pop esi
pop ebx
je 0x100daf6
mov edi, dword [ebp - 4]
mov eax, edi
sub eax, dword [ebp + 0x10]
pop edi
leave
ret 0x14
Function at 0x100e549
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
xor edx, edx
cmp dword [ebp + 0xc], 2
jae 0x100e560
xor eax, eax
jmp 0x100e617
mov eax, dword [ebp + 0x10]
push edi
cmp dword [ebp + 0xc], esi
je 0x100e616
mov ecx, dword [ebp + 8]
push 0x3f
pop edi
push ebx
movzx ebx, byte [ecx]
dec dword [ebp + 0xc]
shl edx, 8
add edx, ebx
inc ecx
inc esi
cmp esi, 3
jne 0x100e5c5
mov esi, edx
shr esi, 0x12
and esi, edi
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], bl
mov esi, edx
shr esi, 0xc
and esi, edi
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov esi, edx
inc eax
mov byte [eax], bl
shr esi, 6
and esi, edi
mov bl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
and edx, edi
mov byte [eax], bl
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], dl
inc eax
xor edx, edx
xor esi, esi
cmp dword [ebp + 0xc], 0
jne 0x100e574
pop ebx
test esi, esi
je 0x100e616
push 3
pop ecx
sub ecx, esi
shl ecx, 3
shl edx, cl
mov ecx, edx
shr ecx, 0x12
and ecx, edi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
mov ecx, edx
shr ecx, 0xc
and ecx, edi
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc eax
mov byte [eax], cl
inc eax
cmp esi, 2
jne 0x100e60e
shr edx, 6
and edx, edi
mov cl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], cl
jmp 0x100e611
mov byte [eax], 0x3d
inc eax
mov byte [eax], 0x3d
inc eax
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x100f0d6
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
sub esp, 0x24
push ebx
mov ebx, dword [sym.imp.ntdll.dll_RtlAllocateHeap]
push esi
push edi
mov esi, 0x400
push esi
push 0
push dword [eax + 0x18]
call ebx
mov edi, eax
test edi, edi
jne 0x100f10f
mov eax, 0xc0000017
pop edi
pop esi
pop ebx
leave
ret 0x14
push esi
push 0
push edi
call sub.msvcrt.dll_memset
xor eax, eax
mov word [ebp - 0xc], ax
add esp, 0xc
mov eax, esi
mov word [ebp - 0xa], ax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push esi
push 0
push dword [eax + 0x18]
call ebx
mov dword [ebp - 8], eax
test eax, eax
jne 0x100f15d
mov esi, 0xc0000017
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, esi
jmp 0x100f108
mov ecx, dword [ebp + 0xc]
mov eax, esi
mov word [ebp - 0x1a], ax
mov eax, ecx
lea edx, [eax + 1]
mov bl, byte [eax]
inc eax
test bl, bl
jne 0x100f16b
sub eax, edx
mov word [ebp - 0x1c], ax
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x18], ecx
call dword [sym.imp.ntdll.dll_RtlAnsiStringToUnicodeString]
lea eax, [ebp - 4]
push eax
push esi
push edi
push 1
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call dword [sym.imp.ntdll.dll_NtQueryValueKey]
mov dword [ebp + 0xc], eax
test eax, eax
jge 0x100f1c3
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov esi, dword [ebp + 0xc]
jmp 0x100f144
mov eax, dword [edi + 4]
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
cmp eax, 4
je 0x100f27f
cmp eax, 3
je 0x100f27f
xor eax, eax
cmp dword [ebx], 2
mov word [ebp - 0x14], ax
jne 0x100f1f4
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov word [ebp - 0x12], si
jmp 0x100f219
push dword [ebp - 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push 0
push dword [eax + 0x18]
call dword [sym.imp.ntdll.dll_RtlFreeHeap]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ax, word [ebp + 0x18]
mov word [ebp - 0x12], ax
mov ax, word [edi + 0xc]
mov word [ebp - 0x24], ax
mov ax, word [edi + 0xc]
mov word [ebp - 0x22], ax
mov eax, dword [edi + 8]
add eax, edi
mov dword [ebp - 0x20], eax
push 0
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ntdll.dll_RtlUnicodeStringToAnsiString]
cmp dword [ebx], 2
jne 0x100f1be
push dword [ebp + 0x18]
push dword [ebp + 0x10]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
mov dword [ebp - 4], eax
test eax, eax
jne 0x100f26b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
jmp 0x100f277
cmp eax, dword [ebp + 0x18]
jb 0x100f277
mov dword [ebp + 0xc], 0xc0000023
push dword [ebp - 0x10]
jmp 0x100f1aa
cmp dword [ebp + 0x18], 4
jb 0x100f295
mov eax, dword [edi + 8]
mov eax, dword [edi + eax]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
jmp 0x100f1a7
mov dword [ebp + 0xc], 0xc0000023
jmp 0x100f1a7
Function at 0x10243c2
Capabilities:
Encode data using xor

Disassembly:
pop dword [esi + 0x1c]
mov dword [esi + 0x14], 0xc
lea eax, [ebp - 0x69f0]
push eax
mov dword [esi + 0x18], esi
sub byte [esi + 2], 0xfc
push 4
push 3
lea esi, [esi + 0x14]
push esi
add dword [ebp - 0x6a33], ebp
mov ecx, 0xb53dd70e
call dword [0xfffffe8f]
sub dword [ebp - 0x6a33], ebp
ret
call fcn.0101db90
mov dword [ebp - 0x171], esi
push 0x25d25639
add dl, cl
clc
xchg edx, esi
call fcn.0101db90
lea eax, [esp + 0x28]
sub dl, 0x1a
xchg ch, ch
mov dword [esp + 0x4c], esi
xchg esi, eax
push 0x20
mov edi, dword [esp + 0x4c]
push 8
or eax, 0xffffffe4
xor ecx, edi
push esp
call edi
mov ecx, 0x94bddd92
call dword [esp + 0x50]
dec byte [esp]
jne 0x101dbda
dec edx
lea edx, [ebx + 0x1ac50355]
mov edx, 0x2a067468
pop eax
push 1
call fcn.010243af
jmp 0x101da00
push 0xb85a79fd
jmp 0x101dbac

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40915c
nop
mov ecx, 0x3bf22401
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
mov ecx, 0x13131411
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43106c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x40610d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
pushal
call 0x40611c
pop dword [ebp - 0x28]
mov eax, 0x5cdb9ef4
add eax, 0xa364c228
sub dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 0x3e7a5210
sub dword [ebp - 0x38], 0xf0280cc5
mov dword [ebp - 0x34], 0x4fcc8d9b
sub dword [ebp - 0x34], 0x1d994156
mov dword [ebp - 0x30], 0xe8c1d69c
sub dword [ebp - 0x30], 0x9c75926e
mov dword [ebp - 0x2c], 0xc48de016
sub dword [ebp - 0x2c], 0xc48de016
lea eax, [ebp - 0x38]
push eax
mov eax, 0xcfc8de94
add eax, 0x307791cc
add eax, dword [ebp - 0x28]
call dword [eax]
mov dword [ebp - 0x38], 0x78e57f9a
add dword [ebp - 0x38], 0xfb8ce9bc
mov dword [ebp - 0x34], 0xc0c723f3
sub dword [ebp - 0x34], 0x7f5ac27e
mov dword [ebp - 0x30], 0xa4d79fc6
add dword [ebp - 0x30], 0xbe97cca6
mov dword [ebp - 0x2c], 0xbd878d9e
sub dword [ebp - 0x2c], 0xbd878d9e
lea ebx, [ebp - 0x38]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x28]
call dword [eax]
push 0x40
push 0x1000
push 0x37037
push 0
call eax
mov ecx, 0xe96088d4
sub ecx, 0xe9603f35
xor edi, edi
add edi, eax
mov ebx, 0x23e330f1
add ebx, 0xdc5dcf0f
add ebx, dword [ebp - 0x28]
mov esi, 0x3881427a
add esi, 0x29764985
mov dword [ebp - 0xc], 0xaa9a07f9
mov edx, dword [ebx]
xor dword [ebp - 0x14], 0x55b06017
add edx, esi
xor dword [ebp - 0x10], 0xb9371d36
mov dword [edi], edx
sub dword [ebp - 0x10], eax
add edi, 0xd43573e3
add edi, 0x2bca8c21
add ebx, 4
loop 0x40623b
add eax, 0x1194f
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x43a9e08d
sub ecx, 0x4369e08d
add ecx, dword [ebp - 0x28]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
add ebx, 4
nop
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
jl 0x433030
nop
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
cmp dword [eax], 0
nop
nop
nop
jne 0x43301e
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x408e5c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41003c]
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.004056d6
and dword [ebp - 0x14], 0
cmp dword [0x411ca0], 0
mov dword [ebp - 0x18], eax
jne 0x408f0f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x408fb7
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x408fb7
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x411ca0], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x411ca4], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x411ca8], eax
call edi
push eax
call esi
mov dword [0x411cb0], eax
test eax, eax
je 0x408f0f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x411cac], eax
mov eax, dword [0x411cac]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x408f68
cmp dword [0x411cb0], ecx
je 0x408f68
push eax
call esi
push dword [0x411cb0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x408f68
test ebx, ebx
je 0x408f68
call edi
test eax, eax
je 0x408f5f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x408f5f
test byte [ebp - 8], 1
jne 0x408f68
or dword [ebp + 0x10], 0x200000
jmp 0x408f9b
mov eax, dword [0x411ca4]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x408f9b
mov eax, dword [0x411ca8]
cmp eax, dword [ebp - 0x18]
je 0x408f9b
push eax
call esi
test eax, eax
je 0x408f9b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x411ca0]
call esi
test eax, eax
je 0x408fb7
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x408fb9
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00402d39
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x42e030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
jne 0x42e01e
nop
nop
nop
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x40656d
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x617ba7
call fcn.00410862
mov eax, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], ebx
mov dword [ebp - 0x418], ebx
push 0x60
push ebx
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], edi
test edi, edi
jne 0x4065ea
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x424], eax
test edi, edi
jne 0x4065ea
call fcn.00405d4b
mov esi, eax
jmp 0x4066e1
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x40660d
call fcn.00405d4b
jmp 0x4066d4
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x406603
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x420], esi
lea ecx, [esi + 1]
cmp ecx, esi
jae 0x406640
mov esi, 0x8007000e
jmp 0x4066d6
push 2
pop edx
mov byte [ebp - 4], 2
call fcn.00408952
cmp eax, 0x400
jbe 0x406661
push eax
lea ecx, [ebp - 0x418]
call fcn.00408840
jmp 0x406683
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
jmp 0x406683
mov dword [ebp - 4], 1
cmp dword [ebp - 0x418], 0
je 0x406636
push esi
push dword [ebp - 0x418]
push esi
push dword [ebp - 0x41c]
push ebx
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
je 0x406603
mov eax, dword [ebp - 0x418]
xor edx, edx
push dword [ebp + 0x14]
mov word [eax + ecx*2], dx
lea ecx, [ebp - 0x42c]
push dword [ebp - 0x418]
call fcn.0040715c
mov esi, eax
test edi, edi
je 0x4066e1
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x4066fa
lea ecx, [ebp - 0x418]
call fcn.004087e2
mov eax, esi
call fcn.004107af
ret 0x10