joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4273d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x228
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [ecx + 4]
mov edx, dword [ebp + 8]
push esi
push edi
or eax, 0x2001f
push eax
push edx
push dword [ecx]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0
call fcn.004274f0
mov esi, eax
test esi, esi
jne 0x4274c7
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
test eax, eax
jne 0x427499
lea esp, [esp]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x14]
call fcn.004273d0
mov esi, eax
test esi, esi
jne 0x4274c7
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x3c]
push eax
push esi
push dword [esp + 0x2c]
mov dword [esp + 0x3c], 0x100
call edi
test eax, eax
je 0x427460
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4274b0
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x10], 0
push dword [esp + 0xc]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], 0
call fcn.00427350
mov esi, eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4274d6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x22c]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret 4
Function at 0x429bd0
Capabilities:
Encode data using base64
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x52f408]
sub esp, 8
push ebx
push esi
lea esi, [eax + 1]
imul esi, eax
push edi
mov edi, edx
mov ebx, ecx
and esi, reloc.OLEAUT32.dll_VariantInit
jns 0x429bf5
dec esi
or esi, 0xfffffff8
inc esi
cmp esi, 3
jne 0x429c0a
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, edi
call fcn.00429b50
mov dword [ebp - 8], eax
test ebx, ebx
je 0x429d00
mov esi, dword [ebp + 8]
test esi, esi
je 0x429d00
cmp eax, dword [ebp + 0xc]
ja 0x429d00
xor eax, eax
test edi, edi
je 0x429cc1
cmp eax, edi
jae 0x429c45
movzx edx, byte [eax + ebx]
inc eax
jmp 0x429c47
xor edx, edx
cmp eax, edi
jae 0x429c55
movzx ecx, byte [eax + ebx]
mov dword [ebp - 4], ecx
inc eax
jmp 0x429c5c
mov dword [ebp - 4], 0
cmp eax, edi
jae 0x429c67
movzx ecx, byte [eax + ebx]
inc eax
jmp 0x429c69
xor ecx, ecx
shl edx, 8
add edx, dword [ebp - 4]
add esi, 4
shl edx, 8
add edx, ecx
mov ecx, edx
shr ecx, 0x12
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 4], cl
mov ecx, edx
shr ecx, 0xc
and ecx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 3], cl
mov ecx, edx
shr ecx, 6
and ecx, 0x3f
and edx, 0x3f
movzx ecx, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 2], cl
movzx ecx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [esi - 1], cl
cmp eax, edi
jb 0x429c3e
mov esi, dword [ebp + 8]
mov eax, 0xaaaaaaab
mul edi
shr edx, 1
xor ecx, ecx
lea eax, [edx + edx*2]
mov edx, dword [ebp - 8]
sub edi, eax
cmp dword [edi*4 + 0x5150e0], ecx
jle 0x429cf2
lea eax, [edx - 1]
add eax, esi
mov byte [eax], 0x3d
inc ecx
lea eax, [eax - 1]
cmp ecx, dword [edi*4 + 0x5150e0]
jl 0x429ce2
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4332d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x52ad60]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push edx
mov dword [edi], 0
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43335b
mov eax, dword [ebp - 8]
cmp eax, 1
je 0x43331d
cmp eax, 2
jne 0x433339
mov ecx, dword [ebp - 0xc]
test esi, esi
je 0x433355
test ecx, ecx
je 0x433350
test cl, 1
jne 0x433339
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x433355
pop edi
mov eax, 0xd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
mov dword [edi], ecx
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004b3a11
mov esp, ebp
pop ebp
ret 0xc

Function at 0x433700
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x52ad60]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor eax, eax
mov word [ebp - 8], ax
push edi
lea eax, [ebp - 0x48]
push eax
mov esi, ecx
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0x5f005f
mov dword [ebp - 0x44], 0x520043
mov dword [ebp - 0x40], 0x40005f
mov dword [ebp - 0x3c], 0x410046
mov dword [ebp - 0x38], 0x4c0049
mov dword [ebp - 0x34], 0x440045
mov dword [ebp - 0x30], 0x44005f
mov dword [ebp - 0x2c], 0x57004f
mov dword [ebp - 0x28], 0x4c004e
mov dword [ebp - 0x24], 0x41004f
mov dword [ebp - 0x20], 0x5f0044
mov dword [ebp - 0x1c], 0x450052
mov dword [ebp - 0x18], 0x440041
mov dword [ebp - 0x14], 0x5f0040
mov dword [ebp - 0x10], 0x520043
mov dword [ebp - 0xc], 0x5f005f
call fcn.00403720
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b3a11
mov esp, ebp
pop ebp
ret

Function at 0x433a90
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d76e2
mov eax, dword fs:[0]
push eax
sub esp, 0x200
mov eax, dword [0x52ad60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 4], 0
xor eax, eax
push 0x1f2
mov dword [ebp - 0x208], 0
push eax
mov word [ebp - 0x204], ax
lea eax, [ebp - 0x202]
push eax
mov dword [ebp - 0x20c], esi
call fcn.004b84f0
add esp, 0xc
lea eax, [ebp - 0x204]
push 0xfa
push eax
push str._userprofile_
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x204]
push eax
mov ecx, esi
mov dword [esi], 0
call fcn.00403720
mov dword [ebp - 4], 0
mov ecx, dword [esi]
mov dword [ebp - 0x208], 1
cmp dword [ecx - 0xc], 0
mov ecx, esi
je 0x433b42
push 0x11
push str.AppDataLocalLow
jmp 0x433b49
push 3
push 0x516524
call fcn.00426d60
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret
Function at 0x437750
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d7f10
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x44], eax
push esi
push edi
mov eax, dword [0x52ad60]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov edi, ecx
mov ecx, dword [0x52f408]
mov eax, ecx
imul eax, ecx
imul eax, ecx
cdq
mov ecx, 0xc
idiv ecx
cmp edx, 0xa
jne 0x4377b3
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetMailslotInfo]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x437918
mov eax, dword [edi + 0xa8]
cmp eax, 1
jne 0x437828
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
push 0
mov ecx, edi
mov dword [esp + 0x68], 0
call fcn.00437940
mov dword [esp + 0x60], 0xffffffff
mov edx, dword [esp + 0x10]
add edx, 0xfffffff0
or ecx, 0xffffffff
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x437918
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x437918
cmp eax, 2
jne 0x437918
lea eax, [esp + 0x24]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [esp + 0x2c], 0
je 0x437918
mov esi, dword [edi + 0xac]
lea eax, [esp + 0x14]
push eax
push dword [edi + 4]
xorps xmm0, xmm0
or esi, 0x50000
mov dword [esp + 0x1c], 0
movq qword [esp + 0x20], xmm0
mov dword [esp + 0x28], 0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 0
push dword [edi + 0x90]
push dword [edi + 0x94]
push dword [esp + 0x24]
push dword [esp + 0x24]
push 0xffffffffffffffff
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SetWindowPos]
push 5
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 2
push 0xff
push 0
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
push esi
push 0x1f4
push dword [edi + 0xb4]
call dword [sym.imp.USER32.dll_AnimateWindow]
test eax, eax
jne 0x437918
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x10], eax
mov dword [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [esp + 0x14]
push str.closeDlg_AnimateWindow__d
push eax
call fcn.00404c40
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.00403860
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x44]
xor ecx, esp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret
Function at 0x444db0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9a5a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x52ad60]
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 edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.004b3218
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x444e56
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x14], str.bad_locale_name
call fcn.004b7170
push 0x51b730
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x24], vtable.std::runtime_error.0
call fcn.004bb0d7
push edi
push esi
call fcn.004b34af
add esp, 8
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.004b3a11
mov esp, ebp
pop ebp
ret 4
Function at 0x44f4d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da748
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x52ad60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00450000
mov dword [edi], eax
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00450000
mov dword [edi + 8], eax
mov eax, dword [edi]
mov ecx, edi
push dword [eax + 4]
call fcn.0044fb00
mov eax, dword [edi]
lea ecx, [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi]
mov dword [eax], eax
mov eax, dword [edi]
mov dword [eax + 8], eax
mov dword [edi + 4], 0
mov eax, dword [edi + 8]
push dword [eax + 4]
call fcn.0044fb00
mov eax, dword [edi + 8]
mov dword [eax + 4], eax
mov eax, dword [edi + 8]
mov dword [eax], eax
mov eax, dword [edi + 8]
mov dword [eax + 8], eax
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
mov dword [edi + 0x44], 0
mov dword [edi + 0x48], 0
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 0x456ec0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
mov esi, ecx
test edx, edx
jne 0x456ed5
lea eax, [edx + 0xd]
pop esi
pop ebp
ret 0xc
mov eax, edx
push edi
lea edi, [eax + 2]
jmp 0x456ee0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x456ee0
sub eax, edi
sar eax, 1
lea eax, [eax*2 + 2]
push eax
push edx
push 1
push 0
push dword [ebp + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x4590e0
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d6448
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x52ad60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], 0
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetVersion]
mov ebx, eax
mov edx, ebx
shr edx, 8
movzx eax, dl
mov dword [ebp - 0x10], eax
mov eax, dword [0x52f408]
imul eax, eax
cdq
mov dword [ebp - 0x18], 0x18
idiv dword [ebp - 0x18]
movzx ecx, bl
mov dword [ebp - 0x14], ecx
cmp edx, 0xf
jne 0x459152
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x14]
mov dword [0x52f408], eax
cmp ebx, 0x80000000
jae 0x45915f
mov edi, ebx
shr edi, 0x10
mov ebx, dword [ebp - 0x10]
cmp ecx, 6
jb 0x459187
cmp ebx, 2
jb 0x459187
mov ecx, esi
call fcn.004594e0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x52a6d0]
mov ecx, 0x52a6d0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push edi
push ebx
push dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push 0x519554
push eax
mov dword [ebp - 4], 0
call fcn.00404c40
mov edi, dword [ebp - 0x10]
add edi, 0xfffffff0
add esp, 0x14
mov ecx, edi
call fcn.004047b0
add eax, 0x10
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4591e7
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x459820
Capabilities:
Get disk size

Disassembly:
push ebx
push esi
mov esi, dword [0x52f558]
push edi
mov edi, edx
mov ebx, ecx
test esi, esi
jne 0x459893
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x459846
pop edi
pop esi
xor eax, eax
pop ebx
ret
push str.IsWow64Process
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x52f558], esi
test esi, esi
je 0x459840
mov edx, dword [0x52f408]
lea ecx, [edx + 1]
lea eax, [edx + 2]
imul eax, ecx
imul eax, edx
cdq
mov ecx, 0x18
idiv ecx
cmp edx, 3
jne 0x459893
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov esi, dword [0x52f558]
push edi
push ebx
call esi
pop edi
pop esi
pop ebx
ret
Function at 0x45d250
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
test ebx, ebx
jne 0x45d269
lea eax, [ebx + 0xd]
pop ebx
mov esp, ebp
pop ebp
ret 8
push esi
push edi
xor esi, esi
mov edx, ebx
nop
mov eax, edx
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45d275
sub eax, edi
sar eax, 1
lea ecx, [eax + 1]
lea edx, [edx + ecx*2]
lea esi, [esi + ecx*2]
cmp ecx, 1
jne 0x45d270
mov eax, dword [ebp - 4]
push esi
push ebx
push 7
push 0
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x45e210
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db906
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x52ad60]
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
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x428], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x420], 0
push 0x60
push 0
mov byte [ebp - 4], 1
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], edi
test edi, edi
jne 0x45e2b6
push 2
push eax
push esi
call ebx
mov edi, eax
mov dword [ebp - 0x42c], eax
test edi, edi
jne 0x45e2b6
call fcn.0040c500
mov esi, eax
jmp 0x45e3a3
push dword [ebp - 0x428]
push dword [ebp - 0x424]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x45e2d9
call fcn.0040c500
jmp 0x45e396
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x45e2f7
call fcn.0040c500
jmp 0x45e396
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
mov dword [ebp - 0x428], esi
lea eax, [esi + 1]
cmp eax, esi
jae 0x45e318
mov esi, 0x8007000e
jmp 0x45e398
push eax
lea ecx, [ebp - 0x420]
mov byte [ebp - 4], 2
call fcn.0045cbf0
jmp 0x45e342
mov dword [ebp - 4], 1
cmp dword [ebp - 0x420], 0
jne 0x45e359
mov esi, 0x8007000e
jmp 0x45e398
push esi
push dword [ebp - 0x420]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x45e379
call fcn.0040c500
jmp 0x45e396
mov eax, dword [ebp - 0x420]
push dword [ebp + 0x14]
xor edx, edx
mov word [eax + ecx*2], dx
push dword [ebp - 0x420]
lea ecx, [ebp - 0x1c]
call fcn.0045e0b0
mov esi, eax
test edi, edi
je 0x45e3a3
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x41c]
cmp dword [ebp - 0x420], eax
je 0x45e3c0
lea ecx, [ebp - 0x420]
call fcn.0045cba0
lea esp, [esp]
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 - 0x14]
xor ecx, ebp
call fcn.004b3a11
mov esp, ebp
pop ebp
ret 0x10
Function at 0x466a40
Capabilities:
Access the windows event log

Disassembly:
mov eax, 0x108
call fcn.004b8440
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x104], eax
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
test eax, eax
je 0x466aa5
push eax
call dword [sym.imp.KERNEL32.dll_GetFileType]
test eax, eax
je 0x466aa5
mov ecx, dword [esp + 0x10c]
lea eax, [esp + 0x110]
push eax
push ecx
call fcn.004b8af9
add eax, 0x40
push eax
call fcn.004b8931
add esp, 0xc
mov ecx, dword [esp + 0x104]
xor ecx, esp
call fcn.004b3a11
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.004b886c
add esp, 0x10
mov byte [esp + 0x103], 0
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x466b34
call fcn.00466900
test eax, eax
jle 0x466b34
push esi
push str.OPENSSL
push 0
call dword [sym.imp.ADVAPI32.dll_RegisterEventSourceA]
push 0
mov esi, eax
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.004b3a11
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.004b3a11
add esp, 0x108
ret

Function at 0x466b90
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, dword [esp + 0x10]
xor cl, cl
test edi, edi
jbe 0x466bb4
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
sub edi, 1
jne 0x466ba6
pop esi
movzx eax, cl
pop edi
ret

Function at 0x46dfc0
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
push esi
xor esi, esi
test edx, edx
je 0x46e007
mov al, byte [edx]
test al, al
je 0x46e007
push edi
mov edi, 0x100
movsx eax, al
or eax, edi
mov ecx, eax
shr ecx, 2
xor ecx, eax
and ecx, 0xf
add edi, 0x100
rol esi, cl
mov ecx, eax
imul ecx, eax
mov al, byte [edx + 1]
inc edx
xor esi, ecx
test al, al
jne 0x46dfd7
mov eax, esi
shr eax, 0x10
pop edi
xor eax, esi
pop esi
ret
xor eax, eax
pop esi
ret
Function at 0x471260
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x20
call fcn.004b8440
mov eax, dword [0x52ad60]
xor eax, esp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push ebx
mov ebx, dword [esp + 0x34]
push ebp
mov ebp, dword [esp + 0x30]
dec ebp
lea edx, [ebp - 0x29]
cmp ebx, edx
push edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ecx
jle 0x4712c5
push 0x2d
push str..crypto_rsa_rsa_oaep.c
push 0x6e
push 0x79
push 4
call fcn.00462eb0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004b3a11
add esp, 0x20
ret
cmp ebp, 0x29
jge 0x4712f3
push 0x33
push str..crypto_rsa_rsa_oaep.c
push 0x78
push 0x79
push 4
call fcn.00462eb0
add esp, 0x14
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004b3a11
add esp, 0x20
ret
push esi
mov byte [edi], 0
lea esi, [edi + 1]
push 0
add edi, 0x15
call fcn.0047e3b0
mov ecx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x50]
push 0
push edi
push eax
push ecx
call fcn.00485720
mov edx, ebp
sub edx, ebx
sub edx, 0x29
push edx
lea eax, [edi + 0x14]
push 0
push eax
call fcn.004b84f0
mov edx, dword [esp + 0x34]
mov ecx, edi
sub ecx, ebx
lea eax, [ecx + ebp]
push ebx
mov byte [eax - 0x15], 1
push edx
add eax, 0xffffffec
push eax
call fcn.004b7d40
push 0x14
push esi
call fcn.00468ac0
add esp, 0x38
test eax, eax
jle 0x471385
push 0x48
add ebp, 0xffffffec
push str..crypto_rsa_rsa_oaep.c
push ebp
call fcn.00465780
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x47139a
push 0x4b
push str..crypto_rsa_rsa_oaep.c
push 0x41
push 0x79
push 4
call fcn.00462eb0
add esp, 0x14
pop esi
pop edi
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004b3a11
add esp, 0x20
ret
call fcn.0047e3b0
push eax
push 0x14
push esi
push ebp
push ebx
call fcn.004710e0
add esp, 0x14
test eax, eax
jl 0x471385
test ebp, ebp
jle 0x4713cb
mov ecx, ebx
mov eax, edi
sub ecx, edi
mov edx, ebp
lea ecx, [ecx]
mov bl, byte [ecx + eax]
xor byte [eax], bl
inc eax
sub edx, 1
jne 0x4713c0
call fcn.0047e3b0
push eax
push ebp
push edi
lea eax, [esp + 0x24]
push 0x14
push eax
call fcn.004710e0
add esp, 0x14
test eax, eax
jl 0x471385
lea ecx, [esp + 0x18]
lea edi, [esp + 0x19]
lea ebp, [esp + 0x1a]
lea edx, [esp + 0x1b]
sub ecx, esi
sub edi, esi
sub ebp, esi
sub edx, esi
lea ebx, [esp + 0x1c]
sub ebx, esi
mov eax, esi
mov dword [esp + 0x10], ebx
mov esi, 4
nop
movzx ebx, byte [ecx + eax]
xor byte [eax], bl
movzx ebx, byte [edi + eax]
xor byte [eax + 1], bl
movzx ebx, byte [eax + ebp]
xor byte [eax + 2], bl
movzx ebx, byte [edx + eax]
xor byte [eax + 3], bl
mov ebx, dword [esp + 0x10]
movzx ebx, byte [ebx + eax]
xor byte [eax + 4], bl
add eax, 5
sub esi, 1
jne 0x471410
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00465920
mov ecx, dword [esp + 0x30]
add esp, 4
lea eax, [esi + 1]
pop esi
pop edi
pop ebp
pop ebx
xor ecx, esp
call fcn.004b3a11
add esp, 0x20
ret