joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10043110
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edx, dword [ecx + 0xc0]
mov eax, dword [ecx + 0xc8]
push esi
push edi
lea esi, [esp + 0xc]
mov edi, 4
mov eax, dword [eax + edx*4 - 4]
not eax
nop dword [eax]
movzx ecx, byte [esi]
lea esi, [esi + 1]
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1013dac8]
sub edi, 1
jne 0x10043130
mov ecx, dword [0x10159260]
not eax
pop edi
pop esi
cmp dword [ecx + 0x1bc8], eax
jne 0x10043162
mov dword [ecx + 0x1bcc], eax
cmp dword [ecx + 0x1c04], eax
jne 0x10043171
mov byte [ecx + 0x1c08], 1
ret 4

Function at 0x10043180
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x14]
push esi
mov esi, ecx
push edi
movss xmm0, dword [edx]
mov edi, 0x10
subss xmm0, dword [esi + 0xc]
mov ecx, dword [esi + 0xc0]
cvttss2si eax, xmm0
movss xmm0, dword [edx + 4]
subss xmm0, dword [esi + 0x10]
mov dword [esp + 8], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 8]
subss xmm0, dword [esi + 0xc]
mov dword [esp + 0xc], eax
cvttss2si eax, xmm0
movss xmm0, dword [edx + 0xc]
subss xmm0, dword [esi + 0x10]
mov dword [esp + 0x10], eax
cvttss2si eax, xmm0
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xc8]
lea esi, [esp + 8]
mov edx, dword [eax + ecx*4 - 4]
not edx
nop dword [eax]
movzx eax, byte [esi]
lea esi, [esi + 1]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x1013dac8]
sub edi, 1
jne 0x100431f0
mov eax, dword [0x10159260]
not edx
pop edi
pop esi
cmp dword [eax + 0x1bc8], edx
jne 0x10043221
mov dword [eax + 0x1bcc], edx
cmp dword [eax + 0x1c04], edx
jne 0x10043230
mov byte [eax + 0x1c08], 1
mov eax, edx
add esp, 0x10
ret 4
Function at 0x1004c4b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ecx
mov eax, dword [0x10159260]
lea edx, [esp]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 0x1b94]
mov esi, 4
add edi, 0xc0
mov dword [esp + 0x10], ecx
mov ebp, dword [edi]
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + ebp*4 - 4]
not ebx
nop dword [eax]
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1013dac8]
sub esi, 1
jne 0x1004c4e0
mov esi, dword [edi + 4]
not ebx
cmp ebp, esi
jne 0x1004c527
lea ecx, [ebp + 1]
test esi, esi
je 0x1004c515
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1004c51a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.10052950
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10050e90
Capabilities:
Hash data with crc32

Disassembly:
movss xmm0, dword [0x10150b50]
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, dword [0x10159260]
comiss xmm0, dword [edi + 0x1e0c]
ja 0x10051107
cmp dword [edi + 0x1e08], 0
jne 0x10050efe
or edx, 0xffffffff
mov esi, 0x1013d879
mov al, 0x23
or ebx, 0xffffffff
cmp al, 0x23
jne 0x10050ed6
cmp byte [esi], al
jne 0x10050ed6
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1013dac8]
test al, al
jne 0x10050ec8
not edx
mov ecx, edx
call fcn.10047710
mov dword [edi + 0x1e08], eax
mov eax, dword [edi + 0x1cf4]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], 0x7f7fffff
mov dword [esp + 0x1c], 0x7f7fffff
mov ecx, dword [eax]
mov eax, dword [edi + 0x1c18]
or eax, 0x10
movss xmm2, dword [ecx + 0xc]
movss xmm1, dword [ecx + 0x10]
mulss xmm1, dword [0x10150b60]
mov dword [edi + 0x1c18], eax
or eax, 1
mulss xmm2, dword [0x10150b60]
mov dword [edi + 0x1c64], 0
movss dword [esp + 0x14], xmm1
mov dword [edi + 0x1c68], 0
movss dword [esp + 0x10], xmm2
movups xmm0, xmmword [esp + 0x10]
movups xmmword [edi + 0x1c54], xmm0
movss xmm1, dword [ecx + 0x10]
movss xmm2, dword [ecx + 0xc]
mulss xmm1, dword [0x10150b98]
mulss xmm2, dword [0x10150b98]
addss xmm1, dword [ecx + 8]
addss xmm2, dword [ecx + 4]
mov dword [edi + 0x1c18], eax
mov ecx, 1
mov dword [edi + 0x1c30], 0x3f000000
movss dword [edi + 0x1c2c], xmm1
mov dword [edi + 0x1c34], 0x3f000000
movss dword [edi + 0x1c28], xmm2
mov dword [edi + 0x1c1c], 1
movss xmm1, dword [edi + 0x151c]
movss xmm0, dword [edi + 0x1520]
addss xmm1, xmm1
addss xmm0, xmm0
movss dword [esp + 0x10], xmm1
movss dword [esp + 0x14], xmm0
call fcn.10041740
push 0xc1347
xor edx, edx
mov ecx, str.NavWindowingList
call fcn.100499d0
mov ebp, dword [edi + 0x1b60]
sub ebp, 1
js 0x100510f1
nop dword [eax + eax]
mov eax, dword [edi + 0x1b68]
mov esi, dword [eax + ebp*4]
cmp byte [esi + 0x8b], 0
je 0x100510e8
cmp esi, dword [esi + 0x320]
jne 0x100510e8
test dword [esi + 8], 0x80000
jne 0x100510e8
mov ecx, dword [esi]
mov edx, ecx
cmp ecx, 0xffffffff
jae 0x10051072
mov bl, byte [edx]
test bl, bl
je 0x1005106e
cmp bl, 0x23
jne 0x10051068
cmp byte [edx + 1], bl
je 0x1005106e
inc edx
cmp edx, 0xffffffff
jb 0x10051058
cmp ecx, edx
jne 0x100510c3
mov eax, dword [esi + 8]
test eax, 0x4000000
je 0x10051083
mov ecx, str._Popup_
jmp 0x100510c3
test eax, 0x400
je 0x100510be
mov eax, str.MainMenuBar
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x100510b0
test dl, dl
je 0x100510ac
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x100510b0
add ecx, 2
add eax, 2
test dl, dl
jne 0x10051090
xor eax, eax
jmp 0x100510b5
sbb eax, eax
or eax, 1
mov ecx, str._Main_menu_bar_
test eax, eax
je 0x100510c3
mov ecx, str._Untitled_
cmp dword [edi + 0x1e00], esi
lea eax, [esp + 0x10]
push eax
push 0
sete dl
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.10073ef0
sub ebp, 1
jns 0x10051020
call fcn.1004bc10
mov ecx, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
jmp fcn.100417c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x100511f0
Capabilities:
Hash data with crc32

Disassembly:
sub esp, 0x14
mov edx, dword [0x10159260]
mov eax, ecx
push ebx
push ebp
push esi
push edi
mov edi, edx
mov dword [esp + 0x1c], eax
xor esi, esi
mov dword [esp + 0x18], esi
mov ebp, dword [edi + 0x1b94]
test al, 0x10
jne 0x10051351
mov ebx, dword [ebp + 0x118]
test ebx, ebx
je 0x10051251
cmp dword [edi + 0x1bc8], ebx
jne 0x10051347
mov esi, dword [edi + 0x1c00]
xor eax, eax
cmp esi, 0xffffffff
cmove esi, eax
cmp byte [esi + edi + 0xec], al
je 0x10051347
xor al, al
jmp 0x100512db
cmp byte [edi + 0xec], 0
je 0x10051347
test al, 8
je 0x10051347
test byte [ebp + 0x11c], 1
jne 0x10051287
cmp dword [edi + 0x1bc8], esi
je 0x10051347
cmp dword [edi + 0x1bf8], ebp
jne 0x10051347
lea esi, [ebp + 0x120]
mov ecx, ebp
push esi
call fcn.10043180
mov ebx, eax
mov ecx, esi
mov edx, ebx
mov dword [ebp + 0x118], ebx
call fcn.10043490
mov byte [esp + 0x17], al
test al, al
je 0x100512cb
cmp byte [edi + 0x3d8], 0
je 0x100512cb
mov edx, ebp
mov ecx, ebx
call fcn.10043240
mov ecx, ebp
call fcn.1004bd10
mov al, byte [esp + 0x17]
cmp dword [edi + 0x1bc8], ebx
jne 0x10051347
mov edx, dword [0x10159260]
xor esi, esi
mov byte [edi + 0x1bd5], al
cmp byte [edx + esi + 0xec], 0
mov ecx, dword [ebp + 0xc0]
mov eax, dword [ebp + 0xc8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [esp + 0x18], eax
jne 0x10051303
xor al, al
jmp 0x1005131b
movss xmm1, dword [edx + 0x30]
movss xmm0, dword [edx + esi*4 + 0x444]
mulss xmm1, xmm1
comiss xmm0, xmm1
setae al
mov dword [edi + 0x1bdc], 0xffffffff
mov dword [edi + 0x1be0], 0xffffffff
mov dword [edi + 0x1be8], 0xffffffff
mov dword [edi + 0x1bec], 0xffffffff
test al, al
jne 0x1005138b
xor al, al
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
xor ebp, ebp
or ebx, 0xffffffff
mov edx, 0x1013d88d
mov al, 0x23
or esi, 0xffffffff
cmp al, 0x23
jne 0x1005136e
cmp byte [edx], al
jne 0x1005136e
cmp byte [edx + 1], al
cmove ebx, esi
movzx ecx, bl
movzx eax, al
xor ecx, eax
shr ebx, 8
mov al, byte [edx]
inc edx
xor ebx, dword [ecx*4 + 0x1013dac8]
test al, al
jne 0x10051360
not ebx
mov esi, ebp
cmp byte [edi + 0x1e3c], 0
jne 0x100513cf
call fcn.10051110
mov eax, dword [esp + 0x18]
mov dword [edi + 0x1e58], eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x1e54], ebx
mov byte [edi + 0x1e3c], 1
mov dword [edi + 0x1e40], eax
mov dword [edi + 0x1e48], esi
cmp ebx, dword [edi + 0x1bc8]
jne 0x100513cf
mov byte [edi + 0x1bd6], 1
mov ebx, dword [esp + 0x1c]
mov eax, dword [edi + 0x1b38]
mov dword [edi + 0x1e44], eax
mov byte [edi + 0x1e3d], 1
test bl, 1
jne 0x1005141d
xor edx, edx
xor ecx, ecx
call fcn.1004d4f0
cmp dword [edi + 0x1ea4], 0
je 0x1005141d
test dword [edi + 0x1e98], 0x1000
je 0x1005141d
mov eax, dword [edi + 0x1b94]
mov byte [eax + 0x8f], 1
mov byte [eax + 0xa8], 1
test bl, 0x12
jne 0x10051429
and dword [ebp + 0x11c], 0xfffffffe
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x14
ret
Function at 0x10055de0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10055e16
mov eax, dword [0x10159260]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10055e06
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10055e4a
mov eax, dword [0x10159260]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10055e3a
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10055e7e
mov eax, dword [0x10159260]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10055e6e
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10055ece
mov eax, dword [0x10159260]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10055ebe
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10055f02
mov eax, dword [0x10159260]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10055ef2
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10055f36
mov eax, dword [0x10159260]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10055f26
dec dword [eax + 0x370]
push ecx
call fcn.10105fcb
add esp, 4
mov dword [esi + 0x5c], 0
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100589b0
Function at 0x10059720
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0xfc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10c]
push edi
movss dword [esp + 0x10], xmm3
mov dword [esp + 0x14], ecx
movzx ebx, byte [esi + 8]
movzx eax, byte [esi + 9]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xa]
shl ebx, 8
add ebx, eax
movzx eax, byte [esi + 0xb]
shl ebx, 8
add ebx, eax
mov eax, dword [0x10159260]
test eax, eax
je 0x10059769
inc dword [eax + 0x370]
push ebx
call fcn.10105fb5
movzx edx, byte [esi]
add esp, 4
movzx ecx, byte [esi + 1]
mov ebp, eax
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 2]
shl edx, 8
add edx, ecx
movzx ecx, byte [esi + 3]
shl edx, 8
add edx, ecx
cmp edx, 0x57bc0000
jne 0x10059817
movzx ecx, byte [esi + 4]
movzx eax, byte [esi + 5]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
add ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
add ecx, eax
jne 0x10059817
movzx ecx, byte [esi + 8]
movzx eax, byte [esi + 9]
movzx edi, byte [esi + 0xb]
shl ecx, 8
add ecx, eax
mov dword [0x1015e754], esi
movzx eax, byte [esi + 0xa]
add esi, 0x10
shl ecx, 8
add ecx, eax
mov dword [0x1015e750], ebp
shl ecx, 8
add ecx, ebp
mov dword [0x1015e758], ebp
add edi, ecx
mov ecx, esi
mov dword [0x1015e5ec], edi
call fcn.1005bee0
cmp eax, esi
je 0x10059817
cmp dword [0x1015e758], edi
ja 0x10059817
mov ecx, eax
mov esi, eax
call fcn.1005bee0
cmp eax, esi
jne 0x10059802
mov esi, dword [esp + 0x118]
test esi, esi
je 0x1005982f
mov ecx, 0x1e
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
jmp 0x1005986f
push 0x78
lea eax, [esp + 0x1c]
push 0
push eax
call fcn.101010f0
mov eax, 0xffff
mov byte [esp + 0x2c], 1
add esp, 0xc
mov dword [esp + 0x2c], 3
mov dword [esp + 0x30], 1
mov dword [esp + 0x50], 0x7f7fffff
mov dword [esp + 0x5c], 0x3f800000
mov word [esp + 0x60], ax
mov eax, dword [esp + 0x11c]
lea esi, [esp + 0x18]
movss xmm0, dword [esp + 0x10]
lea edi, [esp + 0x90]
mov ecx, 0x1e
test eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x1e
mov byte [esp + 0x98], 1
lea esi, [esp + 0x90]
lea edi, [esp + 0x18]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
cmovne ecx, eax
mov dword [esp + 0x18], ebp
lea eax, [esp + 0x18]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x14]
push eax
mov dword [esp + 0x20], ebx
movss dword [esp + 0x2c], xmm0
call fcn.100592e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xfc
ret 0x10
Function at 0x1005ef50
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x30
push ebx
mov ebx, dword [0x10159260]
lea eax, [esp + 0x20]
push esi
push edi
push eax
push dword [0x1015b9b0]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
movd xmm1, eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x20]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x20]
mov ecx, edi
sub ecx, dword [0x1015b9a8]
mov esi, dword [esp + 0x24]
mov edx, esi
sbb edx, dword [0x1015b9ac]
call fcn.10125a70
mov edx, dword [0x1015b9a4]
mov ecx, dword [0x1015b9a0]
cvtsd2ss xmm0, xmm0
movss dword [esp + 0x10], xmm0
call fcn.10125a70
movss xmm1, dword [esp + 0x10]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x1015b9ac], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x1015b9a8], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0xfc], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0xfd], al
call esi
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
push 0xa0
mov byte [ebx + 0xfe], al
call esi
shr eax, 0xf
and al, 1
push 0xa1
mov byte [ebx + 0x1a0], al
call esi
mov ecx, dword [0x10159260]
shr eax, 0xf
and al, 1
mov byte [ebx + 0x1a1], al
cmp byte [ecx + 0x357], 0
lea esi, [ecx + 0xe4]
je 0x1005f09d
cvttss2si eax, dword [esi]
mov dword [esp + 0x10], eax
cvttss2si eax, dword [ecx + 0xe8]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x10]
push eax
push dword [0x1015b9b0]
call dword [sym.imp.USER32.dll_ClientToScreen]
push dword [esp + 0x14]
push dword [esp + 0x14]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi], 0xff7fffff
mov dword [esi + 4], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1005f109
mov ecx, dword [0x1015b9b0]
cmp eax, ecx
je 0x1005f0ca
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1005f109
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1005f109
lea eax, [esp + 0x18]
push eax
push dword [0x1015b9b0]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1005f109
movd xmm0, dword [esp + 0x18]
movd xmm1, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi], xmm0
movss dword [esi + 4], xmm1
cmp byte [ebx + 0xb0], 0
je 0x1005f117
or eax, 0xffffffff
jmp 0x1005f122
mov eax, dword [0x10159260]
mov eax, dword [eax + 0x1e38]
cmp dword [0x10157b0c], eax
je 0x1005f134
mov dword [0x10157b0c], eax
call fcn.1005ee20
pop edi
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x10080950
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], edx
push edi
push 0
push 4
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov edi, eax
cmp edi, 0xffffffff
je 0x10080a4b
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32First]
test eax, eax
je 0x10080a44
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
nop
cmp dword [esp + 0x14], 0x10
jb 0x10080a28
call ebx
cmp dword [esp + 0x20], eax
jne 0x10080a28
call ebp
cmp dword [esp + 0x1c], eax
je 0x10080a28
mov edx, dword [esi]
test edx, edx
jne 0x100809f0
push 0x200
push edx
push dword [0x1015b9b4]
mov dword [esi + 4], 0x80
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, eax
mov dword [esi], edx
test edx, edx
je 0x10080a44
jmp 0x10080a1b
mov eax, dword [esi + 4]
cmp dword [esi + 8], eax
jb 0x10080a1b
shl eax, 3
push eax
push edx
push 0
push dword [0x1015b9b4]
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edx, eax
test edx, edx
je 0x10080a44
mov eax, dword [esi + 4]
add eax, eax
mov dword [esi], edx
mov dword [esi + 4], eax
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x1c]
mov dword [edx + ecx*4], eax
inc dword [esi + 8]
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
push eax
push edi
call dword [sym.imp.KERNEL32.dll_Thread32Next]
test eax, eax
jne 0x100809b0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esi], 0
je 0x10080a95
xor edi, edi
cmp dword [esi + 8], edi
jbe 0x10080a95
mov ebp, dword [esp + 0x34]
nop dword [eax + eax]
mov eax, dword [esi]
push dword [eax + edi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov ebx, eax
test ebx, ebx
je 0x10080a8f
push ebx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov edx, dword [esp + 0x10]
mov ecx, ebx
push ebp
call fcn.100807f0
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [esi + 8]
jb 0x10080a60
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4

Function at 0x10080aa0
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, ecx
cmp dword [ebx], 0
je 0x10080af0
push esi
xor esi, esi
cmp dword [ebx + 8], esi
jbe 0x10080adf
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ResumeThread]
push edi
mov eax, dword [ebx]
push dword [eax + esi*4]
push 0
push 0x5a
call dword [sym.imp.KERNEL32.dll_OpenThread]
mov edi, eax
test edi, edi
je 0x10080ad7
push edi
call ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [ebx + 8]
jb 0x10080ab8
pop edi
pop ebp
push dword [ebx]
push 0
push dword [0x1015b9b4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
pop esi
pop ebx
ret
Function at 0x10080b00
Capabilities:
Allocate or change rwx memory

Disassembly:
push ecx
push ebx
push ebp
push esi
imul esi, ecx, 0x2c
mov ebx, edx
push edi
add esi, dword [0x1015efe0]
mov eax, dword [esi]
mov cl, byte [esi + 0x14]
and cl, 1
lea edi, [eax - 5]
cmove edi, eax
movzx eax, cl
lea ebp, [eax*2 + 5]
lea eax, [esp + 0x10]
push eax
push 0x40
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x10080b46
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
pop ecx
ret
test ebx, ebx
je 0x10080b67
mov byte [edi], 0xe9
mov eax, dword [esi + 4]
sub eax, edi
sub eax, 5
mov dword [edi + 1], eax
test byte [esi + 0x14], 1
je 0x10080b88
mov eax, dword [esi]
mov word [eax], 0xf9eb
jmp 0x10080b88
mov eax, dword [esi + 0xc]
test byte [esi + 0x14], 1
mov dword [edi], eax
je 0x10080b82
mov ax, word [esi + 0x10]
mov word [edi + 4], ax
mov al, byte [esi + 0x12]
mov byte [edi + 6], al
jmp 0x10080b88
mov al, byte [esi + 0x10]
mov byte [edi + 4], al
lea eax, [esp + 0x10]
push eax
push dword [esp + 0x14]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov cl, byte [esi + 0x14]
and bl, 1
mov al, bl
and cl, 0xfd
add al, al
shl bl, 2
or cl, al
and cl, 0xfb
or cl, bl
xor eax, eax
pop edi
mov byte [esi + 0x14], cl
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x10086240
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x158
push esi
push edi
mov edi, ecx
mov byte [esp + 0x30], 0
push 0
lea ecx, [esp + 0x3c]
mov dword [esp + 0x48], edi
call fcn.1008a820
mov byte [esp + 0x18], 0
lea ecx, [esp + 0x20]
push dword [esp + 0x18]
xorps xmm0, xmm0
movq qword [esp + 0x24], xmm0
call fcn.10089b50
Function at 0x1008a650
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub esp, 0x18
push ebx
mov ebx, dword [esp + 0x20]
push ebp
mov ebp, dword [esp + 0x28]
push edi
mov edi, ecx
cmp ebx, ebp
je 0x1008a806
cmp dword [ebx + 0x1c], 0x10
lea edx, [ebx + 8]
mov eax, dword [edi + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 4]
mov dword [esp + 0x1c], eax
mov eax, dword [edx + 0x10]
jb 0x1008a68b
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x1008a6b5
mov ebp, eax
nop dword [eax]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebp
jb 0x1008a6a0
mov ebp, dword [esp + 0x30]
mov eax, dword [edi + 0x18]
mov edx, ebx
mov ecx, dword [esp + 0x18]
and eax, esi
mov esi, dword [ebx]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [esp + 0x2c], eax
mov eax, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], eax
call fcn.1008dca0
dec dword [edi + 8]
cmp ebx, dword [esp + 0x10]
je 0x1008a702
mov dword [esp + 0x24], esi
cmp esi, ebp
je 0x1008a714
mov edx, esi
mov esi, dword [esi]
call fcn.1008dca0
dec dword [edi + 8]
mov eax, dword [esp + 0x10]
cmp dword [esp + 0x24], eax
jne 0x1008a6e4
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x14], ebx
jne 0x1008a739
mov eax, dword [esp + 0x1c]
mov dword [ecx], eax
jmp 0x1008a73d
cmp dword [esp + 0x14], ebx
jne 0x1008a7fc
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0x20]
mov dword [ecx + 4], eax
cmp esi, ebp
je 0x1008a7fc
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x2c], eax
jb 0x1008a766
mov edx, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x1008a78a
mov ebp, dword [esp + 0x2c]
movzx eax, byte [ecx + edx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, ebp
jb 0x1008a775
mov ebp, dword [esp + 0x30]
mov eax, dword [edi + 0x18]
mov edx, esi
mov ecx, dword [esp + 0x18]
and eax, ebx
mov ebx, dword [ecx + eax*8 + 4]
mov esi, dword [esi]
mov dword [esp + 0x14], ebx
lea eax, [ecx + eax*8]
mov dword [esp + 0x2c], eax
call fcn.1008dca0
dec dword [edi + 8]
cmp dword [esp + 0x24], ebx
je 0x1008a7cc
mov ebx, esi
cmp esi, ebp
je 0x1008a7f6
mov edx, esi
mov esi, dword [esi]
call fcn.1008dca0
dec dword [edi + 8]
cmp ebx, dword [esp + 0x14]
jne 0x1008a7b4
mov eax, dword [esp + 0x2c]
mov ebx, dword [esp + 0x1c]
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp esi, ebp
jne 0x1008a750
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebp
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x18
ret 8
mov eax, dword [esp + 0x2c]
mov dword [eax], esi
mov eax, dword [esp + 0x20]
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x18
ret 8