joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41c358
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xc
mov eax, dword [0x44d218]
test eax, eax
je 0x41c462
movzx eax, byte [0x44d230]
test al, al
jne 0x41c453
mov eax, dword [0x44d220]
mov esi, dword [0x44d21c]
cmp esi, eax
jbe 0x41c3a9
mov ecx, dword [0x44d234]
lea esi, [esi]
add eax, eax
lea edx, [ecx + 1]
cmp esi, eax
mov ecx, edx
ja 0x41c398
mov dword [0x44d234], edx
lea eax, [esi + esi + 2]
xor edi, edi
mov dword [esp], eax
call fcn.00409898
movzx ebx, word [0x44d220]
mov dword [0x44d258], eax
mov edx, eax
mov esi, dword [0x44d21c]
xor ecx, ecx
lea esi, [esi]
lea edi, [edi]
cmp ecx, ebx
jbe 0x41c3e8
lea eax, [ebx + ebx]
movzx ebx, ax
lea eax, [edi + 1]
movzx edi, ax
mov word [edx], di
lea eax, [ecx + 1]
movzx ecx, ax
add edx, 2
cmp ecx, esi
jbe 0x41c3d8
mov eax, dword [0x44d234]
shl eax, 4
mov dword [esp], eax
call fcn.00409898
mov dword [0x44d248], eax
mov ebx, dword [0x16597c0]
test ebx, ebx
jne 0x41c4bb
xor esi, esi
cmp esi, dword [0x44d234]
jae 0x41c453
lea esi, [esi]
mov dword [esp], 4
mov eax, dword [0x44d248]
mov ebx, esi
shl ebx, 4
inc esi
add ebx, eax
call fcn.00409898
mov dword [ebx], eax
mov eax, dword [ebx]
mov dword [eax], 0
cmp esi, dword [0x44d234]
jb 0x41c428
mov byte [0x44d24c], 1
add esp, 0xc
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], str.GLIBCXX_FORCE_NEW
mov eax, 8
mov edi, 0x1000
mov dword [0x44d218], eax
mov eax, pe_nt_image_headers32
mov esi, 0xa
mov dword [0x44d21c], eax
mov eax, 8
mov dword [0x44d220], eax
mov eax, 0xff0
mov dword [0x44d224], eax
mov dword [0x44d228], edi
mov dword [0x44d22c], esi
call sub.msvcrt.dll_getenv
test eax, eax
setne al
mov byte [0x44d230], al
jmp 0x41c375
mov eax, dword [0x44d228]
mov ebx, 1
shl eax, 3
mov dword [esp], eax
call fcn.00409898
cmp dword [0x44d228], 1
mov dword [0x44d23c], eax
jmp 0x41c503
mov edx, dword [0x44d23c]
lea eax, [ebx*8]
mov ecx, dword [0x44d23c]
lea edx, [eax + edx]
add eax, ecx
mov dword [edx - 4], ebx
inc ebx
cmp dword [0x44d228], ebx
mov dword [edx - 8], eax
ja 0x41c4de
mov eax, dword [0x44d23c]
xor ecx, ecx
mov dword [eax + ebx*8 - 8], ecx
mov eax, dword [0x44d23c]
mov dword [eax + ebx*8 - 4], ebx
mov dword [esp], 0x44d240
call fcn.00413a98
mov dword [esp], 0x44d238
mov edx, 0x41c738
mov dword [esp + 4], edx
call fcn.004139a8
mov dword [ebp - 0x10], 0
mov esi, dword [0x44d228]
xor eax, eax
inc esi
cmp eax, dword [0x44d234]
jae 0x41c453
lea edi, [esi*4]
lea esi, [esi]
lea edi, [edi]
mov dword [esp], edi
mov edx, dword [ebp - 0x10]
mov eax, dword [0x44d248]
shl edx, 4
lea ebx, [edx + eax]
call fcn.00409898
mov dword [ebx], eax
mov dword [esp], edi
call fcn.00409898
mov dword [ebx + 4], eax
mov dword [esp], edi
call fcn.00409898
mov dword [ebx + 8], eax
mov dword [esp], 8
call fcn.00409898
mov dword [ebx + 0xc], eax
mov dword [esp], eax
call fcn.00413a98
xor edx, edx
jmp 0x41c5d6
mov eax, dword [ebx]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], 0
mov eax, dword [ebx + 8]
mov dword [eax + edx*4], 0
inc edx
cmp edx, esi
jb 0x41c5b8
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x44d234]
jb 0x41c568
jmp 0x41c453
Function at 0x411037
Capabilities:
Packed with generic packer

Disassembly:
pushal
call 0x41103d
pop eax
sub eax, 0x3d
push eax
lea edi, [eax - 0x10000]
push edi
add word [edi + 0xf5cc], 1
lea esi, [eax + 0x1ec]
or ebp, 0xffffffff
xor ebx, ebx
jmp 0x411066
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x411071
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x411060
mov eax, 1
add ebx, ebx
jne 0x411083
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
ja 0x411078
jne 0x411094
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x411078
xor ecx, ecx
sub eax, 3
jb 0x411102
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41111e
mov ebp, eax
add ebx, ebx
jne 0x4110b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4110c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4110e4
inc ecx
add ebx, ebx
jne 0x4110d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
ja 0x4110c5
jne 0x4110e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4110c5
add ecx, 2
cmp eax, 0xfffff300
adc ecx, 1
lea edx, [edi + eax]
cmp eax, 0xfffffffc
jle 0x411108
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4110f4
jmp 0x411066
mov eax, ebp
jmp 0x4110a8
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x411108
add edi, ecx
jmp 0x411066
pop esi
pop ebp
sub edi, dword [edi - 4]
push edi
lea edi, [esi]
mov ecx, 0x1a0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41112f
cmp byte [edi], 3
jne 0x41112f
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 eax, ebx
loop 0x411134
pop edi
mov eax, dword [edi]
or eax, eax
je 0x411199
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xf000]
add ebx, esi
push eax
add edi, 8
call dword [ebp]
xchg edx, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41115c
push edx
mov ecx, edi
jns 0x411189
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push edx
call dword [ebp + 4]
pop edx
mov dword [ebx], eax
add ebx, 4
jmp 0x411176
lea ebx, [esi - 4]
add edi, 4
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4111ca
cmp al, 0xef
ja 0x4111bd
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x41119f
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4111ac
popal
jmp 0x405980
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x429004]
jne 0x401010
repz ret
jmp fcn.00401748

Function at 0x405478
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.00402f5b
and dword [ebp - 4], 0
cmp dword [0x42b430], 0
mov ebx, eax
jne 0x405529
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x4055da
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x4055da
push eax
call fcn.00402ee9
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42b430], eax
call esi
push eax
call fcn.00402ee9
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42b434], eax
call esi
push eax
call fcn.00402ee9
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42b438], eax
call esi
push eax
call fcn.00402ee9
pop ecx
mov dword [0x42b440], eax
test eax, eax
je 0x405529
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402ee9
pop ecx
mov dword [0x42b43c], eax
mov eax, dword [0x42b43c]
cmp eax, ebx
je 0x405581
cmp dword [0x42b440], ebx
je 0x405581
push eax
call fcn.00402f64
push dword [0x42b440]
mov esi, eax
call fcn.00402f64
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x405581
test edi, edi
je 0x405581
call esi
test eax, eax
je 0x405578
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405578
test byte [ebp - 0xc], 1
jne 0x405581
or dword [ebp + 0x10], 0x200000
jmp 0x4055ba
mov eax, dword [0x42b434]
cmp eax, ebx
je 0x4055ba
push eax
call fcn.00402f64
pop ecx
test eax, eax
je 0x4055ba
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x4055ba
mov eax, dword [0x42b438]
cmp eax, ebx
je 0x4055ba
push eax
call fcn.00402f64
pop ecx
test eax, eax
je 0x4055ba
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42b430]
call fcn.00402f64
pop ecx
test eax, eax
je 0x4055da
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x4055dc
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4209f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
push 0x40
push dword [0x42cec4]
push dword [0x42cbe0]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
leave
ret

Function at 0x420a7f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp ebx, 0x19f
jne 0x420a94
push 0
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push edi
xor edi, edi
test ebx, ebx
jle 0x420acc
push esi
and dword [ebp - 8], 0
lea esi, [ebp - 8]
mov dword [ebp - 4], 5
call fcn.00420a74
mov eax, dword [ebp - 8]
add eax, 0x46
mov dword [ebp - 4], eax
sub dword [ebp - 4], 0x46
mov eax, dword [ebp + 8]
mov cl, byte [ebp - 4]
add eax, edi
xor byte [eax], cl
inc edi
cmp edi, ebx
jl 0x420a9c
pop esi
pop edi
cmp ebx, 0x2d
jne 0x420ae3
or dword [0x42ced4], 0xffffffff
mov dword [0x42ced0], 0xa62e7790
leave
ret
Function at 0x402620
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
test ecx, ecx
mov dword [ebp - 0xc], ebx
mov ebx, eax
mov dword [ebp - 8], esi
mov esi, edx
mov dword [ebp - 4], edi
mov edi, ecx
jne 0x402646
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x38]
mov dword [esp + 8], 0x1c
mov dword [esp + 4], eax
mov dword [esp], ebx
call sym._VirtualQuery_12
sub esp, 0xc
test eax, eax
je 0x4026da
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x402695
cmp eax, 0x40
je 0x402695
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 8], 0x40
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp], ebx
call sym._memcpy
mov eax, dword [ebp - 0x24]
cmp eax, 4
je 0x402639
cmp eax, 0x40
je 0x402639
lea eax, [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call sym._VirtualProtect_16
sub esp, 0x10
jmp 0x402639
mov dword [esp + 8], 0x34
mov dword [esp + 4], 0x4040e8
mov dword [esp], str.VirtualQuery__addr__b__sizeof_b__
call sym.__assert
lea esi, [esi]
lea edi, [edi]
Function at 0x6e8f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1dc000]
push edi
or ebp, 0xffffffff
jmp 0x6e8fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x6e8fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e8f98
mov eax, 1
add ebx, ebx
jne 0x6e8fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x6e8fcc
jne 0x6e8feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e8feb
dec eax
add ebx, ebx
jne 0x6e8fd8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x6e8fb0
add ebx, ebx
jne 0x6e8fe7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x6e903d
xor ecx, ecx
sub eax, 3
jb 0x6e9003
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x6e9072
sar eax, 1
mov ebp, eax
jmp 0x6e900e
add ebx, ebx
jne 0x6e900e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e8fdc
inc ecx
add ebx, ebx
jne 0x6e901c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6e8fdc
add ebx, ebx
jne 0x6e9029
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6e901e
jne 0x6e903a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6e901e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x6e905c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x6e904e
jmp 0x6e8f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x6e905c
add edi, ecx
jmp 0x6e8f9e
pop esi
mov edi, esi
mov ecx, 0x6672
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x6e907a
cmp byte [edi], 0xe
jne 0x6e907a
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 0x6e907f
lea edi, [esi + 0x2df000]
mov eax, dword [edi]
or eax, eax
je 0x6e90f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2edb64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2edca4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6e90ac
mov ecx, edi
jns 0x6e90db
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 + 0x2edca8]
or eax, eax
je 0x6e90f1
mov dword [ebx], eax
add ebx, 4
jmp 0x6e90c9
call dword [esi + 0x2edcb8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x6e9128
cmp al, 0xef
ja 0x6e911b
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x6e90fd
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x6e910a
mov ebp, dword [esi + 0x2edcac]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
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 0x6e915c
sub esp, 0xffffff80
jmp 0x4abae3
Function at 0x4146c4
Capabilities:
Create thread

Disassembly:
push 4
mov eax, 0x41a117
call fcn.004112b2
mov esi, ecx
mov ecx, 0x42319b
call fcn.004115be
push 4
lea ecx, [ebp - 0x10]
call fcn.00414eb8
push dword [ebp + 8]
call fcn.00414b67
push eax
lea eax, [ebp + 8]
push eax
call fcn.00414bae
add esp, 0xc
lea ecx, [ebp - 0x10]
push eax
call fcn.00413fd2
xor ebx, ebx
lea ecx, [ebp + 8]
mov dword [ebp - 4], ebx
call fcn.00414d55
lea edi, [esi + 4]
push edi
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041508d
push eax
push 0x414622
push ebx
push ebx
call dword [sym.imp.ucrtbased.dll__beginthreadex]
add esp, 0x18
mov dword [esi], eax
test eax, eax
je 0x41474d
lea ecx, [ebp - 0x10]
call fcn.00415272
lea ecx, [ebp - 0x10]
call fcn.00414d55
call fcn.00411014
ret 4
push 6
mov dword [edi], ebx
call fcn.00411172
int3
Function at 0x410116
Capabilities:
Encode data using base64

Disassembly:
push 0x18
mov eax, 0x47e758
call fcn.00459f1f
mov dword [ebp - 0x14], edx
mov ebx, ecx
mov dword [ebp - 0x24], ebx
mov eax, dword [ebp + 8]
xor edx, edx
push 3
pop ecx
and dword [ebp - 0x18], 0
mov edi, ebx
lea eax, [eax + 2]
div ecx
mov cl, byte [ebp + 0xc]
mov esi, eax
push 0x3d
pop edx
shl esi, 2
test cl, cl
push 0x2e
movzx ecx, cl
pop eax
cmovne edx, eax
mov byte [ebp + 0xc], dl
mov eax, dword [ecx*4 + 0x496dc8]
mov dword [ebp - 0x1c], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], 0xf
mov byte [ebx], al
xor edi, edi
mov dword [ebp - 4], eax
inc edi
mov ecx, ebx
push esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x18], edi
call fcn.004102b2
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x410263
mov edx, dword [ebp - 0x14]
lea eax, [ecx - 1]
sub edi, edx
push 3
pop ecx
lea esi, [edx + 1]
mov dword [ebp - 0x20], edi
xor edx, edx
mov edi, dword [ebp - 0x1c]
div ecx
inc eax
mov dword [ebp - 0x14], eax
movzx eax, byte [esi - 1]
mov ecx, ebx
shr eax, 2
movzx eax, byte [eax + edi]
push eax
call fcn.00410317
mov eax, dword [ebp + 8]
mov cl, byte [esi - 1]
push 3
cmp dword [ebp - 0x10], eax
jae 0x410229
movzx ecx, cl
pop eax
and ecx, eax
movzx eax, byte [esi]
shl ecx, 4
add ecx, edi
shr eax, 4
movzx eax, byte [eax + ecx]
mov ecx, ebx
push eax
call fcn.00410317
movzx ecx, byte [esi]
mov eax, dword [ebp - 0x20]
and ecx, 0xf
add eax, esi
shl ecx, 2
cmp eax, dword [ebp + 8]
jae 0x410222
movzx eax, byte [esi + 1]
shr eax, 6
add eax, ecx
mov ecx, ebx
movzx eax, byte [eax + edi]
push eax
call fcn.00410317
movzx eax, byte [esi + 1]
and eax, 0x3f
movzx eax, byte [eax + edi]
push eax
jmp 0x41024a
movzx eax, byte [ecx + edi]
push eax
jmp 0x410240
movzx eax, cl
pop ecx
and eax, ecx
mov ecx, ebx
add eax, eax
movzx eax, byte [edi + eax*8]
push eax
call fcn.00410317
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00410317
push dword [ebp + 0xc]
mov ecx, ebx
call fcn.00410317
push 3
pop eax
add dword [ebp - 0x10], eax
add esi, eax
sub dword [ebp - 0x14], 1
jne 0x4101af
mov eax, ebx
call fcn.00459efc
ret

Function at 0x4108ef
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
push esi
push edi
mov ebx, ecx
movlpd qword [ebp - 8], xmm0
jb 0x41093e
ja 0x410910
cmp dword [ebp + 8], 0
jbe 0x41093e
mov edi, dword [ebp - 4]
mov esi, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x14]
and ecx, 7
shl ecx, 3
call fcn.00459bb0
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0xc]
jb 0x410916
ja 0x41093e
cmp esi, dword [ebp + 8]
jb 0x410916
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4119e5
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
mov edx, dword [ebp + 8]
push esi
push edi
push 4
mov esi, ecx
not edx
pop edi
movzx eax, byte [esi]
movzx ecx, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x496ef0]
inc esi
sub edi, 1
jne 0x4119f5
pop edi
not edx
pop esi
mov eax, edx
leave
ret

Function at 0x411a15
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 edx, ebx
test edi, edi
je 0x411a79
mov al, byte [esi]
dec edi
inc esi
cmp al, 0x23
jne 0x411a41
cmp edi, 2
jb 0x411a41
cmp byte [esi], al
jne 0x411a41
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x496ef0]
test edi, edi
jne 0x411a2a
jmp 0x411a80
cmp al, 0x23
jne 0x411a67
cmp byte [esi], al
jne 0x411a67
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x496ef0]
mov al, byte [esi]
inc esi
test al, al
jne 0x411a59
pop edi
not edx
pop esi
mov eax, edx
pop ebx
pop ebp
ret

Function at 0x411b8d
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x411b9d
and dword [edi], 0
mov edx, 0x4aea24
call fcn.00411a89
mov esi, eax
test esi, esi
je 0x411c03
mov ecx, esi
call fcn.00411b34
mov ebx, eax
cmp ebx, 0xffffffff
je 0x411bfc
mov ecx, ebx
call fcn.00413509
mov dword [ebp + 8], eax
test eax, eax
je 0x411bfc
push esi
push ebx
push 1
push eax
call fcn.00461a6e
add esp, 0x10
push esi
cmp eax, ebx
je 0x411beb
call fcn.0045f518
pop ecx
mov ecx, dword [ebp + 8]
call fcn.00413520
jmp 0x411c03
call fcn.0045f518
pop ecx
test edi, edi
je 0x411bf7
mov dword [edi], ebx
mov eax, dword [ebp + 8]
jmp 0x411c05
push esi
call fcn.0045f518
pop ecx
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x41d3cd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [0x4c5630]
push edi
cmp byte [esi + 0x2dc8], 0
je 0x41d442
cmp dword [esi + 0x2dd0], 0
lea edi, [esi + 0x2dd4]
mov ecx, edi
je 0x41d436
push 0
call fcn.0041e3ad
lea eax, [ebp + 0xc]
mov ecx, edi
push eax
push dword [ebp + 8]
call fcn.004120c3
mov edx, dword [edi]
mov ecx, 0x4c562c
push dword [esi + 0x2dd0]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [esi + 0x2ddc]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call fcn.0046006c
add esp, 0x10
jmp 0x41d442
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call fcn.004120c3
pop edi
pop esi
pop ebp
ret

Function at 0x41d937
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [0x4c5630]
push esi
mov esi, ecx
push edi
and dword [eax + 0x2da0], 0
test esi, esi
je 0x41d984
and dword [ebp - 4], 0
lea ecx, [ebp - 4]
call fcn.0041d988
mov edx, 0x4aea28
mov ecx, esi
mov edi, eax
call fcn.00411a89
mov esi, eax
test esi, esi
je 0x41d984
push esi
push dword [ebp - 4]
push 1
push edi
call fcn.0046006c
push esi
call fcn.0045f518
add esp, 0x14
pop edi
pop esi
leave
ret
Function at 0x429c90
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c3140]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [0x4c5630]
lea eax, [ebp - 0x20]
push esi
push edi
push eax
push dword [0x4c7f14]
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [ebp - 0x10]
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 [ebp - 0x10]
mov ecx, edi
sub ecx, dword [0x4c7f18]
mov esi, dword [ebp - 0xc]
mov edx, esi
sbb edx, dword [0x4c7f1c]
call fcn.00459a30
mov edx, dword [0x4c7f24]
mov ecx, dword [0x4c7f20]
cvtsd2ss xmm0, xmm0
movss dword [ebp - 0x24], xmm0
call fcn.00459a30
movss xmm1, dword [ebp - 0x24]
cvtsd2ss xmm0, xmm0
push 0x11
divss xmm1, xmm0
movss dword [ebx + 0x18], xmm1
mov dword [0x4c7f1c], esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
mov dword [0x4c7f18], edi
call esi
shr eax, 0xf
and al, 1
push 0x10
mov byte [ebx + 0x100], al
call esi
shr eax, 0xf
and al, 1
push 0x12
mov byte [ebx + 0x101], al
call esi
shr eax, 0xf
and al, 1
mov byte [ebx + 0x103], 0
mov byte [ebx + 0x102], al
call fcn.00429bc3
cmp byte [ebx + 0xb0], 0
je 0x429d87
or eax, 0xffffffff
jmp 0x429d92
mov eax, dword [0x4c5630]
mov eax, dword [eax + 0x1d94]
cmp dword [0x4c3c30], eax
je 0x429da4
mov dword [0x4c3c30], eax
call fcn.00429b1f
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458d97
leave
ret