joyce8/EMBER2024-capa huggingface dataset:
Function at 0x420880
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49928d
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
xor eax, eax
mov dword [edi], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 7
mov word [edi], ax
lea esi, [edi + 0x18]
mov dword [ebp - 4], eax
push 0x40
mov dword [ebp - 0x14], esi
mov dword [esi], eax
mov dword [esi + 4], eax
call fcn.004699d8
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
xor eax, eax
mov dword [edi + 0x20], 0
mov word [edi + 0x20], ax
mov eax, edi
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x420ae0
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
mov eax, dword [0x4c4014]
xor eax, esp
mov dword [esp + 8], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
cmp dword [ebx + 0x8c], 1
jne 0x420b82
xor eax, eax
cmp dword [ebx + 0x60], 8
mov word [esp + 0xc], ax
mov dword [esp + 0x10], eax
lea eax, [ebx + 0x4c]
jb 0x420b1b
mov eax, dword [eax]
push str.rb__ccsUTF_8
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0048026b
mov eax, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
je 0x420b82
push eax
push 2
lea eax, [esp + 0x14]
push 1
push eax
call fcn.0047a121
push dword [esp + 0x20]
call fcn.00479ae1
mov ax, word [esp + 0x20]
add esp, 0x14
cmp al, 0xff
jne 0x420b5f
cmp ah, 0xfe
je 0x420b82
cmp ah, 0xff
jne 0x420b68
cmp al, 0xfe
je 0x420b82
mov eax, dword [edi]
test eax, eax
je 0x420b7b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov ecx, ebx
call fcn.004239a0
lea esi, [ebx + 0x4c]
push 1
mov ecx, esi
call fcn.004351c0
add esp, 4
test eax, eax
je 0x420baf
cmp eax, 1
jne 0x420c01
push ecx
mov ecx, esi
call fcn.00427320
add esp, 4
test al, al
je 0x420c01
mov dword [edi], 0xffffffff
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x420bb9
mov eax, dword [esi]
push 0
push 0x200080
push 3
push 0
push 3
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x420c58
cmp dword [esi + 0x14], 8
jb 0x420be1
mov esi, dword [esi]
push 0
push 0x200080
push 1
push 0
push 3
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [edi], eax
cmp eax, 0xffffffff
jne 0x420c17
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.004699ca
mov esp, ebp
pop ebp
ret 4
cmp dword [ebx + 0x8c], 1
push 0
jne 0x420c39
mov ecx, 0xfeff
mov word [esp + 0x10], cx
lea ecx, [esp + 0x14]
push ecx
push 2
lea ecx, [esp + 0x18]
jmp 0x420c50
lea ecx, [esp + 0x14]
mov word [esp + 0x10], 0xbbef
push ecx
mov byte [esp + 0x16], 0xbf
lea ecx, [esp + 0x14]
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [esp + 0x14]
mov al, 1
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004699ca
mov esp, ebp
pop ebp
ret 4
Function at 0x4211e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, edi
lea ecx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x421200
push 2
push 0
push 0
push dword [ebx + 0x68]
sub esi, ecx
sar esi, 1
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
add esi, esi
push esi
push edi
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 4
push 0x4b40ac
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004699ca
mov esp, ebp
pop ebp
ret 4

Function at 0x421270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, ecx
mov esi, edi
lea ecx, [esi + 1]
nop dword [eax]
mov al, byte [esi]
inc esi
test al, al
jne 0x421290
push 2
push 0
push 0
push dword [ebx + 0x68]
sub esi, ecx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push esi
push edi
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
mov dword [ebp - 8], 0
push eax
push 2
push 0x4b40b4
push dword [ebx + 0x68]
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004699ca
mov esp, ebp
pop ebp
ret 4
Function at 0x426c90
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
push edi
push 0
push 0
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
test edi, edi
je 0x426cdc
xor ecx, ecx
lea eax, [edi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00479701
mov esi, eax
add esp, 4
test esi, esi
je 0x426cdc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x426ce2
push esi
call fcn.00479682
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
ret
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x426ce7
sub ecx, edx
sar ecx, 1
push ecx
push esi
mov ecx, ebx
call fcn.00402e00
push esi
call fcn.00479682
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x427260
Capabilities:
Check if file exists
Create directory

Disassembly:
push esi
mov esi, ecx
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x42726d
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [esi + 0x14]
test eax, eax
je 0x427290
cmp ecx, 8
jb 0x427282
mov esi, dword [esi]
push esi
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
pop esi
setne al
ret
cmp ecx, 8
jb 0x427297
mov esi, dword [esi]
push edi
push 0
push esi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edi, eax
test edi, edi
je 0x427314
mov esi, dword [0x4c8c94]
test esi, esi
je 0x4272e4
push edi
push 0x4b4610
push 0x4aea60
push 0x4aea60
push 0x4b42fc
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x1c
test edi, edi
sete al
pop edi
pop esi
ret
mov eax, dword [0x4c8c98]
test eax, eax
je 0x427312
mov esi, dword [eax]
push edi
push 0x4b4610
push 0x4b42fc
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x4aea60
push 0x32
push eax
call dword [0x49e2d4]
call esi
add esp, 0x18
test edi, edi
pop edi
sete al
pop esi
ret
Function at 0x427320
Capabilities:
Check if file exists
Delete file
Get file attributes
Set file attributes

Disassembly:
push edi
mov edi, ecx
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x42732d
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4274db
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x427346
mov eax, dword [edi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x427357
mov eax, dword [edi]
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
je 0x42743d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x42743d
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x427385
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
test dl, 1
je 0x42743d
mov esi, dword [0x4c8c94]
test esi, esi
je 0x4273d7
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4273ab
mov ecx, dword [edi]
push edx
push ecx
push str.File__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
push 0x4aea60
push 0x4aea60
push 0x4b42fc
push str.OOBEUtils
push 0x14
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x20
jmp 0x427410
mov eax, dword [0x4c8c98]
test eax, eax
je 0x427410
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4273ea
mov ecx, dword [edi]
mov esi, dword [eax]
push edx
push ecx
push str.File__s_is_with_read_only._Its_attribute_is:__d._UnSetting_its_read_only_attr_and_retry_deleting
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x4b42fc
push 0x4aea60
push 0x14
push eax
call dword [0x49e2d4]
call esi
add esp, 0x1c
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x42741a
mov eax, dword [edi]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x427430
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, 1
sete bl
test bl, bl
jne 0x4274d5
cmp dword [0x4c8c94], 0
je 0x427492
cmp dword [edi + 0x14], 8
jb 0x427456
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x4c8c94]
mov ecx, esi
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push 0x4aea60
push 0x4aea60
push 0x4b42fc
push str.OOBEUtils
push 0x32
call dword [0x49e2d4]
call esi
add esp, 0x20
mov al, bl
pop esi
pop ebx
pop edi
ret
mov esi, dword [0x4c8c98]
test esi, esi
je 0x4274d5
cmp dword [edi + 0x14], 8
jb 0x4274a4
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
push edi
push str.Failed_to_delete_file:__s_LastError:_d
push 0x4b42fc
push 0x4aea60
push 0x32
push dword [0x4c8c98]
call dword [0x49e2d4]
call esi
add esp, 0x1c
pop esi
mov al, bl
pop ebx
pop edi
ret
mov al, 1
pop edi
ret
Function at 0x4274e0
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49994d
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov esi, ecx
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x427519
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427591
mov esi, dword [0x4c8c94]
test esi, esi
je 0x42755d
push str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
push 0x4aea60
push 0x4aea60
push 0x4b42fc
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x49e2d4]
call esi
add esp, 0x18
xor al, al
jmp 0x4276b8
mov eax, dword [0x4c8c98]
test eax, eax
je 0x42758a
mov esi, dword [eax]
push str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
push 0x4b42fc
push 0x4aea60
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x49e2d4]
call esi
add esp, 0x14
xor al, al
jmp 0x4276b8
push edi
lea ecx, [ebp - 0x28]
call fcn.00403570
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0
call fcn.004270d0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00427260
add esp, 4
cmp dword [esi + 0x14], 8
jb 0x4275bd
mov esi, dword [esi]
cmp dword [edi + 0x14], 8
mov eax, edi
jb 0x4275c7
mov eax, dword [edi]
push 0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x42766a
cmp dword [0x4c8c94], eax
je 0x427623
cmp dword [edi + 0x14], 8
jb 0x4275e9
mov edi, dword [edi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [0x4c8c94]
mov ecx, esi
push eax
push edi
push str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
push 0x4aea60
push 0x4aea60
push 0x4b42fc
push str.OOBEUtils
push 0x32
call dword [0x49e2d4]
call esi
add esp, 0x20
xor bl, bl
jmp 0x427680
mov esi, dword [0x4c8c98]
test esi, esi
je 0x427666
cmp dword [edi + 0x14], 8
jb 0x427635
mov edi, dword [edi]
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
push edi
push str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
push 0x4b42fc
push 0x4aea60
push 0x32
push dword [0x4c8c98]
call dword [0x49e2d4]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x427680
cmp dword [edi + 0x14], 8
jb 0x427672
mov edi, dword [edi]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
jb 0x4276b6
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4276ac
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4276d4
push ecx
push edx
call fcn.00469a08
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
call fcn.00479631
int3
Function at 0x42b400
Capabilities:
Encode data using xor

Disassembly:
mov edx, ecx
xor eax, eax
movzx ecx, word [edx]
test cx, cx
je 0x42b430
push esi
mov esi, ecx
nop
movzx ecx, si
lea edx, [edx + 2]
add ecx, eax
imul eax, ecx, 0x401
mov ecx, eax
shr ecx, 6
xor eax, ecx
movzx ecx, word [edx]
mov esi, ecx
test cx, cx
jne 0x42b410
pop esi
lea ecx, [eax + eax*8]
mov eax, ecx
shr eax, 0xb
xor eax, ecx
imul eax, eax, 0x8001
ret
Function at 0x435f10
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x200c
call fcn.0046a7a0
mov eax, dword [0x4c4014]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, edx
mov edi, ecx
push 1
mov ecx, esi
call fcn.004351c0
add esp, 4
test eax, eax
je 0x435f63
cmp eax, 1
jne 0x435f51
push ecx
mov ecx, esi
call fcn.00427320
add esp, 4
test al, al
jne 0x435f63
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
push ebx
xor ebx, ebx
cmp dword [edi + 0x14], 8
jb 0x435f6e
mov edi, dword [edi]
push 0
push 0x80
push 3
push 0
push 3
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp dword [esi + 0x14], 8
mov edi, eax
jb 0x435f91
mov esi, dword [esi]
push 0
push 0x200080
push 4
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x435fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004699ca
mov esp, ebp
pop ebp
ret
push 0
lea eax, [ebp - 0x2008]
push eax
push 0x1000
lea eax, [ebp - 0x2004]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x43600f
push 0
lea eax, [ebp - 0x200c]
push eax
push dword [ebp - 0x2008]
lea eax, [ebp - 0x2004]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x436017
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp dword [ebp - 0x2008], 0x1000
je 0x435fd0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
test ebx, ebx
pop ebx
sete al
xor ecx, ebp
pop edi
pop esi
call fcn.004699ca
mov esp, ebp
pop ebp
ret
Function at 0x45ba10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov esi, dword [esp + 0x24]
mov ebx, edx
mov edx, esi
mov dword [esp + 0x10], ebx
shr edx, 2
xor ebp, ebp
mov dword [esp + 0xc], edx
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
test edx, edx
je 0x45baf2
cmp edx, 0x10
jb 0x45bad2
lea eax, [ebx - 4]
lea eax, [eax + edx*4]
lea ecx, [edi - 4]
lea ecx, [ecx + edx*4]
cmp edi, eax
ja 0x45ba57
cmp ecx, ebx
jae 0x45bad2
mov eax, edx
lea ecx, [ebx + 0x30]
and eax, 0xfffffff0
mov esi, ebx
sub esi, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], esi
lea eax, [edi + 0x10]
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x1c]
movups xmm0, xmmword [eax - 0x10]
add ebp, 0x10
lea eax, [eax + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ecx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [edx + eax - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ecx - 0x50]
pxor xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
movups xmm0, xmmword [eax - 0x20]
movups xmm1, xmmword [ecx - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x45ba76
mov edx, dword [esp + 0x10]
mov dword [esp + 0x20], ebp
cmp ebp, edx
jae 0x45baf2
mov esi, ebx
lea ecx, [edi + ebp*4]
sub esi, edi
sub edx, ebp
mov ebp, dword [esp + 0x10]
nop
mov eax, dword [esi + ecx]
lea ecx, [ecx + 4]
xor dword [ecx - 4], eax
sub edx, 1
jne 0x45bae0
mov esi, dword [esp + 0x28]
shl ebp, 2
sub esi, ebp
je 0x45bbb1
add edi, ebp
add ebx, ebp
xor ecx, ecx
test esi, esi
je 0x45bbb1
cmp esi, 0x40
jb 0x45bb96
lea eax, [ebx - 1]
lea edx, [edi - 1]
add eax, esi
add edx, esi
cmp edi, eax
ja 0x45bb26
cmp edx, ebx
jae 0x45bb96
mov ebp, dword [esp + 0x14]
lea eax, [edi + 0x10]
mov edx, esi
add ebx, 0x30
and edx, 0xffffffc0
sub ebp, dword [esp + 0x18]
nop dword [eax]
movups xmm0, xmmword [eax - 0x10]
add ecx, 0x40
lea ebx, [ebx + 0x40]
lea eax, [eax + 0x40]
movups xmm1, xmmword [ebx - 0x70]
pxor xmm1, xmm0
movups xmmword [eax - 0x50], xmm1
movups xmm0, xmmword [eax - 0x40]
movups xmm1, xmmword [eax + ebp - 0x40]
pxor xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm0, xmmword [eax - 0x30]
movups xmm1, xmmword [ebx - 0x50]
pxor xmm1, xmm0
movups xmm0, xmmword [ebx - 0x40]
movups xmmword [eax - 0x30], xmm1
movups xmm1, xmmword [eax - 0x20]
pxor xmm1, xmm0
movups xmmword [eax - 0x20], xmm1
cmp ecx, edx
jb 0x45bb40
mov dword [esp + 0x20], ecx
cmp ecx, esi
jae 0x45bbb1
mov ebx, dword [esp + 0x14]
lea eax, [ecx + edi]
sub ebx, dword [esp + 0x18]
sub esi, ecx
mov cl, byte [ebx + eax]
lea eax, [eax + 1]
xor byte [eax - 1], cl
sub esi, 1
jne 0x45bba3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x45be40
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, dword [esp + 0x1c]
mov eax, edx
mov ebp, esi
mov dword [esp + 0xc], eax
shr ebp, 2
xor ebx, ebx
push edi
xor edi, edi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], ebp
test ebp, ebp
je 0x45bef8
mov edx, ecx
sub edx, eax
cmp ebp, 8
jb 0x45bed4
mov ebx, ebp
xorps xmm3, xmm3
and ebx, 0xfffffff8
xorps xmm2, xmm2
add eax, 0x10
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [ecx + edi*4]
add edi, 8
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + edx - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, ebx
jb 0x45be81
mov eax, dword [esp + 0x10]
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movd ebx, xmm2
cmp edi, ebp
jae 0x45bef8
lea ecx, [eax + edi*4]
sub ebp, edi
mov edi, dword [esp + 0x14]
nop dword [eax]
mov eax, dword [ecx + edx]
lea ecx, [ecx + 4]
xor eax, dword [ecx - 4]
or ebx, eax
sub ebp, 1
jne 0x45bee0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
shl edi, 2
sub esi, edi
jne 0x45bf0c
pop edi
pop esi
test ebx, ebx
pop ebp
sete al
pop ebx
add esp, 0xc
ret
add eax, edi
mov edx, ebx
mov dword [esp + 0x10], eax
add ecx, edi
shr edx, 0x18
mov eax, ebx
shr eax, 0x10
xor edi, edi
or dl, al
mov eax, ebx
shr eax, 8
or dl, al
or dl, bl
test esi, esi
je 0x45bfe0
mov ebp, dword [esp + 0x10]
mov ebx, ecx
sub ebx, ebp
cmp esi, 0x20
jb 0x45bfcb
mov eax, esi
xorps xmm3, xmm3
and eax, 0xffffffe0
xorps xmm2, xmm2
mov dword [esp + 0x18], eax
lea eax, [ebp + 0x10]
nop word [eax + eax]
movups xmm0, xmmword [eax - 0x10]
lea eax, [eax + 0x20]
movups xmm1, xmmword [edi + ecx]
add edi, 0x20
pxor xmm1, xmm0
por xmm3, xmm1
movups xmm1, xmmword [eax + ebx - 0x20]
movups xmm0, xmmword [eax - 0x20]
pxor xmm1, xmm0
por xmm2, xmm1
cmp edi, dword [esp + 0x18]
jb 0x45bf60
por xmm2, xmm3
movaps xmm0, xmm2
psrldq xmm0, 8
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 4
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 2
por xmm2, xmm0
movups xmm0, xmm2
psrldq xmm0, 1
por xmm2, xmm0
movd eax, xmm2
or dl, al
cmp edi, esi
jae 0x45bfe0
lea ecx, [edi + ebp]
sub esi, edi
mov al, byte [ecx + ebx]
lea ecx, [ecx + 1]
xor al, byte [ecx - 1]
or dl, al
sub esi, 1
jne 0x45bfd0
pop edi
pop esi
test dl, dl
pop ebp
sete al
pop ebx
add esp, 0xc
ret
Function at 0x45de50
Capabilities:
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49c36b
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x4c4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.CryptoPP::RandomPool.0
mov byte [eax + 0x21], 0
mov byte [eax + 0x21], 1
mov dword [eax + 0x28], 0x20
mov dword [eax + 0x2c], eax
lea eax, [edi + 0x38]
mov dword [ebp - 4], 0
mov byte [eax + 0x11], 0
mov byte [eax + 0x11], 1
mov dword [eax + 0x18], 0x10
mov dword [eax + 0x1c], eax
push 0x120
mov byte [ebp - 4], 1
call fcn.004699d8
mov esi, eax
add esp, 4
lea edx, [esi + 0x18]
mov dword [ebp - 0x10], esi
mov byte [edx + 0xf9], 0
mov eax, edx
mov byte [edx + 0xf9], 1
neg eax
mov dword [edx + 0x100], 0x3c
and eax, 0xf
add eax, edx
mov dword [edx + 0x104], eax
mov dword [esi], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.0
mov dword [esi + 4], vtable.CryptoPP::BlockCipherFinal_0__class_CryptoPP::Rijndael::Enc_.1.0
mov dword [edi + 0x58], esi
push dword [edi + 0x30]
mov byte [edi + 0x5c], 0
push 0
push dword [edi + 0x34]
call fcn.0046bbb0
add esp, 0xc
push dword [edi + 0x50]
push 0
push dword [edi + 0x54]
call fcn.0046bbb0
add esp, 0xc
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 0x45f5a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b36e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4c4014]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov edi, dword [ebp + 8]
lea ecx, [edi + 4]
call fcn.0044e190
push ecx
mov dword [edi], vtable.CryptoPP::Integer.0
push 2
mov dword [edi + 8], 2
call fcn.00453780
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
mov dword [eax + 4], 0
mov eax, dword [edi + 0xc]
mov dword [eax], 0
push 1
push dword [ebp + 0x10]
mov dword [ebp - 4], 0
mov esi, dword [ebx]
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 1
push edi
mov esi, dword [esi + 0x30]
mov ecx, esi
call dword [0x49e2d4]
mov ecx, ebx
call esi
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 0xc