joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428f96
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
xor eax, eax
push esi
push edi
xor edi, edi
mov word [ebp - 0x210], ax
push 0x208
lea eax, [ebp - 0x20e]
mov dword [ebp - 0x244], edi
push edi
push eax
call fcn.00527f80
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor eax, eax
mov dword [ebp - 0x214], 7
mov esi, 0x552d24
mov dword [ebp - 0x218], edi
push esi
mov word [ebp - 0x228], ax
call fcn.00401710
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00404d70
call fcn.00429147
test al, al
je 0x42903d
mov esi, str.S_1_5_18
push esi
call fcn.00401710
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00406320
jmp 0x4290a5
xor eax, eax
mov dword [ebp - 0x22c], 7
mov word [ebp - 0x240], ax
lea eax, [ebp - 0x240]
push eax
mov dword [ebp - 0x230], edi
call fcn.0040e590
pop ecx
test al, al
je 0x42907e
push 0xffffffffffffffff
push edi
lea eax, [ebp - 0x240]
push eax
lea ecx, [ebp - 0x228]
call fcn.00404250
jmp 0x429097
mov esi, str.S_1_5_18
push esi
call fcn.00401710
pop ecx
push eax
push esi
lea ecx, [ebp - 0x228]
call fcn.00406320
push edi
push 1
lea ecx, [ebp - 0x240]
call fcn.004045b0
push 0xc8
call fcn.00526794
mov edi, eax
pop ecx
test edi, edi
je 0x429109
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x240]
call fcn.004038e0
cmp dword [ebp - 0x214], 8
lea esi, [ebp - 0x228]
mov dword [ebp - 0x244], 1
cmovae esi, dword [ebp - 0x228]
call fcn.00428e2f
push eax
push esi
push 0x160
push 7
xor esi, esi
lea eax, [ebp - 0x240]
push esi
push esi
push esi
push eax
mov ecx, edi
call fcn.0042a9bb
jmp 0x42910d
xor esi, esi
mov eax, esi
test byte [ebp - 0x244], 1
mov dword [ebx], eax
je 0x429126
push esi
push 1
lea ecx, [ebp - 0x240]
call fcn.004045b0
push esi
push 1
lea ecx, [ebp - 0x228]
call fcn.004045b0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527f3e
mov esp, ebp
pop ebp
ret

Function at 0x429147
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x61c
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor eax, eax
xor ebx, ebx
push 0x40e
mov word [ebp - 0x61c], ax
lea eax, [ebp - 0x61a]
push ebx
push eax
call fcn.00527f80
add esp, 0xc
lea eax, [ebp - 0x61c]
push 0x208
push eax
push 0x400000
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.00527f80
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push ebx
push ebx
push 0x26
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x4291ee
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x61c]
push eax
call fcn.00527cab
xor edx, edx
movzx ebx, bl
lea esi, [ebp - 0x61c]
inc edx
pop ecx
cmp eax, esi
pop ecx
cmove ebx, edx
pop esi
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00527f3e
mov esp, ebp
pop ebp
ret
Function at 0x42a080
Capabilities:
Check mutex on windows
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
lea edi, [ebx + 4]
cmp dword [edi + 0x14], 8
jb 0x42a0a3
mov eax, dword [edi]
jmp 0x42a0a5
mov eax, edi
lea esi, [ebx + 0x34]
cmp dword [esi + 0x14], 8
jb 0x42a0b2
mov ecx, dword [esi]
jmp 0x42a0b4
mov ecx, esi
push eax
push ecx
push str.Relaunching___ls__with_flags___ls__n
call fcn.004016d0
add esp, 0xc
cmp dword [esi + 0x14], 8
jb 0x42a0cb
mov esi, dword [esi]
push esi
xor esi, esi
push esi
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenMutexW]
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
call fcn.00409ca0
push dword [ebp - 0x20]
call fcn.00409aa0
pop ecx
test al, al
je 0x42a125
push 0x1388
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x80
je 0x42a125
test eax, eax
je 0x42a125
cmp eax, 0x102
jne 0x42a125
mov ecx, ebx
call fcn.0042a59e
push esi
push esi
push eax
call fcn.0040f6f0
add esp, 0xc
push 2
push esi
call dword [sym.imp.ole32.dll_CoInitializeEx]
push edi
lea ecx, [ebp - 0x1c]
mov esi, eax
call fcn.004038b0
push 0x38
lea eax, [ebp - 0x58]
mov dword [ebp - 0x5c], 0x3c
push 0
push eax
call fcn.00527f80
add ebx, 0x1c
mov dword [ebp - 0x58], 0x4000000
add esp, 0xc
mov dword [ebp - 0x40], 1
cmp dword [ebx + 0x14], 8
jb 0x42a169
mov ebx, dword [ebx]
cmp dword [ebp - 8], 8
lea eax, [ebp - 0x1c]
push ebx
cmovae eax, dword [ebp - 0x1c]
push str.Relaunching_Chrome_via_shortcut___ls__n
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], eax
call fcn.004016d0
pop ecx
pop ecx
lea eax, [ebp - 0x5c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x42a1ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x42a1ad
xor edi, edi
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.004045b0
test esi, esi
js 0x42a1c3
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x20]
call fcn.00409c40
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527f3e
mov esp, ebp
pop ebp
ret

Function at 0x42a25f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [esi + 0x30], eax
test eax, eax
je 0x42a2a3
push edi
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x429d41
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov edi, eax
test edi, edi
jne 0x42a2a0
push dword [esi + 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x30], ebx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c322
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
xor eax, eax
push edi
xor edi, edi
mov word [ebp - 0x20c], ax
push 0x206
lea eax, [ebp - 0x20a]
mov dword [ebp - 0x240], edi
push edi
push eax
call fcn.00527f80
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42c3d5
push ebx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x23c]
call fcn.004038e0
push esi
lea ecx, [ebp - 0x224]
call fcn.004038e0
push edi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.00410190
add esp, 0xc
lea ecx, [ebp - 0x224]
mov bl, al
neg bl
push edi
sbb bl, bl
push 1
inc bl
call fcn.004045b0
push edi
push 1
lea ecx, [ebp - 0x23c]
call fcn.004045b0
mov al, bl
pop ebx
jmp 0x42c3d7
mov al, 1
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00527f3e
mov esp, ebp
pop ebp
ret

Function at 0x42e621
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1284
call fcn.00527f50
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov dword [ebp - 0x1270], eax
xor ebx, ebx
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1274], eax
lea eax, [ebp - 0x1280]
push edi
push eax
mov dword [ebp - 0x1284], ebx
call fcn.0042e9b2
push eax
push esi
call fcn.0042e0ed
add esp, 0xc
test al, al
jne 0x42e679
xor al, al
jmp 0x42e784
mov edi, dword [ebp - 0x127c]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
jne 0x42e693
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x42e672
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push ebx
push eax
call dword [sym.imp.SHELL32.dll_DragQueryFileW]
test eax, eax
je 0x42e76e
push 0x5559c8
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
push eax
call fcn.0052bf25
pop ecx
pop ecx
test eax, eax
jne 0x42e76e
lea eax, [ebp - 0x20c]
push eax
push 0x824
lea eax, [ebp - 0x1254]
push eax
push ebx
push 0x5559d4
push str.InternetShortcut
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x42e76e
lea eax, [ebp - 0x1254]
push eax
lea ecx, [ebp - 0x126c]
call fcn.004038e0
sub esp, 0x64
lea eax, [ebp - 0x126c]
mov ecx, esp
push eax
call fcn.0045b029
mov ecx, dword [ebp - 0x1270]
call fcn.0045b0dc
push ebx
push 1
lea ecx, [ebp - 0x126c]
call fcn.004045b0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveExtensionW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov esi, eax
push esi
call fcn.00401710
pop ecx
mov ecx, dword [ebp - 0x1274]
push eax
push esi
call fcn.00404d70
mov eax, dword [ebp - 0x1270]
mov bl, byte [eax + 0x18]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 0x1280]
push eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00527f3e
mov esp, ebp
pop ebp
ret
Function at 0x43abb8
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
xor edi, edi
call fcn.004368ff
pop ecx
push edi
push 0x10000080
push 3
push edi
push 1
push SysReAllocString
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov dword [ebp - 4], esi
cmp esi, 0xffffffff
jne 0x43abf7
xor al, al
jmp 0x43ac7a
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
test eax, eax
je 0x43ac37
push 0
push 0
push 1
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
test eax, eax
je 0x43ac37
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x24]
and dword [ebp - 8], 0
lea edi, [ebp - 0x10]
mov dword [ebp - 0x10], 0xc
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
push dword [ebp - 4]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, eax
call edi
test esi, esi
je 0x43abf0
xor eax, eax
push eax
push eax
push eax
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 4], eax
test eax, eax
jne 0x43ac75
push esi
call edi
jmp 0x43abf0
mov dword [ebx + 0x14], esi
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43fb96
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, ecx
push esi
push edi
lea edi, [ebx - 4]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x60]
xor esi, esi
mov dword [ebp - 0xc], eax
test eax, eax
jle 0x43fc0c
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x64]
mov edx, dword [edi]
mov ecx, edi
push esi
mov dword [ebp - 4], eax
call dword [edx + 0x68]
mov edx, dword [ebp - 4]
mov ecx, eax
xor ecx, edx
mov dword [ebp - 8], eax
test ecx, 0xffffff00
jne 0x43fbf1
mov eax, dword [ebp - 4]
movzx edx, byte [ebp + 8]
movzx ecx, al
cmp ecx, edx
jg 0x43fc06
mov eax, dword [ebp - 8]
movzx eax, al
cmp edx, eax
jmp 0x43fc04
movzx ecx, byte [ebp + 8]
movzx eax, dl
cmp eax, ecx
jle 0x43fc4e
mov eax, dword [ebp - 8]
movzx eax, al
cmp ecx, eax
jle 0x43fc4e
inc esi
cmp esi, dword [ebp - 0xc]
jl 0x43fbb4
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x43fc43
xor esi, esi
test ecx, ecx
jle 0x43fc43
movzx edi, byte [ebp + 8]
push esi
mov ecx, eax
call fcn.0043d1a7
push 0
mov ecx, eax
call fcn.00430308
and eax, 0xff
cmp eax, edi
je 0x43fc4e
mov eax, dword [ebx + 0x24]
inc esi
cmp esi, dword [eax + 4]
jl 0x43fc20
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov al, 1
jmp 0x43fc45
Function at 0x46811a
Capabilities:
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
shr eax, 0x10
xor eax, dword [ebp + 8]
imul ecx, eax, 0x85ebca6b
mov eax, ecx
shr eax, 0xd
xor eax, ecx
imul ecx, eax, 0xc2b2ae35
mov eax, ecx
shr eax, 0x10
xor eax, ecx
pop ebp
ret

Function at 0x468142
Capabilities:
Encode data using xor
Hash data using murmur3

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push esi
shr edx, 2
xor esi, esi
test edx, edx
je 0x46817d
push edi
mov edi, dword [ebp + 8]
imul eax, dword [edi + esi*4], 0xcc9e2d51
rol eax, 0xf
imul eax, eax, 0x1b873593
xor eax, ecx
rol eax, 0xd
imul ecx, eax, 5
sub ecx, 0x19ab949c
inc esi
cmp esi, edx
jb 0x468159
pop edi
xor ecx, dword [ebp + 0xc]
push ecx
call fcn.0046811a
pop ecx
pop esi
pop ebp
ret
Function at 0x495305
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
movss xmm2, dword [ebp + 0x10]
movss xmm0, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x18]
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
call fcn.0052e390
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x555c30]
cvttss2si eax, xmm0
push eax
call fcn.00495896
movss xmm0, dword [ebp + 8]
movss xmm2, dword [ebp + 0x10]
addss xmm0, dword [ebp + 0xc]
addss xmm2, dword [ebp + 0x14]
shr eax, 8
pop ecx
mov ecx, dword [ebp + 0x1c]
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
movss dword [ebp + 0x10], xmm2
mov ax, word [ecx + eax*2]
mov word [edi], ax
add edi, 2
dec ebx
jne 0x495322
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x495397
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
movss xmm2, dword [ebp + 0x10]
movss xmm0, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x24]
push esi
mov esi, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x18]
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
call fcn.0052e390
mov ecx, dword [ebp + 0x1c]
movss xmm2, dword [ebp + 0x10]
addss xmm2, dword [ebp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [ebp + 0x10], xmm2
mulss xmm0, dword [0x555c30]
cvttss2si eax, xmm0
movss xmm0, dword [ebp + 8]
addss xmm0, dword [ebp + 0xc]
and eax, 0xff00
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov ax, word [ecx + eax*2]
mov word [edi], ax
add edi, 2
dec ebx
jne 0x4953b4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x495427
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
movss xmm2, dword [ebp + 0x10]
movss xmm0, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x18]
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
call fcn.0052e390
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x555c30]
cvttss2si eax, xmm0
push eax
call fcn.00495896
movss xmm0, dword [ebp + 8]
movss xmm2, dword [ebp + 0x10]
addss xmm0, dword [ebp + 0xc]
addss xmm2, dword [ebp + 0x14]
shr eax, 8
pop ecx
mov ecx, dword [ebp + 0x1c]
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
movss dword [ebp + 0x10], xmm2
mov eax, dword [ecx + eax*4]
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x495444
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4954b7
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
movss xmm2, dword [ebp + 0x10]
movss xmm0, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x20]
push esi
mov esi, dword [ebp + 0x24]
push edi
mov edi, dword [ebp + 0x18]
movaps xmm1, xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
cvtss2sd xmm0, xmm1
call fcn.0052e390
mov ecx, dword [ebp + 0x1c]
movss xmm2, dword [ebp + 0x10]
addss xmm2, dword [ebp + 0x14]
cvtsd2ss xmm0, xmm0
movss dword [ebp + 0x10], xmm2
mulss xmm0, dword [0x555c30]
cvttss2si eax, xmm0
movss xmm0, dword [ebp + 8]
addss xmm0, dword [ebp + 0xc]
and eax, 0xff00
shr eax, 8
add eax, esi
xor esi, 0x100
movss dword [ebp + 8], xmm0
mov eax, dword [ecx + eax*4]
mov dword [edi], eax
add edi, 4
dec ebx
jne 0x4954d4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x499ef6
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
push dword [ebp + 0x10]
jne 0x499f2f
call fcn.0052ba51
pop ecx
cmp eax, 0xffffffff
jne 0x499f11
xor eax, eax
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
call fcn.0053141c
add esp, 0xc
xor ecx, ecx
test eax, eax
cmovne esi, ecx
mov eax, esi
pop esi
pop ebp
ret
push dword [ebp + 0xc]
push 1
push dword [ebp + 8]
call fcn.0052b5ef
add esp, 0x10
pop ebp
ret

Function at 0x499fa2
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push dword [ebp + 8]
call fcn.00528736
mov esi, eax
pop ecx
cmp esi, 0xffffffff
jne 0x499fbc
xor eax, eax
jmp 0x49a01c
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x499fb8
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.00499f80
pop ecx
pop ecx
test al, al
jne 0x499fb8
push ebx
push edi
xor ebx, ebx
push ebx
push ebx
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
test esi, esi
je 0x49a00f
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x49a00f
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x49a011
mov edi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4c3377
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.004c3318
movss xmm0, dword [ebp + 0x14]
xor ecx, ecx
mulss xmm0, dword [0x555c10]
xorps xmm2, xmm2
mov al, byte [ebp + 0x18]
movss xmm1, dword [0x555b08]
movaps xmm3, xmm1
mov byte [esi + 0x13c], al
mulss xmm0, dword [ebp + 0x14]
mov eax, dword [esi + 0xd4]
mov dword [esi], 0x598f48
movss dword [ebp + 0x18], xmm2
divss xmm3, xmm0
lea edi, [eax*2 + 1]
mov dword [ebp + 0x14], ecx
movss dword [ebp + 0xc], xmm3
test edi, edi
jle 0x4c3446
lea eax, [esi + 0xd8]
mov dword [ebp + 0x10], eax
mov eax, ecx
sub eax, dword [esi + 0xd4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm0
mulss xmm0, xmm3
xorps xmm0, xmmword [0x555c40]
cvtss2sd xmm0, xmm0
call fcn.00530fd0
mov eax, dword [ebp + 0x10]
movss xmm2, dword [ebp + 0x18]
mov ecx, dword [ebp + 0x14]
movss xmm3, dword [ebp + 0xc]
inc ecx
cvtsd2ss xmm0, xmm0
mov dword [ebp + 0x14], ecx
addss xmm2, xmm0
movss dword [eax], xmm0
add eax, 4
mov dword [ebp + 0x10], eax
movss dword [ebp + 0x18], xmm2
cmp ecx, edi
jl 0x4c33e8
movss xmm1, dword [0x555b08]
divss xmm1, xmm2
test edi, edi
jle 0x4c3466
lea eax, [esi + 0xd8]
movss xmm0, dword [eax]
mulss xmm0, xmm1
movss dword [eax], xmm0
lea eax, [eax + 4]
dec edi
jne 0x4c3454
mov ecx, dword [ebp + 0x1c]
pop edi
mov eax, dword [ecx]
mov dword [esi + 0x140], eax
mov eax, dword [ecx + 4]
mov dword [esi + 0x144], eax
mov eax, esi
pop esi
pop ebp
ret 0x18
Function at 0x4c430e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x5ceb30]
xor eax, ebp
mov dword [ebp - 4], eax
movss xmm0, dword [ebp + 0x28]
xorps xmm3, xmm3
movss xmm2, dword [0x555b08]
mulss xmm0, xmm0
movaps xmm4, xmm2
mov eax, dword [ebp + 8]
movaps xmm5, xmm2
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp + 0xc]
mulss xmm0, dword [0x555c10]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x90], eax
divss xmm4, xmm0
push esi
mov ecx, dword [eax]
mov esi, dword [eax + 4]
mov eax, ecx
cdq
sub eax, edx
mov dword [ebp - 0x88], ecx
push edi
mov edi, eax
mov eax, esi
cdq
sub eax, edx
sar edi, 1
sar eax, 1
mov dword [ebp - 0xa4], esi
mov dword [ebp - 0x8c], eax
movss xmm0, dword [ebp + 0x2c]
mulss xmm0, xmm0
movss dword [ebp - 0x80], xmm3
movss dword [ebp - 0x94], xmm4
mulss xmm0, dword [0x555c10]
divss xmm5, xmm0
movss dword [ebp - 0x74], xmm5
test ecx, ecx
jle 0x4c448c
neg edi
mov dword [ebp - 0x78], ecx
lea eax, [ebp - 0x68]
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], eax
mov edx, ecx
movd xmm1, edi
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm1
mulss xmm1, xmm4
movss dword [ebp - 0x9c], xmm1
test esi, esi
jle 0x4c4470
mov edx, dword [ebp - 0x8c]
mov edi, eax
neg edx
mov dword [ebp - 0x7c], esi
shl ecx, 2
mov esi, edx
mov dword [ebp - 0x84], ecx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm0
mulss xmm0, xmm5
addss xmm0, xmm1
xorps xmm0, xmmword [0x555c40]
cvtss2sd xmm0, xmm0
call fcn.00530fd0
movss xmm3, dword [ebp - 0x80]
inc esi
movss xmm1, dword [ebp - 0x9c]
movss xmm5, dword [ebp - 0x74]
cvtsd2ss xmm0, xmm0
addss xmm3, xmm0
movss dword [edi], xmm0
add edi, dword [ebp - 0x84]
dec dword [ebp - 0x7c]
movss dword [ebp - 0x80], xmm3
jne 0x4c4401
movss xmm4, dword [ebp - 0x94]
mov esi, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x78]
inc edi
add eax, 4
dec edx
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x78], edx
jne 0x4c43ca
movss xmm2, dword [0x555b08]
imul esi, ecx
xor edi, edi
divss xmm2, xmm3
mov eax, edi
test esi, esi
jle 0x4c44b0
movss xmm0, dword [ebp + eax*4 - 0x68]
mulss xmm0, xmm2
movss dword [ebp + eax*4 - 0x68], xmm0
inc eax
cmp eax, esi
jl 0x4c449b
push 0x178
call fcn.0048c723
pop ecx
test eax, eax
je 0x4c44fe
push dword [ebp + 0x24]
movss xmm0, dword [ebp + 0x18]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push ecx
push ecx
movss dword [esp + 4], xmm0
lea ecx, [ebp - 0x68]
movss xmm0, dword [ebp + 0x14]
movss dword [esp], xmm0
push ecx
push dword [ebp - 0x90]
mov ecx, eax
push dword [ebp - 0x98]
push dword [ebp - 0xa0]
call fcn.004c416d
mov edi, eax
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.00527f3e
mov esp, ebp
pop ebp
ret
Function at 0x4c4f7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
mov eax, ecx
push esi
push edi
push 5
pop ecx
lea edi, [eax + 4]
mov dword [ebp - 4], eax
mov esi, ebx
xor edx, edx
rep movsd dword es:[edi], dword [esi]
push 5
pop ecx
add edx, dword [ebx]
lea ebx, [ebx + 4]
imul edx, edx, 0x401
mov eax, edx
shr eax, 6
xor edx, eax
dec ecx
jne 0x4c4f9a
imul ecx, edx, 9
pop edi
pop esi
pop ebx
mov eax, ecx
shr eax, 0xb
xor eax, ecx
mov ecx, dword [ebp - 4]
imul eax, eax, 0x8001
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret 4

Function at 0x4d6453
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 0xc]
sar ebx, 3
sub eax, edi
mov dword [ebp + 8], eax
movzx ecx, word [eax + edi]
movzx eax, word [edi]
mov esi, ecx
mov edx, eax
and esi, 0x7e0
shl esi, 0x10
and edx, 0x7e0
or esi, ecx
shl edx, 0x10
or edx, eax
and esi, 0xfffff81f
and edx, 0xfffff81f
sub esi, edx
imul esi, ebx
shr esi, 5
add esi, edx
mov eax, esi
shr eax, 0x10
xor eax, esi
and eax, 0x7e0
xor eax, esi
mov word [edi], ax
lea edi, [edi + 2]
mov eax, dword [ebp + 0x14]
dec eax
mov dword [ebp + 0x14], eax
test eax, eax
mov eax, dword [ebp + 8]
jg 0x4d646a
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x4d6ced
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov edx, ecx
and edx, 0xffffff00
movzx eax, cl
shl edx, 0xe
or edx, eax
mov eax, ecx
push ebx
mov ebx, dword [ebp + 0x10]
push esi
shr eax, 3
mov esi, 0x100
shr ecx, 0x18
and eax, 0x1fe000
shl edx, 2
sub esi, ecx
push edi
mov edi, dword [ebp + 0xc]
or edx, eax
shr esi, 3
movzx eax, word [edi]
mov ecx, eax
and ecx, 0x7e0
shl ecx, 0x10
or ecx, eax
and ecx, 0xfffff81f
imul ecx, esi
add ecx, edx
shr ecx, 5
mov eax, ecx
shr eax, 0x10
xor eax, ecx
and eax, 0x7e0
xor eax, ecx
mov word [edi], ax
lea edi, [edi + 2]
dec ebx
jne 0x4d6d28
pop edi
pop esi
pop ebx
pop ebp
ret