joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100bf850
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0
push dword [ebp + 8]
call fcn.100bfe60
add esp, 8
test al, al
je 0x100bf875
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x100bf875
mov al, 1
pop ebp
ret
xor al, al
pop ebp
ret

Function at 0x100bfe60
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
pop ebp
ret

Function at 0x100c1310
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
lea eax, [ebp - 4]
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x100c133b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x100c133b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp + 8]
xor ecx, ecx
mov edx, dword [ebp - 4]
add ecx, esi
pop esi
adc edx, 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x100c7070
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x101341c4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0
push 0
push 0x80
push 2
push 1
push 0x40000000
push eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call fcn.100c5db0
mov edi, dword [ebp - 0xc]
test eax, eax
js 0x100c7103
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x100c70c3
mov esi, dword [esi]
push 0
lea ecx, [ebp - 8]
push ecx
push eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x100c70e1
call fcn.100184d0
mov esi, eax
test esi, esi
js 0x100c70fc
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x100c70fa
call fcn.100184d0
mov esi, eax
not esi
shr esi, 0x1f
jmp 0x100c7105
xor esi, esi
not esi
shr esi, 0x1f
jmp 0x100c7105
xor esi, esi
test edi, edi
je 0x100c7110
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.100464aa
mov esp, ebp
pop ebp
ret
Function at 0x100ca2e0
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f81f6
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x101341c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ecx + 8]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x14]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0
test esi, esi
je 0x100ca3cd
test edi, edi
je 0x100ca3f9
mov edx, dword [ebp + 0x10]
test edx, 0xf
jne 0x100ca425
lea eax, [edx - 0x10]
cmp dword [ebp + 0xc], eax
jbe 0x100ca451
cmp byte [ecx + 0x10], 0
je 0x100ca47d
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edx
push eax
push edi
push 0
push 1
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov ecx, eax
test ecx, ecx
je 0x100ca4a9
jmp 0x100ca3a5
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100464aa
mov esp, ebp
pop ebp
ret 0x10
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Key_is_not_valid
lea ecx, [ebp - 0xc0]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xc0]
push eax
call fcn.10070563
push 0x6f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Buffer_is_NULL
lea ecx, [ebp - 0xcc]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xcc]
push eax
call fcn.10070563
push 0x80090005
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Data_size_is_not_a_multple_of_block_size
lea ecx, [ebp - 0xd8]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xd8]
push eax
call fcn.10070563
push 0x80090028
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_Buffer_is_too_small
lea ecx, [ebp - 0xe4]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xe4]
push eax
call fcn.10070563
push 0x80090027
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Decrypt_1_:_IV_has_not_been_set
lea ecx, [ebp - 0xf0]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xf0]
push eax
call fcn.10070563
push 0x98
lea ecx, [ebp - 0xb0]
call fcn.100cc780
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.100c8c80
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push str.Decrypt_1_:_CryptDecrypt_failed__
push eax
call fcn.100c86a0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
call esi
push eax
call fcn.100caf00
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100c86a0
add esp, 0xc
lea eax, [ebp - 0xb0]
push str.__0x
push eax
call fcn.100c86a0
add esp, 8
mov ecx, eax
push 0x100cd230
call fcn.100c9c70
mov edi, eax
call esi
push eax
mov ecx, edi
call fcn.100c99b0
push 0x101163f8
push eax
call fcn.100c86a0
add esp, 8
mov dword [ebx], 0
lea eax, [ebp - 0x114]
lea ecx, [ebp - 0xb0]
push eax
call fcn.100cd9b0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1003a9a3
push eax
lea ecx, [ebp - 0xfc]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xfc]
push eax
call fcn.10070563
push 0
push 0
call fcn.10070563
int3
Function at 0x100ca900
Capabilities:
Encrypt or decrypt via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8276
mov eax, dword fs:[0]
push eax
sub esp, 0xfc
mov eax, dword [0x101341c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edx, dword [ecx + 8]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xb4], ecx
mov dword [ebp - 4], 0
test edx, edx
je 0x100ca9e9
test esi, esi
je 0x100caa15
mov ebx, dword [ebp + 0x10]
mov eax, ebx
and eax, 0xfffffff0
add eax, 0x10
cmp dword [ebp + 0xc], eax
jb 0x100caa41
cmp byte [ecx + 0x10], 0
je 0x100caa6d
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], ebx
push eax
push esi
push 0
push 1
push 0
push edx
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov ecx, eax
test ecx, ecx
je 0x100caa99
jmp 0x100ca9c1
mov eax, dword [ebp - 0x18]
mov dword [edi], eax
test ecx, ecx
setne al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100464aa
mov esp, ebp
pop ebp
ret 0x10
push 0x80090003
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Key_is_not_valid
lea ecx, [ebp - 0xc0]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xc0]
push eax
call fcn.10070563
push 0x6f8
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Buffer_is_NULL
lea ecx, [ebp - 0xcc]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xcc]
push eax
call fcn.10070563
push 0x80090028
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_Buffer_is_too_small
lea ecx, [ebp - 0xd8]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xd8]
push eax
call fcn.10070563
push 0x80090027
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.Encrypt_1_:_IV_has_not_been_set
lea ecx, [ebp - 0xe4]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xe4]
push eax
call fcn.10070563
push 0x98
lea ecx, [ebp - 0xb0]
call fcn.100cc780
push 1
push 2
lea ecx, [ebp - 0xb0]
call fcn.100c8c80
lea eax, [ebp - 0xb0]
mov byte [ebp - 4], 1
push str.Encrypt_1_:_CryptEncrypt_failed__
push eax
call fcn.100c86a0
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
add esp, 8
call esi
push eax
call fcn.100caf00
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.100c86a0
add esp, 0xc
lea eax, [ebp - 0xb0]
push str.__0x
push eax
call fcn.100c86a0
add esp, 8
mov ecx, eax
push 0x100cd230
call fcn.100c9c70
mov ebx, eax
call esi
push eax
mov ecx, ebx
call fcn.100c99b0
push 0x101163f8
push eax
call fcn.100c86a0
add esp, 8
mov dword [edi], 0
lea eax, [ebp - 0x108]
lea ecx, [ebp - 0xb0]
push eax
call fcn.100cd9b0
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.1003a9a3
push eax
lea ecx, [ebp - 0xf0]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xf0]
push eax
call fcn.10070563
push 0
push 0
call fcn.10070563
int3
Function at 0x100cb310
Capabilities:
Encrypt data using aes via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f8318
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x101341c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov eax, dword [edi + 8]
lea ebx, [edi + 8]
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x18], ecx
test eax, eax
je 0x100cb36a
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov ecx, dword [ebp - 0x18]
mov dword [ebx], 0
mov byte [edi + 0x10], 0
cmp dword [edi + 4], 0
mov dword [ebp - 4], 0
je 0x100cb499
test ecx, ecx
je 0x100cb4b4
mov esi, dword [ebp + 0xc]
cmp esi, 0x10
je 0x100cb399
cmp esi, 0x18
je 0x100cb399
cmp esi, 0x20
jne 0x100cb4cf
push 0x2c
lea eax, [ebp - 0x44]
push 0
push eax
call fcn.10070b50
add esp, 0xc
mov dword [ebp - 0x44], 0x208
mov byte [ebp - 4], 1
cmp esi, 0x10
je 0x100cb3e0
cmp esi, 0x18
je 0x100cb3d2
cmp esi, 0x20
jne 0x100cb4ea
mov dword [ebp - 0x40], 0x6610
mov eax, esi
jmp 0x100cb3ec
mov dword [ebp - 0x40], 0x660f
mov eax, 0x18
jmp 0x100cb3ec
mov dword [ebp - 0x40], 0x660e
mov eax, 0x10
push esi
push dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.100cdcb0
add esp, 0x10
test eax, eax
jne 0x100cb505
push ebx
push 0
push 0
lea eax, [esi + 0xc]
push eax
lea eax, [ebp - 0x44]
push eax
push dword [edi + 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
je 0x100cb526
push 0
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 4
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_CryptSetKeyParam]
test eax, eax
je 0x100cb547
jmp 0x100cb463
mov al, 1
lea ecx, [ebp - 0x44]
mov edx, 4
nop dword [eax]
mov byte [ecx], 0
lea ecx, [ecx + 1]
sub edx, 1
jne 0x100cb470
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100464aa
mov esp, ebp
pop ebp
ret 8
push str.SetKey:_Provider_is_not_valid
lea ecx, [ebp - 0x58]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0x58]
push eax
call fcn.10070563
push str.SetKey:_Key_buffer_is_NULL
lea ecx, [ebp - 0x64]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0x64]
push eax
call fcn.10070563
push str.SetKey:_Key_size_is_not_valid
lea ecx, [ebp - 0x70]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0x70]
push eax
call fcn.10070563
push str.SetKey:_Key_size_is_not_valid
lea ecx, [ebp - 0x7c]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0x7c]
push eax
call fcn.10070563
push str.SetKey:_Unable_to_copy_key
lea ecx, [ebp - 0x88]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0x88]
push eax
call fcn.10070563
push str.SetKey:_Import_key_failed
lea ecx, [ebp - 0x94]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0x94]
push eax
call fcn.10070563
push str.SetKey:_Set_CBC_mode_failed
lea ecx, [ebp - 0xa0]
call fcn.100c8fe0
push 0x1012d444
lea eax, [ebp - 0xa0]
push eax
call fcn.10070563
push 0
push 0
call fcn.10070563
int3
Function at 0x100cd260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100f84e8
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x101341c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.1001cdc0
mov edi, eax
add esp, 4
test edi, edi
je 0x100cd304
xorps xmm0, xmm0
movq qword [edi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.100d2bb5
add esp, 4
mov dword [edi + 4], eax
jmp 0x100cd306
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov ecx, dword [edi + 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], ecx
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.100c8950
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 4], 3
test ecx, ecx
je 0x100cd367
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
je 0x100cd367
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x100cd38a
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
jne 0x100cd3ad
cmp byte [ebp + 0xc], 0
je 0x100cd399
push esi
call fcn.100d2e6d
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
test cl, 4
je 0x100cd3b9
mov esi, str.ios_base::badbit_set
jmp 0x100cd3c9
test cl, 2
mov esi, str.ios_base::failbit_set
mov eax, str.ios_base::eofbit_set
cmove esi, eax
lea eax, [ebp - 0x1c]
push 1
push eax
call fcn.100cd3f0
add esp, 8
lea ecx, [ebp - 0x30]
push eax
push esi
call fcn.100c9150
push 0x1012d400
lea eax, [ebp - 0x30]
push eax
call fcn.10070563
int3
Function at 0x52c4a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xc3000]
push edi
or ebp, 0xffffffff
jmp 0x52c4c2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x52c4c9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c4b8
mov eax, 1
add ebx, ebx
jne 0x52c4db
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x52c4ec
jne 0x52c50b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c50b
dec eax
add ebx, ebx
jne 0x52c4f8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x52c4d0
add ebx, ebx
jne 0x52c507
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x52c55d
xor ecx, ecx
sub eax, 3
jb 0x52c523
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x52c592
sar eax, 1
mov ebp, eax
jmp 0x52c52e
add ebx, ebx
jne 0x52c52e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c4fc
inc ecx
add ebx, ebx
jne 0x52c53c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x52c4fc
add ebx, ebx
jne 0x52c549
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x52c53e
jne 0x52c55a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x52c53e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x52c57c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x52c56e
jmp 0x52c4be
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x52c57c
add edi, ecx
jmp 0x52c4be
pop esi
mov edi, esi
mov ecx, 0x37e4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x52c59a
cmp byte [edi], 0x13
jne 0x52c59a
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 0x52c59f
lea edi, [esi + 0x129000]
mov eax, dword [edi]
or eax, eax
je 0x52c617
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x134248]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x13430c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x52c5cc
mov ecx, edi
jns 0x52c5fb
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 + 0x134314]
or eax, eax
je 0x52c611
mov dword [ebx], eax
add ebx, 4
jmp 0x52c5e9
call dword [esi + 0x134310]
mov ebp, dword [esi + 0x134318]
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 0x52c64b
sub esp, 0xffffff80
jmp 0x46f1ee
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x430004]
jne 0x40100a
repz ret
jmp fcn.00401424

Function at 0x406ecc
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x430004]
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.00404a1c
and dword [ebp - 0x14], 0
cmp dword [0x432958], 0
mov dword [ebp - 0x18], eax
jne 0x406f7f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x407027
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x407027
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x432958], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43295c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x432960], eax
call edi
push eax
call esi
mov dword [0x432968], eax
test eax, eax
je 0x406f7f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x432964], eax
mov eax, dword [0x432964]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406fd8
cmp dword [0x432968], ecx
je 0x406fd8
push eax
call esi
push dword [0x432968]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406fd8
test ebx, ebx
je 0x406fd8
call edi
test eax, eax
je 0x406fcf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x406fcf
test byte [ebp - 8], 1
jne 0x406fd8
or dword [ebp + 0x10], 0x200000
jmp 0x40700b
mov eax, dword [0x43295c]
cmp eax, dword [ebp - 0x18]
je 0x40700b
push eax
call esi
test eax, eax
je 0x40700b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40700b
mov eax, dword [0x432960]
cmp eax, dword [ebp - 0x18]
je 0x40700b
push eax
call esi
test eax, eax
je 0x40700b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x432958]
call esi
test eax, eax
je 0x407027
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x407029
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x40e5e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb000]
push edi
jmp 0x40e5fa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40e601
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40e5f0
mov eax, 1
add ebx, ebx
jne 0x40e613
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40e608
jne 0x40e624
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e608
xor ecx, ecx
sub eax, 3
jb 0x40e638
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40e6aa
mov ebp, eax
add ebx, ebx
jne 0x40e643
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40e650
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40e674
inc ecx
add ebx, ebx
jne 0x40e660
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40e655
jne 0x40e671
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40e655
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40e694
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40e685
jmp 0x40e5f6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40e694
add edi, ecx
jmp 0x40e5f6
pop esi
lea edi, [esi + 0xc000]
mov eax, dword [edi]
or eax, eax
je 0x40e6f3
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1299c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40e6b1
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a2c]
or eax, eax
je 0x40e6ed
mov dword [ebx], eax
add ebx, 4
jmp 0x40e6ce
call dword [esi + 0x12a28]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x40e724
cmp al, 0xef
ja 0x40e717
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x40e6f9
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x40e706
mov ebp, dword [esi + 0x12a30]
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 0x40e758
sub esp, 0xffffff80
jmp 0x403222