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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 4]
push ebx
push edi
mov edi, ecx
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x10], edx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov bl, 4
lea eax, [ebp - 0x12]
mov dl, byte [eax + 1]
xor byte [eax - 2], dl
mov cl, byte [eax - 2]
xor cl, dl
mov dl, byte [eax]
xor byte [eax - 2], cl
xor byte [eax - 1], dl
mov byte [eax + 1], cl
mov cl, byte [eax - 1]
xor cl, dl
xor byte [eax - 1], cl
mov byte [eax], cl
add eax, 4
dec bl
jne 0x444713
lea eax, [ebp - 0x14]
push eax
call fcn.00443f10
mov ecx, dword [ebp - 4]
add esp, 4
pop edi
xor ecx, ebp
xor al, al
pop ebx
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x444ce0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ff10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x55d68c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x55d68c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x444d29
mov eax, 0x80004003
jmp 0x444e3d
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x444d55
cmp eax, 0x80010119
jne 0x444d81
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x444d69
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
push 0x557da4
push 1
push ebx
push 0x5408cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x444e03
lea ecx, [esp + 0x10]
call fcn.004457f0
mov esi, eax
cmp esi, ebx
jl 0x444e03
mov ecx, str.Win32_Processor
lea edx, [esp + 0x10]
call fcn.00445890
mov esi, eax
cmp esi, ebx
jl 0x444e03
lea ecx, [esp + 0x1c]
push ecx
push 8
call fcn.00401080
add esp, 8
cmp eax, ebx
je 0x444dc6
mov dword [eax], vtable.._AV___Impl_no_alloc1_U___Callable_obj_V_lambda0___A0xb63198d9_CPU_Hardware_Microdone___0A__tr1_std__XAAVCEasyWMIObject___tr1_std__.0
mov dword [eax + 4], edi
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x10]
push eax
mov edi, edx
mov byte [esp + 0x4c], 1
call fcn.004459b0
mov byte [esp + 0x48], bl
mov ecx, dword [esp + 0x2c]
mov esi, eax
cmp ecx, ebx
je 0x444e03
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov eax, edi
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x444e1b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x444e2b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x444e3b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x445380
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ff10
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x55d68c]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x55d68c]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
jne 0x4453c9
mov eax, 0x80004003
jmp 0x4454dd
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x6c], ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
cmp eax, ebx
jge 0x4453f5
cmp eax, 0x80010119
jne 0x445421
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x445409
mov dword [esp + 0x10], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x10]
push eax
push 0x557da4
push 1
push ebx
push 0x5408cc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
cmp esi, ebx
jl 0x4454a3
lea ecx, [esp + 0x10]
call fcn.004457f0
mov esi, eax
cmp esi, ebx
jl 0x4454a3
mov ecx, 0x557d18
lea edx, [esp + 0x10]
call fcn.00445890
mov esi, eax
cmp esi, ebx
jl 0x4454a3
lea ecx, [esp + 0x1c]
push ecx
push 8
call fcn.00401080
add esp, 8
cmp eax, ebx
je 0x445466
mov dword [eax], vtable.._AV___Impl_no_alloc1_U___Callable_obj_V_lambda0___A0x3578a07d_BIOS_Hardware_Microdone___0A__tr1_std__XAAVCEasyWMIObject___tr1_std__.0
mov dword [eax + 4], edi
lea edx, [esp + 0x1c]
mov dword [esp + 0x2c], edx
lea eax, [esp + 0x10]
push eax
mov edi, edx
mov byte [esp + 0x4c], 1
call fcn.004459b0
mov byte [esp + 0x48], bl
mov ecx, dword [esp + 0x2c]
mov esi, eax
cmp ecx, ebx
je 0x4454a3
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
mov eax, edi
cmp ecx, eax
setne al
movzx eax, al
push eax
call edx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x48], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4454bb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x4454cb
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4454db
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.00455328
mov esp, ebp
pop ebp
ret
Function at 0x451f10
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x56bdb0]
test eax, eax
jne 0x451f2d
push eax
push 1
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [0x56bdb0], eax
jmp 0x451f36
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 8]
add eax, 0xfffffff8
push esi
mov esi, dword [eax]
push edi
mov edi, dword [0x56bd60]
mov ecx, eax
sub ecx, dword [eax + 4]
sub edi, esi
cmp dword [ecx], 0
mov dword [0x56bd60], edi
jne 0x451f67
add dword [ecx + 0x10], esi
mov eax, dword [ecx + 0x10]
lea edx, [ecx + 0x10]
mov dword [eax + ecx + 4], eax
jmp 0x451f90
lea edx, [eax + 0x10]
mov dword [edx], esi
mov esi, dword [0x56bd08]
mov ecx, eax
mov dword [eax], 0
mov dword [eax + 8], esi
mov dword [eax + 0xc], 0
test esi, esi
je 0x451f8b
mov dword [esi + 0xc], eax
mov dword [0x56bd08], eax
mov esi, dword [edx]
cmp dword [esi + ecx], 0
lea eax, [esi + ecx]
jne 0x451fcd
push ebx
mov ebx, dword [eax + 0x10]
add ebx, esi
mov dword [edx], ebx
mov esi, dword [eax + 8]
test esi, esi
je 0x451fb0
mov ebx, dword [eax + 0xc]
mov dword [esi + 0xc], ebx
mov esi, dword [eax + 0xc]
mov eax, dword [eax + 8]
pop ebx
test esi, esi
je 0x451fc0
mov dword [esi + 8], eax
jmp 0x451fc5
mov dword [0x56bd08], eax
mov esi, dword [edx]
lea eax, [esi + ecx]
mov dword [eax + 4], esi
cmp dword [ecx + 4], 0
jne 0x45201f
cmp dword [eax], 1
jne 0x45201f
mov eax, dword [0x56bd5c]
sub eax, dword [edx]
lea edx, [edi + edi*2]
shr edx, 1
cmp eax, edx
jbe 0x45201f
mov dword [0x56bd5c], eax
mov eax, dword [ecx + 8]
test eax, eax
je 0x451ffa
mov edx, dword [ecx + 0xc]
mov dword [eax + 0xc], edx
mov eax, dword [ecx + 0xc]
test eax, eax
je 0x452009
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
jmp 0x452011
mov eax, dword [ecx + 8]
mov dword [0x56bd08], eax
push 0x8000
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov ecx, dword [0x56bdb0]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
pop edi
pop esi
pop ebp
ret

Function at 0x455328
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x55d68c]
jne 0x455332
repz ret
jmp fcn.0045de25
Function at 0x468006
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x55d68c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0045f81f
and dword [ebp - 0x14], 0
cmp dword [0x568878], 0
mov dword [ebp - 0x18], eax
jne 0x4680b9
push 0x514c6c
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x468161
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x468161
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x568878], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x56887c], eax
call edi
push eax
call esi
push 0x514c20
push ebx
mov dword [0x568880], eax
call edi
push eax
call esi
mov dword [0x568888], eax
test eax, eax
je 0x4680b9
push 0x514c08
push ebx
call edi
push eax
call esi
mov dword [0x568884], eax
mov eax, dword [0x568884]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x468112
cmp dword [0x568888], ecx
je 0x468112
push eax
call esi
push dword [0x568888]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x468112
test ebx, ebx
je 0x468112
call edi
test eax, eax
je 0x468109
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x468109
test byte [ebp - 8], 1
jne 0x468112
or dword [ebp + 0x10], 0x200000
jmp 0x468145
mov eax, dword [0x56887c]
cmp eax, dword [ebp - 0x18]
je 0x468145
push eax
call esi
test eax, eax
je 0x468145
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x468145
mov eax, dword [0x568880]
cmp eax, dword [ebp - 0x18]
je 0x468145
push eax
call esi
test eax, eax
je 0x468145
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x568878]
call esi
test eax, eax
je 0x468161
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x468163
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00455328
leave
ret

Function at 0x46cc60
Capabilities:
Hash data with md5

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x5c
push 0
push esi
call fcn.004611e0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov eax, 1
pop esi
ret
Function at 0x46dbf0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0xc]
mov edx, dword [eax + 4]
push ebx
mov ebx, dword [esp + 0x14]
push esi
mov esi, dword [esp + 0x10]
dec ecx
push edi
mov edi, dword [esi + 4]
shr ecx, 0x1f
xor edx, edi
dec ecx
and edx, ecx
xor edi, edx
mov dword [esi + 4], edi
xor dword [eax + 4], edx
lea edx, [ebx - 1]
cmp edx, 9
ja case.default.0x46dc22
jmp dword [edx*4 + 0x46dd4c]
mov edi, 0xa
cmp ebx, edi
jle case.0x46dc22.10
push ebp
mov edx, dword [esi]
mov ebx, dword [edx + edi*4]
lea ebp, [edx + edi*4]
mov edx, dword [eax]
mov edx, dword [edx + edi*4]
xor edx, ebx
and edx, ecx
xor ebx, edx
mov dword [ebp], ebx
mov ebx, dword [eax]
xor dword [ebx + edi*4], edx
lea ebx, [ebx + edi*4]
inc edi
cmp edi, dword [esp + 0x20]
jl 0x46dc33
pop ebp
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x24]
mov edx, dword [edx + 0x24]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x24], edi
mov edi, dword [eax]
xor dword [edi + 0x24], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x20]
mov edx, dword [edx + 0x20]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x20], edi
mov edi, dword [eax]
xor dword [edi + 0x20], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x1c]
mov edx, dword [edx + 0x1c]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x1c], edi
mov edi, dword [eax]
xor dword [edi + 0x1c], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x18]
mov edx, dword [edx + 0x18]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x18], edi
mov edi, dword [eax]
xor dword [edi + 0x18], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x14]
mov edx, dword [edx + 0x14]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x14], edi
mov edi, dword [eax]
xor dword [edi + 0x14], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0x10]
mov edx, dword [edx + 0x10]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0x10], edi
mov edi, dword [eax]
xor dword [edi + 0x10], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 0xc]
mov edx, dword [edx + 0xc]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 0xc], edi
mov edi, dword [eax]
xor dword [edi + 0xc], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 8]
mov edx, dword [edx + 8]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 8], edi
mov edi, dword [eax]
xor dword [edi + 8], edx
mov ebx, dword [esi]
mov edx, dword [eax]
mov edi, dword [ebx + 4]
mov edx, dword [edx + 4]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [ebx + 4], edi
mov edi, dword [eax]
xor dword [edi + 4], edx
mov esi, dword [esi]
mov edx, dword [eax]
mov edi, dword [esi]
mov edx, dword [edx]
xor edx, edi
and edx, ecx
xor edi, edx
mov dword [esi], edi
mov eax, dword [eax]
xor dword [eax], edx
pop edi
pop esi
pop ebx
ret
Function at 0x4702f0
Capabilities:
Encode data using base64

Disassembly:
mov ecx, dword [esp + 4]
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x4703d3
push esi
mov esi, dword [esp + 0x14]
inc esi
lea ebx, [ebx]
movzx edx, byte [esi - 1]
cmp edi, 3
jl 0x47036d
movzx eax, byte [esi]
shl edx, 8
or edx, eax
movzx eax, byte [esi + 1]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x515790]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x515790]
mov byte [ecx + 1], al
mov eax, edx
shr eax, 6
and eax, 0x3f
movzx eax, byte [eax + 0x515790]
mov byte [ecx + 2], al
and edx, 0x3f
mov dl, byte [edx + 0x515790]
mov byte [ecx + 3], dl
jmp 0x4703be
shl edx, 0x10
cmp edi, 2
jne 0x47037d
movzx eax, byte [esi]
shl eax, 8
or edx, eax
mov eax, edx
shr eax, 0x12
and eax, 0x3f
movzx eax, byte [eax + 0x515790]
mov byte [ecx], al
mov eax, edx
shr eax, 0xc
and eax, 0x3f
movzx eax, byte [eax + 0x515790]
mov byte [ecx + 1], al
cmp edi, 1
jne 0x4703aa
lea edx, [edi + 0x3c]
jmp 0x4703b7
shr edx, 6
and edx, 0x3f
movzx edx, byte [edx + 0x515790]
mov byte [ecx + 2], dl
mov byte [ecx + 3], 0x3d
sub edi, 3
add ecx, 4
add ebp, 4
add esi, 3
test edi, edi
jg 0x470310
pop esi
pop edi
mov eax, ebp
mov byte [ecx], 0
pop ebp
ret
Function at 0x472e10
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, 8
call fcn.00468890
mov eax, dword [esp + 0xc]
movzx edx, byte [eax + 1]
movzx ecx, byte [eax]
shl edx, 8
or ecx, edx
movzx edx, byte [eax + 2]
shl edx, 0x10
or ecx, edx
movzx edx, byte [eax + 3]
shl edx, 0x18
or ecx, edx
movzx edx, byte [eax + 4]
mov dword [esp], ecx
movzx ecx, byte [eax + 7]
push esi
movzx esi, byte [eax + 5]
movzx eax, byte [eax + 6]
shl ecx, 8
shl esi, 8
or ecx, eax
or edx, esi
shl ecx, 0x10
or ecx, edx
cmp dword [esp + 0x24], 0
mov dword [esp + 8], ecx
pop esi
je 0x472e86
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
lea ecx, [esp + 0xc]
push ecx
call fcn.004fee80
jmp 0x472e9f
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0xc]
push edx
call fcn.004fefb0
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov byte [eax], cl
mov edx, ecx
shr edx, 8
mov byte [eax + 1], dl
mov edx, ecx
shr edx, 0x10
mov byte [eax + 2], dl
shr ecx, 0x18
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x14]
mov edx, ecx
shr edx, 8
mov byte [eax + 4], cl
mov byte [eax + 5], dl
mov edx, ecx
shr edx, 0x10
add esp, 0x10
shr ecx, 0x18
mov byte [eax + 6], dl
mov byte [eax + 7], cl
add esp, 8
ret

Function at 0x477260
Capabilities:
Access the windows event log

Disassembly:
mov eax, pe_nt_image_headers32
call fcn.00468890
mov eax, dword [0x55d68c]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x4772c5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x4772c5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.00458522
add eax, 0x40
push eax
call fcn.00465358
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00455328
add esp, 0x108
ret
mov eax, dword [esp + 0x10c]
lea edx, [esp + 0x110]
push edx
push eax
lea ecx, [esp + 0xc]
push 0xff
push ecx
call fcn.00459631
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x477358
call fcn.00477120
test eax, eax
jle 0x477358
push esi
push str.OpenSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
mov esi, eax
test esi, esi
je 0x477342
push 0
lea eax, [esp + 8]
push eax
push 0
push 1
push 0
push 0
push 0
push 1
lea edx, [esp + 0x28]
push esi
mov dword [esp + 0x28], edx
call dword [sym.imp.ADVAPI32.dll_ReportEventA]
push esi
call dword [sym.imp.ADVAPI32.dll_DeregisterEventSource]
pop esi
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00455328
add esp, 0x108
ret
push 0x10
push str.OpenSSL:_FATAL
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.00455328
add esp, 0x108
ret
Function at 0x4773c0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
je 0x4773e2
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
sub esi, eax
mov dl, byte [esi + eax]
xor dl, byte [eax]
inc eax
or cl, dl
dec edi
jne 0x4773d6
pop esi
movzx eax, cl
pop edi
ret

Function at 0x478530
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov eax, 0x88
call fcn.00468890
mov eax, dword [0x55d68c]
xor eax, esp
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x9c]
push esi
mov esi, dword [esp + 0x94]
mov dword [esp + 8], eax
xor eax, eax
push edi
mov edi, dword [esp + 0x9c]
test ebx, ebx
je 0x4785a5
cmp ebx, dword [esi]
je 0x47859c
test edi, edi
je 0x478582
cmp dword [esp + 0xa0], eax
jge 0x47859c
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00455328
add esp, 0x88
ret
mov eax, 1
mov dword [esi], ebx
jmp 0x4785ab
mov ebx, dword [esi]
test ebx, ebx
je 0x478582
push ebp
test edi, edi
je 0x47867d
push ebx
call fcn.004715e0
mov ebp, eax
add esp, 4
cmp ebp, 0x80
jle 0x4785db
push str.j____int_sizeof_ctx__key_
push 0x6a
push str..cryptohmachmac.c
call fcn.00477390
add esp, 0xc
mov eax, dword [esp + 0xa4]
cmp ebp, eax
jge 0x478635
mov ecx, dword [esp + 0x10]
push ecx
lea ebp, [esi + 4]
push ebx
push ebp
call fcn.0046f780
add esp, 0xc
test eax, eax
je 0x47872a
mov edx, dword [esp + 0xa4]
push edx
push edi
push ebp
call fcn.0046f930
add esp, 0xc
test eax, eax
je 0x47872a
lea edi, [esi + 0x4c]
push edi
lea eax, [esi + 0x50]
push eax
push ebp
call fcn.0046f940
add esp, 0xc
test eax, eax
je 0x47872a
jmp 0x47865a
cmp eax, 0x80
ja 0x47872a
push eax
lea ecx, [esi + 0x50]
push edi
push ecx
call fcn.00459d50
mov edx, dword [esp + 0xb0]
lea edi, [esi + 0x4c]
add esp, 0xc
mov dword [edi], edx
mov edi, dword [edi]
cmp edi, 0x80
je 0x478685
mov eax, 0x80
sub eax, edi
push eax
lea ecx, [edi + esi + 0x50]
push 0
push ecx
call fcn.004611e0
add esp, 0xc
jmp 0x478685
test eax, eax
je 0x478716
xor eax, eax
jmp 0x478690
mov dl, byte [esi + eax + 0x50]
xor dl, 0x36
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x478690
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x1c]
push ebx
push ebp
call fcn.0046f780
add esp, 0xc
test eax, eax
je 0x47872a
push ebx
call fcn.004715e0
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0046f930
add esp, 0x10
test eax, eax
je 0x47872a
xor eax, eax
mov dl, byte [esi + eax + 0x50]
xor dl, 0x5c
mov byte [esp + eax + 0x14], dl
inc eax
cmp eax, 0x80
jl 0x4786d4
mov eax, dword [esp + 0x10]
push eax
lea ebp, [esi + 0x34]
push ebx
push ebp
call fcn.0046f780
add esp, 0xc
test eax, eax
je 0x47872a
push ebx
call fcn.004715e0
push eax
lea ecx, [esp + 0x1c]
push ecx
push ebp
call fcn.0046f930
add esp, 0x10
test eax, eax
je 0x47872a
lea edx, [esi + 0x1c]
push edx
add esi, 4
push esi
call fcn.0046fad0
add esp, 8
test eax, eax
jne 0x47872e
xor eax, eax
jmp 0x478733
mov eax, 1
mov ecx, dword [esp + 0x94]
pop ebp
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00455328
add esp, 0x88
ret
Function at 0x48d590
Capabilities:
Check if file exists

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
push edi
push esi
call fcn.0048cf50
mov edi, eax
add esp, 4
test edi, edi
jne 0x48d628
push 0xaf
push str..crypto_bio_bss_file.c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 1
push 2
call fcn.004766e0
push 0x52cbf4
push esi
push 0x52cbf0
push ebx
push str.fopen_
push 5
call fcn.004769d0
add esp, 0x2c
call fcn.00457ebd
cmp dword [eax], 2
jne 0x48d60a
push 0xb2
push str..crypto_bio_bss_file.c
push 0x80
push 0x6d
push 0x20
call fcn.004766e0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0xb4
push str..crypto_bio_bss_file.c
push 2
push 0x6d
push 0x20
call fcn.004766e0
add esp, 0x14
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0x55e6bc
call fcn.0046e580
mov esi, eax
add esp, 4
test esi, esi
jne 0x48d64a
push edi
call fcn.00458fe2
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
ret
push 0
push esi
call fcn.0046dec0
push edi
push 1
push 0x6a
push esi
call fcn.0046e2b0
add esp, 0x18
pop edi
mov eax, esi
pop esi
pop ebx
ret

Function at 0x493120
Capabilities:
Hash data using sha1

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x60
push 0
push esi
call fcn.004611e0
add esp, 0xc
mov dword [esi], 0x67452301
mov dword [esi + 4], 0xefcdab89
mov dword [esi + 8], 0x98badcfe
mov dword [esi + 0xc], 0x10325476
mov dword [esi + 0x10], 0xc3d2e1f0
mov eax, 1
pop esi
ret

Function at 0x493160
Capabilities:
Hash data using sha224

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.004611e0
add esp, 0xc
mov dword [esi], 0xc1059ed8
mov dword [esi + 4], 0x367cd507
mov dword [esi + 8], 0x3070dd17
mov dword [esi + 0xc], 0xf70e5939
mov dword [esi + 0x10], 0xffc00b31
mov dword [esi + 0x14], 0x68581511
mov dword [esi + 0x18], 0x64f98fa7
mov dword [esi + 0x1c], 0xbefa4fa4
mov dword [esi + 0x6c], 0x1c
mov eax, 1
pop esi
ret

Function at 0x4931c0
Capabilities:
Hash data using sha256

Disassembly:
push esi
mov esi, dword [esp + 8]
push 0x70
push 0
push esi
call fcn.004611e0
add esp, 0xc
mov dword [esi], 0x6a09e667
mov dword [esi + 4], 0xbb67ae85
mov dword [esi + 8], 0x3c6ef372
mov dword [esi + 0xc], 0xa54ff53a
mov dword [esi + 0x10], 0x510e527f
mov dword [esi + 0x14], 0x9b05688c
mov dword [esi + 0x18], 0x1f83d9ab
mov dword [esi + 0x1c], 0x5be0cd19
mov dword [esi + 0x6c], 0x20
mov eax, 1
pop esi
ret