joyce8/EMBER2024-capa huggingface dataset:
Function at 0x411608
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov esi, ecx
dec esi
test esi, esi
jl 0x411662
inc esi
xor edi, edi
cmp edi, 1
jne 0x41162e
mov eax, dword [ebp + 0xc]
push eax
call 0x40dc2c
jmp 0x41163c
cmp edi, 1
jle 0x41163c
mov eax, dword [ebp + 8]
push eax
call 0x40dc2c
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00411194
test eax, eax
jne 0x411662
call sub.kernel32.dll_GetLastError
cmp eax, 2
je 0x411662
call sub.kernel32.dll_GetLastError
cmp eax, 3
je 0x411662
inc edi
dec esi
jne 0x41161e
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 8

Function at 0x41166c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, eax
push 2
lea eax, [ebp - 4]
push eax
push 0x20001004
movzx eax, bx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x411690
mov eax, dword [ebp - 4]
jmp 0x411693
or eax, 0xffffffff
pop ebx
pop ecx
pop ebp
ret

Function at 0x411698
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov byte [ebp - 1], dl
mov edi, eax
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [eax], edx
mov byte [ebp - 2], 0
test esi, esi
je 0x4116e5
xor ebx, ebx
jmp 0x4116da
mov eax, dword [ebp - 8]
mov edx, dword [eax]
mov eax, esi
call 0x407f9c
test eax, eax
jne 0x4116d9
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 2
jmp 0x41178f
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x4116bb
movzx eax, byte [ebp - 1]
sub al, 1
jb 0x4116f1
je 0x4116fa
jmp 0x411703
call 0x40ece8
mov esi, eax
jmp 0x411705
call sub.kernel32.dll_GetUserDefaultLangID
mov esi, eax
jmp 0x411705
xor esi, esi
test si, si
je 0x41178f
xor ebx, ebx
jmp 0x41172b
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
movzx edx, si
cmp eax, edx
jne 0x41172a
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x41178f
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x411712
xor ebx, ebx
jmp 0x411784
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x28]
and eax, 0x3ff
mov edx, esi
and dx, 0x3ff
movzx edx, dx
cmp eax, edx
jne 0x411783
mov eax, esi
and ax, 0x3ff
cmp ax, 4
jne 0x411778
mov eax, dword [ebp - 8]
movzx eax, word [eax + 0x28]
call fcn.0041166c
push eax
mov eax, esi
call fcn.0041166c
pop edx
cmp edx, eax
jne 0x411783
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov byte [ebp - 2], 1
jmp 0x41178f
inc ebx
lea edx, [ebp - 8]
mov eax, ebx
call edi
test al, al
jne 0x41173a
movzx eax, byte [ebp - 2]
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 4
Function at 0x100189b6
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006834e
call fcn.10067ae8
sub esp, 0x10
push ebx
push esi
mov dword [ebp - 0x1c], 0x2c66
cmp dword [ebp - 0x1c], 0x2dd8
push edi
mov dword [ebp - 0x10], esp
jle 0x10018a3d
xor esi, esi
mov dword [ebp - 0x18], esi
xor edi, edi
mov dword [ebp - 0x14], edi
mov eax, esi
xor ebx, ebx
cdq
idiv edi
mov edi, edx
xor esi, esi
mov eax, edi
mov ecx, 0x10611dd8
xor eax, esi
xor eax, ebx
cdq
push edx
push eax
call fcn.10013631
inc esi
cmp esi, 0x3244
jl 0x100189ee
inc ebx
cmp ebx, 0x7939
jl 0x100189ec
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 0x18]
inc edi
mov dword [ebp - 0x14], edi
cmp edi, 0x778c
jl 0x100189e3
inc esi
mov dword [ebp - 0x18], esi
cmp esi, 0x3f58
jl 0x100189de
push 0
push 0
push 0
call dword [0x10615020]
and dword [ebp - 4], 0
cmp dword [ebp - 0x1c], 0x2a84
jge 0x10018a59
mov edx, 0x10007f98
mov ecx, 0x10611dd8
call fcn.10015f58
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10018da4
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x1006836c
call fcn.10067ae8
sub esp, 0xc
push ebx
push esi
mov dword [ebp - 0x18], 0x40cc
cmp dword [ebp - 0x18], 0x42d8
push edi
mov dword [ebp - 0x10], esp
jle 0x10018e14
xor esi, esi
mov dword [ebp - 0x14], esi
mov edi, esi
mov ebx, 0x381c
xor esi, esi
mov eax, edi
mov ecx, 0x10611dd8
xor eax, esi
cdq
push edx
push eax
call fcn.10013631
inc esi
cmp esi, 0x4d15
jl 0x10018dd5
dec edi
dec ebx
jne 0x10018dd3
mov esi, dword [ebp - 0x14]
inc esi
mov dword [ebp - 0x14], esi
cmp esi, 0x3768
jl 0x10018dcc
push 0x1e4a
push ebx
push ebx
push 0xff4
call dword [0x106152a8]
and dword [ebp - 4], 0
cmp dword [ebp - 0x18], 0x4027
jge 0x10018e30
mov edx, 0x100081dc
mov ecx, 0x10611dd8
call fcn.10015f58
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4010e8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x46d004]
jne 0x4010f2
repz ret
jmp fcn.004017b3

Function at 0x40625b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x46d004]
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.004043ad
and dword [ebp - 0x14], 0
cmp dword [0x46fc88], 0
mov dword [ebp - 0x18], eax
jne 0x40630e
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4063b6
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x4063b6
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x46fc88], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x46fc8c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x46fc90], eax
call edi
push eax
call esi
mov dword [0x46fc98], eax
test eax, eax
je 0x40630e
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x46fc94], eax
mov eax, dword [0x46fc94]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x406367
cmp dword [0x46fc98], ecx
je 0x406367
push eax
call esi
push dword [0x46fc98]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x406367
test ebx, ebx
je 0x406367
call edi
test eax, eax
je 0x40635e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40635e
test byte [ebp - 8], 1
jne 0x406367
or dword [ebp + 0x10], 0x200000
jmp 0x40639a
mov eax, dword [0x46fc8c]
cmp eax, dword [ebp - 0x18]
je 0x40639a
push eax
call esi
test eax, eax
je 0x40639a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40639a
mov eax, dword [0x46fc90]
cmp eax, dword [ebp - 0x18]
je 0x40639a
push eax
call esi
test eax, eax
je 0x40639a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x46fc88]
call esi
test eax, eax
je 0x4063b6
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4063b8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004010e8
leave
ret
Function at 0x468440
Capabilities:
Encode data using xor

Disassembly:
push esi
xor esi, esi
test ebx, ebx
jle 0x468454
call fcn.004683c0
xor byte [esi + edi], al
inc esi
cmp esi, ebx
jl 0x468447
pop esi
cmp ebx, 0x2d
jne 0x46846e
mov dword [0x2c156e8], 0xa62e7790
mov dword [0x2c156ec], 0xffffffff
ret

Function at 0x468470
Capabilities:
Create pipe

Disassembly:
sub esp, 0x24
mov eax, dword [0x46d004]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [0x46e200]
push ebx
mov ebx, dword [0x2c156dc]
push edi
mov edi, dword [0x2c1325c]
call fcn.00468410
cmp dword [0x2c156dc], 0x2f
jne 0x4684dd
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
call fcn.00468440
mov ecx, dword [esp + 0x24]
pop edi
pop ebx
xor ecx, esp
call fcn.004010e8
add esp, 0x24
ret
Function at 0x5f6920
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a2000]
push edi
jmp 0x5f693a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x5f6941
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6930
mov eax, 1
add ebx, ebx
jne 0x5f6953
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x5f6964
jne 0x5f6983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6983
dec eax
add ebx, ebx
jne 0x5f6970
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x5f6948
add ebx, ebx
jne 0x5f697f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5f69d5
xor ecx, ecx
sub eax, 3
jb 0x5f699b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5f6a0a
sar eax, 1
mov ebp, eax
jmp 0x5f69a6
add ebx, ebx
jne 0x5f69a6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6974
inc ecx
add ebx, ebx
jne 0x5f69b4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x5f6974
add ebx, ebx
jne 0x5f69c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5f69b6
jne 0x5f69d2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5f69b6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5f69f4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5f69e6
jmp 0x5f6936
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5f69f4
add edi, ecx
jmp 0x5f6936
pop esi
mov edi, esi
mov ecx, 0x3ed9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5f6a12
cmp byte [edi], 0x11
jne 0x5f6a12
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 0x5f6a17
lea edi, [esi + 0x1ef000]
mov eax, dword [edi]
or eax, eax
je 0x5f6a8f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x316328]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x3164a4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x5f6a44
mov ecx, edi
jns 0x5f6a73
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 + 0x3164a8]
or eax, eax
je 0x5f6a89
mov dword [ebx], eax
add ebx, 4
jmp 0x5f6a61
call dword [esi + 0x3164b8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x5f6ac0
cmp al, 0xef
ja 0x5f6ab3
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x5f6a95
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x5f6aa2
mov ebp, dword [esi + 0x3164ac]
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 0x5f6af4
sub esp, 0xffffff80
jmp 0x425f74
Function at 0xcab210
Capabilities:
Decompress data using aplib

Disassembly:
call 0xcab360
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0xcab236
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcab222
add dl, dl
jne 0xcab241
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcab294
xor eax, eax
add dl, dl
jne 0xcab24e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0xcab335
add dl, dl
jne 0xcab25d
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcab268
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcab273
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcab27e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0xcab28a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0xcab22d
mov eax, 1
add dl, dl
jne 0xcab2a2
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0xcab2ad
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcab299
sub eax, ebx
mov ebx, 1
jne 0xcab2e0
mov ecx, 1
add dl, dl
jne 0xcab2c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcab2d1
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcab2bd
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcab22d
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0xcab2f7
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0xcab302
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0xcab2ee
cmp eax, 0x7d00
jae 0xcab325
cmp eax, 0x500
jb 0xcab320
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcab22d
cmp eax, 0x7f
ja 0xcab328
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0xcab22d
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0xcab356
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0xcab22d
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x44da0e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.00480efe
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x44db31
push ecx
lea ecx, [esi + 0x18]
call fcn.0046d22e
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x44db48
push ecx
lea ecx, [esi + 0x24]
call fcn.0046d13e
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x49691e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x47262f
mov eax, dword fs:[0]
push eax
sub esp, 0x138
mov eax, dword [0x4a2008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x13c], edx
mov eax, ecx
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x134], eax
mov esi, dword [ebp + 8]
mov edi, esi
mov dword [ebp - 0x144], eax
mov dword [ebp - 0x140], 0
cmp dword [esi + 0x14], 0x10
mov ecx, dword [esi + 0x10]
mov dword [ebp - 0x138], ecx
jb 0x496985
mov edi, dword [esi]
cmp dword [edx + 0x14], 0x10
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x130], edx
jb 0x4969a2
mov ecx, dword [edx]
mov dword [ebp - 0x130], ecx
cmp dword [edx + 0x10], 0
jbe 0x496a0b
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004df8ee
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, edi
cmp edi, ecx
je 0x4969de
nop dword [eax]
movzx eax, byte [edi]
inc edi
mov byte [ebp + eax - 0x128], 1
cmp edi, ecx
jne 0x4969ce
mov edx, dword [ebp - 0x130]
mov edi, edx
mov ecx, dword [ebp - 0x134]
add ecx, edx
cmp edx, ecx
jae 0x496a05
movzx eax, byte [edi]
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x496a5f
inc edi
cmp edi, ecx
jb 0x4969f2
mov eax, dword [ebp - 0x12c]
xorps xmm0, xmm0
mov ecx, eax
push 0
movups xmmword [eax], xmm0
push 0x491667
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
call fcn.004ca28e
mov dword [ebp - 4], 0
mov dword [ebp - 0x140], 1
mov eax, dword [ebp - 0x12c]
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.004de16a
mov esp, ebp
pop ebp
ret
sub edi, edx
cmp edi, 0xffffffff
je 0x496a05
cmp dword [esi + 0x14], 0x10
jb 0x496a6e
mov esi, dword [esi]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x130], ecx
cmp dword [ecx + 0x14], 0x10
jb 0x496a88
mov eax, dword [ecx]
mov dword [ebp - 0x130], eax
push 0x100
lea eax, [ebp - 0x128]
push 0
push eax
call fcn.004df8ee
mov ecx, dword [ebp - 0x138]
add esp, 0xc
add ecx, esi
cmp esi, ecx
je 0x496abe
nop dword [eax]
movzx eax, byte [esi]
inc esi
mov byte [ebp + eax - 0x128], 1
cmp esi, ecx
jne 0x496aae
mov eax, dword [ebp - 0x134]
or ecx, 0xffffffff
mov edx, dword [ebp - 0x130]
dec eax
cmp eax, ecx
cmovb ecx, eax
movzx eax, byte [ecx + edx]
add ecx, edx
mov al, byte [ebp + eax - 0x128]
test al, al
je 0x496afc
cmp ecx, edx
je 0x496b73
movzx eax, byte [ecx - 1]
dec ecx
mov al, byte [ebp + eax - 0x128]
test al, al
jne 0x496ae4
sub ecx, edx
sub ecx, edi
lea eax, [ebp - 0x28]
inc ecx
push ecx
mov ecx, dword [ebp - 0x13c]
push edi
push eax
call fcn.004b585e
mov dword [ebp - 4], 1
xorps xmm0, xmm0
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x140], 1
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
movups xmm0, xmmword [ebp - 0x28]
mov dword [esi + 0x14], 0
mov byte [ebp - 0x28], 0
movups xmmword [esi], xmm0
movq xmm0, qword [ebp - 0x18]
movq qword [esi + 0x10], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004ca3be
mov eax, esi
jmp 0x496a44
or ecx, 0xffffffff
jmp 0x496afe
Function at 0x496d9e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.004ca28e
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x496ec1
push ecx
lea ecx, [esi + 0x18]
call fcn.004b65be
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x496ed8
push ecx
lea ecx, [esi + 0x24]
call fcn.004b64ce
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a54be
Capabilities:
Encode data using xor

Disassembly:
or byte [0x54ec7ec2], dh
push ebp
cmpsd dword [esi], dword es:[edi]
inc esi
sbb dword [ebx + 0x7a], eax
mov dword [edx - 0x1a], 0x434f4d2a
lodsd eax, dword cs:[esi]
ja 0x4a54fb
mov dword [0xd9913231], eax
mov edi, 0x7aab40d3
dec edi
fistp dword [eax]
mov edx, dword [esi]
int3
pop es
xor byte [edx + edx + 0x45], ch
or byte [edx - 0x1a], dh
or eax, 0xd639052b
salc
xor eax, 0xe26812bf
or dword [edi - 0x30], esi
mov edi, 0x9e26812
ja 0x4a54e2
and cl, byte [ebx - 0x15f266a2]
inc esp
mov al, 0x6e
mov ecx, 0xeee5d511
add esp, eax
lahf
or eax, 0x55e3fb08
lodsb al, byte [esi]
xor eax, 0xabd62d8e
sbb ch, byte [ebx - 0x5c]
test al, 0x31
fimul word [ecx - 0x684bef88]
mov ah, byte [edi]
js 0x4a550b
cmp ebx, dword [edi - 0x17]
ret

Function at 0x4e5f9d
Capabilities:
Encode data using xor

Disassembly:
xor ch, byte gs:[edi]
push edi
pop esp
out 0x55, eax
leave
pop ebp
cmp al, 7
invalid
Function at 0x572f3e
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x472754
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x4a2008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
xorps xmm0, xmm0
push 1
movups xmmword [esi], xmm0
push 0x48f868
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
call fcn.005a642e
mov dword [ebp - 4], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov byte [ebp - 4], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 3
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov byte [ebp - 4], 4
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov byte [ebp - 4], 5
mov ecx, dword [0x4a2a48]
mov eax, dword [0x4a2a4c]
add ecx, 1
mov dword [esi + 0x58], 0
mov dword [esi + 0x5c], 0
adc eax, 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [0x4a2a4c], eax
mov dword [esi + 0x6c], eax
mov dword [esi + 0x68], ecx
mov eax, dword [esi + 0x20]
sub eax, dword [esi + 0x18]
sar eax, 3
mov dword [0x4a2a48], ecx
cmp eax, 0x64
jae 0x573061
push ecx
lea ecx, [esi + 0x18]
call fcn.0059275e
mov eax, dword [esi + 0x2c]
sub eax, dword [esi + 0x24]
sar eax, 3
cmp eax, 0x14
jae 0x573078
push ecx
lea ecx, [esi + 0x24]
call fcn.0059266e
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x5efb6e
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0x1d
push ecx
push ecx
mov byte [0xd3da8102], al
les esi, [0x71b47daf]
jo 0x5efb82
mov al, byte [0x365879d6]
movsb byte es:[edi], byte [esi]
jns 0x5efbdc
movsb byte es:[edi], byte ss:[esi]
mov dh, 0x35
nop
out dx, eax
outsd dx, dword [esi]
adc dword [eax - 0x701e72be], edx
mov ah, 0x6e
or byte [ebp + 0x4c4c6d31], dl
pop ebp
pushfd
inc eax
or al, 0xbf
cmp al, 0x81
mov ebp, 0x4d9ca001
mov ebx, 0x6f0d321f
cmpsd dword [esi], dword es:[edi]
fist word [ebx - 0x7b376d9]
mov al, 0x85
lcall 0x7353, 0xc8489059
add ebp, 0x95327840
cmp bl, byte [edi - 0x1ee1bb8f]
vhaddps xmm3, xmm3, xmm3
les eax, [edx]
adc ebx, 0xf1e0e9cf
adc esp, edx
invalid
xor ecx, ebp
mov cl, 0xf3
mov al, 0x55
loopne 0x5efbda
arpl word [edi + edx*8 + 0xe], cx
invalid