joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40fe40
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a9830
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4d9180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], ecx
lea eax, [ecx + 4]
mov dword [ebp - 0x14], ecx
lea ebx, [ecx + 0x24]
mov dword [ecx], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
lea edi, [ecx + 0x28]
mov dword [ebp - 0x14], eax
push 8
mov dword [eax], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 0
mov dword [ebx], 0
mov dword [edi], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
call fcn.00455423
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00452140
mov dword [esi + 4], eax
add esp, 8
mov eax, dword [ebp - 0x10]
mov ecx, eax
mov dword [eax + 0x34], esi
call fcn.004103e0
mov eax, dword [ebp - 0x10]
lea edx, [eax + 8]
lea ecx, [eax + 0x14]
lea esi, [eax + 4]
mov dword [eax + 0x10], edx
mov dword [eax + 0xc], esi
mov esi, eax
mov dword [eax + 0x1c], ecx
mov dword [eax], vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov byte [eax + 0x48], 0
mov byte [eax + 0x3d], 0
lea eax, [esi + 0x18]
mov dword [esi + 0x20], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [edx], 0
mov edx, dword [0x4df3b0]
mov dword [eax], 0
mov eax, dword [ebp - 0x10]
mov dword [edi], 0
mov dword [esi], 0
mov dword [ecx], 0
mov ecx, dword [0x4df3ac]
mov dword [ebx], 0
mov dword [eax + 0x4c], 0
mov dword [eax + 0x40], ecx
mov dword [eax + 0x44], edx
mov dword [eax + 0x38], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4109d0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8990
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x4d9180]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 8
mov dword [edi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
call fcn.00455423
mov esi, eax
xorps xmm0, xmm0
movq qword [esi], xmm0
push 1
mov dword [ebp - 4], 0
call fcn.00452140
add esp, 8
mov dword [esi + 4], eax
mov ecx, edi
mov dword [edi + 0x34], esi
call fcn.004103e0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x41c000
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
push edi
mov dword [ebp - 4], esi
mov eax, dword [esi]
cmp eax, 0x270
jne 0x41c05d
lea edx, [esi + 8]
mov edi, eax
nop dword [eax]
mov ecx, dword [edx]
lea edx, [edx + 4]
xor ecx, dword [edx - 8]
and ecx, 0x7fffffff
xor ecx, dword [edx - 8]
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x62c]
xor eax, ecx
mov dword [edx + 0x9b8], eax
sub edi, 1
jne 0x41c020
mov eax, dword [esi]
jmp 0x41c13b
cmp eax, 0x4e0
jb 0x41c13b
lea edi, [esi + 0x9c4]
mov esi, 0xe3
push ebx
mov ebx, dword [edi]
lea edx, [edi]
mov eax, ebx
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, ebx
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx + 0x634]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x41c076
mov edi, dword [ebp - 4]
mov esi, 0x18c
add edi, 0xd50
mov ebx, dword [edi]
mov eax, ebx
lea edx, [edi]
mov ebx, dword [edx + 4]
lea edi, [edx + 4]
mov ecx, eax
xor ecx, ebx
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [edx - 0xd4c]
xor eax, ecx
mov dword [edx - 0x9c0], eax
sub esi, 1
jne 0x41c0c1
mov esi, dword [ebp - 4]
pop ebx
mov eax, dword [esi + 0x1380]
mov ecx, dword [esi + 4]
xor ecx, eax
and ecx, 0x7fffffff
xor ecx, eax
mov eax, ecx
and al, 1
movzx eax, al
neg eax
sbb eax, eax
shr ecx, 1
and eax, 0x9908b0df
xor eax, dword [esi + 0x634]
xor eax, ecx
mov dword [esi + 0x9c0], eax
xor eax, eax
mov dword [esi], 0
mov edx, dword [esi + eax*4 + 4]
inc eax
mov dword [esi], eax
mov ecx, edx
mov eax, dword [esi + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
pop edi
xor eax, edx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x425e20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00423240
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp edx, 7
jbe 0x425e48
test ecx, ecx
je 0x425e75
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
cmp word [eax], 0
je 0x425e75
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x425e75
mov bl, 1
jmp 0x425e77
xor bl, bl
cmp edx, 7
jbe 0x425ea7
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x425e9d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x425eb8
push edx
push ecx
call fcn.004557b9
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00455352
mov esp, ebp
pop ebp
ret
call fcn.0047971a
int3
Function at 0x427440
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 4], esi
mov eax, dword fs:[0x2c]
push edi
mov ecx, dword [eax]
mov eax, dword [0x4df3c0]
cmp eax, dword [ecx + 4]
jle 0x4274bc
push 0x4df3c0
call fcn.004553bf
add esp, 4
cmp dword [0x4df3c0], 0xffffffff
jne 0x4274bc
xorps xmm0, xmm0
mov dword [0x4df3ec], 0
xor eax, eax
mov dword [0x4df3f0], 7
movups xmmword [0x4df3dc], xmm0
push 0x4afbb0
mov word [0x4df3dc], ax
call fcn.004557a4
add esp, 4
push 0x4df3c0
call fcn.0045536e
add esp, 4
mov edx, dword [0x4df3f0]
mov ecx, dword [0x4df3dc]
cmp edx, 7
jbe 0x4274d1
test ecx, ecx
je 0x4274fc
cmp edx, 7
mov eax, 0x4df3dc
cmova eax, ecx
cmp word [eax], 0
je 0x4274fc
cmp edx, 7
mov eax, 0x4df3dc
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4275cc
lea ecx, [ebp - 0x20]
call fcn.00429f80
mov edi, eax
cmp edi, 0x4df3dc
je 0x427592
mov ecx, dword [0x4df3f0]
cmp ecx, 7
jbe 0x427552
mov edx, dword [0x4df3dc]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427548
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42766f
push ecx
push edx
call fcn.004557b9
add esp, 8
mov dword [0x4df3ec], 0
xor eax, eax
mov dword [0x4df3f0], 7
mov word [0x4df3dc], ax
movups xmm0, xmmword [edi]
movups xmmword [0x4df3dc], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x4df3ec], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0xc]
cmp ecx, 7
jbe 0x4275cc
mov edx, dword [ebp - 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4275c2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42766f
push ecx
push edx
call fcn.004557b9
add esp, 8
xorps xmm0, xmm0
mov ebx, 0x4df3dc
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [0x4df3f0], 7
mov edi, dword [0x4df3ec]
cmova ebx, dword [0x4df3dc]
cmp edi, 0x7ffffffe
ja 0x427674
cmp edi, 7
ja 0x42761f
mov dword [esi + 0x10], edi
mov eax, esi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [ebx]
movups xmmword [esi], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x427632
mov eax, 0x7ffffffe
jmp 0x42763c
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00402410
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push ebx
push eax
mov dword [esi], eax
mov dword [esi + 0x10], edi
call fcn.0046f3e0
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047971a
call fcn.00401790
int3
Function at 0x427680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 4], esi
mov eax, dword fs:[0x2c]
push edi
mov ecx, dword [eax]
mov eax, dword [0x4df3bc]
cmp eax, dword [ecx + 4]
jle 0x4276fc
push 0x4df3bc
call fcn.004553bf
add esp, 4
cmp dword [0x4df3bc], 0xffffffff
jne 0x4276fc
xorps xmm0, xmm0
mov dword [0x4df3d4], 0
xor eax, eax
mov dword [0x4df3d8], 7
movups xmmword [0x4df3c4], xmm0
push 0x4afc10
mov word [0x4df3c4], ax
call fcn.004557a4
add esp, 4
push 0x4df3bc
call fcn.0045536e
add esp, 4
mov edx, dword [0x4df3d8]
mov ecx, dword [0x4df3c4]
cmp edx, 7
jbe 0x427711
test ecx, ecx
je 0x42773c
cmp edx, 7
mov eax, 0x4df3c4
cmova eax, ecx
cmp word [eax], 0
je 0x42773c
cmp edx, 7
mov eax, 0x4df3c4
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42780c
lea ecx, [ebp - 0x20]
call fcn.0042a1c0
mov edi, eax
cmp edi, 0x4df3c4
je 0x4277d2
mov ecx, dword [0x4df3d8]
cmp ecx, 7
jbe 0x427792
mov edx, dword [0x4df3c4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427788
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4278af
push ecx
push edx
call fcn.004557b9
add esp, 8
mov dword [0x4df3d4], 0
xor eax, eax
mov dword [0x4df3d8], 7
mov word [0x4df3c4], ax
movups xmm0, xmmword [edi]
movups xmmword [0x4df3c4], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x4df3d4], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0xc]
cmp ecx, 7
jbe 0x42780c
mov edx, dword [ebp - 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427802
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4278af
push ecx
push edx
call fcn.004557b9
add esp, 8
xorps xmm0, xmm0
mov ebx, 0x4df3c4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [0x4df3d8], 7
mov edi, dword [0x4df3d4]
cmova ebx, dword [0x4df3c4]
cmp edi, 0x7ffffffe
ja 0x4278b4
cmp edi, 7
ja 0x42785f
mov dword [esi + 0x10], edi
mov eax, esi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [ebx]
movups xmmword [esi], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x427872
mov eax, 0x7ffffffe
jmp 0x42787c
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00402410
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push ebx
push eax
mov dword [esi], eax
mov dword [esi + 0x10], edi
call fcn.0046f3e0
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047971a
call fcn.00401790
int3
Function at 0x4278c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, ecx
mov dword [ebp - 4], esi
mov dword [ebp - 4], esi
mov eax, dword fs:[0x2c]
push edi
mov ecx, dword [eax]
mov eax, dword [0x4df3b8]
cmp eax, dword [ecx + 4]
jle 0x42793c
push 0x4df3b8
call fcn.004553bf
add esp, 4
cmp dword [0x4df3b8], 0xffffffff
jne 0x42793c
xorps xmm0, xmm0
mov dword [0x4df404], 0
xor eax, eax
mov dword [0x4df408], 7
movups xmmword [0x4df3f4], xmm0
push 0x4afc70
mov word [0x4df3f4], ax
call fcn.004557a4
add esp, 4
push 0x4df3b8
call fcn.0045536e
add esp, 4
mov edx, dword [0x4df408]
mov ecx, dword [0x4df3f4]
cmp edx, 7
jbe 0x427951
test ecx, ecx
je 0x42797c
cmp edx, 7
mov eax, 0x4df3f4
cmova eax, ecx
cmp word [eax], 0
je 0x42797c
cmp edx, 7
mov eax, 0x4df3f4
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427a4c
lea ecx, [ebp - 0x20]
call fcn.0042a400
mov edi, eax
cmp edi, 0x4df3f4
je 0x427a12
mov ecx, dword [0x4df408]
cmp ecx, 7
jbe 0x4279d2
mov edx, dword [0x4df3f4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4279c8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427aef
push ecx
push edx
call fcn.004557b9
add esp, 8
mov dword [0x4df404], 0
xor eax, eax
mov dword [0x4df408], 7
mov word [0x4df3f4], ax
movups xmm0, xmmword [edi]
movups xmmword [0x4df3f4], xmm0
movq xmm0, qword [edi + 0x10]
movq qword [0x4df404], xmm0
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 7
mov word [edi], ax
mov ecx, dword [ebp - 0xc]
cmp ecx, 7
jbe 0x427a4c
mov edx, dword [ebp - 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x427a42
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x427aef
push ecx
push edx
call fcn.004557b9
add esp, 8
xorps xmm0, xmm0
mov ebx, 0x4df3f4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
cmp dword [0x4df408], 7
mov edi, dword [0x4df404]
cmova ebx, dword [0x4df3f4]
cmp edi, 0x7ffffffe
ja 0x427af4
cmp edi, 7
ja 0x427a9f
mov dword [esi + 0x10], edi
mov eax, esi
mov dword [esi + 0x14], 7
movups xmm0, xmmword [ebx]
movups xmmword [esi], xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edi
or eax, 7
cmp eax, 0x7ffffffe
jbe 0x427ab2
mov eax, 0x7ffffffe
jmp 0x427abc
mov ecx, 0xa
cmp eax, ecx
cmovb eax, ecx
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push esi
call fcn.00402410
mov ecx, dword [ebp - 4]
mov dword [esi + 0x14], ecx
lea ecx, [edi*2 + 2]
push ecx
push ebx
push eax
mov dword [esi], eax
mov dword [esi + 0x10], edi
call fcn.0046f3e0
add esp, 0x14
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0047971a
call fcn.00401790
int3
Function at 0x428b20
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.004298c0
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp edx, 7
jbe 0x428b48
test ecx, ecx
je 0x428b75
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
cmp word [eax], 0
je 0x428b75
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x428b75
mov bl, 1
jmp 0x428b77
xor bl, bl
cmp edx, 7
jbe 0x428ba7
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428b9d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428bb8
push edx
push ecx
call fcn.004557b9
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00455352
mov esp, ebp
pop ebp
ret
call fcn.0047971a
int3

Function at 0x428bc0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4d9180]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea ecx, [ebp - 0x1c]
call fcn.00429d40
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
cmp edx, 7
jbe 0x428be8
test ecx, ecx
je 0x428c15
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
cmp word [eax], 0
je 0x428c15
cmp edx, 7
lea eax, [ebp - 0x1c]
cmova eax, ecx
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
test eax, eax
je 0x428c15
mov bl, 1
jmp 0x428c17
xor bl, bl
cmp edx, 7
jbe 0x428c47
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x428c3d
mov ecx, dword [eax - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428c58
push edx
push ecx
call fcn.004557b9
add esp, 8
mov ecx, dword [ebp - 4]
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00455352
mov esp, ebp
pop ebp
ret
call fcn.0047971a
int3

Function at 0x4293b0
Capabilities:
Check if file exists

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
mov edx, esi
push edi
lea edi, [esi + 0x14]
cmp ecx, 7
jbe 0x4293c8
mov edx, dword [esi]
lea eax, [esi + 0x14]
jmp 0x4293ca
mov eax, edi
test edx, edx
je 0x4293fe
push ebx
mov ebx, esi
cmp ecx, 7
jbe 0x4293dd
mov ebx, dword [esi]
lea edx, [esi + 0x14]
jmp 0x4293df
mov edx, eax
cmp word [ebx], 0
mov edi, eax
pop ebx
je 0x4293fe
mov eax, esi
cmp ecx, 7
jbe 0x4293f1
mov eax, dword [esi]
push eax
mov edi, edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x429437
cmp dword [edi], 7
mov eax, esi
jbe 0x429407
mov eax, dword [esi]
push 0
push 0
push 1
push eax
call fcn.00464fa0
add esp, 0x10
cmp eax, 0xffffffff
je 0x429437
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [edi], 7
jbe 0x429429
mov esi, dword [esi]
push esi
call fcn.00465640
test eax, eax
pop edi
setne al
pop esi
ret
pop edi
xor al, al
pop esi
ret
Function at 0x4485f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp byte [0x4de028], 0
jne 0x4485fe
call fcn.0044d610
cmp byte [0x4de032], 0
je 0x44861c
push 0
push 0x40
push dword [esp + 0x10]
push dword [esp + 0x10]
call fcn.00450e40
add esp, 0x10
ret
jmp fcn.00446950
Function at 0x44b4f0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 8]
push ebx
push ebp
push esi
xor ebx, ebx
push edi
mov edi, dword [esp + 0x14]
cmp eax, 4
jb 0x44b524
mov esi, eax
shr esi, 2
nop dword [eax]
mov ecx, dword [edi]
sub eax, 4
xor ecx, dword [edx]
add edi, 4
or ebx, ecx
add edx, 4
sub esi, 1
jne 0x44b510
mov esi, ebx
mov ecx, ebx
shr esi, 8
xor ebp, ebp
or esi, ebx
shr ecx, 0x10
and esi, 0xff00
or esi, ecx
movzx ecx, bl
shr esi, 8
or esi, ecx
test eax, eax
je 0x44b604
mov ebx, edi
sub ebx, edx
cmp eax, 8
jb 0x44b5e3
mov ecx, eax
xorps xmm4, xmm4
and ecx, 0xfffffff8
xorps xmm3, xmm3
mov dword [esp + 0x1c], ecx
lea ecx, [edx + 4]
nop dword [eax]
movd xmm2, dword [edi + ebp]
lea ecx, [ecx + 8]
movd xmm1, dword [ecx - 0xc]
xorps xmm0, xmm0
punpcklbw xmm2, xmm0
add ebp, 8
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
movd xmm1, dword [ecx - 8]
orps xmm4, xmm2
movd xmm2, dword [ebx + ecx - 8]
punpcklbw xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm2, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
orps xmm3, xmm2
cmp ebp, dword [esp + 0x1c]
jb 0x44b570
orps xmm3, xmm4
movaps xmm0, xmm3
psrldq xmm0, 8
orps xmm3, xmm0
movups xmm0, xmm3
psrldq xmm0, 4
orps xmm3, xmm0
movd ecx, xmm3
or esi, ecx
cmp ebp, eax
jae 0x44b604
lea edi, [edx + ebp]
sub eax, ebp
nop dword [eax + eax]
movzx edx, byte [ebx + edi]
lea edi, [edi + 1]
movzx ecx, byte [edi - 1]
xor edx, ecx
or esi, edx
sub eax, 1
jne 0x44b5f0
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
ret
Function at 0x44b610
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x24
test eax, eax
je 0x44b7b8
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 0x44b653
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 0x44b638
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 0x44b7b4
cmp eax, 8
jb 0x44b799
lea ecx, [ebx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x44b689
cmp edi, ebx
jae 0x44b799
lea ecx, [edx - 1]
add ecx, eax
cmp esi, ecx
ja 0x44b69a
cmp edi, edx
jae 0x44b799
cmp eax, 0x40
jb 0x44b74e
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 0x44b6e5
cmp dword [esp + 0x30], 8
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jb 0x44b795
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 0x44b770
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x10]
cmp ebp, eax
jae 0x44b7b4
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 0x44b7a2
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x24
ret