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

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
mov eax, dword [esi + 0xa8]
cmp eax, 0xffffffff
je 0x45505c
cmp eax, 0x40
jbe 0x45500a
push esi
lea ecx, [esi + 0x40]
call fcn.00448fb0
mov dword [esi + 0xa8], 0x14
mov eax, dword [esi + 0xa8]
mov ecx, 0x40
sub ecx, eax
push ecx
add eax, esi
push 0
push eax
call fcn.00464140
add esp, 0xc
xor eax, eax
jmp 0x455030
xor dword [esi + eax*4], 0x36363636
inc eax
cmp eax, 0x10
jb 0x455030
push edi
lea ecx, [esi + 0x40]
call fcn.004482a0
push 0x40
push esi
lea ecx, [esi + 0x40]
call fcn.004488c0
mov dword [esi + 0xa8], 0xffffffff
pop edi
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x455070
mov edx, dword [ebp + 8]
push eax
push edx
lea ecx, [esi + 0x40]
call fcn.004488c0
pop esi
pop ebp
ret

Function at 0x455080
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
cmp dword [esi + 0xa8], 0xffffffff
je 0x4550ae
push esi
push 0
push 0
call fcn.00454fe0
add esp, 0xc
push edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [esi + 0x40]
call fcn.00448fb0
xor eax, eax
lea ecx, [ecx]
xor dword [esi + eax*4], 0x6a6a6a6a
inc eax
cmp eax, 0x10
jb 0x4550c0
lea ecx, [esi + 0x40]
call fcn.004482a0
push 0x40
push esi
lea ecx, [esi + 0x40]
call fcn.004488c0
push 0x14
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [esi + 0x40]
call fcn.004488c0
lea edx, [ebp - 0x18]
push edx
lea ecx, [esi + 0x40]
call fcn.00448fb0
mov eax, dword [ebp + 0xc]
pop edi
test eax, eax
je 0x455110
push eax
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004641c0
add esp, 0xc
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00462838
mov esp, ebp
pop ebp
ret
Function at 0x459720
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x45973e
pop edi
lea eax, [esi + 1]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [ebp + 0x10]
test ebx, ebx
je 0x45983c
lea ebx, [ebx]
mov eax, ebx
cmp ebx, 0x15b0
jb 0x45975f
mov eax, 0x15b0
sub ebx, eax
mov dword [ebp + 0x10], ebx
cmp eax, 0x10
jb 0x459801
mov edx, eax
shr edx, 4
movzx ebx, byte [esi]
add ecx, ebx
movzx ebx, byte [esi + 1]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 2]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 3]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 4]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 5]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 6]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 7]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 8]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 9]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xa]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xb]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xc]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xd]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xe]
add edi, ecx
add ecx, ebx
movzx ebx, byte [esi + 0xf]
add edi, ecx
add ecx, ebx
add edi, ecx
add esi, 0x10
sub eax, 0x10
dec edx
jne 0x459772
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x459810
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
dec eax
jne 0x459805
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
jne 0x459750
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
pop ebp
ret 0xc
Function at 0x462838
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x51384c]
jne 0x462842
repz ret
jmp fcn.00466b88

Function at 0x46915b
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x469182
call fcn.00468084
mov dword [eax], esi
call fcn.00468071
push 0x16
pop esi
mov dword [eax], esi
call fcn.0046801f
mov eax, esi
jmp 0x4691d7
test dword [ebp + 0xc], 0xfffffff9
jne 0x469168
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4691af
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00468097
pop ecx
call fcn.00468071
mov eax, dword [eax]
jmp 0x4691d7
test al, 0x10
jne 0x4691d5
test al, 1
je 0x4691d5
test byte [ebp + 0xc], 2
je 0x4691d5
call fcn.00468084
mov dword [eax], 5
call fcn.00468071
mov dword [eax], 0xd
jmp 0x4691a6
xor eax, eax
pop esi
pop ebp
ret
Function at 0x472d88
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x51384c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.004691da
and dword [ebp - 0x14], 0
cmp dword [0x5187b4], 0
mov dword [ebp - 0x18], eax
jne 0x472e3b
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x472ee3
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4c16cc
push ebx
call edi
test eax, eax
je 0x472ee3
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x5187b4], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x5187b8], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x5187bc], eax
call edi
push eax
call esi
mov dword [0x5187c4], eax
test eax, eax
je 0x472e3b
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x5187c0], eax
mov eax, dword [0x5187c0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x472e94
cmp dword [0x5187c4], ecx
je 0x472e94
push eax
call esi
push dword [0x5187c4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x472e94
test ebx, ebx
je 0x472e94
call edi
test eax, eax
je 0x472e8b
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x472e8b
test byte [ebp - 8], 1
jne 0x472e94
or dword [ebp + 0x10], 0x200000
jmp 0x472ec7
mov eax, dword [0x5187b8]
cmp eax, dword [ebp - 0x18]
je 0x472ec7
push eax
call esi
test eax, eax
je 0x472ec7
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x472ec7
mov eax, dword [0x5187bc]
cmp eax, dword [ebp - 0x18]
je 0x472ec7
push eax
call esi
test eax, eax
je 0x472ec7
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x5187b4]
call esi
test eax, eax
je 0x472ee3
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x472ee5
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00462838
leave
ret
Function at 0x105dbe50
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x105dc03d
pushal
mov esi, section.UPX1
lea edi, [esi - 0x35d000]
push edi
or ebp, 0xffffffff
jmp 0x105dbe7a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x105dbe81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dbe70
mov eax, 1
add ebx, ebx
jne 0x105dbe93
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x105dbea4
jne 0x105dbec3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dbec3
dec eax
add ebx, ebx
jne 0x105dbeb0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x105dbe88
add ebx, ebx
jne 0x105dbebf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x105dbf15
xor ecx, ecx
sub eax, 3
jb 0x105dbedb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x105dbf4a
sar eax, 1
mov ebp, eax
jmp 0x105dbee6
add ebx, ebx
jne 0x105dbee6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dbeb4
inc ecx
add ebx, ebx
jne 0x105dbef4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x105dbeb4
add ebx, ebx
jne 0x105dbf01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x105dbef6
jne 0x105dbf12
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x105dbef6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x105dbf34
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x105dbf26
jmp 0x105dbe76
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x105dbf34
add edi, ecx
jmp 0x105dbe76
pop esi
mov edi, esi
mov ecx, 0x6b79
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x105dbf52
cmp byte [edi], 0x26
jne 0x105dbf52
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x105dbf57
lea edi, [esi + 0x5d0000]
mov eax, dword [edi]
or eax, eax
je 0x105dbfcf
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e938c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e94bc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x105dbf84
mov ecx, edi
jns 0x105dbfb3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5e94c0]
or eax, eax
je 0x105dbfc9
mov dword [ebx], eax
add ebx, 4
jmp 0x105dbfa1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x105dc000
cmp al, 0xef
ja 0x105dbff3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x105dbfd5
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x105dbfe2
mov ebp, dword [esi + 0x5e94c4]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x105dc034
sub esp, 0xffffff80
jmp 0x100fc492
Function at 0x59ccc0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xb1000]
push edi
jmp 0x59ccda
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x59cce1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59ccd0
mov eax, 1
add ebx, ebx
jne 0x59ccf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x59cd04
jne 0x59cd23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59cd23
dec eax
add ebx, ebx
jne 0x59cd10
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x59cce8
add ebx, ebx
jne 0x59cd1f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x59cd75
xor ecx, ecx
sub eax, 3
jb 0x59cd3b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59cdaa
sar eax, 1
mov ebp, eax
jmp 0x59cd46
add ebx, ebx
jne 0x59cd46
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59cd14
inc ecx
add ebx, ebx
jne 0x59cd54
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x59cd14
add ebx, ebx
jne 0x59cd61
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x59cd56
jne 0x59cd72
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x59cd56
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x59cd94
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x59cd86
jmp 0x59ccd6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x59cd94
add edi, ecx
jmp 0x59ccd6
pop esi
mov edi, esi
mov ecx, 0x4ee4
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x59cdb2
cmp byte [edi], 0x13
jne 0x59cdb2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x59cdb7
lea edi, [esi + 0x198000]
mov eax, dword [edi]
or eax, eax
je 0x59ce26
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1d4d50]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1d4e14]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x59cde4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1d4e1c]
or eax, eax
je 0x59ce20
mov dword [ebx], eax
add ebx, 4
jmp 0x59ce01
call dword [esi + 0x1d4e18]
mov ebp, dword [esi + 0x1d4e20]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x227]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x59ce5a
sub esp, 0xffffff80
jmp 0x4ad0e6
Function at 0x10004e70
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, edx
not ebx
mov esi, ecx
mov eax, ebx
test edi, edi
je 0x10004ed1
mov cl, byte [esi]
lea esi, [esi + 1]
dec edi
cmp cl, 0x23
jne 0x10004eb4
cmp edi, 2
jb 0x10004eb4
cmp byte [esi], cl
jne 0x10004eb4
cmp byte [esi + 1], cl
jne 0x10004eb4
mov eax, ebx
movzx ecx, cl
movzx edx, al
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1009a948]
jmp 0x10004e85
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
xor eax, dword [edx*4 + 0x1009a948]
test edi, edi
jne 0x10004e85
pop edi
pop esi
not eax
pop ebx
pop ebp
ret
mov cl, byte [esi]
inc esi
test cl, cl
je 0x10004f00
cmp cl, 0x23
jne 0x10004ee7
cmp byte [esi], cl
jne 0x10004ee7
cmp byte [esi + 1], cl
cmove eax, ebx
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1009a948]
test cl, cl
jne 0x10004ed8
pop edi
pop esi
not eax
pop ebx
pop ebp
ret

Function at 0x10005010
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
test ebx, ebx
je 0x10005024
mov dword [ebx], 0
mov edx, 0x1009a798
call fcn.10004f10
mov esi, eax
test esi, esi
je 0x10005112
mov edi, dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
push esi
call edi
add esp, 4
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
je 0x10005108
push 2
push 0
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10005108
push esi
call edi
mov edi, eax
add esp, 4
mov dword [ebp + 8], edi
cmp edi, 0xffffffff
je 0x10005108
push 0
push dword [ebp - 4]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0xc
test eax, eax
jne 0x10005108
mov eax, dword [0x100b06f0]
test eax, eax
je 0x1000509c
inc dword [eax + 0x370]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
add esp, 4
test edi, edi
je 0x10005108
push esi
push dword [ebp + 8]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add esp, 0x10
push esi
cmp eax, dword [ebp + 8]
je 0x100050ed
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov eax, dword [0x100b06f0]
add esp, 4
test eax, eax
je 0x100050da
dec dword [eax + 0x370]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
test ebx, ebx
je 0x100050ff
mov eax, dword [ebp + 8]
mov dword [ebx], eax
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1000b3f0
Capabilities:
Hash data with crc32

Disassembly:
mov eax, ecx
or ecx, 0xffffffff
push ebx
push esi
mov bl, byte [eax]
lea esi, [eax + 1]
test bl, bl
je 0x1000b42d
push edi
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1000b413
cmp byte [esi], bl
jne 0x1000b413
cmp byte [esi + 1], bl
cmove ecx, edi
movzx edx, cl
movzx eax, bl
mov bl, byte [esi]
xor edx, eax
shr ecx, 8
inc esi
xor ecx, dword [edx*4 + 0x1009a948]
test bl, bl
jne 0x1000b404
pop edi
pop esi
not ecx
pop ebx
jmp fcn.1000b390
Function at 0x100105e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x100af380]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100b06f0]
lea edx, [ebp - 8]
push ebx
push esi
push edi
mov edi, dword [eax + 0x1b94]
mov esi, 4
mov eax, dword [edi + 0xc0]
add edi, 0xc0
mov dword [ebp - 8], ecx
mov ebx, dword [edi + 8]
mov ebx, dword [ebx + eax*4 - 4]
not ebx
nop
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1009a948]
sub esi, 1
jne 0x10010620
mov esi, dword [edi + 4]
not ebx
mov ecx, dword [edi]
cmp ecx, esi
jne 0x10010667
inc ecx
test esi, esi
je 0x10010655
mov eax, esi
cdq
sub eax, edx
sar eax, 1
add eax, esi
jmp 0x1001065a
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edi
call fcn.100164d0
mov ecx, dword [edi]
mov eax, dword [edi + 8]
mov dword [eax + ecx*4], ebx
inc dword [edi]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100907a6
mov esp, ebp
pop ebp
ret
Function at 0x10015000
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x2ee0], 0
lea esi, [edi + 0x2ee4]
je 0x10015082
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001503c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.10016850
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.10005440
mov edx, dword [esi]
mov ecx, 0x100b06ec
push dword [edi + 0x2ee0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x2eec]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.10005440
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x10015650
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, dword [0x100b06f0]
sub esp, 8
push esi
mov esi, ecx
mov dword [eax + 0x2e94], 0
push edi
test esi, esi
je 0x100156ad
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0
call fcn.100156c0
mov edx, 0x1009a79c
mov ecx, esi
mov edi, eax
call fcn.10004f10
mov esi, eax
test esi, esi
je 0x100156ad
push esi
push dword [esp + 0x10]
push 1
push edi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
add esp, 0x14
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1001ed60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1001ed9a
mov eax, dword [0x100b06f0]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x1001ed8d
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x1001edcb
mov eax, dword [0x100b06f0]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x1001edbe
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x1001edfc
mov eax, dword [0x100b06f0]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x1001edef
dec dword [eax + 0x370]
push ecx
call edi
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 0x1001ee49
mov eax, dword [0x100b06f0]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x1001ee3c
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x1001ee7a
mov eax, dword [0x100b06f0]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x1001ee6d
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x1001eeab
mov eax, dword [0x100b06f0]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x1001ee9e
dec dword [eax + 0x370]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.100214e0
Function at 0x10027270
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x100af380]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x100b06f0]
lea eax, [ebp - 0x30]
push esi
push edi
push eax
push dword [0x100b1f1c]
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
movd xmm1, eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x18]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebx + 0x10], xmm1
movss dword [ebx + 0x14], xmm0
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebp - 0x18]
mov ecx, edi
sub ecx, dword [0x100b1f20]
mov esi, dword [ebp - 0x14]
mov edx, esi
sbb edx, dword [0x100b1f24]
call fcn.100928f0
mov edx, dword [0x100b1f2c]
mov ecx, dword [0x100b1f28]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 8], xmm0
call fcn.100928f0
movss xmm1, dword [ebp - 8]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x100b1f24], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x100b1f20], 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
mov esi, dword [0x100b06f0]
shr eax, 0xf
and al, 1
mov byte [ebx + 0xff], 0
mov byte [ebx + 0xfe], al
cmp byte [esi + 0x357], 0
je 0x100273a8
cvttss2si eax, dword [esi + 0xe4]
mov dword [ebp - 0xc], eax
cvttss2si eax, dword [esi + 0xe8]
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push dword [0x100b1f1c]
call dword [sym.imp.USER32.dll_ClientToScreen]
test eax, eax
je 0x100273a8
push dword [ebp - 8]
push dword [ebp - 0xc]
call dword [sym.imp.USER32.dll_SetCursorPos]
mov dword [esi + 0xe4], 0xff7fffff
mov dword [esi + 0xe8], 0xff7fffff
call dword [sym.imp.USER32.dll_GetForegroundWindow]
test eax, eax
je 0x1002741e
mov ecx, dword [0x100b1f1c]
cmp eax, ecx
je 0x100273dc
push ecx
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x1002741e
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1002741e
lea eax, [ebp - 0x20]
push eax
push dword [0x100b1f1c]
call dword [sym.imp.USER32.dll_ScreenToClient]
test eax, eax
je 0x1002741e
movd xmm0, dword [ebp - 0x20]
movd xmm1, dword [ebp - 0x1c]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
movss dword [esi + 0xe4], xmm0
movss dword [esi + 0xe8], xmm1
cmp byte [ebx + 0xb0], 0
je 0x1002742c
or eax, 0xffffffff
jmp 0x10027437
mov eax, dword [0x100b06f0]
mov eax, dword [eax + 0x1e38]
cmp dword [0x100af628], eax
je 0x10027449
mov dword [0x100af628], eax
call fcn.10026e90
call fcn.10026fd0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100907a6
mov esp, ebp
pop ebp
ret
Function at 0x1003a5e0
Capabilities:
Hash data with crc32

Disassembly:
test dword [ecx + 0xc], 0x100000
push esi
push edi
mov edi, edx
je 0x1003a650
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x1003a628
or edi, 0xffffffff
nop dword [eax]
cmp cl, 0x23
jne 0x1003a60f
cmp byte [esi], cl
jne 0x1003a60f
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1009a948]
test cl, cl
jne 0x1003a600
mov ecx, dword [0x100b06f0]
not eax
cmp dword [ecx + 0x1bc8], eax
jne 0x1003a63e
mov dword [ecx + 0x1bcc], eax
cmp dword [ecx + 0x1c04], eax
jne 0x1003a695
pop edi
mov byte [ecx + 0x1c08], 1
pop esi
ret
mov esi, dword [0x100b06f0]
xor edx, edx
mov eax, dword [esi + 0x1b94]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10004e70
add esp, 4
cmp dword [esi + 0x1bc8], eax
jne 0x1003a686
mov dword [esi + 0x1bcc], eax
cmp dword [esi + 0x1c04], eax
jne 0x1003a695
mov byte [esi + 0x1c08], 1
pop edi
pop esi
ret