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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x14]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x214], 0
mov word [ebp - 0x20c], cx
call fcn.004b8020
mov bx, word [ebp + 0x10]
xor eax, eax
add esp, 0xc
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x21c], 0
sete al
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x224], 4
mov dword [ebp - 0x210], eax
test bx, bx
je 0x441141
push str.SoftwareAdobeAcrobat_Reader11.0FeatureState
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x441152
push str.SoftwareAdobeAdobe_Acrobat11.0FeatureState
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00402be9
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
push 0x20019
push 0
lea ecx, [ebp - 0x20c]
push ecx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x441224
lea edx, [ebp - 0x224]
push edx
mov edx, dword [ebp - 0x220]
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x214]
lea ecx, [ebp - 0x21c]
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4411ef
cmp dword [ebp - 0x21c], 4
jne 0x4411ef
mov eax, dword [ebp - 0x214]
xor ecx, ecx
cmp dword [ebp - 0x218], ecx
push eax
setne cl
mov dword [ebp - 0x210], ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x441200
test esi, esi
je 0x441200
mov edx, 1
mov word [esi], dx
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ax, word [ebp - 0x210]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
test bx, bx
je 0x441235
test esi, esi
je 0x441235
mov ecx, 1
mov word [esi], cx
mov ecx, dword [ebp - 4]
mov ax, word [ebp - 0x210]
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x441490
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov ecx, 0x20
mov esi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
lea edi, [ebp - 0x88]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
xor edi, edi
mov esi, dword [ebp + 8]
movzx edx, byte [edi + esi]
inc edi
mov dword [ebp - 0x8c], edi
cmp edi, 8
jae 0x4414e1
movzx ecx, byte [edi + esi]
inc edi
mov dword [ebp - 0x8c], edi
jmp 0x4414e3
xor ecx, ecx
cmp edi, 8
jae 0x4414f5
movzx esi, byte [edi + esi]
inc edi
mov dword [ebp - 0x8c], edi
jmp 0x4414f7
xor esi, esi
mov edi, edx
shr edi, 2
mov di, word [ebp + edi*2 - 0x88]
mov word [ebx + eax*2], di
mov edi, ecx
and edx, 3
shl edx, 4
shr edi, 4
or edi, edx
movzx edx, word [ebp + edi*2 - 0x88]
mov edi, dword [ebp - 0x8c]
mov word [ebx + eax*2 + 2], dx
and ecx, 0xf
add ecx, ecx
mov edx, esi
add ecx, ecx
shr edx, 6
or ecx, edx
mov cx, word [ebp + ecx*2 - 0x88]
and esi, 0x3f
movzx edx, word [ebp + esi*2 - 0x88]
mov word [ebx + eax*2 + 4], cx
mov word [ebx + eax*2 + 6], dx
add eax, 4
cmp edi, 8
jb 0x4414c1
mov ecx, dword [ebp - 4]
pop edi
mov dword [ebx + eax*2 - 2], 0x3d
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret

Function at 0x441580
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
push 0xf0000040
push 1
push 0
push 0
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x2c], eax
xor bl, bl
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x28], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x441647
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
push edx
push 0
push 0
push 0x8003
push eax
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x441647
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x441655
push edi
mov edi, dword [ebp + 0xc]
push 0
push edi
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x441646
mov eax, dword [ebp - 0x20]
push 0
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x1c]
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x441646
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 0x1c]
push edx
push edi
push esi
call fcn.00441420
add esp, 0x10
test al, al
je 0x441646
mov eax, dword [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.00441490
add esp, 8
test al, al
je 0x441646
mov bl, 1
pop edi
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x441655
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x441665
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret
Function at 0x4459d0
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 4]
mov edx, dword [edi]
or ecx, 0x2001f
push ecx
xor esi, esi
push eax
push edx
lea ecx, [ebp - 0x210]
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x210], esi
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.004452c0
mov ebx, eax
cmp ebx, esi
je 0x445a4a
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x445a35
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x210]
push esi
push esi
push esi
lea ecx, [ebp - 0x214]
push ecx
lea edx, [ebp - 0x204]
push edx
push esi
push eax
mov dword [ebp - 0x214], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x445acc
mov edi, edi
lea ecx, [ebp - 0x204]
push ecx
lea ecx, [ebp - 0x210]
call fcn.004459d0
mov ebx, eax
cmp ebx, esi
jne 0x445a24
lea edx, [ebp - 0x220]
push edx
mov edx, dword [ebp - 0x210]
push esi
push esi
push esi
lea eax, [ebp - 0x214]
push eax
lea ecx, [ebp - 0x204]
push ecx
push esi
push edx
mov dword [ebp - 0x214], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x445a80
mov eax, dword [ebp - 0x210]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x445ae5
push eax
call ebx
mov dword [ebp - 0x210], esi
mov eax, dword [ebp - 0x218]
push eax
mov ecx, edi
mov dword [ebp - 0x20c], esi
call fcn.004451a0
mov edi, eax
mov eax, dword [ebp - 0x210]
cmp eax, esi
je 0x445b08
push eax
call ebx
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret 4
Function at 0x448150
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4da9e6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x522638]
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 + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor edx, edx
mov dword [ebp - 0x430], edx
mov dword [ebp - 4], edx
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x418], edx
push 2
push edx
push eax
mov byte [ebp - 4], 1
call fcn.00445d50
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x4481cc
call fcn.00444f80
mov edi, eax
jmp 0x4482b1
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4481e5
call fcn.00444f80
jmp 0x4482a8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x448203
call fcn.00444f80
jmp 0x4482a8
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
mov dword [ebp - 0x41c], edi
cmp eax, edi
jae 0x448224
mov edi, 0x8007000e
jmp 0x4482aa
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.00446580
mov dword [ebp - 4], 1
jmp 0x44825c
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44826d
mov edi, 0x8007000e
jmp 0x4482aa
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x448286
call fcn.00444f80
jmp 0x4482a8
mov edx, dword [ebp - 0x418]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x418]
push eax
push ecx
lea ecx, [ebp - 0x42c]
call fcn.00447b40
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x4482ca
lea ecx, [ebp - 0x418]
call fcn.00445970
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 - 0x14]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44abe0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
mov dword [ebp - 4], 0
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x44ac2a
mov ecx, dword [ebp - 4]
push ecx
call edi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdfUserChoice
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea edx, [ebp - 4]
push edx
push 2
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerFileExts.pdf
push 0x80000001
mov dword [ebp - 4], 0
call esi
test eax, eax
jne 0x44ac5e
mov eax, dword [ebp - 4]
push str.Application
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov ecx, dword [ebp - 4]
push ecx
call edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x44b360
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db006
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x522638]
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
xor edi, edi
cmp edx, edi
je 0x44b46b
xor eax, eax
mov word [ebp - 0x234], ax
mov eax, edx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], edi
lea esi, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x44b3b6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00405fe0
mov eax, dword [ebp - 0x220]
mov edx, dword [ebp - 0x234]
mov ebx, 8
mov dword [ebp - 4], edi
mov esi, edx
cmp eax, ebx
jae 0x44b472
lea esi, [ebp - 0x234]
mov ecx, esi
mov edi, dword [ebp - 0x224]
cmp eax, ebx
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x44b40d
lea eax, [ebp - 0x234]
cmp eax, ecx
je 0x44b428
push fcn.00418c6e
push esi
push ecx
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.00418970
add esp, 0x14
lea edx, [ebp - 0x254]
push edx
push 0x20019
push 0
push str.SoftwareAdobeAcrobatExe
push 0x80000000
mov dword [ebp - 0x254], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x44b476
cmp dword [ebp - 0x220], ebx
jb 0x44b46b
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ca9
add esp, 4
xor al, al
jmp 0x44b5d1
mov ecx, edx
jmp 0x44b3f8
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.004b8020
add esp, 0xc
lea edx, [ebp - 0x25c]
push edx
mov edx, dword [ebp - 0x254]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x260]
push ecx
push 0
push 0
push edx
mov dword [ebp - 0x25c], 0x206
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
mov eax, dword [ebp - 0x254]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x44b4ed
cmp dword [ebp - 0x220], ebx
jb 0x44b46b
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406ca9
add esp, 4
xor al, al
jmp 0x44b5d1
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00408720
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
mov byte [ebp - 4], 1
mov edx, edi
cmp esi, ebx
jae 0x44b5ed
lea edx, [ebp - 0x250]
mov eax, edx
mov ecx, dword [ebp - 0x240]
lea eax, [eax + ecx*2]
mov ecx, edi
cmp esi, ebx
jae 0x44b536
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x44b55d
push fcn.00418c6e
push edx
push eax
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.00418970
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
add esp, 0x14
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x44b571
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
push 0
push eax
lea ecx, [ebp - 0x250]
call fcn.0040a060
cmp eax, 0xffffffff
setne bl
cmp esi, 8
jb 0x44b59a
push edi
call fcn.00406ca9
add esp, 4
xor edx, edx
cmp dword [ebp - 0x220], 8
mov dword [ebp - 0x23c], 7
mov dword [ebp - 0x240], 0
mov word [ebp - 0x250], dx
jb 0x44b5cf
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406ca9
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401306
mov esp, ebp
pop ebp
ret
mov eax, edi
jmp 0x44b521
Function at 0x44e060
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4deff8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x522638]
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 eax, dword [0x5240a0]
test eax, eax
jne 0x44e121
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push eax
call ebx
mov esi, eax
test esi, esi
je 0x44e118
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push 0x525eb5
neg ecx
or ecx, eax
push ecx
call fcn.004282c1
mov edi, eax
add esp, 8
test edi, edi
je 0x44e118
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.004b8020
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x44e10f
cmp eax, esi
ja 0x44e10f
push edi
lea ecx, [ebp - 0x2c]
call fcn.00408720
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00428400
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00409f90
push edi
call fcn.0041ecb3
add esp, 4
mov eax, dword [0x5240a0]
test eax, eax
je 0x44e12b
cmp dword [eax + 0x14], 8
jb 0x44e12d
mov eax, dword [eax]
jmp 0x44e12d
xor eax, eax
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.00401306
mov esp, ebp
pop ebp
ret

Function at 0x453a50
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
push esi
push 0x20019
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x453a9a
push eax
push eax
push eax
push eax
push eax
push eax
push eax
lea edx, [ebp + 0xc]
push edx
push eax
push eax
push eax
mov dword [ebp + 0xc], eax
mov eax, dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov ecx, dword [esi]
test eax, eax
je 0x453aaf
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov word [esi + 8], ax
mov dword [esi], 0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 0xc]
dec eax
mov dword [esi + 4], eax
test ecx, ecx
je 0x453ae3
test eax, eax
js 0x453ae3
lea edx, [ebp - 8]
push edx
push 0
push 0
push 0
lea edx, [ebp + 0xc]
push edx
lea edx, [esi + 8]
push edx
push eax
push ecx
mov dword [ebp + 0xc], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x453ae9
xor eax, eax
mov word [esi + 8], ax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x453cc0
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc5f8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x522638]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
push 0x44
lea eax, [ebp - 0x64]
push edi
push eax
mov dword [ebp - 0x10], edi
call fcn.004b8020
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp byte [esi + 8], 0
mov dword [ebp - 0x64], 0x44
je 0x453d13
mov dword [ebp - 0x5c], 0x4e596c
xor ecx, ecx
cmp byte [esi + 1], cl
mov dword [ebp - 0x38], 1
setne cl
xor ebx, ebx
dec ecx
and ecx, 5
mov word [ebp - 0x34], cx
cmp dword [esi + 0xc], edi
je 0x453d36
mov ebx, 0x1000004
lea ecx, [ebp - 0x20]
call fcn.0041c460
mov dword [ebp - 4], edi
cmp dword [esi + 4], edi
jne 0x453dbe
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x453d51
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
call fcn.0042d380
push eax
movzx eax, byte [esi + 2]
lea edx, [ebp - 0x64]
push edx
push 0
push 0
push ebx
push eax
push 0
push 0
push edi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x453dbe
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x453deb
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x453de1
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x20]
push 1
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
setne al
test al, al
je 0x453dbb
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x453dbe
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00430480
xor al, al
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 edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [esi], 0
je 0x453dfc
mov eax, dword [ebp - 0x20]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov esi, dword [ebp + 0x10]
cmp esi, edi
je 0x453e0d
lea ecx, [ebp - 0x20]
call fcn.00435590
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00430480
mov al, 1
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 0x454900
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 4], 0
test edi, edi
je 0x454928
call fcn.00407480
cmp eax, 1
jl 0x454928
mov dword [ebp - 4], 0x10000
jmp 0x45492a
xor edi, edi
push 8
call fcn.00404f8a
mov edx, dword [ebp - 4]
mov ebx, dword [ebp + 0x10]
add esp, 4
push 0
mov esi, eax
mov eax, dword [ebp + 0xc]
push edx
push esi
push 0x4548d0
test ebx, ebx
push edi
setne cl
push 0
mov dword [esi], eax
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x454971
push esi
call fcn.00406ca9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x454980
pop edi
mov dword [ebx], eax
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x455860
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcad0
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x522638]
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
xor ebx, ebx
cmp byte [0x5250b0], bl
jne 0x4558ed
push 0x11c
push ebx
lea eax, [ebp - 0x130]
push eax
call fcn.004b8020
add esp, 0xc
mov dword [ebp - 0x130], 0x11c
lea ecx, [ebp - 0x130]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4558e6
mov eax, dword [ebp - 0x12c]
cmp eax, 6
jne 0x45590e
mov eax, dword [ebp - 0x128]
cmp eax, ebx
jne 0x4558e4
cmp word [ebp - 0x1c], bx
ja 0x455910
mov byte [0x5250b0], 1
mov al, byte [0x5250af]
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.00401306
mov esp, ebp
pop ebp
ret
jbe 0x4558e6
push str.bcrypt.dll
call fcn.00428660
add esp, 4
test eax, eax
je 0x4558e6
push 0x4e8558
call fcn.00428660
add esp, 4
test eax, eax
je 0x4558e6
mov dword [ebp - 4], ebx
mov dword [ebp - 0x134], ebx
mov dword [ebp - 0x138], ebx
push ebx
push str.Microsoft_Primitive_Provider
push str.ECDH_P256
lea edx, [ebp - 0x134]
push edx
call sub.ncrypt.dll_BCryptOpenAlgorithmProvider
mov edi, eax
mov eax, dword [ebp - 0x134]
cmp eax, ebx
je 0x45596b
push ebx
push eax
call sub.ncrypt.dll_BCryptCloseAlgorithmProvider
push ebx
push str.Microsoft_Software_Key_Storage_Provider
lea eax, [ebp - 0x138]
push eax
call sub.ncrypt.dll_NCryptOpenStorageProvider
mov esi, eax
mov eax, dword [ebp - 0x138]
cmp eax, ebx
je 0x455995
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, dword [ebp - 0x138]
cmp edi, ebx
jne 0x4559bf
cmp esi, ebx
jne 0x4559bf
cmp dword [ebp - 0x134], ebx
je 0x4559bf
cmp eax, ebx
je 0x4559bf
mov eax, 1
mov byte [0x5250af], al
mov dword [ebp - 4], 0xffffffff
jmp 0x4558e6
xor eax, eax
mov byte [0x5250af], al
mov dword [ebp - 4], 0xffffffff
jmp 0x4558e6
Function at 0x45a200
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x522638]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x214]
push ecx
xor ebx, ebx
push esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x45a2f3
cmp eax, ebx
jne 0x45a250
cmp dword [ebp - 0x214], ebx
je 0x45a2f3
push ebx
push 1
push ebx
push 2
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov esi, eax
cmp esi, ebx
je 0x45a2f3
push edi
push 1
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
cmp edi, ebx
je 0x45a2eb
push 0x208
lea eax, [ebp - 0x20e]
xor edx, edx
push ebx
push eax
mov word [ebp - 0x210], dx
call fcn.004b8020
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x210]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_GetMappedFileNameW
test eax, eax
je 0x45a2e4
lea eax, [ebp - 0x210]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x45a2c0
mov ecx, dword [ebp - 0x218]
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x210]
push edx
call fcn.00405fe0
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
pop esi
mov al, bl
xor ecx, ebp
pop ebx
call fcn.00401306
mov esp, ebp
pop ebp
ret