joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10064670
Capabilities:
Inspect section memory permissions

Disassembly:
cmp dword [eax], ebx
je 0x10064672
mov edx, dword [eax + 4]
lea ecx, [eax + 8]
add edx, eax
mov dword [ebp + 8], ecx
cmp ecx, edx
jae 0x1006466d
mov ecx, dword [ebp + 8]
movzx ecx, word [ecx]
mov edx, ecx
and edx, 0xf000
cmp edx, 0x3000
jne 0x10064657
and ecx, 0xfff
mov edx, esi
sub edx, dword [edi + 0x34]
add ecx, esi
add ecx, dword [eax]
add dword [ecx], edx
jmp 0x1006465f
cmp edx, ebx
jne 0x100647ad
mov ecx, dword [eax + 4]
add dword [ebp + 8], 2
add ecx, eax
cmp dword [ebp + 8], ecx
jb 0x1006462e
add eax, dword [eax + 4]
jmp 0x1006461b
mov dword [ebp + 0xc], ebx
jmp 0x1006467d
mov edi, dword [ebp - 0x88]
mov eax, dword [ebp + 0xc]
cmp ax, word [edi + 6]
jne 0x10064695
mov edx, dword [ebp - 0xb4]
xor ecx, ecx
mov edi, 0x60000000
jmp 0x100646b3
movzx eax, ax
lea eax, [eax + eax*4]
mov ecx, dword [edi + eax*8 + 0x104]
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 0x10064711
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 0x100646f8
or byte [eax + ecx], 1
cmp dword [ebp + 8], ebx
je 0x10064701
or byte [eax + ecx], 2
cmp dword [ebp + 0x10], ebx
je 0x1006470b
add ecx, eax
or byte [ecx], 4
inc eax
cmp eax, dword [ebp - 0x44]
jbe 0x100646ed
inc dword [ebp + 0xc]
mov eax, dword [ebp - 0x88]
mov cx, word [ebp + 0xc]
cmp cx, word [eax + 6]
jbe 0x10064677
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 0x1006475e
dec eax
je 0x10064755
sub eax, 3
je 0x1006474c
mov dword [ebp - 4], 0x40
jmp 0x1006477b
mov dword [ebp - 4], 4
jmp 0x10064761
mov dword [ebp - 4], 0x20
jmp 0x10064761
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 0x100647ad
mov eax, dword [ebp - 0xac]
add dword [ebp + 8], eax
inc edi
cmp edi, dword [ebp - 0x8c]
jbe 0x1006472d
mov eax, dword [ebp - 0x88]
mov edi, dword [eax + 0x28]
add edi, esi
call fcn.10063fbe
pop ss
mov byte [0xff29], al
jne 0x100647b8
push 1
push esi
call edi
mov eax, esi
jmp 0x100647b9
push 0x8000
push ebx
push esi
call dword [ebp - 8]
xor eax, eax
rcr byte [edi + 0x5e], 0x5b
pop edi
pop esi
pop ebx
leave
ret

Function at 0x100670d0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 0x21c8], 0
je 0x100670e2
pop ebp
jmp fcn.100670f0
pop ebp
jmp fcn.10066680
Function at 0x409850
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1004
call fcn.00409d90
mov eax, dword [0x413ec0]
push ebx
mov ebx, dword [esp + 0x100c]
push ebp
xor ebp, ebp
push esi
cmp ebx, eax
push edi
jae 0x4099b2
mov eax, ebx
mov ecx, ebx
sar eax, 5
and ecx, 0x1f
mov edx, dword [eax*4 + 0x413dc0]
test byte [edx + ecx*8 + 4], 1
je 0x4099b2
push 1
push ebp
push ebx
call fcn.00408780
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
je 0x4099bc
push 2
push ebp
push ebx
call fcn.00408780
add esp, 0xc
cmp eax, 0xffffffff
je 0x4099bc
mov ecx, dword [esp + 0x101c]
mov esi, ecx
sub esi, eax
test esi, esi
jle 0x409958
mov ecx, 0x400
xor eax, eax
lea edi, [esp + 0x14]
push 0x8000
rep stosd dword es:[edi], eax
push ebx
call fcn.00409d10
add esp, 8
mov edi, eax
cmp esi, 0x1000
mov eax, 0x1000
jge 0x4098ff
mov eax, esi
push eax
lea eax, [esp + 0x18]
push eax
push ebx
call fcn.00406e80
add esp, 0xc
cmp eax, 0xffffffff
je 0x40991b
sub esi, eax
test esi, esi
jle 0x409931
jmp 0x4098f0
cmp dword [0x412ac4], 5
jne 0x40992e
mov dword [0x412ac0], 0xd
or ebp, 0xffffffff
push edi
push ebx
call fcn.00409d10
mov edi, dword [esp + 0x18]
add esp, 8
push 0
push edi
push ebx
call fcn.00408780
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
jge 0x409999
push 0
push ecx
push ebx
call fcn.00408780
add esp, 0xc
push ebx
call fcn.00408da0
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov ebp, eax
neg ebp
sbb ebp, ebp
neg ebp
dec ebp
cmp ebp, 0xffffffff
jne 0x409999
mov dword [0x412ac0], 0xd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x412ac4], eax
push 0
push edi
push ebx
call fcn.00408780
add esp, 0xc
mov eax, ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1004
ret
mov dword [0x412ac0], 9
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x1004
ret

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

Disassembly:
pushal
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x56f51f
Capabilities:
Encode data using xor

Disassembly:
dec ecx
add ecx, ecx
mov es, word [0xb3104832]
into
xor cl, byte [eax + 0x10]
mov bl, 0xce
jg 0x56f42b
pop edx
retf
or ah, byte [ebx - 0x46]
out dx, eax
xor byte [ebx + 0x24], bl
jle 0x56f4b7
salc
dec edx
mov esp, 0x46ff2d1b
mov esp, 0xb85e0e39
test byte [eax - 0x76], ah
mov dl, 0x72
pop ds
dec edi
test eax, 0x4c82ccca
adc cl, dh
push 0xdad4b751
xchg edx, eax
mov dword [0xa83655be], eax
out dx, eax
xor byte [edi - 0x78], al
aam 0xe8
in al, dx
dec esp
iretd
scasb al, byte es:[edi]
daa
invalid
inc edx
adc dh, ah
xchg edi, eax
sbb esp, esp
aam 0x3b
loopne 0x56f43e
fdivr qword [edx]
push es
fidivr word [ebp - 0x18]
jg 0x56f430
mov ah, 0x30
add byte [ebx + esi*8 - 0x40c0a3c8], dh
jbe 0x56f4bf
cdq
jp 0x56f4cf
jns 0x56f4fc
inc esp
fidivr word [eax - 0x43979792]
test ecx, eax
inc esi
jbe 0x56f4b8
rol dword [esi + 0x76], 0xf5
push es
invalid
xchg edi, eax
dec ebp
cmp ecx, dword [eax]
in al, 0xd
fistp dword [eax]
fbstp tbyte [edx + eax*4]
xor al, 0x34
lodsb al, byte [esi]
in eax, dx
mov ebp, 0x2216385b
aad 0xce
outsd dx, dword [esi]
or eax, 0xac7e665a
sbb byte [edx + 0x3e], bh
mov ecx, 0x6c5044bf
pop esp
mov byte [esp - 0x7287eb76], dh
jnp 0x56f47f
adc dword [eax - 0x73], 0x35fcf59c
inc ebx
jno 0x56f496
push eax
lea ebx, [ebp + esi*8 + 0x714335fc]
invalid
xor dword [eax - 0x4b], ebp
les ebp, [ecx]
sbb byte [ecx - 0x48], al
adc dword [ecx], ecx
push ds
jns 0x56f507
invalid
lea eax, [edi*2 + 0x4209c7c2]
rcr ah, cl
das
lahf
push ebp
inc bp
shr ah, cl
mov ebp, esp
stc
call fcn.0068a8a9
salc
sal byte [eax + 0x57], 1
sbb eax, 0xdd475eed
fstp qword [edx]
cmpsb byte [esi], byte es:[edi]
adc eax, ebp
cmp eax, 0xe44676b9
out dx, al
sti
in eax, 0x82
shl cl, cl
sti
jmp 0x56f4fd
Function at 0x60a8eb
Capabilities:
Encode data using xor

Disassembly:
movsd dword es:[edi], dword [esi]
sbb eax, 0xbad99321
sub byte [ecx - 0x26e481c9], bl
invalid
pushfd
call fcn.005706c6
inc eax
js 0x60a962
test dword [eax - 0x25], eax
pop esi
movsb byte es:[edi], byte [esi]
pushfd
push eax
scasb al, byte es:[edi]
inc eax
cdq
aas
mov byte [eax - 0x52], ch
xor byte [ecx - 0x63dc40c9], ch
sub dh, dh
add al, 0x92
sbb cl, bh
mov edi, 0xd7f56cc8
salc
push edx
or dword [esi + 0x71], ecx
push edi
mov edx, 0x9bcbd65e
xor eax, 0xc5c982cd
enter 0xffffffffffff9624, 0xffffffffffffff86
push esi
sbb eax, dword [ebx + 0x6e]
inc eax
in al, 0xca
in eax, 0x52
jb 0x60a8b8
imul edx, dword [ebp + 0x77], 0x76b4c2fd
adc eax, 0x47a8a7ad
add al, 0xc8
hlt
add eax, 0xbc28f0db
push ds
jns 0x60a9cb
invalid
shl dl, 1
fldenv [edx]
ja 0x60a9f8
shl dword [edx - 0x4b5253bc], 0xd7
sub dl, byte cs:[esi]
sahf
sub al, 0x66
mov esi, 0x2bc2a124
sub dword [edx + 0x78], ecx
jl 0x60aa28
push 0xb3135361
or ebp, dword [edi + 0x7c1e4860]
jne 0x60aa68
invalid
sbb al, 0x25
mov edi, 0xba477450
or ebp, dword [esp + eax*2 + 0x7b]
test eax, 0x625aa145
outsb dx, byte [esi]
push ebx
sbb byte [0x5b09e593], ah
or dword [edi - 0x1167dc48], edi
or al, 0x65
push 2
pop ebx
mov dl, 0xeb
or dword [0x3ae17687], esi
xchg edi, eax
stosd dword es:[edi], eax
sub dword [ebx], ecx
mov ah, 0x80
sub dword [ebx], esi
sub byte [ecx], 0x33
push eax
dec esi
mov ebp, 0x8fb35353
pop ecx
in eax, 0x82
xor byte [esi + 0x33afc050], ch
jb 0x60aaa8
retf 0x7277
mov eax, dword [0xed2d7c17]
xchg esp, eax
iretd
ja 0x60aaec
fistp dword [esi + 0x56]
xor dword [0xae289a22], ebx
and eax, dword [ecx]
push ds
shr byte [eax], cl
ret 0x7e48
mov al, byte [0xfcfaf7c0]
cmp al, 6
cmp byte [eax + 4], ch
sahf
cmc
push esi
push 0xffffffffffffff82
out 0xeb, al
xchg edx, eax
or dword [edi], edi
insb byte es:[edi], dx
jnp 0x44232bb9
adc al, 0xac
adc dword [edi - 0x7cd38862], edx
add edi, 0x72
lock xchg byte [ebx - 0x30], ah
ret 0xff8c
Function at 0x402a10
Capabilities:
Delete registry key
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 8
cmp dword [0x4131a0], 0
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push esi
push edi
je 0x402923
push 0xea60
call ebp
xor eax, eax
mov dword [esp + 0x14], 0
call fcn.00401420
call fcn.00402340
test al, al
jne 0x402991
xor esi, esi
lea ecx, [ecx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x14
div ecx
add edx, 0xf
imul edx, edx, 0x3e8
push edx
call ebp
call fcn.00402340
cmp al, 1
je 0x402991
inc esi
cmp esi, 3
jl 0x402940
mov eax, dword [0x4147a0]
inc eax
mov dword [0x4147a0], eax
call fcn.00401420
test al, al
jne 0x402932
push 0x36ee80
mov dword [0x4147a0], 0
call ebp
jmp 0x402932
lea ebx, [esp + 0x14]
call fcn.00401b80
mov edi, eax
test edi, edi
jne 0x4029b1
mov edx, dword [str.___x9:7__9_3x59_]
mov eax, dword [edx + 0x19c]
push eax
call ebp
jmp 0x402932
mov eax, dword [edi]
dec eax
lea esi, [edi + 0x18]
cmp eax, 7
ja case.default.0x4029c0
jmp dword [eax*4 + 0x402a84]
mov ecx, esi
call fcn.004020f0
jmp 0x402a6f
call fcn.00401dd0
jmp 0x402a6f
call fcn.004024f0
jmp 0x402a6f
push 0
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
jmp 0x402a6f
mov esi, dword [esi]
lea ecx, [esi - 0x3e9]
cmp ecx, 0x83d216
ja 0x402a6f
mov edx, dword [str.___x9:7__9_3x59_]
mov dword [edx + 0x19c], esi
jmp 0x402a6f
cmp dword [esi], 0x378
jne 0x402a6f
lea edx, [esp + 0x14]
push edx
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
je 0x402a41
mov eax, dword [esp + 0x14]
push 0x41312c
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.00403360
call fcn.00402550
jmp 0x402a6f
mov eax, esi
call fcn.00402600
jmp 0x402a6f
mov eax, dword [str.___x9:7__9_3x59_]
mov ecx, dword [eax + 0x19c]
push ecx
call ebp
push 0x3e8
call ebp
push edi
call fcn.00403a12
add esp, 4
jmp 0x402932
Function at 0x10001000
Capabilities:
Parse pe header

Disassembly:
push 0x24
push 0x10038ce0
call fcn.10012bd0
push 0x1c
lea eax, [ebp - 0x34]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
and dword [ebp - 4], 0
mov eax, 0x5a4d
mov edx, dword [ebp - 0x30]
cmp word [edx], ax
jne 0x10001068
mov eax, dword [edx + 0x3c]
add eax, edx
cmp dword [eax], 0x4550
jne 0x10001068
mov ecx, dword [eax + 0xd8]
lea esi, [ecx + edx]
cmp dword [ebp + 0xc], esi
jb 0x10001068
mov eax, dword [eax + 0xdc]
add eax, ecx
add eax, edx
cmp dword [ebp + 0xc], eax
jae 0x10001068
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x10001071
mov dword [ebp - 4], 0xfffffffe
xor al, al
call fcn.10012c16
ret
Function at 0x10001169
Capabilities:
Allocate or change rwx memory
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, eax
push edi
mov ebx, 0x10000
cmp esi, 0x7ff80000
jbe 0x1000118c
lea eax, [esi - 0x7ff80000]
mov dword [ebp - 4], eax
jmp 0x1000118f
mov dword [ebp - 4], ebx
cmp esi, 0x80000000
jae 0x100011a2
lea eax, [esi + 0x7ff80000]
mov dword [ebp - 8], eax
jmp 0x100011a9
mov dword [ebp - 8], 0xfff80000
mov eax, dword [0x1021a794]
mov ecx, dword [0x1021a790]
test eax, eax
jne 0x100011c3
test ecx, ecx
je 0x100011d8
mov eax, ecx
mov dword [0x1021a794], eax
mov edx, dword [eax + 8]
test edx, edx
je 0x100011d8
cmp edx, dword [ebp - 4]
jb 0x100011d8
cmp edx, dword [ebp - 8]
jbe 0x100012a9
mov eax, ecx
test ecx, ecx
jmp 0x100011fc
test eax, eax
je 0x100011f7
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x100011f7
cmp ecx, dword [ebp - 4]
jb 0x100011f7
cmp ecx, dword [ebp - 8]
jbe 0x100012a9
mov eax, dword [eax + 4]
test eax, eax
mov dword [0x1021a794], eax
jne 0x100011de
mov eax, esi
and eax, 0xffff
sub esi, eax
mov edi, esi
cmp esi, dword [ebp - 4]
jbe 0x1000133b
lea eax, [edi - 0x70000000]
cmp eax, 0x10000000
ja 0x10001229
mov edi, 0x6fff0000
push 0x1c
lea eax, [ebp - 0x40]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x1000133b
cmp dword [ebp - 0x30], ebx
jne 0x10001248
cmp dword [ebp - 0x34], ebx
jae 0x1000125b
mov edi, dword [ebp - 0x3c]
add edi, 0xffff0000
cmp edi, dword [ebp - 4]
ja 0x10001217
jmp 0x1000133b
push 0x40
push 0x3000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1021a794], eax
test eax, eax
je 0x1000133b
mov ecx, dword [0x1021a790]
xor edx, edx
mov dword [eax + 4], ecx
mov dword [eax], 0x52727464
mov dword [eax + 8], edx
mov dword [0x1021a790], eax
lea ecx, [eax + 0xffe0]
mov esi, 0x7fd
mov dword [ecx + 0x18], edx
mov edx, ecx
sub ecx, 0x20
dec esi
jne 0x1000129b
mov dword [eax + 8], edx
mov esi, dword [eax + 8]
cmp esi, dword [ebp - 4]
jb 0x10001340
cmp esi, dword [ebp - 8]
ja 0x10001340
mov ecx, dword [esi + 0x18]
push 0x20
push 0xcc
push esi
mov dword [eax + 8], ecx
call fcn.100134b0
add esp, 0xc
mov eax, esi
jmp 0x10001342
lea eax, [esi - 0x70000000]
cmp eax, 0x10000000
ja 0x100012ea
mov esi, 0x80010000
push 0x1c
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
je 0x10001340
cmp dword [ebp - 0x14], ebx
jne 0x10001335
cmp dword [ebp - 0x18], ebx
jb 0x10001335
movzx ecx, si
test ecx, ecx
je 0x10001319
mov eax, ebx
sub eax, ecx
sub dword [ebp - 0x18], eax
add dword [ebp - 0x24], eax
mov esi, dword [ebp - 0x24]
push 0x40
push 0x3000
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [0x1021a794], eax
test eax, eax
jne 0x10001277
mov esi, dword [ebp - 0x24]
add esi, dword [ebp - 0x18]
cmp esi, dword [ebp - 8]
jb 0x100012d8
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100013cb
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push edi
xor edi, edi
cmp dword [0x1021a79c], edi
je 0x100013de
mov eax, 0x10dd
jmp 0x10001439
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0x1021a79c
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
jne 0x100013d7
push esi
mov esi, dword [0x1021a790]
mov dword [0x1021a798], edi
mov dword [0x1021a7ac], edi
mov dword [0x1021a7a8], edi
mov dword [0x1021a7a0], edi
mov dword [0x1021a7a4], edi
jmp 0x10001432
lea eax, [esp + 8]
push eax
push 0x40
push 0x10000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov esi, dword [esi + 4]
cmp esi, edi
jne 0x1000141c
xor eax, eax
pop esi
pop edi
pop ecx
ret

Function at 0x1000143c
Capabilities:
Resume thread

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1021a79c], eax
je 0x10001452
mov eax, 0x10dd
pop ecx
ret
push ebx
push esi
mov esi, dword [0x1021a7ac]
xor ebx, ebx
push edi
cmp esi, ebx
je 0x1000149d
lea eax, [esp + 0xc]
push eax
mov eax, dword [esi + 0x10]
push dword [esi + 0x14]
movzx eax, byte [eax + 0x17]
push eax
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp dword [esi + 4], ebx
jne 0x1000148e
mov edi, dword [esi + 0x10]
cmp edi, ebx
je 0x1000148e
call fcn.10001347
mov dword [esi + 0x10], ebx
mov edi, dword [esi]
push esi
call fcn.10012c2b
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x10001461
mov dword [0x1021a7ac], ebx
call fcn.10001142
mov esi, dword [0x1021a7a8]
cmp esi, ebx
je 0x100014ca
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [esi]
push esi
call fcn.10012c2b
pop ecx
mov esi, edi
cmp edi, ebx
jne 0x100014b2
pop edi
pop esi
mov dword [0x1021a7a8], ebx
mov dword [0x1021a79c], ebx
xor eax, eax
pop ebx
pop ecx
ret
Function at 0x10001721
Capabilities:
Suspend thread

Disassembly:
mov eax, dword [0x1021a7a0]
test eax, eax
jne 0x10001791
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov edi, dword [esp + 8]
cmp edi, eax
jne 0x1000173d
xor eax, eax
jmp 0x10001790
push esi
push 8
call fcn.10012177
mov esi, eax
pop ecx
test esi, esi
jne 0x10001751
push 8
pop edi
jmp 0x1000176c
push edi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000177d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
mov edi, eax
call fcn.10012c2b
pop ecx
and dword [0x1021a7a4], 0
mov dword [0x1021a7a0], edi
mov eax, edi
jmp 0x1000178f
mov eax, dword [0x1021a7a8]
mov dword [esi], eax
mov dword [esi + 4], edi
mov dword [0x1021a7a8], esi
xor eax, eax
pop esi
pop edi
ret 4
Function at 0x100019e5
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1021a79c], eax
je 0x10001a01
mov eax, 0x10dd
jmp 0x10001ae4
mov eax, dword [0x1021a7a0]
test eax, eax
jne 0x10001ae4
push edi
mov edi, dword [ebp + 8]
test edi, edi
jne 0x10001a1e
push 6
pop eax
jmp 0x10001ae3
cmp dword [edi], 0
jne 0x10001a36
push 6
pop eax
mov dword [0x1021a7a0], eax
mov dword [0x1021a7a4], edi
jmp 0x10001ae3
push ebx
push esi
push 0x18
call fcn.10012177
mov esi, eax
pop ecx
test esi, esi
jne 0x10001a4b
push 8
pop edi
jmp 0x10001ac6
mov edi, dword [edi]
push 0
push dword [ebp + 0xc]
call fcn.1000109f
mov ebx, dword [edi + 0x18]
pop ecx
pop ecx
movzx ecx, byte [edi + 0x17]
xor edx, edx
sub ebx, ecx
cmp ecx, edx
je 0x10001abb
cmp ecx, 0x17
ja 0x10001abb
cmp dword [edi + 0x1c], eax
jne 0x10001abb
lea eax, [ebp - 4]
push eax
push 0x40
push ecx
push ebx
mov dword [ebp - 4], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10001a91
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x10001ac6
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov dword [esi + 0x10], edi
mov dword [esi + 0xc], ebx
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov eax, dword [0x1021a7ac]
mov dword [esi], eax
mov dword [0x1021a7ac], esi
xor eax, eax
jmp 0x10001ae1
push 9
pop edi
cmp dword [0x1021a798], edx
jne 0x10001acc
mov dword [0x1021a7a0], edi
test esi, esi
je 0x10001ad7
push esi
call fcn.10012c2b
pop ecx
mov eax, dword [ebp + 8]
mov dword [0x1021a7a4], eax
mov eax, edi
pop esi
pop ebx
pop edi
leave
ret 8

Function at 0x10005850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
push 0x10028320
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.10015daa
add esp, 0xc
test eax, eax
je 0x10005897
xor al, al
jmp 0x10005918
mov eax, dword [ebp + 0x10]
push eax
call fcn.10016218
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100058bc
mov ecx, dword [ebp - 8]
push ecx
call fcn.10015e68
add esp, 4
xor al, al
jmp 0x10005918
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0x10]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
call fcn.100160ca
add esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100058f1
mov edx, dword [ebp - 0xc]
push edx
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.100059e0
jmp 0x100058bc
mov edx, dword [ebp - 4]
push edx
call fcn.100161fb
add esp, 4
mov eax, dword [ebp - 8]
push eax
call fcn.10015e68
add esp, 4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx]
xor edx, 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
mov al, 1
mov esp, ebp
pop ebp
ret 0xc
Function at 0x10005920
Capabilities:
Hash data using crc32b

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 8], ecx
mov dword [ebp - 0x14], 0x4c11db7
mov dword [ebp - 4], 0
jmp 0x10005942
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xff
jg 0x100059dc
push 8
mov ecx, dword [ebp - 4]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10005a40
shl eax, 0x18
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + edx*4], eax
mov dword [ebp - 0xc], 0
jmp 0x1000597b
mov edx, dword [ebp - 0xc]
add edx, 1
mov dword [ebp - 0xc], edx
cmp dword [ebp - 0xc], 8
jge 0x100059ba
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
and edx, 0x80000000
je 0x1000599a
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
jmp 0x100059a1
mov dword [ebp - 0x10], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
shl eax, 1
xor eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x10005972
push 0x20
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4]
push edx
mov ecx, dword [ebp - 8]
call fcn.10005a40
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x10005939
mov esp, ebp
pop ebp
ret
Function at 0x10005d40
Capabilities:
Allocate or change rwx memory
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10005e35
cmp dword [ebp - 4], 1
je 0x10005d61
jmp 0x10005eb6
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0x2b3ffe
push 0x401000
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, 1
jne 0x10005e30
mov ecx, 0x100591c0
call fcn.1000be40
call fcn.1000e110
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x10004f50
push 7
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1021a2dc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x1000eb00
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1021a2e0], eax
push 0
push 0
push 0x1000ee70
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x1021a2e4], eax
push str.._Glow.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1021a2e8], eax
push 0x10028474
call fcn.1000f510
add esp, 4
test eax, eax
jle 0x10005e30
call fcn.100013cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001721
push 0x1000f6c0
push 0x1021a304
call fcn.10001af0
push 0x1000f6b0
push 0x1021a308
call fcn.10001af0
call fcn.10001ae8
jmp 0x10005eb6
mov edx, dword [0x1021a2dc]
push edx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov eax, dword [0x1021a2e0]
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov ecx, dword [0x1021a2e4]
push ecx
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
cmp dword [0x1021a2e8], 0
je 0x10005e71
mov edx, dword [0x1021a2e8]
push edx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push str.WindowMode
call fcn.1000f510
add esp, 4
test eax, eax
jle 0x10005eb6
call fcn.100013cb
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call fcn.10001721
push 0x1000f6c0
push 0x1021a304
call fcn.100019e5
push 0x1000f6b0
push 0x1021a308
call fcn.100019e5
call fcn.10001ae8
mov eax, 1
mov esp, ebp
pop ebp
ret 0xc