joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5bc1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x10f000]
push edi
or ebp, 0xffffffff
jmp 0x5bc202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5bc209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc1f8
mov eax, 1
add ebx, ebx
jne 0x5bc21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5bc22c
jne 0x5bc24b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc24b
dec eax
add ebx, ebx
jne 0x5bc238
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5bc210
add ebx, ebx
jne 0x5bc247
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5bc29d
xor ecx, ecx
sub eax, 3
jb 0x5bc263
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5bc2d2
sar eax, 1
mov ebp, eax
jmp 0x5bc26e
add ebx, ebx
jne 0x5bc26e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc23c
inc ecx
add ebx, ebx
jne 0x5bc27c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5bc23c
add ebx, ebx
jne 0x5bc289
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5bc27e
jne 0x5bc29a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5bc27e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5bc2bc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5bc2ae
jmp 0x5bc1fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5bc2bc
add edi, ecx
jmp 0x5bc1fe
pop esi
mov edi, esi
mov ecx, 0x459a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5bc2da
cmp byte [edi], 0x13
jne 0x5bc2da
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 0x5bc2df
lea edi, [esi + 0x1b9000]
mov eax, dword [edi]
or eax, eax
je 0x5bc357
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1bc218]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1bc358]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5bc30c
mov ecx, edi
jns 0x5bc33b
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 + 0x1bc35c]
or eax, eax
je 0x5bc351
mov dword [ebx], eax
add ebx, 4
jmp 0x5bc329
call dword [esi + 0x1bc36c]
mov ebp, dword [esi + 0x1bc360]
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 0x5bc38b
sub esp, 0xffffff80
jmp 0x497845
Function at 0x450340
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x33000]
push edi
or ebp, 0xffffffff
jmp 0x450362
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x450369
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x450358
mov eax, 1
add ebx, ebx
jne 0x45037b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x45038c
jne 0x4503ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4503ab
dec eax
add ebx, ebx
jne 0x450398
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x450370
add ebx, ebx
jne 0x4503a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4503fd
xor ecx, ecx
sub eax, 3
jb 0x4503c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x450432
sar eax, 1
mov ebp, eax
jmp 0x4503ce
add ebx, ebx
jne 0x4503ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45039c
inc ecx
add ebx, ebx
jne 0x4503dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x45039c
add ebx, ebx
jne 0x4503e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4503de
jne 0x4503fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4503de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x45041c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x45040e
jmp 0x45035e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x45041c
add edi, ecx
jmp 0x45035e
pop esi
mov edi, esi
mov ecx, 0x15ee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x45043a
cmp byte [edi], 0xe
jne 0x45043a
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 0x45043f
lea edi, [esi + 0x4d000]
mov eax, dword [edi]
or eax, eax
je 0x4504b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x56514]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5662c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x45046c
mov ecx, edi
jns 0x45049b
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 + 0x56630]
or eax, eax
je 0x4504b1
mov dword [ebx], eax
add ebx, 4
jmp 0x450489
call dword [esi + 0x56638]
mov ebp, dword [esi + 0x56634]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x4504eb
sub esp, 0xffffff80
jmp 0x414f0d
Function at 0x40143f
Capabilities:
Allocate or change rwx memory
Enumerate pe sections
Execute shellcode via indirect call
Get file size
Read file on windows
Resolve function by parsing pe exports

Disassembly:
push ebp
push esp
pop ebp
sub esp, 0x828
push ebx
push esi
push edi
sub eax, eax
mov word [ebp - reloc.shlwapi.dll_PathFindFileNameA], ax
push 0x400
xor edi, edi
lea eax, [ebp - 0x828]
push eax
push edi
pop ebx
push edi
pop esi
push edi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x828]
push edi
push 0x8000000
push 3
push edi
push 1
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
pop edi
cmp edi, 0xffffffff
je 0x4014e0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push eax
pop ebx
mov ecx, ebx
mov dword [ebp - 0x14], eax
call fcn.00401720
push eax
pop esi
push 0
lea eax, [ebp - 0x20]
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4014c8
cmp dword [ebp - 0x20], ebx
je 0x4014d9
push esi
pop ecx
call fcn.00401790
xor esi, esi
sub ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push ecx
mov ecx, esi
jmp section..htext

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

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
nop
push 4
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
je 0x430072
nop
nop
nop
nop
mov ebx, 0x408ecc
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x7111064a
nop
nop
nop
xor dword [eax], esi
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
cmp eax, 0
nop
nop
nop
nop
je 0x4300d2
nop
nop
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x276b6809
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x4300c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x401219
Function at 0x10024890
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x100248ce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x100248c6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x100248d0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x100248b6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100249a0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x100249d1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x100249d1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x100249d1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x10030465
Capabilities:
Encode data using xor

Disassembly:
call 0x100303de
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x1003040e
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x1003042a
xor edx, 0
jmp 0x10030435
xor edx, edx
jmp 0x1003044c
jmp 0x10030458
xor eax, eax
push 0x8427d7c0
call 0x10030465
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x100304a1
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x1003047a
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x100304b8
add eax, 0
jno 0x100304bd
add esi, 0
ret 0x10
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47a004]
jne 0x401010
repz ret
jmp fcn.0040147f

Function at 0x4077ce
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.00404b1e
and dword [ebp - 4], 0
cmp dword [0x47c244], 0
mov ebx, eax
jne 0x40787f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x407930
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x407930
push eax
call fcn.00404aac
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x47c244], eax
call esi
push eax
call fcn.00404aac
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x47c248], eax
call esi
push eax
call fcn.00404aac
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x47c24c], eax
call esi
push eax
call fcn.00404aac
pop ecx
mov dword [0x47c254], eax
test eax, eax
je 0x40787f
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404aac
pop ecx
mov dword [0x47c250], eax
mov eax, dword [0x47c250]
cmp eax, ebx
je 0x4078d7
cmp dword [0x47c254], ebx
je 0x4078d7
push eax
call fcn.00404b27
push dword [0x47c254]
mov esi, eax
call fcn.00404b27
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4078d7
test edi, edi
je 0x4078d7
call esi
test eax, eax
je 0x4078ce
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4078ce
test byte [ebp - 0xc], 1
jne 0x4078d7
or dword [ebp + 0x10], 0x200000
jmp 0x407910
mov eax, dword [0x47c248]
cmp eax, ebx
je 0x407910
push eax
call fcn.00404b27
pop ecx
test eax, eax
je 0x407910
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x407910
mov eax, dword [0x47c24c]
cmp eax, ebx
je 0x407910
push eax
call fcn.00404b27
pop ecx
test eax, eax
je 0x407910
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x47c244]
call fcn.00404b27
pop ecx
test eax, eax
je 0x407930
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x407932
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x60908c70
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
push esi
push ebx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x118], 0x200
xor esi, esi
lea ebx, [ebp - 0x110]
push ebx
push 0x104
push eax
push edx
call sym._winFullPathname
add esp, 0x10
test eax, eax
jne 0x60908d6f
add esp, 0xfffffff4
push ebx
call sym._convertUtf8Filename
mov ebx, eax
add esp, 0x10
test ebx, ebx
je 0x60908d61
call sym._isNT
test eax, eax
je 0x60908d18
mov edx, ebx
movzx eax, word [ebx]
test ax, ax
je 0x60908cfa
cmp ax, 0x5c
jne 0x60908ce4
mov word [ebx], 0
jmp 0x60908cfa
add edx, 2
movzx eax, word [edx]
test ax, ax
je 0x60908cfa
cmp ax, 0x5c
jne 0x60908ce4
mov word [edx], 0
add esp, 0xfffffff4
lea edx, [ebp - 0x114]
push edx
push edx
lea eax, [ebp - 0x118]
push eax
push edx
push ebx
call sub.KERNEL32.dll_GetDiskFreeSpaceW
jmp 0x60908d53
mov edx, ebx
mov al, byte [ebx]
test al, al
je 0x60908d3a
cmp al, 0x5c
jne 0x60908d2c
mov byte [ebx], 0
jmp 0x60908d3a
inc edx
mov al, byte [edx]
test al, al
je 0x60908d3a
cmp al, 0x5c
jne 0x60908d2c
mov byte [edx], 0
add esp, 0xfffffff4
lea edx, [ebp - 0x114]
push edx
push edx
lea eax, [ebp - 0x118]
push eax
push edx
push ebx
call sub.KERNEL32.dll_GetDiskFreeSpaceA
mov esi, eax
add esp, 0xc
add esp, 0xfffffff4
push ebx
call sym._free
test esi, esi
jne 0x60908d6f
mov dword [ebp - 0x118], 0x200
mov eax, dword [ebp - 0x118]
lea esp, [ebp - 0x138]
pop ebx
pop esi
leave
ret

Function at 0x6090b654
Capabilities:
Inspect section memory permissions

Disassembly:
add byte [eax], dh
add byte [eax], al
jne 0x6090b66d
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x6090b675
cmp edx, ebx
jne 0x6090b7c3
mov ecx, dword [eax + 4]
Function at 0x6090b678
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x6090b688
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x6090b683
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x6090b644
add eax, dword [eax + 4]
jmp 0x6090b631
mov dword [ebp + 0xc], ebx
jmp 0x6090b693
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6090b6ab
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6090b6c9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6090b727
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6090b70e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6090b717
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6090b721
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6090b703
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6090b68d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x6090b774
dec eax
je 0x6090b76b
sub eax, 3
je 0x6090b762
mov dword [ebp - 4], 0x40
jmp 0x6090b791
mov dword [ebp - 4], 4
jmp 0x6090b777
mov dword [ebp - 4], 0x20
jmp 0x6090b777
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x6090b7c3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6090b743
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.6090afd4
jmp 0x5fad8743
Function at 0x6090b6b4
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x6090b688
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x6090b683
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
add byte [eax], dh
add byte [eax], al
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x6090b644
add eax, dword [eax + 4]
jmp 0x6090b631
mov dword [ebp + 0xc], ebx
jmp 0x6090b693
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x6090b6ab
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x6090b6c9
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
add al, 1
add byte [eax], al
mov edx, dword [edi + eax*8 + 0x108]
lea eax, [edi + eax*8 + 0xf8]
mov edi, dword [eax + 0x24]
lea eax, [edx + ecx - 1]
xor edx, edx
div dword [ebp - 0xac]
xor edx, edx
mov dword [ebp - 0x44], eax
mov eax, ecx
div dword [ebp - 0xac]
cmp eax, dword [ebp - 0x44]
ja 0x6090b727
mov edx, edi
mov dword [ebp + 8], edi
and dword [ebp + 8], 0x40000000
mov dword [ebp + 0x10], edi
and edx, 0x20000000
and dword [ebp + 0x10], 0x80000000
mov ecx, dword [ebp + 0x18]
cmp edx, ebx
je 0x6090b70e
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x6090b717
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x6090b721
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x6090b703
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x6090b68d
mov dword [ebp + 8], esi
xor edi, edi
mov eax, dword [ebp + 0x18]
push 2
pop ecx
movzx eax, byte [edi + eax]
sub eax, ecx
je 0x6090b774
dec eax
je 0x6090b76b
sub eax, 3
je 0x6090b762
mov dword [ebp - 4], 0x40
jmp 0x6090b791
mov dword [ebp - 4], 4
jmp 0x6090b777
mov dword [ebp - 4], 0x20
jmp 0x6090b777
mov dword [ebp - 4], ecx
lea eax, [ebp - 4]
push eax
push dword [ebp - 4]
push dword [ebp - 0xac]
push dword [ebp + 8]
call dword [ebp - 0xbc]
test eax, eax
je 0x6090b7c3
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x6090b743
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.6090afd4
jmp 0x5fad8743

Function at 0x6090b844
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, 0x56fffffc
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
invalid
invalid
lodsb al, byte [esi]
cld
Function at 0x60958b08
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
test edx, edx
jg 0x60958b30
mov edi, esi
mov al, 0
cld
mov ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
lea edx, [ecx - 1]
test edx, edx
jle 0x60958b42
nop
mov eax, ebx
shl eax, 3
xor ebx, eax
movsx eax, byte [esi]
xor ebx, eax
inc esi
dec edx
test edx, edx
jg 0x60958b30
and ebx, 0x7fffffff
mov eax, ebx
pop ebx
pop esi
pop edi
leave
ret
Function at 0x4fcda3
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x558868]
jne 0x4fcdad
repz ret
jmp fcn.00505eab

Function at 0x5078ff
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.004fad96
and dword [ebp - 4], 0
cmp dword [0x55a98c], 0
mov ebx, eax
jne 0x5079b0
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x507a61
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x507a61
push eax
call fcn.004fad24
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x55a98c], eax
call esi
push eax
call fcn.004fad24
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x55a990], eax
call esi
push eax
call fcn.004fad24
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x55a994], eax
call esi
push eax
call fcn.004fad24
pop ecx
mov dword [0x55a99c], eax
test eax, eax
je 0x5079b0
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004fad24
pop ecx
mov dword [0x55a998], eax
mov eax, dword [0x55a998]
cmp eax, ebx
je 0x507a08
cmp dword [0x55a99c], ebx
je 0x507a08
push eax
call fcn.004fad9f
push dword [0x55a99c]
mov esi, eax
call fcn.004fad9f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x507a08
test edi, edi
je 0x507a08
call esi
test eax, eax
je 0x5079ff
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x5079ff
test byte [ebp - 0xc], 1
jne 0x507a08
or dword [ebp + 0x10], 0x200000
jmp 0x507a41
mov eax, dword [0x55a990]
cmp eax, ebx
je 0x507a41
push eax
call fcn.004fad9f
pop ecx
test eax, eax
je 0x507a41
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x507a41
mov eax, dword [0x55a994]
cmp eax, ebx
je 0x507a41
push eax
call fcn.004fad9f
pop ecx
test eax, eax
je 0x507a41
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x55a98c]
call fcn.004fad9f
pop ecx
test eax, eax
je 0x507a61
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x507a63
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x50a820
Capabilities:
Encrypt data using rc4 ksa

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
xor esi, esi
mov dword [0x557ccc], 0
mov byte [0x557cd0], 0
mov dword [0x557cc0], 0xde7
mov dword [0x557cc4], 0x22fd
mov dword [0x557cc8], 0
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], esi
jmp 0x50a887
mov dword [0x557cc0], 0xbd0
mov dword [0x557cc8], 0
jmp 0x50a8af
mov eax, dword [ebp - 0x1c]
mov ecx, eax
mov dl, cl
mov ecx, dword [ebp - 0x18]
mov byte [ecx + eax], dl
mov eax, dword [0x557cc8]
add eax, 1
mov dword [0x557cc8], eax
cmp eax, 0x100
mov dword [ebp - 0x1c], eax
jl 0x50a887
jmp 0x50a871
mov eax, 0x100
mov dword [0x557cd4], 0
mov dword [0x557cc4], 0x1bb5
mov ecx, dword [0x557ccc]
mov edx, dword [0x557cc8]
mov esi, dword [ebp - 0x18]
movzx edi, byte [esi + edx]
add edi, ecx
mov dword [ebp - 0x20], eax
mov eax, edx
xor edx, edx
mov ecx, dword [ebp - 0x10]
div ecx
mov ebx, dword [ebp - 0x14]
movzx edx, byte [ebx + edx]
add edi, edx
mov dword [0x557cd4], edi
mov dword [0x557cc4], 0x938
mov eax, edi
cdq
mov edi, dword [ebp - 0x20]
idiv edi
mov dword [0x557ccc], edx
mov ecx, dword [0x557cc8]
mov bl, byte [esi + ecx]
mov byte [0x557cd0], bl
mov bl, byte [esi + edx]
mov byte [esi + ecx], bl
mov bl, byte [0x557cd0]
mov ecx, dword [0x557ccc]
mov byte [esi + ecx], bl
mov dword [0x557cc4], 0x42e
mov dword [0x557cc0], 0x178b
mov ecx, dword [0x557cc8]
add ecx, 1
mov dword [0x557cc8], ecx
cmp ecx, 0x100
jl 0x50a8af
mov dword [0x557cc0], 0xa6
mov dword [0x557cc4], 0x1ca3
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret