joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40193b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push esi
xor esi, esi
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x42
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x51
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x31
pop ecx
call fcn.00407266
push eax
call fcn.00407429
xor byte [esi + 0x435a80], 0xf2
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x25
pop ecx
call fcn.00407266
push eax
call fcn.00407429
xor byte [esi + 0x435a80], 1
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0xcf
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x41
pop ecx
call fcn.00407266
push eax
call fcn.00407429
xor byte [esi + 0x435a80], 0xd8
pop ecx
call fcn.00407266
push eax
call fcn.00407429
xor byte [esi + 0x435a80], 0x62
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x28
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0xa0
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0xfb
pop ecx
call fcn.00407266
push eax
call fcn.00407429
add byte [esi + 0x435a80], 0x81
inc esi
pop ecx
cmp esi, 0x2b800
jb 0x401945
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x401a61
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x10]
mov edi, dword [ebp]
mov ebx, edi
xor ebx, 0x14d
mov dword [esp + 0x18], ebp
cmp dword [esi + 0x14], 0x10
jb 0x401a84
mov esi, dword [esi]
shr edi, 2
push esi
push edi
push str._x_and__p
mov dword [esp + 0x20], edi
call fcn.004010d6
add esp, 0xc
test edi, edi
je 0x401ae1
mov ebp, esi
push 4
lea eax, [esp + 0x14]
push ebp
push eax
call fcn.0040a920
imul ecx, dword [esp + 0x1c], 0x5bd1e991
add esp, 0xc
imul ebx, ebx, 0x5bd1e991
add ebp, 4
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov dword [esp + 0x10], eax
sub edi, 1
jne 0x401aa0
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov eax, dword [ebp]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x401b0a
sub eax, 1
je 0x401b00
sub eax, 1
jne 0x401b18
movsx ecx, byte [esi + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [esi + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [esi + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor ebx, eax
mov eax, ebx
shr eax, 0xd
xor eax, ebx
imul ecx, eax, 0x5bd1e991
pop edi
pop esi
pop ebp
pop ebx
mov eax, ecx
shr eax, 0xf
xor eax, ecx
add esp, 0xc
ret
Function at 0x16a59f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.FKP1
lea edi, [esi - 0x1272000]
push edi
or ebp, 0xffffffff
jmp 0x16a5a12
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x16a5a19
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a08
mov eax, 1
add ebx, ebx
jne 0x16a5a2b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x16a5a3c
jne 0x16a5a5b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a5b
dec eax
add ebx, ebx
jne 0x16a5a48
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x16a5a20
add ebx, ebx
jne 0x16a5a57
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x16a5aad
xor ecx, ecx
sub eax, 3
jb 0x16a5a73
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x16a5ae2
sar eax, 1
mov ebp, eax
jmp 0x16a5a7e
add ebx, ebx
jne 0x16a5a7e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
inc ecx
add ebx, ebx
jne 0x16a5a8c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x16a5a4c
add ebx, ebx
jne 0x16a5a99
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x16a5a8e
jne 0x16a5aaa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x16a5a8e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x16a5acc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x16a5abe
jmp 0x16a5a0e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x16a5acc
add edi, ecx
jmp 0x16a5a0e
pop esi
mov edi, esi
mov ecx, 0x34f3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x16a5aea
cmp byte [edi], 0x16
jne 0x16a5aea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x16a5aef
lea edi, [esi + 0x12a2000]
mov eax, dword [edi]
or eax, eax
je 0x16a5b5e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x12a67a0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x12a6890]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x16a5b1c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x12a6894]
or eax, eax
je 0x16a5b58
mov dword [ebx], eax
add ebx, 4
jmp 0x16a5b39
call dword [esi + 0x12a68a4]
mov ebp, dword [esi + 0x12a6898]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x16a5b92
sub esp, 0xffffff80
jmp 0x46c1ac

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x414420
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
sub esp, 0x78
mov eax, dword [0x51f164]
xor eax, esp
mov dword [esp + 0x74], eax
push esi
mov esi, ecx
mov dword [esp + 0x34], 0x40
push edi
lea eax, [esp + 0x38]
mov dword [esp + 0x30], esi
push eax
mov dword [esp + 0x34], esi
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x40]
call fcn.004914f0
xorps xmm1, xmm1
sub esp, 8
cvtsd2ss xmm1, xmm0
movss xmm0, dword [0x5055d8]
mulss xmm1, xmm0
mulss xmm1, xmm0
mulss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd qword [esp], xmm0
push 0x4f8208
movsd qword [esp + 0x3c], xmm0
call fcn.00402120
add esp, 0xc
mov dword [esi + 0x10], 0
mov edi, eax
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov byte [esi], 0
push 0
push edi
call fcn.00436e70
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x4144c0
mov eax, dword [esi]
movsd xmm0, qword [esp + 0x30]
lea ecx, [edi + 1]
sub esp, 8
movsd qword [esp], xmm0
push 0x4f8208
push ecx
push eax
call fcn.004020c0
mov ecx, dword [esp + 0x90]
add esp, 0x14
mov eax, esi
pop edi
pop esi
xor ecx, esp
call fcn.004905bb
mov esp, ebp
pop ebp
ret

Function at 0x414500
Capabilities:
List user accounts

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d69b0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x51f164]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x18], 0
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x20], 0
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push eax
xor edi, edi
push 2
push edi
push edi
mov dword [ebp - 0x2c], edi
call dword [sym.imp.NETAPI32.dll_NetUserEnum]
mov ebx, eax
mov dword [ebp - 0x28], ebx
test ebx, ebx
je 0x414581
cmp ebx, 0xea
je 0x414581
mov ecx, dword [ebp - 0x24]
jmp 0x4145fb
mov ecx, dword [ebp - 0x24]
mov esi, ecx
test esi, esi
je 0x41460f
xor ebx, ebx
cmp ebx, dword [ebp - 0x18]
jae 0x4145f8
test esi, esi
je 0x4145f8
mov dword [ebp - 4], 0
mov edx, dword [esi]
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0x30], ecx
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4145b0
sub eax, dword [ebp - 0x30]
sar eax, 1
push eax
lea eax, [ebx + ebx*2]
push edx
lea ecx, [eax*8 + 0x5296c0]
call fcn.00436c20
inc edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x24]
add esi, 4
mov dword [ebp - 0x2c], edi
inc ebx
jmp 0x414590
mov ebx, dword [ebp - 0x28]
test ecx, ecx
je 0x41460f
mov esi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
push ecx
call esi
xor ecx, ecx
mov dword [ebp - 0x24], ecx
jmp 0x414615
mov esi, dword [sym.imp.NETAPI32.dll_NetApiBufferFree]
cmp ebx, 0xea
je 0x414615
test ecx, ecx
je 0x414624
push ecx
call esi
push 7
lea eax, [edi + edi*2]
push 0x4ff9a4
lea ecx, [eax*8 + 0x5296c0]
call fcn.00436c20
lea eax, [edi + 1]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004905bb
mov esp, ebp
pop ebp
ret
Function at 0x415920
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6b98
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x51f164]
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 dword [ebp - 0x48], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
lea eax, [edx + edx*2]
cmp dword [eax*8 + 0x51fde4], 8
lea edx, [eax*8 + 0x51fdd0]
mov ecx, edx
jb 0x41596f
mov ecx, dword [edx]
mov eax, dword [edx + 0x10]
lea eax, [ecx + eax*2]
jb 0x415979
mov edx, dword [edx]
push ecx
push eax
push edx
lea ecx, [ebp - 0x38]
call fcn.0043a4d0
push 0x4faa9c
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00431940
cmp dword [ebp - 0x24], 0x10
lea ebx, [ebp - 0x38]
cmovae ebx, dword [ebp - 0x38]
push ebx
mov dword [ebp - 0x40], ebx
call dword [sym.imp.SHLWAPI.dll_PathIsNetworkPathA]
test eax, eax
setne byte [ebp - 0x39]
test ebx, ebx
je 0x4159ff
mov ecx, ebx
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4159c0
sub ecx, edx
lea ebx, [ecx + 1]
cmp ebx, 0x3fffffff
jg 0x4159ff
lea eax, [ebx + ebx]
call fcn.00491660
mov esi, esp
test esi, esi
je 0x4159ff
push ebx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x40]
xor eax, eax
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x415a01
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov ecx, dword [ebp - 0x18]
test eax, eax
mov edx, dword [ebp - 0x14]
mov eax, ecx
setne bl
or eax, edx
je 0x415a5e
test edx, edx
jl 0x415a5e
jg 0x415a2d
test ecx, ecx
jb 0x415a5e
test bl, bl
je 0x415a5e
mov eax, dword [ebp - 0x20]
sub ecx, eax
mov esi, dword [ebp - 0x1c]
mov bl, byte [ebp - 0x39]
sbb edx, esi
test bl, bl
jne 0x415a54
mov ebx, dword [ebp - 0x44]
add dword [ebx], eax
mov eax, dword [ebp - 0x48]
adc dword [ebx + 4], esi
add dword [eax], ecx
adc dword [eax + 4], edx
jmp 0x415a5e
cmp bl, 1
jne 0x415a5e
add dword [edi], ecx
adc dword [edi + 4], edx
mov edx, dword [ebp - 0x24]
cmp edx, 0x10
jb 0x415a8e
mov ecx, dword [ebp - 0x38]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x415a84
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x415aad
push edx
push ecx
call fcn.00490c3c
add esp, 8
lea esp, [ebp - 0x58]
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.004905bb
mov esp, ebp
pop ebp
ret
call fcn.004b5132
int3
Function at 0x43e530
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da9c4
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x51f164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], vtable.std::exception.0
lea eax, [esi + 4]
movq qword [ebp - 0x50], xmm0
push eax
call fcn.004a7afd
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
mov eax, dword [esi + 0x14]
movq xmm0, qword [esi + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x54], vtable.boost::system::system_error.0
movq qword [ebp - 0x48], xmm0
call fcn.00431c10
movaps xmm0, xmmword [0x5055f0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x54], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [ebp - 0x24], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.1.0
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov dword [edi + 0x44], 0x504ed0
mov dword [edi + 0x4c], vtable.boost::exception_detail::clone_base.0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
mov dword [ebp - 0x10], 6
call fcn.0043c7f0
mov dword [ebp - 4], 4
lea esi, [edi + 0x30]
mov eax, dword [edi + 0x44]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::thread_resource_error__.0
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::thread_resource_error__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x44], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::thread_resource_error__.2.0
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x40], eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404a90
mov eax, dword [edi + 0x44]
add esp, 8
mov dword [edi], vtable.boost::wrapexcept_class_boost::thread_resource_error_.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::thread_resource_error_.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x44], vtable.boost::wrapexcept_class_boost::thread_resource_error_.2.0
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x40], eax
mov dword [ebp - 0x54], vtable.boost::exception_detail::error_info_injector_class_boost::thread_resource_error_.0
mov dword [ebp - 0x24], vtable.boost::exception.0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x43e686
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.boost::thread_exception.0
call fcn.00404760
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 0x43e810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4daa64
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push esi
push edi
mov eax, dword [0x51f164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x10], 0
xorps xmm0, xmm0
mov dword [ebp - 0x54], vtable.std::exception.0
lea eax, [esi + 4]
movq qword [ebp - 0x50], xmm0
push eax
call fcn.004a7afd
add esp, 8
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
mov eax, dword [esi + 0x14]
movq xmm0, qword [esi + 0xc]
mov dword [ebp - 0x40], eax
lea eax, [esi + 0x18]
push eax
mov dword [ebp - 0x54], vtable.boost::system::system_error.0
movq qword [ebp - 0x48], xmm0
call fcn.00431c10
movaps xmm0, xmmword [0x5055f0]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x54], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [ebp - 0x24], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.1.0
mov dword [ebp - 4], 1
mov edi, dword [ebp + 8]
mov dword [edi + 0x44], 0x504ed0
mov dword [edi + 0x4c], vtable.boost::exception_detail::clone_base.0
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 2
push eax
mov ecx, edi
mov dword [ebp - 0x10], 6
call fcn.0043cec0
mov dword [ebp - 4], 4
lea esi, [edi + 0x30]
mov eax, dword [edi + 0x44]
mov dword [edi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::lock_error__.0
mov dword [esi], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::lock_error__.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x44], vtable.boost::exception_detail::clone_impl_struct_boost::exception_detail::error_info_injector_class_boost::lock_error__.2.0
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x40], eax
lea eax, [ebp - 0x24]
push eax
push esi
call fcn.00404a90
mov eax, dword [edi + 0x44]
add esp, 8
mov dword [edi], vtable.boost::wrapexcept_class_boost::lock_error_.0
mov dword [esi], vtable.boost::wrapexcept_class_boost::lock_error_.1.0
mov eax, dword [eax + 4]
mov dword [eax + edi + 0x44], vtable.boost::wrapexcept_class_boost::lock_error_.2.0
mov eax, dword [edi + 0x44]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ecx + edi + 0x40], eax
mov dword [ebp - 0x54], vtable.boost::exception_detail::error_info_injector_class_boost::lock_error_.0
mov dword [ebp - 0x24], vtable.boost::exception.0
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x20]
test ecx, ecx
je 0x43e966
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0x20]
xor edx, edx
test al, al
cmovne ecx, edx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], vtable.boost::thread_exception.0
call fcn.00404760
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 0x440620
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dad58
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x51f164]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push 0x70
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x14], esi
test esi, esi
je 0x440706
mov ecx, esi
mov dword [ebp - 4], 1
call fcn.00404f20
mov dword [esi], 0x504e34
mov eax, dword [edi]
mov dword [esi + 0x3c], eax
xor eax, eax
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
movups xmm0, xmmword [edi + 4]
movups xmmword [esi + 0x40], xmm0
movq xmm0, qword [edi + 0x14]
movq qword [esi + 0x50], xmm0
mov word [edi + 4], ax
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 7
mov dword [esi + 0x68], eax
mov dword [esi + 0x6c], eax
movups xmm0, xmmword [edi + 0x1c]
movups xmmword [esi + 0x58], xmm0
movq xmm0, qword [edi + 0x2c]
movq qword [esi + 0x68], xmm0
mov dword [edi + 0x2c], eax
mov word [edi + 0x1c], ax
mov eax, esi
mov dword [edi + 0x30], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
call fcn.00401fd0
push eax
mov dword [ebp - 4], 0
call fcn.00439410
int3

Function at 0x464230
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc5d8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x51f164]
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 esi, ecx
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push 0xf0000000
push 1
push 0
push 0
push esi
mov dword [esi], 0
call edi
test eax, eax
jne 0x4642a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 8
push 1
push 0
push str.Crypto_RNG
push esi
mov ebx, eax
call edi
test eax, eax
jne 0x4642a6
push 0x28
push 1
push eax
push str.Crypto_RNG
push esi
call edi
test eax, eax
je 0x4642c4
mov eax, esi
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.004905bb
mov esp, ebp
pop ebp
ret
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.CryptAcquireContext
lea ecx, [ebp - 0x28]
call fcn.00431bd0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x50]
call fcn.00464390
push 0x518934
lea eax, [ebp - 0x50]
push eax
call fcn.004a7e0c
int3
Function at 0x48cb70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfcd0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x51f164]
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 ebx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov eax, ebx
cmp dword [ebx + 0x14], 8
jb 0x48cbb1
mov eax, dword [ebx]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
mov dword [ebp - 0x38], esi
cmp esi, 0xffffffff
jne 0x48cbd4
push dword [ebp - 0x2c]
push ebx
push edi
call fcn.0048ca40
add esp, 0xc
jmp 0x48ccf0
push esi
push ebx
call fcn.0048c940
add esp, 8
mov ecx, eax
mov dword [ebp - 0x30], ecx
test esi, 0x400
je 0x48ccb5
cmp dword [ebx + 0x14], 8
mov edx, ebx
jb 0x48cbf9
mov edx, dword [ebx]
mov ecx, edx
mov dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x48cc12
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00436c20
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0
cmovae eax, dword [ebp - 0x28]
push 0x2000000
push 3
push 0
push 7
push 0
push eax
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x34], esi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 2
call fcn.004049c0
cmp esi, 0xffffffff
jne 0x48cc78
push dword [ebp - 0x2c]
push ebx
push edi
call fcn.0048ca40
add esp, 0xc
jmp 0x48ccf0
push ebx
call fcn.0048c860
add esp, 4
test al, al
jne 0x48cca1
mov eax, dword [ebp - 0x30]
mov dword [edi], 9
mov dword [edi + 4], eax
push esi
mov dword [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x48ccf0
push esi
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x48cccd
mov dword [eax], 0
mov byte [eax + 4], 0
mov dword [eax + 8], 0x505528
and esi, 0x10
je 0x48ccd7
mov edx, dword [ebp - 0x34]
jmp 0x48ccdc
mov edx, ecx
mov ecx, dword [ebp - 0x34]
xor eax, eax
test esi, esi
setne al
add eax, 2
test esi, esi
mov dword [edi], eax
cmove ecx, edx
mov dword [edi + 4], ecx
mov eax, edi
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.004905bb
mov esp, ebp
pop ebp
ret