joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405730
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457615
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x473140]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], edi
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, ebx
push eax
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x14]
push edx
push eax
call fcn.004021c0
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4057ba
mov dword [edi], eax
mov byte [edi + 4], 0
jmp 0x40590f
cmp dword [ebx + 8], 0xaaaaaaa
je 0x405925
lea eax, [ebx + 4]
mov dword [ebp - 0x28], eax
push 0x18
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0
call fcn.0042bd20
mov ecx, dword [ebp - 0x18]
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
mov ecx, dword [ecx]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov eax, dword [ebx + 8]
inc eax
movss xmm3, dword [ebx]
mov dword [ebp - 4], 1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x45a950]
mov eax, dword [ebx + 0x1c]
cvtpd2ps xmm2, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movaps xmm1, xmm2
addsd xmm0, qword [eax*8 + 0x45a950]
cvtpd2ps xmm0, xmm0
divss xmm1, xmm0
comiss xmm1, xmm3
jbe 0x4058c2
divss xmm2, xmm3
sub esp, 8
cvtps2pd xmm0, xmm2
movsd qword [ebp - 0x14], xmm0
fld qword [ebp - 0x14]
fstp qword [esp]
call fcn.0043dae0
fstp qword [ebp - 0x14]
movsd xmm0, qword [ebp - 0x14]
add esp, 8
cvtpd2ps xmm0, xmm0
call fcn.0042c1c0
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [ebx + 0x1c]
cmp eax, ecx
jae 0x4058a4
cmp eax, 0x200
jae 0x4058a2
shl eax, 3
cmp eax, ecx
jae 0x4058a4
mov eax, ecx
push eax
mov ecx, ebx
call fcn.00409770
push dword [ebp - 0x1c]
lea eax, [esi + 8]
mov ecx, ebx
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.004021c0
mov edx, dword [eax]
jmp 0x4058c5
mov edx, dword [ebp - 0x14]
mov eax, dword [edx + 4]
inc dword [ebx + 8]
mov edi, dword [ebp - 0x28]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
and eax, dword [ebp - 0x1c]
mov ebx, dword [ecx + eax*8]
cmp ebx, dword [edi]
jne 0x4058f0
mov dword [ecx + eax*8], esi
jmp 0x405902
cmp ebx, edx
jne 0x4058f9
mov dword [ecx + eax*8], esi
jmp 0x405906
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x405906
mov dword [ecx + eax*8 + 4], esi
mov edi, dword [ebp - 0x20]
mov dword [edi], esi
mov byte [edi + 4], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.unordered_map_set_too_long
call fcn.004294ff
int3
Function at 0x4091a0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457b6d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x473140]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [0x4756e0], 0xffffffff
jne 0x4091f7
mov dword [ebp - 0x1c], 0x64
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.00405ac0
add esp, 4
cmp dword [0x4756e0], 0xffffffff
je 0x4091e2
lea ecx, [esi + 0xc]
mov al, 1
xchg byte [ecx], al
push 8
call fcn.0042bd20
add esp, 4
test eax, eax
je 0x409217
mov dword [eax], esi
mov dword [eax + 4], 0x408040
jmp 0x409219
xor eax, eax
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], 0
push ecx
push 0
push eax
push 0x402e80
push 0
push 0
call fcn.0043d9e1
mov ecx, eax
add esp, 0x18
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x40926d
cmp dword [esi + 0x14], 0
jne 0x40927b
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bd5e
mov esp, ebp
pop ebp
ret
push 6
mov dword [ebp - 0x18], 0
call fcn.00429c60
call fcn.0043d821
int3
Function at 0x409530
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x457c04
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x473140]
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 - 0x148], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
push 0
movq qword [ebp - 0x1c], xmm0
push 2
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x148], 1
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x409646
lea eax, [ebp - 0x144]
mov dword [ebp - 0x144], 0x128
push eax
push esi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x40963f
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
je 0x40963f
mov edi, dword [sym.imp.KERNEL32.dll_OpenProcess]
lea eax, [ebp - 0x120]
push eax
push str.MicroVolts.exe
call fcn.00437a65
add esp, 8
test eax, eax
jne 0x40962e
push dword [ebp - 0x13c]
push eax
push 0x1fffff
call edi
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14c], eax
cmp ecx, dword [ebp - 0x14]
je 0x40961e
mov dword [ecx], eax
add dword [ebp - 0x18], 4
jmp 0x40962e
lea eax, [ebp - 0x14c]
push eax
push ecx
lea ecx, [ebp - 0x1c]
call fcn.00401e70
lea eax, [ebp - 0x144]
push eax
push esi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x4095e2
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x1c]
push eax
call fcn.00408450
mov edx, dword [ebp - 0x1c]
add esp, 4
test edx, edx
je 0x409685
mov ecx, dword [ebp - 0x14]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x40967b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4096a0
push ecx
push edx
call fcn.0042bd50
add esp, 8
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.0042bd5e
mov esp, ebp
pop ebp
ret
call fcn.004377bf
int3
Function at 0x409770
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push esi
push edi
mov edi, 1
mov dword [ebp - 8], ebx
mov eax, edi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x4098ca
lea eax, [ecx - 1]
mov esi, dword [ebx + 4]
or eax, edi
mov dword [ebp - 0xc], esi
bsr ecx, eax
push esi
lea ecx, [ecx + 1]
shl edi, cl
lea ecx, [ebx + 0xc]
lea eax, [edi + edi]
push eax
call fcn.00409290
lea eax, [edi - 1]
mov dword [ebx + 0x1c], edi
mov dword [ebx + 0x18], eax
mov eax, dword [ebx + 4]
mov eax, dword [eax]
mov ecx, eax
cmp eax, esi
je 0x40989d
movzx edx, byte [eax + 8]
xor edx, 0x811c9dc5
mov ecx, dword [ecx]
imul edi, edx, 0x1000193
movzx edx, byte [eax + 9]
xor edi, edx
movzx edx, byte [eax + 0xa]
imul edi, edi, 0x1000193
xor edi, edx
movzx edx, byte [eax + 0xb]
imul edi, edi, 0x1000193
xor edi, edx
imul edx, edi, 0x1000193
mov edi, dword [ebx + 0x18]
and edi, edx
mov edx, dword [ebx + 0xc]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x10], edx
cmp edi, esi
jne 0x409823
mov dword [edx], eax
mov dword [edx + 4], eax
jmp 0x409893
mov edx, dword [edx + 4]
mov ebx, dword [eax + 8]
cmp ebx, dword [edx + 8]
jne 0x40985d
mov edx, dword [edx]
mov dword [ebp - 4], edx
cmp edx, eax
je 0x409855
mov ebx, dword [eax + 4]
mov esi, dword [ebp - 4]
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [edx + 4], eax
jmp 0x409890
cmp edi, edx
je 0x40986d
mov edx, dword [edx + 4]
cmp ebx, dword [edx + 8]
je 0x4098a6
cmp edi, edx
jne 0x409861
mov ebx, dword [eax + 4]
mov dword [ebp - 4], ebx
mov dword [ebx], ecx
mov ebx, dword [ecx + 4]
mov dword [ebx], edx
mov edi, dword [edx + 4]
mov dword [edi], eax
mov dword [edx + 4], ebx
mov edx, dword [ebp - 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [eax + 4], edi
mov dword [edx], eax
mov ebx, dword [ebp - 8]
mov eax, ecx
cmp ecx, esi
jne 0x4097d2
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [eax + 4]
mov edx, dword [edx]
mov dword [ebp - 4], edx
mov esi, edx
mov dword [ebx], ecx
mov edi, dword [ecx + 4]
mov dword [edi], edx
mov edx, dword [edx + 4]
mov dword [edx], eax
mov dword [esi + 4], edi
mov esi, dword [ebp - 0xc]
mov dword [ecx + 4], ebx
mov dword [eax + 4], edx
jmp 0x409890
push str.invalid_hash_bucket_count
call fcn.004294ff
int3
Function at 0x40a350
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 0xc]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x14], edx
cmp ebx, eax
je 0x40a4bf
mov eax, dword [edx + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 4]
mov dword [ebp - 8], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [ebx + 9]
push esi
push edi
mov edi, dword [edx + 0xc]
mov esi, ebx
xor ecx, eax
mov dword [ebp - 0x1c], edi
movzx eax, byte [ebx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [ebx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [edx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [edi + eax*8]
mov dword [ebp - 4], ecx
lea eax, [edi + eax*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
nop word [eax + eax]
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00406f50
push 0x18
push edi
call fcn.0042bd50
mov edx, dword [ebp - 0x14]
add esp, 8
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x40a41d
mov eax, dword [ebp + 0xc]
cmp esi, eax
jne 0x40a3d0
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jne 0x40a4b5
mov edi, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov dword [edi], esi
mov dword [ecx], esi
pop edi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov edi, dword [ebp - 0xc]
cmp ecx, dword [ebp + 8]
jne 0x40a431
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov dword [edi], eax
jmp 0x40a434
mov ecx, dword [ebp - 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 4], ecx
cmp esi, eax
je 0x40a4b5
nop
movzx eax, byte [esi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 9]
xor ecx, eax
movzx eax, byte [esi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [ebp - 0x1c]
and eax, dword [edx + 0x18]
lea eax, [ecx + eax*8]
mov dword [ebp - 4], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov edi, esi
mov ebx, esi
mov esi, dword [esi]
lea ecx, [edi + 0xc]
call fcn.00406f50
push 0x18
push edi
call fcn.0042bd50
mov edx, dword [ebp - 0x14]
add esp, 8
mov eax, dword [ebp + 0xc]
dec dword [edx + 8]
cmp ebx, dword [ebp - 0x10]
je 0x40a4c6
cmp esi, eax
jne 0x40a485
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
cmp esi, eax
jne 0x40a440
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x410ca0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x473140]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x214]
push 0
push eax
call fcn.0042dcf0
push 0x105
lea eax, [ebp - 0x10c]
push 0
push eax
call fcn.0042dcf0
add esp, 0x18
mov dword [ebp - 0x218], 0
lea eax, [ebp - 0x10c]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x105
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x218]
push eax
push 0x105
lea eax, [ebp - 0x214]
push eax
push 0x45b38c
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x218]
xor ecx, ebp
call fcn.0042bd5e
mov esp, ebp
pop ebp
ret
Function at 0x4258f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x24
test eax, eax
je 0x425a98
mov edx, dword [esp + 0x2c]
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov esi, dword [esp + 0x30]
push edi
cmp eax, 4
jb 0x425933
mov edi, eax
shr edi, 2
mov ecx, dword [edx]
sub eax, 4
xor ecx, dword [ebx]
add edx, 4
mov dword [esi], ecx
add ebx, 4
add esi, 4
sub edi, 1
jne 0x425918
mov dword [esp + 0x40], eax
push ebp
xor ebp, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
test eax, eax
je 0x425a94
cmp eax, 8
jb 0x425a79
lea ecx, [ebx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x425969
cmp edi, ebx
jae 0x425a79
lea ecx, [edx - 1]
add ecx, eax
cmp esi, ecx
ja 0x42597a
cmp edi, edx
jae 0x425a79
cmp eax, 0x40
jb 0x425a2e
mov edi, eax
mov ecx, eax
mov eax, edx
and edi, 0x3f
sub eax, ebx
mov dword [esp + 0x30], edi
mov dword [esp + 0x1c], eax
sub ecx, edi
mov eax, esi
mov dword [esp + 0x2c], ecx
sub eax, ebx
lea edi, [esi + 0x20]
mov dword [esp + 0x20], eax
lea ecx, [ebx + 0x10]
mov ebx, dword [esp + 0x20]
mov eax, edx
sub eax, esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
lea eax, [edx + 0x30]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x44]
movups xmm1, xmmword [edx + ebp]
mov edx, dword [esp + 0x24]
lea ecx, [ecx + 0x40]
movups xmm0, xmmword [ecx - 0x50]
lea edi, [edi + 0x40]
xorps xmm1, xmm0
movups xmmword [edi - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [esi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ebx + ecx - 0x40], xmm1
movups xmm1, xmmword [edx + edi - 0x40]
mov edx, dword [esp + 0x28]
movups xmm0, xmmword [ecx - 0x30]
xorps xmm1, xmm0
movups xmmword [edi - 0x40], xmm1
movups xmm1, xmmword [edx + ebp]
mov edx, dword [esp + 0x10]
add ebp, 0x40
movups xmm0, xmmword [ecx - 0x20]
xorps xmm1, xmm0
movups xmmword [edi - 0x30], xmm1
cmp ebp, dword [esp + 0x2c]
jb 0x4259c5
cmp dword [esp + 0x30], 8
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jb 0x425a75
and eax, 0xfffffff8
lea ecx, [ebx + ebp]
mov dword [esp + 0x30], eax
sub edx, ebx
mov edi, dword [esp + 0x30]
mov eax, esi
sub eax, ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], eax
mov eax, edx
mov edx, dword [esp + 0x28]
movq xmm1, qword [ecx + eax]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add ebp, 8
xorps xmm1, xmm0
movq qword [edx + ecx - 8], xmm1
cmp ebp, edi
jb 0x425a50
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
cmp ebp, eax
jae 0x425a94
sub edx, ebx
lea edi, [ebx + ebp]
sub esi, ebx
sub eax, ebp
mov cl, byte [edi + edx]
lea edi, [edi + 1]
xor cl, byte [edi - 1]
mov byte [esi + edi - 1], cl
sub eax, 1
jne 0x425a82
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret
Function at 0x428110
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
sub esp, 8
mov ecx, dword [esp + 0x10]
mov eax, ecx
mov edx, dword [esp + 0xc]
add eax, eax
lea ecx, [ecx*4 - 4]
movups xmm0, xmmword [edx + eax*8]
movups xmm1, xmmword [edx]
movups xmmword [edx], xmm0
movups xmmword [edx + eax*8], xmm1
mov eax, 4
mov dword [esp], eax
cmp ecx, eax
jbe 0x4281a1
push esi
push edi
mov edi, 0x10
lea esi, [ecx*4]
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], esi
nop word [eax + eax]
mov eax, dword [esp + 0x18]
lea edi, [edi + 0x10]
aesimc xmm0, xmmword [esi + edx]
aesimc xmm1, xmmword [edi + edx - 0x10]
add dword [esp + 0x18], 0x10
lea esi, [esi - 0x10]
movups xmmword [eax + edx], xmm0
sub ecx, 4
mov eax, dword [esp + 0xc]
sub dword [esp + 0xc], 0x10
movups xmmword [eax + edx], xmm1
mov eax, dword [esp + 8]
add eax, 4
mov dword [esp + 8], eax
cmp eax, ecx
jb 0x428160
pop edi
pop esi
aesimc xmm0, xmmword [edx + eax*4]
movups xmmword [edx + eax*4], xmm0
add esp, 8
ret

Function at 0x42b584
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 8], esi
test eax, eax
jg 0x42b5a9
jl 0x42b5a0
test ebx, ebx
jne 0x42b5a9
xor eax, eax
xor edx, edx
jmp 0x42b666
cmp dword [esi + 0x38], 0
je 0x42b5be
push eax
push ebx
push dword [ebp + 8]
call fcn.004291b0
jmp 0x42b666
mov eax, dword [esi + 0x1c]
push edi
mov edi, ebx
mov ecx, dword [eax]
test ecx, ecx
je 0x42b601
mov eax, dword [esi + 0x2c]
cmp dword [eax], 0
jbe 0x42b601
cmp dword [eax], ebx
mov esi, ebx
cmovb esi, dword [eax]
push esi
push ecx
push dword [ebp + 8]
call fcn.0042d580
mov ecx, dword [ebp - 8]
sub edi, esi
mov eax, dword [ebp + 8]
add esp, 0xc
add eax, esi
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x2c]
sub dword [eax], esi
mov eax, dword [ecx + 0x1c]
add dword [eax], esi
mov esi, ecx
jmp 0x42b607
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [esi + 0x4c], 0
je 0x42b65b
mov ecx, esi
call fcn.0042ae4d
mov ecx, dword [ebp - 4]
mov edx, edi
mov eax, 0xfff
cmp edi, eax
jbe 0x42b646
push dword [esi + 0x4c]
push eax
push 1
push ecx
call fcn.00441fd5
mov ecx, dword [ebp - 4]
sub edi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, edi
cmp eax, 0xfff
jne 0x42b65b
jmp 0x42b619
test edx, edx
je 0x42b65b
push dword [esi + 0x4c]
push edi
push 1
push ecx
call fcn.00441fd5
add esp, 0x10
sub edi, eax
mov edx, dword [ebp + 0x10]
sub ebx, edi
mov eax, ebx
sbb edx, 0
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x42ce92
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42ced1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42ced1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ced1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42ced1
cmp dword [ecx + 0x74], 0xe
jbe 0x42ced1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x44ac1c
Capabilities:
Get file size

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x18
mov eax, dword [eax + 0xc]
nop
shr eax, 3
test al, 1
je 0x44ac36
mov al, 1
leave
ret
mov eax, dword [ebp + 8]
push ebx
push esi
mov eax, dword [eax + 0xc]
nop
test al, 0xc0
mov eax, dword [ebp + 8]
je 0x44ac4d
mov ecx, dword [eax]
cmp ecx, dword [eax + 4]
je 0x44aca5
mov eax, dword [eax + 0x10]
nop
push eax
call fcn.0044f6b9
mov esi, eax
pop ecx
cmp esi, 0xffffffff
je 0x44aca5
xor ebx, ebx
lea eax, [ebp - 0x10]
inc ebx
xorps xmm0, xmm0
push ebx
push eax
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x44aca5
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x44aca5
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jne 0x44ac9f
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x14]
je 0x44aca1
xor bl, bl
mov al, bl
jmp 0x44aca7
xor al, al
pop esi
pop ebx
leave
ret
Function at 0x44c748
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1020
call fcn.0042c230
mov eax, dword [0x473140]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.00448f2b
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x44c78a
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x44c901
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.0042bff0
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1014], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x477568]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.0044d52c
mov ecx, dword [esi*4 + 0x477568]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x1020], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x44c8fa
cmp eax, dword [edi + ecx + 0x24]
jne 0x44c8fa
xor esi, esi
lea eax, [ebp - 0x101c]
push esi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44c8fa
push dword [ebp - 0x100c]
push esi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.0044d52c
add esp, 0x14
cmp edx, esi
jl 0x44c8fa
jg 0x44c855
cmp eax, esi
jb 0x44c8fa
mov ebx, dword [ebp - 0x1014]
mov eax, dword [ebp - 0x101c]
cmp ebx, esi
jg 0x44c8fa
jl 0x44c877
cmp dword [ebp - 0x1008], eax
ja 0x44c8fa
lea edi, [ebp - 0x1004]
xorps xmm0, xmm0
add edi, eax
movlpd qword [ebp - 0x1018], xmm0
lea ecx, [ebp - 0x1004]
cmp dword [ebp - 0x1008], esi
jne 0x44c89c
cmp ebx, esi
je 0x44c8e1
mov edx, dword [ebp - 0x1014]
mov esi, dword [ebp - 0x1018]
cmp ecx, edi
jae 0x44c8e1
mov al, byte [ecx]
cmp al, 0xd
jne 0x44c8c2
lea eax, [edi - 1]
cmp ecx, eax
jae 0x44c8ce
cmp byte [ecx + 1], 0xa
jne 0x44c8ce
inc ecx
jmp 0x44c8ce
movzx eax, al
movsx eax, byte [eax + 0x473448]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x44c8a8
cmp edx, ebx
jne 0x44c8a8
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x1020]
jmp 0x44c8ff
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0042bd5e
leave
ret
Function at 0x44c9b8
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov edx, dword [ebp + 8]
mov ecx, edx
push ebx
mov ebx, dword [ebp + 0xc]
mov eax, edx
sar ecx, 6
and eax, 0x3f
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x477568]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x44c9fa
cmp byte [ebx], 0xa
jne 0x44c9fa
or byte [edi + eax + 0x28], 4
jmp 0x44c9ff
and byte [edi + eax + 0x28], 0xfb
add ecx, ebx
mov eax, ebx
mov dword [ebp - 0x10], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x44cb02
mov cl, byte [eax]
cmp cl, 0x1a
je 0x44cadd
lea ebx, [eax + 1]
mov dword [ebp - 8], ebx
mov ebx, dword [ebp + 0xc]
cmp cl, 0xd
je 0x44ca2e
mov eax, dword [ebp - 8]
jmp 0x44ca4e
mov edx, dword [ebp - 0x10]
cmp dword [ebp - 8], edx
mov edx, dword [ebp + 8]
jae 0x44ca6a
mov ebx, dword [ebp - 8]
cmp byte [ebx], 0xa
jne 0x44ca48
add eax, 2
mov cl, 0xa
jmp 0x44ca4b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp + 0xc]
mov byte [esi], cl
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0xc]
add esi, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
jb 0x44ca10
jmp 0x44cb02
push 0
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44cad8
cmp dword [ebp - 0x10], 0
je 0x44cad8
mov edx, dword [ebp - 0x18]
mov eax, dword [edx*4 + 0x477568]
test byte [eax + edi + 0x28], 0x48
je 0x44cab7
mov cl, byte [ebp - 1]
cmp cl, 0xa
jne 0x44caa7
mov byte [esi], 0xa
jmp 0x44cb01
mov byte [esi], 0xd
mov eax, dword [edx*4 + 0x477568]
mov byte [eax + edi + 0x2a], cl
jmp 0x44cb01
cmp byte [ebp - 1], 0xa
jne 0x44cac1
cmp esi, ebx
je 0x44caa2
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.0044d54a
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x44cb02
mov byte [esi], 0xd
jmp 0x44cb01
mov eax, edx
and edx, 0x3f
sar eax, 6
imul edx, edx, 0x38
mov edi, dword [eax*4 + 0x477568]
mov al, byte [edi + edx + 0x28]
test al, 0x40
jne 0x44caff
or al, 2
mov byte [edi + edx + 0x28], al
jmp 0x44cb02
mov byte [esi], cl
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret