joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10026dbb
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
mov dword [ebp - 0x140], eax
mov eax, dword [ebp + 0xc]
push 0x3f
mov dword [ebp - 0x13c], eax
lea eax, [ebp - 0xa7]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0xa8], 0
call fcn.100321a0
add esp, 0xc
cmp dword [ebp + 0x14], 0x40
ja 0x10026e1f
push dword [ebp + 0x14]
lea eax, [ebp - 0xa8]
push esi
push eax
call fcn.100326d0
add esp, 0xc
jmp 0x10026e5d
lea eax, [ebp - 0x138]
call fcn.1002d024
mov eax, dword [ebp + 0x14]
push esi
lea ecx, [ebp - 0x138]
call fcn.1002d064
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x138]
call fcn.1002d0f0
push 0x20
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.100326d0
add esp, 0x14
xor ecx, ecx
mov al, byte [ebp + ecx - 0xa8]
mov dl, al
xor dl, 0x36
xor al, 0x5c
mov byte [ebp + ecx - 0x48], dl
mov byte [ebp + ecx - 0x110], al
inc ecx
cmp ecx, 0x40
jb 0x10026e5f
lea eax, [ebp - 0xd0]
call fcn.1002d024
lea eax, [ebp - 0x48]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002d064
push dword [ebp - 0x13c]
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0xd0]
call fcn.1002d064
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002d0f0
lea eax, [ebp - 0xd0]
call fcn.1002d024
lea eax, [ebp - 0x110]
push eax
push 0x40
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002d064
lea eax, [ebp - 0x28]
push eax
push 0x20
pop eax
lea ecx, [ebp - 0xd0]
call fcn.1002d064
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0xd0]
call fcn.1002d0f0
mov esi, dword [ebp - 0x140]
add esp, 0x18
push 0x20
lea eax, [ebp - 0x68]
push eax
call fcn.100160c6
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002dda4
leave
ret

Function at 0x10026f22
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x144
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
and dword [ebp - 0x144], 0
push esi
push edi
push 0x3f
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x4b]
push 0
push eax
mov esi, ecx
mov byte [ebp - 0x4c], 0
call fcn.100321a0
lea edi, [ebp - 0x4c]
movsd dword es:[edi], dword [esi]
add esp, 0xc
movsw word es:[edi], word [esi]
xor eax, eax
mov cl, byte [ebp + eax - 0x4c]
mov dl, cl
xor dl, 0x36
xor cl, 0x5c
mov byte [ebp + eax - 0x8c], dl
mov byte [ebp + eax - 0xcc], cl
inc eax
cmp eax, 0x40
jb 0x10026f65
lea eax, [ebp - 0x13c]
call fcn.1002d61d
lea eax, [ebp - 0x8c]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.1002d661
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.1002d661
lea edi, [ebp - 0x6c]
call fcn.1002d69f
lea eax, [ebp - 0x13c]
call fcn.1002d61d
lea eax, [ebp - 0xcc]
push 0x40
push eax
lea eax, [ebp - 0x13c]
call fcn.1002d661
mov eax, edi
push 0x20
push eax
lea eax, [ebp - 0x13c]
call fcn.1002d661
add esp, 0x20
lea edi, [ebp - 0x2c]
call fcn.1002d69f
mov esi, dword [ebp - 0x140]
push 0x20
mov eax, edi
push eax
call fcn.100160c6
mov ecx, dword [ebp - 8]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.1002dda4
leave
ret
Function at 0x100276c7
Capabilities:
Check if file exists

Disassembly:
push 0xa8
mov eax, 0x10044b5d
call fcn.1002f38a
mov eax, dword [ebp + 8]
xor esi, esi
push edi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor ebx, ebx
inc ebx
test eax, eax
jne 0x10027739
push edi
lea ecx, [ebp - 0x98]
call fcn.1000520a
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0xb4]
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x78], ebx
call fcn.100012dd
cmp dword [eax + 0x18], 8
pop ecx
pop ecx
mov dword [ebp - 0x78], 3
jb 0x10027728
mov eax, dword [eax + 4]
jmp 0x1002772b
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x71], bl
test eax, eax
je 0x1002773d
mov byte [ebp - 0x71], 0
test byte [ebp - 0x78], 2
je 0x10027754
and dword [ebp - 0x78], 0xfffffffd
push esi
push ebx
lea esi, [ebp - 0xb4]
call fcn.10005e33
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x78], bl
je 0x1002776b
push 0
push ebx
lea ecx, [ebp - 0x98]
call fcn.10005c5b
cmp byte [ebp - 0x71], 0
je 0x10027775
xor al, al
jmp 0x100277c1
lea esi, [ebp - 0x6c]
call fcn.100051f7
lea esi, [ebp - 0x50]
call fcn.100051f7
lea esi, [ebp - 0x34]
call fcn.100051f7
push str.file
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], ebx
call fcn.10005b52
push edi
mov ecx, esi
mov byte [ebp - 0x70], bl
call fcn.10005b52
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x70]
push eax
add esi, 0x3c
call fcn.100282f8
lea esi, [ebp - 0x70]
call fcn.100278aa
mov al, bl
call fcn.1002f40d
ret 4
Function at 0x10028a97
Capabilities:
Read file on windows

Disassembly:
push 0x2c
mov eax, 0x10043417
call fcn.1002f38a
mov eax, dword [ebp + 8]
or dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x34], 5
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 7
xor ebx, ebx
mov dword [ebp - 4], ebx
xor edi, edi
push ebx
push 0x8000000
push 3
push ebx
push dword [ebp + edi*4 - 0x38]
push 0x80000000
push dword [ebp - 0x28]
call dword [0x1005c8c8]
push eax
lea esi, [ebp - 0x20]
call fcn.10028a5b
mov ecx, dword [ebp - 0x20]
cmp ecx, ebx
je 0x10028b00
cmp ecx, 0xffffffff
jne 0x10028b06
inc edi
cmp edi, 4
jb 0x10028ad0
cmp ecx, ebx
je 0x10028b11
or eax, 0xffffffff
cmp ecx, eax
jne 0x10028b21
lea eax, [ebp - 0x20]
call fcn.10009fc3
xor eax, eax
call fcn.1002f40d
ret
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
lea eax, [ebp - 0x1c]
push eax
push ecx
mov dword [ebp - 0x24], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [ebp - 0x1c], 0x70bfbbef
jne 0x10028b4e
cmp dword [ebp - 0x18], 0x706c646f
je 0x10028b5a
lea eax, [ebp - 0x20]
call fcn.10009fc3
mov eax, ebx
jmp 0x10028b1b
mov eax, dword [ebp - 0x14]
dec eax
dec eax
je 0x10028b69
dec eax
jne 0x10028b4e
push 3
pop ebx
jmp 0x10028b4e
push 2
jmp 0x10028b66

Function at 0x10028b6d
Capabilities:
Encode data using xor

Disassembly:
mov ecx, 0x190
mov eax, dword [esp + 8]
imul eax, eax, 0x343fd
add eax, 0x269ec3
mov dword [esp + 8], eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 8]
add eax, ecx
shr edx, 0x10
xor byte [eax], dl
inc ecx
cmp ecx, 0x1000
jl 0x10028b72
ret
Function at 0x10028bcd
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
xor esi, esi
mov dword [ebp - 0x10], esi
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
ja 0x10028c0a
jb 0x10028d23
cmp eax, 0x1000
jb 0x10028d23
push 1
lea eax, [ebp - 0x14]
push eax
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], esi
mov esi, dword [sym.imp.KERNEL32.dll_SetFilePointer]
push edi
mov dword [ebp - 0x20], edi
call esi
mov dword [ebp - 0x18], eax
xor eax, eax
push eax
push eax
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0x1000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x10028c57
cmp dword [ebp - 0x1c], eax
jne 0x10028d23
push eax
jmp 0x10028d10
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0xc]
cmp eax, edi
je 0x10028c6c
mov ecx, dword [ebx + 8]
mov dword [eax], ecx
cmp dword [ebx], 0x70bfbbef
jne 0x10028d0a
cmp dword [ebx + 4], 0x706c646f
jne 0x10028d0a
mov eax, dword [ebx + 8]
cmp eax, 2
je 0x10028c92
cmp eax, 3
jne 0x10028d0a
push dword [ebx + 0x18c]
push ebx
call fcn.10028b6d
cmp byte [ebx + 0x4a3], 0
pop ecx
pop ecx
jne 0x10028ceb
cmp dword [ebx + 0x1a0], 0x40
ja 0x10028ceb
mov eax, 0x270f
cmp word [ebx + 0x190], ax
ja 0x10028ceb
movzx eax, word [ebx + 0x192]
cmp ax, 1
jb 0x10028ceb
cmp ax, 0xc
ja 0x10028ceb
movzx eax, word [ebx + 0x196]
cmp ax, 1
jb 0x10028ceb
cmp ax, 0x1f
ja 0x10028ceb
xor ebx, ebx
inc ebx
jmp 0x10028ced
xor ebx, ebx
cmp dword [ebp - 0x1c], edi
jne 0x10028d06
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
mov eax, ebx
jmp 0x10028d25
cmp dword [ebp - 0x1c], edi
jne 0x10028d23
push edi
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 1
push dword [ebp - 0x20]
call esi
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1002b0e9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 4
shl eax, 4
pop edx
mov esi, ecx
lea edi, [eax + ecx + 0x3c]
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, edi
mov bl, byte [ecx]
xor byte [esi + eax], bl
inc eax
add ecx, edx
cmp eax, edx
jl 0x1002b103
inc edi
add esi, edx
dec dword [ebp - 4]
jne 0x1002b0ff
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1002b21e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 4
lea esi, [ebp - 8]
lea ecx, [eax + 4]
pop edi
mov al, byte [esi - 0xc]
mov dl, byte [esi - 8]
call fcn.1002b3e4
mov bl, al
mov al, dl
call fcn.1002b3e4
xor bl, al
xor bl, byte [esi - 4]
mov al, dl
xor bl, byte [esi]
xor bl, dl
mov byte [ecx - 4], bl
call fcn.1002b3e4
mov bl, al
mov al, byte [esi - 4]
call fcn.1002b3e4
xor bl, al
xor bl, byte [esi - 0xc]
mov al, byte [esi - 4]
xor bl, byte [esi]
xor bl, al
mov byte [ecx], bl
call fcn.1002b3e4
mov bl, al
mov al, byte [esi]
call fcn.1002b3e4
xor bl, al
mov al, byte [esi]
xor bl, dl
xor bl, byte [esi - 0xc]
xor bl, al
mov byte [ecx + 4], bl
call fcn.1002b3e4
mov bl, al
mov al, byte [esi - 0xc]
call fcn.1002b3e4
xor bl, al
xor bl, dl
xor bl, byte [esi - 4]
xor bl, byte [esi - 0xc]
inc ecx
mov byte [ecx + 7], bl
inc esi
dec edi
jne 0x1002b246
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002dda4
leave
ret 4
Function at 0x1002b2d3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10058060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 0x14]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea edi, [ebp - 0x10]
lea esi, [eax + 4]
mov dword [ebp - 0x1c], 4
mov al, byte [edi - 4]
mov bl, byte [edi + 4]
call fcn.1002b460
push ebx
mov dl, al
call fcn.1002b439
xor dl, al
movzx eax, byte [edi + 8]
push eax
call fcn.1002b3f4
xor dl, al
movzx eax, byte [edi]
push eax
call fcn.1002b412
xor dl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi - 4], dl
call fcn.1002b3f4
push ebx
mov byte [ebp - 0x15], al
call fcn.1002b412
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi + 8]
push eax
mov byte [ebp - 0x15], cl
call fcn.1002b439
mov cl, byte [ebp - 0x15]
xor cl, al
mov al, byte [edi]
mov byte [ebp - 0x15], cl
call fcn.1002b460
mov cl, byte [ebp - 0x15]
xor cl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi], cl
call fcn.1002b439
mov bl, al
mov al, byte [edi + 4]
call fcn.1002b460
movzx edx, byte [edi + 8]
push edx
xor bl, al
call fcn.1002b412
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002b3f4
xor bl, al
movzx eax, byte [edi - 4]
push eax
mov byte [esi + 4], bl
call fcn.1002b412
mov bl, al
movzx eax, byte [edi + 4]
push eax
call fcn.1002b3f4
xor bl, al
mov al, dl
call fcn.1002b460
xor bl, al
movzx eax, byte [edi]
push eax
call fcn.1002b439
xor bl, al
mov byte [esi + 8], bl
inc esi
inc edi
dec dword [ebp - 0x1c]
jne 0x1002b2ff
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002dda4
leave
ret 4
Function at 0x1002b952
Capabilities:
Encode data using xor

Disassembly:
push 0x30
mov eax, 0x100436f6
call fcn.1002f38a
mov ebx, ecx
mov eax, dword [ebp + 8]
and dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x14]
mov esi, edx
mov dword [ebp - 0x34], esi
test al, 0xf
je 0x1002b987
push 0x1004b92b
mov ecx, esi
call fcn.1000520a
jmp 0x1002baa7
push 0
mov edi, eax
lea esi, [ebp - 0x2c]
call fcn.10020114
and dword [ebp - 4], 0
cmp dword [ebx + 0x18], 0x10
mov eax, dword [ebx + 0x14]
jb 0x1002b9a5
mov ebx, dword [ebx + 4]
jmp 0x1002b9a8
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x1002b9b4
lea esi, [ebp - 0x28]
mov edi, dword [ebp + 0xc]
cmp eax, 0x10
jb 0x1002b9ff
shr eax, 4
mov dword [ebp - 0x38], eax
mov edx, dword [ebp - 0x3c]
cmp dword [edx + 0x18], 0x10
mov ecx, dword [edx + 0x14]
lea eax, [edx + 4]
jb 0x1002b9d3
mov eax, dword [eax]
push 0
push eax
push esi
push ebx
call fcn.1002b635
add esp, 0x10
mov ecx, edi
push 0x10
mov eax, esi
sub ecx, esi
pop edi
mov dl, byte [ecx + eax]
xor byte [eax], dl
inc eax
dec edi
jne 0x1002b9e9
mov edi, ebx
add ebx, 0x10
add esi, 0x10
dec dword [ebp - 0x38]
jne 0x1002b9c2
mov eax, dword [ebp - 0x18]
cmp eax, 0x10
jae 0x1002ba28
mov ecx, dword [ebp - 0x34]
push 0x1004b92b
call fcn.1000520a
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005c5b
mov eax, dword [ebp - 0x34]
jmp 0x1002baa9
lea esi, [eax - 1]
cmp eax, esi
ja 0x1002ba37
call fcn.1002dd61
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x1002ba43
lea ecx, [ebp - 0x28]
mov bl, byte [ecx + esi]
cmp bl, 0x10
ja 0x1002ba07
mov byte [ebp - 0x2d], 0
test bl, bl
jbe 0x1002ba87
movzx edi, bl
movzx ecx, byte [ebp - 0x2d]
mov esi, eax
sub esi, ecx
dec esi
cmp eax, esi
ja 0x1002ba6b
call fcn.1002dd61
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0x10
mov ecx, dword [ebp - 0x28]
jae 0x1002ba77
lea ecx, [ebp - 0x28]
movsx ecx, byte [ecx + esi]
cmp ecx, edi
jne 0x1002ba07
inc byte [ebp - 0x2d]
cmp byte [ebp - 0x2d], bl
jb 0x1002ba56
mov esi, dword [ebp - 0x34]
movzx ecx, bl
sub eax, ecx
push eax
push 0
lea eax, [ebp - 0x2c]
push eax
call fcn.1000bdeb
push 0
push 1
lea ecx, [ebp - 0x2c]
call fcn.10005c5b
mov eax, esi
call fcn.1002f40d
ret
Function at 0x1002bc33
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push 0x2c
mov eax, 0x100436c9
call fcn.1002f38a
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x38], eax
xor esi, esi
mov eax, edi
mov dword [ebp - 0x30], esi
lea ecx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x1002bc52
sub eax, ecx
push esi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x14], 0xf
call fcn.10006a21
xor ebx, ebx
inc ebx
cmp dword [ebp - 0x30], 0
mov dword [ebp - 4], esi
jbe 0x1002bd57
jmp 0x1002bc83
mov edi, dword [ebp + 0xc]
movsx eax, byte [esi + edi]
mov al, byte [eax + 0x1004dcf0]
inc esi
cmp esi, dword [ebp - 0x30]
jae 0x1002bc97
cmp al, 0xff
je 0x1002bc83
cmp al, 0xff
je 0x1002bd57
movsx ecx, byte [esi + edi]
mov cl, byte [ecx + 0x1004dcf0]
inc esi
mov byte [ebp - 0x32], cl
cmp esi, dword [ebp - 0x30]
jae 0x1002bcb7
cmp cl, 0xff
je 0x1002bc9f
cmp cl, 0xff
je 0x1002bd57
sar cl, 4
shl al, 2
and cl, 3
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.100162d6
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002bd57
movsx eax, al
mov al, byte [eax + 0x1004dcf0]
mov byte [ebp - 0x31], al
cmp esi, dword [ebp - 0x30]
jae 0x1002bcf7
cmp al, 0xff
je 0x1002bcd7
cmp al, 0xff
je 0x1002bd57
mov cl, al
mov al, byte [ebp - 0x32]
sar cl, 2
shl al, 4
and cl, 0xf
or cl, al
movzx eax, cl
push eax
lea edi, [ebp - 0x2c]
call fcn.100162d6
mov eax, dword [ebp + 0xc]
mov al, byte [esi + eax]
inc esi
cmp al, 0x3d
je 0x1002bd57
movsx eax, al
mov cl, byte [eax + 0x1004dcf0]
cmp esi, dword [ebp - 0x30]
jae 0x1002bd35
cmp cl, 0xff
je 0x1002bd17
cmp cl, 0xff
je 0x1002bd57
mov al, byte [ebp - 0x31]
shl al, 6
or al, cl
movzx eax, al
push eax
lea edi, [ebp - 0x2c]
call fcn.100162d6
cmp esi, dword [ebp - 0x30]
jb 0x1002bc80
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x2c]
push eax
call fcn.1000522c
push 0
push ebx
lea ecx, [ebp - 0x2c]
call fcn.10005c5b
mov eax, dword [ebp - 0x38]
call fcn.1002f40d
ret

Function at 0x1002cea0
Capabilities:
Hash data using sha1

Disassembly:
and dword [eax + 0x18], 0
and dword [eax + 0x14], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
ret
Function at 0x1002d477
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
push ebx
push esi
xor edx, edx
inc ecx
push edi
movzx esi, byte [ecx - 1]
movzx edi, byte [ecx]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 1]
shl esi, 8
or esi, edi
movzx edi, byte [ecx + 2]
shl esi, 8
or esi, edi
mov dword [ebp + edx*4 - 0x120], esi
inc edx
add ecx, 4
cmp edx, 0x10
jb 0x1002d486
push 0x40
pop esi
cmp edx, esi
jae 0x1002d501
sub esi, edx
lea ecx, [ebp + edx*4 - 0x128]
mov dword [ebp - 4], esi
mov esi, dword [ecx]
mov edx, dword [ecx - 0x34]
mov edi, esi
rol edi, 0xf
mov ebx, esi
shr esi, 0xa
rol ebx, 0xd
xor edi, ebx
xor edi, esi
mov esi, edx
rol esi, 0xe
mov ebx, edx
ror ebx, 7
xor esi, ebx
shr edx, 3
xor esi, edx
add edi, esi
add edi, dword [ecx - 0x38]
add ecx, 4
add edi, dword [ecx - 0x18]
dec dword [ebp - 4]
mov dword [ecx + 4], edi
jne 0x1002d4c7
mov ecx, dword [eax + 0x54]
mov edi, dword [eax + 0x50]
mov ebx, dword [eax + 0x68]
mov esi, dword [eax + 0x60]
and dword [ebp - 0x14], 0
mov dword [ebp - 8], ecx
mov ecx, dword [eax + 0x58]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x5c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [eax + 0x64]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x6c]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 4], ecx
mov ecx, esi
ror ecx, 0xb
mov edx, esi
rol edx, 7
xor ecx, edx
mov edx, esi
ror edx, 6
xor ecx, edx
mov edx, esi
not edx
and edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, esi
xor edx, ebx
add ecx, edx
mov edx, dword [ebp - 0x14]
add ecx, dword [edx + 0x1004dba8]
mov ebx, edi
add ecx, dword [ebp + edx - 0x120]
mov edx, edi
add ecx, dword [ebp - 4]
ror edx, 0xd
rol ebx, 0xa
xor edx, ebx
mov ebx, edi
add dword [ebp - 0x14], 4
ror ebx, 2
xor edx, ebx
mov ebx, dword [ebp - 8]
xor ebx, edi
and ebx, dword [ebp - 0xc]
mov edi, dword [ebp - 8]
and edi, dword [ebp - 0x18]
xor ebx, edi
mov edi, dword [ebp - 0x20]
add edx, ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 4], edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 0x10], esi
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edi
mov edi, dword [ebp - 8]
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 0x18]
mov dword [ebp - 8], edi
add esi, ecx
cmp dword [ebp - 0x14], 0x100
lea edi, [edx + ecx]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x18], edi
jb 0x1002d532
mov ecx, dword [eax + 0x50]
mov edx, dword [ebp - 8]
add ecx, edi
mov dword [eax + 0x50], ecx
mov ecx, dword [eax + 0x54]
add ecx, edx
mov edx, dword [ebp - 0xc]
mov dword [eax + 0x54], ecx
mov ecx, dword [eax + 0x58]
add ecx, edx
mov edx, dword [ebp - 0x1c]
mov dword [eax + 0x58], ecx
mov ecx, dword [eax + 0x5c]
add ecx, edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x5c], ecx
mov ecx, dword [eax + 0x60]
add ecx, esi
mov dword [eax + 0x60], ecx
mov ecx, dword [eax + 0x64]
add ecx, edx
mov edx, dword [ebp - 4]
mov dword [eax + 0x64], ecx
mov ecx, dword [eax + 0x68]
add ecx, ebx
mov dword [eax + 0x68], ecx
mov ecx, dword [eax + 0x6c]
pop edi
add ecx, edx
pop esi
mov dword [eax + 0x6c], ecx
pop ebx
leave
ret
Function at 0x1002d858
Capabilities:
Encode data using xor

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x98
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 3]
shl ecx, 8
or ecx, edx
movzx edx, byte [eax + 4]
push ebx
push esi
movzx esi, byte [eax + 5]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 6]
movzx ebx, byte [eax + 0xd]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 8]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xb]
shl esi, 8
or esi, edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edi, 8
or edi, ebx
shl edi, 8
or edi, eax
xor ecx, 0xa3b1bac6
xor edx, 0x56aa3350
xor esi, 0x677d9197
xor edi, 0xb27022dc
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], edi
xor ecx, ecx
mov eax, dword [ecx + 0x1004dae8]
xor eax, dword [ebp + ecx - 0x20]
xor eax, dword [ebp + ecx - 0x18]
xor eax, dword [ebp + ecx - 0x1c]
mov edx, eax
shr edx, 0x18
mov ebx, eax
movzx edx, dl
mov dl, byte [edx + 0x1004d9d8]
shr ebx, 0x10
mov byte [ebp + 0x70], dl
mov byte [ebp + 0x6d], bl
movzx edx, byte [ebp + 0x6d]
mov dl, byte [edx + 0x1004d9d8]
mov ebx, eax
movzx eax, al
mov al, byte [eax + 0x1004d9d8]
mov byte [ebp + 0x73], al
movzx eax, byte [ebp + 0x70]
shr ebx, 8
movzx edx, dl
shl eax, 8
or eax, edx
movzx esi, bl
mov bl, byte [esi + 0x1004d9d8]
shl eax, 8
movzx edx, bl
or eax, edx
movzx edx, byte [ebp + 0x73]
shl eax, 8
or eax, edx
mov edx, eax
rol edx, 0xd
mov esi, eax
ror esi, 9
xor edx, esi
xor edx, dword [ebp + ecx - 0x24]
xor edx, eax
mov eax, dword [ebp + 0x7c]
mov dword [ebp + ecx - 0x14], edx
mov dword [ecx + eax], edx
add ecx, 4
cmp ecx, 0x80
jb 0x1002d907
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret

Function at 0x1002dda4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10058060]
jne 0x1002ddae
repz ret
jmp fcn.1002f42b
Function at 0x10038d82
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.1002f8bf
and dword [ebp - 4], 0
cmp dword [0x1005bcb4], 0
mov ebx, eax
jne 0x10038e33
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x10038ee4
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x10038ee4
push eax
call fcn.1002f84d
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1005bcb4], eax
call esi
push eax
call fcn.1002f84d
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1005bcb8], eax
call esi
push eax
call fcn.1002f84d
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x1005bcbc], eax
call esi
push eax
call fcn.1002f84d
pop ecx
mov dword [0x1005bcc4], eax
test eax, eax
je 0x10038e33
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1002f84d
pop ecx
mov dword [0x1005bcc0], eax
mov eax, dword [0x1005bcc0]
cmp eax, ebx
je 0x10038e8b
cmp dword [0x1005bcc4], ebx
je 0x10038e8b
push eax
call fcn.1002f8c8
push dword [0x1005bcc4]
mov esi, eax
call fcn.1002f8c8
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x10038e8b
test edi, edi
je 0x10038e8b
call esi
test eax, eax
je 0x10038e82
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x10038e82
test byte [ebp - 0xc], 1
jne 0x10038e8b
or dword [ebp + 0x10], 0x200000
jmp 0x10038ec4
mov eax, dword [0x1005bcb8]
cmp eax, ebx
je 0x10038ec4
push eax
call fcn.1002f8c8
pop ecx
test eax, eax
je 0x10038ec4
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x10038ec4
mov eax, dword [0x1005bcbc]
cmp eax, ebx
je 0x10038ec4
push eax
call fcn.1002f8c8
pop ecx
test eax, eax
je 0x10038ec4
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1005bcb4]
call fcn.1002f8c8
pop ecx
test eax, eax
je 0x10038ee4
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x10038ee6
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret