joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4eff63
Capabilities:
Get file size
Read file via mapping

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
push esi
xor esi, esi
cmp dword [ebp + 8], esi
push edi
mov edi, ecx
mov dword [ebp - 4], esi
jne 0x4eff86
mov eax, 0x8876086c
jmp 0x4f009b
cmp dword [ebp + 0xc], esi
push ebx
je 0x4f001e
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
je 0x4efffe
mov ebx, dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
push esi
push esi
push esi
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
push eax
mov dword [ebp + 0xc], eax
call fcn.0045fea0
cmp eax, esi
pop ecx
mov dword [ebp - 4], eax
jne 0x4effe2
mov eax, 0x8007000e
jmp 0x4f009a
push esi
push esi
push dword [ebp + 0xc]
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push esi
push 0xfde9
call ebx
mov eax, dword [ebp - 4]
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], esi
cmp dword [ebp + 0xc], esi
je 0x4f001e
push esi
push 0x10000000
push 3
push esi
push 1
push DirectSoundCreate
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
jmp 0x4f0037
push esi
push 0x10000000
push 3
push esi
push 1
push DirectSoundCreate
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
push dword [ebp - 4]
mov dword [edi], eax
call fcn.0045feae
mov eax, dword [edi]
cmp eax, 0xffffffff
pop ecx
je 0x4f0088
push esi
push esi
push esi
push 2
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, 0xffffffff
mov dword [edi + 4], eax
je 0x4f0088
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [edi + 0xc], eax
je 0x4f0088
cmp eax, esi
je 0x4f0095
push esi
push esi
push esi
push 4
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, esi
mov dword [edi + 8], eax
jne 0x4f0098
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, 0x88760b59
jmp 0x4f009a
mov dword [edi + 8], esi
xor eax, eax
pop ebx
pop edi
pop esi
leave
ret 8

Function at 0x4f087c
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x4f08d5
push esi
lea eax, [ebp + 0x14]
push eax
push dword [ebp + 0x10]
lea eax, [ebp + 0x10]
push eax
push 0
push dword [ebp + 0xc]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push dword [ebp - 4]
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x4f08d5
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp + 8]
jne 0x4f08d5
xor eax, eax
inc eax
jmp 0x4f08d7
xor eax, eax
leave
ret 0x10
Function at 0x4f0903
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x34
push edi
lea eax, [ebp - 4]
push eax
push str.SoftwareMicrosoftDirect3D
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
xor edi, edi
test eax, eax
jne 0x4f0973
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
push 0x57db1c
push dword [ebp - 4]
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4f096a
cmp dword [ebp - 0xc], 4
jne 0x4f096a
cmp dword [ebp - 0x10], edi
je 0x4f096a
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x5a93e8], edi
xor eax, eax
jmp 0x4f09b2
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [0x5a93e8], edi
jge 0x4f09ad
lea eax, [ebp - 0x34]
push eax
mov dword [0x5a93e8], edi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp word [ebp - 0x34], di
jne 0x4f09ad
cmp word [ebp - 0x14], 5
jb 0x4f09ad
call fcn.004f08db
test eax, eax
je 0x4f09ad
emms
mov dword [0x5a93e8], 1
mov eax, dword [0x5a93e8]
pop edi
leave
ret
Function at 0x50dd8b
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
imul esi, esi, 0x64
mov edi, dword [ebp + 8]
imul edi, edi, 0x64
add edi, dword [ecx + 0x2c]
mov dword [ebp - 4], ecx
add esi, dword [edi + 4]
mov eax, dword [esi + 0x38]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xc]
mov ebx, eax
mov eax, dword [ebx + 0xc]
add eax, dword [edi]
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx + 4]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 4]
test byte [eax + 0x118], 1
mov dword [ebp - 0xc], ecx
mov dword [ebp + 8], ecx
jne 0x50de01
push ecx
push ecx
call fcn.0046977c
mov ecx, dword [ebp - 4]
push 0x30000
push 0
mov dword [ecx + 0x114], eax
call fcn.0046977c
mov eax, dword [ebp - 4]
add esp, 0x10
or dword [eax + 0x118], 1
xor edx, edx
cmp dword [esi + 0x3c], edx
je 0x50dedc
mov ecx, dword [edi]
mov eax, dword [ebx + 0x10]
add eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 0x14]
add eax, ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
add eax, ecx
cmp word [esi + 0x4e], dx
mov dword [ebp - 0x14], eax
mov dword [ebp + 8], edx
jbe 0x50dece
movzx ecx, word [ebp + 8]
shl ecx, 5
add ecx, dword [esi + 0x34]
cmp dword [ecx], edx
je 0x50debb
mov eax, dword [ecx + 4]
mov dword [ecx], eax
mov eax, dword [ecx + 0x10]
movzx edx, word [eax + 4]
sub edx, 0
je 0x50de96
dec edx
je 0x50de6f
dec edx
jne 0x50debb
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x10]
jmp 0x50de84
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
movzx eax, word [eax + 6]
shl eax, 5
add eax, dword [ebp - 0x14]
push dword [esi + 0x3c]
push edx
push eax
push dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0050d225
jmp 0x50debb
push 0xffffffffffffffff
lea edx, [ebp - 0xc]
push edx
movzx edx, word [eax + 8]
push eax
push dword [esi + 0x3c]
movzx eax, word [eax + 6]
push edx
mov edx, dword [ebp - 0x18]
lea eax, [edx + eax*8]
push eax
push dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
call fcn.0050d5be
inc dword [ebp + 8]
mov ax, word [ebp + 8]
xor edx, edx
cmp ax, word [esi + 0x4e]
jb 0x50de33
mov edi, dword [edi]
add edi, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov dword [ebp - 0xc], edi
mov dword [ebp + 8], eax
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push dword [ebp + 0xc]
push edx
push dword [ebp + 8]
push edx
push dword [ebp - 8]
push dword [ebp - 8]
push dword [ebp - 8]
push edx
push dword [ebp - 0xc]
push edx
push dword [esi + 0x44]
push dword [esi + 0x40]
call fcn.004ef639
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x51b114
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
mov dword [esi + 4], ecx
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
test ecx, ecx
mov dword [esi + 4], eax
jne 0x51b159
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x55b356
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebx + 0x24]
push esi
mov dword [ebp - 8], edx
push edi
mov ecx, dword [ebx + 0x64]
mov eax, dword [ebx + 0x34]
mov esi, dword [ebx + 0x6c]
sub eax, ecx
sub eax, esi
mov dword [ebp - 4], eax
jne 0x55b382
test ecx, ecx
jne 0x55b38c
test esi, esi
jne 0x55b38c
mov eax, edx
jmp 0x55b3fd
cmp eax, 0xffffffff
jne 0x55b38c
push 0xfffffffffffffffe
pop eax
jmp 0x55b3fd
mov esi, dword [ebx + 0x24]
lea esi, [edx + esi - 0x106]
cmp ecx, esi
jb 0x55b3fd
mov edi, dword [ebx + 0x30]
mov ecx, edx
mov eax, ecx
shr ecx, 2
lea esi, [edi + edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x44]
mov eax, dword [ebx + 0x3c]
sub dword [ebx + 0x68], edx
sub dword [ebx + 0x64], edx
sub dword [ebx + 0x54], edx
lea eax, [eax + ecx*2]
dec eax
dec eax
movzx esi, word [eax]
mov edi, esi
sub edi, edx
cmp esi, edx
sbb esi, esi
not esi
and esi, edi
dec ecx
mov word [eax], si
jne 0x55b3c2
mov eax, dword [ebx + 0x38]
mov esi, edx
lea eax, [eax + edx*2]
dec eax
dec eax
movzx ecx, word [eax]
mov edi, ecx
sub edi, edx
cmp ecx, edx
sbb ecx, ecx
not ecx
and ecx, edi
dec esi
mov word [eax], cx
jne 0x55b3e1
mov eax, dword [ebp - 4]
add eax, edx
mov esi, dword [ebx]
cmp dword [esi + 4], 0
mov dword [ebp - 0xc], esi
je 0x55b4aa
mov edi, dword [ebx + 0x6c]
add edi, dword [ebx + 0x64]
mov ecx, dword [esi + 4]
add edi, dword [ebx + 0x30]
cmp ecx, eax
mov dword [ebp - 4], ecx
jbe 0x55b422
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x55b42c
xor ecx, ecx
jmp 0x55b46b
sub ecx, dword [ebp - 4]
mov eax, dword [esi + 0x1c]
mov dword [esi + 4], ecx
cmp dword [eax + 0x18], 0
jne 0x55b44e
push dword [ebp - 4]
push dword [esi]
push dword [esi + 0x30]
call fcn.00567577
mov edx, dword [ebp - 8]
mov dword [esi + 0x30], eax
mov ecx, dword [ebp - 4]
mov esi, dword [esi]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, eax
mov eax, dword [ebp - 0xc]
add dword [eax], ecx
add dword [eax + 8], ecx
add dword [ebx + 0x6c], ecx
mov edi, dword [ebx + 0x6c]
cmp edi, 3
jb 0x55b496
mov eax, dword [ebx + 0x64]
mov ecx, dword [ebx + 0x30]
lea esi, [eax + ecx]
movzx eax, byte [esi]
mov ecx, dword [ebx + 0x50]
mov dword [ebx + 0x40], eax
shl eax, cl
movzx ecx, byte [esi + 1]
xor eax, ecx
and eax, dword [ebx + 0x4c]
mov dword [ebx + 0x40], eax
cmp edi, 0x106
jae 0x55b4aa
mov eax, dword [ebx]
cmp dword [eax + 4], 0
jne 0x55b364
pop edi
pop esi
leave
ret
Function at 0x56bc64
Capabilities:
Encode data using xor

Disassembly:
push edi
push esi
push ebp
push ebx
push esi
mov dword [esp], eax
test eax, eax
je 0x56bd11
mov esi, eax
mov edx, dword [esi]
xor eax, eax
mov byte [edx + 0x16], al
mov ecx, dword [esi]
mov byte [ecx + 0x17], al
mov ebx, dword [esi]
mov byte [ebx + 0x18], al
mov ebp, dword [esi]
mov byte [ebp + 0x19], al
mov ebp, dword [esi + 4]
test ebp, ebp
jle 0x56bcbb
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
xor ebx, ebx
movzx esi, byte [edx + ebx]
mov edi, ecx
shl edi, 8
shr ecx, 0x18
xor ecx, esi
mov eax, ecx
mov ecx, edi
xor ecx, dword [eax*4 + 0x591700]
inc ebx
cmp ebx, ebp
jl 0x56bc9b
jmp 0x56bcc1
mov eax, esi
mov edx, dword [eax]
xor ecx, ecx
mov eax, dword [esp]
mov edi, dword [eax + 0xc]
test edi, edi
jle 0x56bcef
mov ebp, dword [eax + 8]
xor esi, esi
movzx eax, byte [ebp + esi]
mov ebx, ecx
shl ebx, 8
shr ecx, 0x18
xor ecx, eax
mov eax, ecx
mov ecx, ebx
xor ecx, dword [eax*4 + 0x591700]
inc esi
cmp esi, edi
jl 0x56bcd0
mov esi, dword [esp]
mov byte [edx + 0x16], cl
mov ebp, dword [esi]
mov eax, ecx
shr eax, 8
mov byte [ebp + 0x17], al
mov ebx, dword [esi]
mov edx, ecx
shr edx, 0x10
mov byte [ebx + 0x18], dl
mov edi, dword [esi]
shr ecx, 0x18
mov byte [edi + 0x19], cl
pop ecx
pop ebx
pop ebp
pop esi
pop edi
ret

Function at 0x56ca00
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, ecx
mov dword [ebp - 8], edx
push esi
push edi
xor esi, esi
mov eax, dword [ebx + 0x3c]
mov eax, dword [eax + ebx + 0x78]
add eax, ebx
mov dword [ebp - 4], eax
mov edi, dword [eax + 0x20]
add edi, ebx
cmp dword [eax + 0x18], esi
jbe 0x56ca54
mov edx, dword [edi]
xor eax, eax
add edx, ebx
mov cl, byte [edx]
test cl, cl
je 0x56ca43
ror eax, 7
lea edx, [edx + 1]
movsx ecx, cl
add eax, ecx
mov cl, byte [edx]
test cl, cl
jne 0x56ca32
cmp eax, dword [ebp - 8]
je 0x56ca5d
mov eax, dword [ebp - 4]
inc esi
add edi, 4
cmp esi, dword [eax + 0x18]
jb 0x56ca26
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 4]
pop edi
mov eax, dword [edx + 0x24]
lea eax, [eax + esi*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
pop esi
lea eax, [eax + ecx*4]
mov eax, dword [eax + ebx]
add eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x56ca80
Capabilities:
Accept command line arguments
Access peb ldr_data
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56f750
push 0x462f20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x58
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
xor edx, edx
mov dl, ah
mov dword [0x7dee64], edx
mov ecx, eax
and ecx, 0xff
mov dword [0x7dee60], ecx
shl ecx, 8
add ecx, edx
mov dword [0x7dee5c], ecx
shr eax, 0x10
mov dword [0x7dee58], eax
push 1
call fcn.00461b18
pop ecx
test eax, eax
jne 0x461849
push 0x1c
call fcn.0046190b
pop ecx
call fcn.00465af6
test eax, eax
jne 0x46185a
push 0x10
call fcn.0046190b
pop ecx
xor esi, esi
mov dword [ebp - 4], esi
call fcn.0046556b
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x7e3194], eax
call fcn.00467646
mov dword [0x7deeb0], eax
call fcn.004673f9
call fcn.00467340
call fcn.0045faa5
mov dword [ebp - 0x30], esi
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.004672e8
mov dword [ebp - 0x64], eax
test byte [ebp - 0x30], 1
je 0x4618a9
movzx eax, word [ebp - 0x2c]
jmp 0x4618ac
push 0xa
pop eax
push eax
push dword [ebp - 0x64]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.00403920
mov dword [ebp - 0x60], eax
push eax
call fcn.0045fad2
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x68], ecx
push eax
push ecx
call fcn.00465c64
pop ecx
pop ecx
ret
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [eax + 0x18]
mov edx, 0x3a577b9
call fcn.0056ca00
sub esp, 0x10
mov ecx, esp
mov ecx, 0x7d84010d
xor ecx, 0x1aee653f
mov dword [esp], ecx
mov ecx, 0x30ea23eb
xor ecx, 0x1e8f4e8a
mov dword [esp + 4], ecx
mov ecx, 0x7cb179c9
xor ecx, 0x7cc501bd
mov dword [esp + 8], ecx
push esp
call eax
add esp, 0x10
cmp eax, 0xffffffff
jne 0x4617de
ret
Function at 0x401740
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x5422004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x104
lea eax, [ebp - 0x108]
mov dword [ebp - 0x114], edx
push 0
push eax
mov dword [ebp - 0x110], ecx
call fcn.0040a410
mov edx, 0x5422844
add esp, 0xc
mov esi, edx
nop
mov al, byte [edx]
inc edx
test al, al
jne 0x401780
lea edi, [ebp - 0x108]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x401790
mov ecx, edx
lea eax, [ebp - 0x108]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
push 0
push 0x80
push 3
push 0
push 1
mov ecx, edx
and ecx, 3
push 0x80000000
rep movsb byte es:[edi], byte [esi]
push eax
call dword [0x541a03c]
mov edi, eax
mov dword [ebp - 0x11c], edi
cmp edi, 0xffffffff
je 0x4018cd
push ebx
push 0
push edi
call dword [0x541a04c]
mov esi, eax
xor edx, edx
mov ecx, esi
add ecx, 1
setb dl
neg edx
or edx, ecx
push edx
call fcn.0040b4a2
mov ebx, eax
add esp, 4
mov dword [ebp - 0x118], ebx
test ebx, ebx
je 0x4018cc
inc esi
push esi
push 0
push ebx
call fcn.0040a410
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea eax, [ebp - 0x10c]
push 0
push eax
push esi
push ebx
push edi
call dword [0x541a0d8]
cmp dword [ebx], 0
mov esi, ebx
mov edi, ebx
je 0x4018b7
nop dword [eax + eax]
add edi, 0x208
cmp dword [edi], 0
jne 0x401840
nop dword [eax + eax]
xor eax, eax
xor byte [eax + esi + 8], al
lea ecx, [eax + esi]
inc eax
cmp eax, 0x200
jb 0x401852
lea ebx, [esi + 8]
push ebx
push 0x541fac0
call fcn.0040dcbf
add esp, 8
test eax, eax
jne 0x4018a6
push dword [esi]
call fcn.004081ee
mov ecx, dword [ebp - 0x110]
mov dword [ecx], eax
mov ecx, dword [ebx - 4]
push dword [esi]
add ecx, 0x208
add ecx, edi
push ecx
push eax
call fcn.00418680
mov ecx, dword [ebp - 0x114]
add esp, 0x10
mov eax, dword [esi]
mov dword [ecx], eax
add esi, 0x208
cmp dword [esi], 0
jne 0x401850
mov ebx, dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [0x541a048]
push ebx
call fcn.0040b49d
add esp, 4
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004080b5
mov esp, ebp
pop ebp
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 0x401000
Capabilities:
Terminate process

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

Function at 0x40444b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x42a004]
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.00401e3b
and dword [ebp - 0x14], 0
cmp dword [0x42c9e8], 0
mov dword [ebp - 0x18], eax
jne 0x4044fe
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4045a6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4045a6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x42c9e8], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x42c9ec], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x42c9f0], eax
call edi
push eax
call esi
mov dword [0x42c9f8], eax
test eax, eax
je 0x4044fe
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x42c9f4], eax
mov eax, dword [0x42c9f4]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x404557
cmp dword [0x42c9f8], ecx
je 0x404557
push eax
call esi
push dword [0x42c9f8]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x404557
test ebx, ebx
je 0x404557
call edi
test eax, eax
je 0x40454e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40454e
test byte [ebp - 8], 1
jne 0x404557
or dword [ebp + 0x10], 0x200000
jmp 0x40458a
mov eax, dword [0x42c9ec]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40458a
mov eax, dword [0x42c9f0]
cmp eax, dword [ebp - 0x18]
je 0x40458a
push eax
call esi
test eax, eax
je 0x40458a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x42c9e8]
call esi
test eax, eax
je 0x4045a6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4045a8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401000
leave
ret
Function at 0x276d948
Capabilities:
Encode data using xor

Disassembly:
jmp 0x276d952
pushal
call 0x276d958
pop ebp
sub ebp, 0x10
sub ebp, 0x236d948
jmp 0x276d96e
mov eax, 0x236d948
add eax, ebp
add eax, 0x4c
mov ecx, 0x58c
mov edx, 0x59f53242
xor byte [eax], dl
inc eax
dec ecx
jne 0x276d985
jmp 0x276d998
leave
invalid
Function at 0x78b51c5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx + 8]
mov ecx, dword [ecx + 0xc]
push edi
mov edi, dword [ebp + 8]
sub ecx, eax
cmp ecx, edi
jb 0x78b58086
mov esi, dword [esi + 0xc]
add dword [esi + 8], edi
pop edi
pop esi
pop ebp
ret 4
mov byte [ebp - 8], 0x2f
mov byte [ebp - 0x24], 0x34
and byte [ebp - 0x36c], 0
and byte [ebp - 0x36b], 0
mov byte [ebp - 0x36a], 0xaa
and byte [ebp - 0x369], 0
mov byte [ebp - 0x368], 0x12
mov byte [ebp - 0x367], 0x30
mov byte [ebp - 0x366], 0x21
mov byte [ebp - 0x365], 6
mov byte [ebp - 0x364], 0x2c
mov byte [ebp - 0x363], 0x26
mov byte [ebp - 0x362], 0x21
mov byte [ebp - 0x361], 0x30
mov byte [ebp - 0x360], 0x38
mov byte [ebp - 0x35f], 0x11
mov byte [ebp - 0x35e], 0x3c
mov byte [ebp - 0x35d], 0x27
mov byte [ebp - 0x35c], 0x30
mov byte [ebp - 0x35b], 0x36
mov byte [ebp - 0x35a], 0x21
mov byte [ebp - 0x359], 0x3a
mov byte [ebp - 0x358], 0x27
mov byte [ebp - 0x357], 0x2c
mov byte [ebp - 0x356], 0x14
mov byte [ebp - 0x355], 0x55
lea eax, [ebp - 0x36c]
push eax
call fcn.78b57175
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.78b5712a
add esp, 0xc
mov dword [ebp - 0x3d4], eax
call fcn.78b57165
ret
Function at 0x78b53088
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push ebx
push esi
push edi
mov esi, ecx
jne 0x78b5799f
xor eax, eax
lea ebx, [esi + 0x18]
push eax
mov ecx, ebx
call fcn.78b53b31
and dword [esi + 0x1364], 0
mov ecx, ebx
call dword [ebx + 0x60]
mov eax, dword [ebx + 0x28]
push 7
pop edi
cmp eax, edi
je 0x78b530e7
jle 0x78b530e0
cmp eax, 9
jle 0x78b579ec
push 0xa
pop edi
cmp eax, edi
je 0x78b579c7
push 0xb
pop edi
cmp eax, edi
je 0x78b579aa
pop edi
pop esi
pop ebx
pop ebp
ret 4
lea ecx, [esi + 0x1358]
call fcn.78b512df
mov dword [eax], edi
add eax, 4
push eax
mov ecx, esi
call fcn.78b51cc9
mov ecx, ebx
call fcn.78b5310c
test al, al
je 0x78b530b0
jmp 0x78b530e0
invalid
test dword [ebx + 0x75fffffc], esi
mov byte [ebp - 0x34c], 0x57
mov byte [ebp - 0x34b], 0x4a
mov byte [ebp - 0x34a], 0x46
mov byte [ebp - 0x349], 0x40
mov byte [ebp - 0x348], 0x56
mov byte [ebp - 0x347], 0x56
mov byte [ebp - 0x346], 0x6d
mov byte [ebp - 0x345], 0x40
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.78b57175
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.78b5712a
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
mov dword [ebp - 0x384], 4
and byte [ebp - 0x334], 0
mov bh, 0xfc
invalid
invalid
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x333]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [ebp - 0x670], 4
and byte [ebp - 0x3c4], 0
and byte [ebp - 0x3c3], 0
mov byte [ebp - 0x3c2], 0x99
and byte [ebp - 0x3c1], 0
mov byte [ebp - 0x3c0], 0x21
mov byte [ebp - 0x3bf], 3
mov byte [ebp - 0x3be], 0x12
mov byte [ebp - 0x3bd], 0x2b
mov byte [ebp - 0x3bc], 9
mov byte [ebp - 0x3bb], 2
mov byte [ebp - 0x3ba], 0x13
mov byte [ebp - 0x3b9], 0xa

Function at 0x78b53a14
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ecx + 0xc]
push esi
mov esi, dword [ebp + 8]
lea edx, [eax + esi]
cmp edx, esi
pop esi
jb 0x78b57a32
push edx
call fcn.78b539ff
pop ebp
ret 4
add byte [eax], al
add byte [eax - 0x3335b], al
inc dword [eax]

Function at 0x78b54818
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
add esi, 0x10
test edi, edi
jne 0x78b58072
push dword [ecx + 4]
push esi
call fcn.78b52914
and dword [eax + 4], 0
lea ecx, [eax + 0x10]
mov dword [eax], edi
mov dword [eax + 8], ecx
lea ecx, [eax + esi]
pop edi
mov dword [eax + 0xc], ecx
pop esi
pop ebp
ret 8
xor eax, eax
lea edi, [ebp - 0x503]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
call fcn.78b57143
or byte [eax + 0x2ff845c6], ah