joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442510
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc6e6
mov eax, dword fs:[0]
push eax
sub esp, 0x424
mov eax, dword [0x5256a8]
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.0043f0d0
mov esi, eax
mov dword [ebp - 0x420], esi
test esi, esi
jne 0x44258c
call fcn.0043e300
mov edi, eax
jmp 0x442671
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x4425a5
call fcn.0043e300
jmp 0x442668
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x424], ebx
test ebx, ebx
jne 0x4425c3
call fcn.0043e300
jmp 0x442668
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 0x4425e4
mov edi, 0x8007000e
jmp 0x44266a
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0043faa0
mov dword [ebp - 4], 1
jmp 0x44261c
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x44262d
mov edi, 0x8007000e
jmp 0x44266a
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x442646
call fcn.0043e300
jmp 0x442668
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.00441810
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea edx, [ebp - 0x414]
cmp dword [ebp - 0x418], edx
je 0x44268a
lea ecx, [ebp - 0x418]
call fcn.0043ecf0
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 0x444de0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x5256a8]
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.004b7120
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 0x444e71
push str.SoftwareAdobeAcrobat_Reader11.0FeatureState
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
jmp 0x444e82
push str.SoftwareAdobeAdobe_Acrobat11.0FeatureState
push 0x104
lea edx, [ebp - 0x20c]
push edx
call fcn.00402c29
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 0x444f54
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 0x444f1f
cmp dword [ebp - 0x21c], 4
jne 0x444f1f
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 0x444f30
test esi, esi
je 0x444f30
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 0x444f65
test esi, esi
je 0x444f65
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 0x445270
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 0x4452ba
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 0x4452ee
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 0x445990
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dcca6
mov eax, dword fs:[0]
push eax
sub esp, 0x254
mov eax, dword [0x5256a8]
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 0x445a9b
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 0x4459e6
sub eax, esi
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0x234]
call fcn.00406030
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 0x445aa2
lea esi, [ebp - 0x234]
mov ecx, esi
mov edi, dword [ebp - 0x224]
cmp eax, ebx
lea ecx, [ecx + edi*2]
mov eax, edx
jae 0x445a3d
lea eax, [ebp - 0x234]
cmp eax, ecx
je 0x445a58
push fcn.0040f424
push esi
push ecx
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040f3e0
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 0x445aa6
cmp dword [ebp - 0x220], ebx
jb 0x445a9b
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406cf9
add esp, 4
xor al, al
jmp 0x445c01
mov ecx, edx
jmp 0x445a28
push 0x208
lea ecx, [ebp - 0x218]
push 0
push ecx
call fcn.004b7120
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 0x445b1d
cmp dword [ebp - 0x220], ebx
jb 0x445a9b
mov ecx, dword [ebp - 0x234]
push ecx
call fcn.00406cf9
add esp, 4
xor al, al
jmp 0x445c01
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x250]
call fcn.00408770
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
mov byte [ebp - 4], 1
mov edx, edi
cmp esi, ebx
jae 0x445c1d
lea edx, [ebp - 0x250]
mov eax, edx
mov ecx, dword [ebp - 0x240]
lea eax, [eax + ecx*2]
mov ecx, edi
cmp esi, ebx
jae 0x445b66
lea ecx, [ebp - 0x250]
cmp ecx, eax
je 0x445b8d
push fcn.0040f424
push edx
push eax
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.0040f3e0
mov esi, dword [ebp - 0x23c]
mov edi, dword [ebp - 0x250]
add esp, 0x14
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x220], ebx
jae 0x445ba1
lea eax, [ebp - 0x234]
mov ecx, dword [ebp - 0x224]
push ecx
push 0
push eax
lea ecx, [ebp - 0x250]
call fcn.0040a0b0
cmp eax, 0xffffffff
setne bl
cmp esi, 8
jb 0x445bca
push edi
call fcn.00406cf9
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 0x445bff
mov eax, dword [ebp - 0x234]
push eax
call fcn.00406cf9
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 0x445b51
Function at 0x448520
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dfbc8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x5256a8]
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 [0x527120]
test eax, eax
jne 0x4485e1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTempPathW]
push eax
push eax
call ebx
mov esi, eax
test esi, esi
je 0x4485d8
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
push 0x528ef9
neg ecx
or ecx, eax
push ecx
call fcn.004218c1
mov edi, eax
add esp, 8
test edi, edi
je 0x4485d8
lea eax, [esi + esi + 2]
push eax
push 0
push edi
call fcn.004b7120
add esp, 0xc
push edi
push esi
call ebx
test eax, eax
je 0x4485cf
cmp eax, esi
ja 0x4485cf
push edi
lea ecx, [ebp - 0x2c]
call fcn.00408770
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 4], 0
call fcn.00421a10
add esp, 4
lea ecx, [ebp - 0x2c]
call fcn.00409fe0
push edi
call fcn.004168eb
add esp, 4
mov eax, dword [0x527120]
test eax, eax
je 0x4485eb
cmp dword [eax + 0x14], 8
jb 0x4485ed
mov eax, dword [eax]
jmp 0x4485ed
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 0x44dde0
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 0x44de2a
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 0x44de3f
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 0x44de73
test eax, eax
js 0x44de73
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 0x44de79
xor eax, eax
mov word [esi + 8], ax
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x44e050
Capabilities:
Create process on windows
Resume thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de2a8
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x5256a8]
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.004b7120
mov esi, dword [ebp + 0xc]
add esp, 0xc
cmp byte [esi + 8], 0
mov dword [ebp - 0x64], 0x44
je 0x44e0a3
mov dword [ebp - 0x5c], 0x4e796c
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 0x44e0c6
mov ebx, 0x1000004
lea ecx, [ebp - 0x20]
call fcn.00412cd0
mov dword [ebp - 4], edi
cmp dword [esi + 4], edi
jne 0x44e14e
mov edi, dword [ebp + 8]
cmp dword [edi + 0x14], 8
jb 0x44e0e1
mov edi, dword [edi]
lea ecx, [ebp - 0x20]
call fcn.00426a60
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 0x44e14e
mov eax, dword [esi + 0xc]
xor edi, edi
cmp eax, edi
je 0x44e17b
mov ecx, dword [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x44e171
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 0x44e14b
push 0xea60
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x44e14e
mov dword [ebp - 4], edi
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00429650
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 0x44e18c
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 0x44e19d
lea ecx, [ebp - 0x20]
call fcn.0042f280
mov dword [esi], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.00429650
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 0x44ec90
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 0x44ecb8
call fcn.004074d0
cmp eax, 1
jl 0x44ecb8
mov dword [ebp - 4], 0x10000
jmp 0x44ecba
xor edi, edi
push 8
call fcn.00404fba
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 0x44ec60
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 0x44ed01
push esi
call fcn.00406cf9
add esp, 4
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
test ebx, ebx
je 0x44ed10
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 0x44fe80
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de780
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x5256a8]
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 [0x528134], bl
jne 0x44ff0d
push 0x11c
push ebx
lea eax, [ebp - 0x130]
push eax
call fcn.004b7120
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 0x44ff06
mov eax, dword [ebp - 0x12c]
cmp eax, 6
jne 0x44ff2e
mov eax, dword [ebp - 0x128]
cmp eax, ebx
jne 0x44ff04
cmp word [ebp - 0x1c], bx
ja 0x44ff30
mov byte [0x528134], 1
mov al, byte [0x528133]
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 0x44ff06
push str.bcrypt.dll
call fcn.00421c70
add esp, 4
test eax, eax
je 0x44ff06
push 0x4ea428
call fcn.00421c70
add esp, 4
test eax, eax
je 0x44ff06
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 0x44ff8b
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 0x44ffb5
push eax
call sub.ncrypt.dll_NCryptFreeObject
mov eax, dword [ebp - 0x138]
cmp edi, ebx
jne 0x44ffdf
cmp esi, ebx
jne 0x44ffdf
cmp dword [ebp - 0x134], ebx
je 0x44ffdf
cmp eax, ebx
je 0x44ffdf
mov eax, 1
mov byte [0x528133], al
mov dword [ebp - 4], 0xffffffff
jmp 0x44ff06
xor eax, eax
mov byte [0x528133], al
mov dword [ebp - 4], 0xffffffff
jmp 0x44ff06
Function at 0x450a20
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4de9a9
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x5256a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 4], 1
cmp dword [edi], 0
jne 0x450b5b
lea esi, [edi + 8]
push 0x4ea49c
push esi
call fcn.00441d30
add esp, 8
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00444b10
mov byte [ebp - 4], 2
push 0
push 0
call fcn.0040e4e0
mov eax, dword [0x528148]
add esp, 8
mov esi, 0x10
test eax, eax
je 0x450b34
cmp eax, 2
je 0x450b34
cmp dword [0x52816c], 0
jne 0x450ac0
mov ecx, dword [0x528170]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x450acb
mov ecx, dword [0x528168]
call fcn.0040e750
mov byte [ebp - 4], 3
call fcn.00450910
test al, al
je 0x450b0d
mov edx, dword [0x528150]
push 2
push 0
push 0
push edx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], esi
jae 0x450af6
lea eax, [ebp - 0x2c]
mov edx, dword [ebp - 0x1c]
push 0
lea ecx, [ebp - 0x30]
push ecx
push edx
push eax
mov eax, dword [0x528150]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov byte [ebp - 4], 2
cmp dword [0x52816c], 0
jne 0x450b29
mov ecx, dword [0x528170]
push ecx
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
jmp 0x450b34
mov ecx, dword [0x528168]
call fcn.0040e760
mov byte [ebp - 4], 1
cmp dword [ebp - 0x18], esi
jb 0x450b49
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00406cf9
add esp, 4
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], 0
mov byte [ebp - 0x2c], 0
mov byte [ebp - 4], 0
mov eax, dword [edi + 0xac]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov dword [ebp - 4], 0xffffffff
lea ecx, [edi + 8]
call fcn.0043fb80
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.00401306
mov esp, ebp
pop ebp
ret
Function at 0x4535d0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 4], ebx
push edi
mov esi, ecx
mov dword [ebp - 4], ebx
call fcn.00429700
test al, al
je 0x453625
mov eax, dword [esi]
mov edi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0x1388
push eax
call edi
mov eax, dword [esi]
lea ecx, [ebp - 4]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x453614
cmp dword [ebp - 4], 0x103
jne 0x453625
mov edx, dword [esi]
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esi]
push 0xffffffffffffffff
push eax
call edi
mov edi, dword [esi + 0x20]
cmp edi, ebx
je 0x45363f
mov ecx, edi
call fcn.00454620
push edi
call fcn.00406cf9
add esp, 4
mov dword [esi + 0x20], ebx
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x453652
push eax
call fcn.00402cee
add esp, 4
mov dword [esi + 0x2c], ebx
mov edi, dword [esi + 0x20]
cmp edi, ebx
je 0x453669
mov ecx, edi
call fcn.00454620
push edi
call fcn.00406cf9
add esp, 4
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, ebx
je 0x453692
cmp eax, 0xffffffff
je 0x453692
call fcn.00416220
mov eax, dword [esi + 0x18]
push eax
call edi
test eax, eax
jne 0x45368f
call fcn.00430d70
mov dword [esi + 0x18], ebx
mov eax, dword [esi + 0x14]
cmp eax, ebx
je 0x4536b5
cmp eax, 0xffffffff
je 0x4536b5
call fcn.00416220
mov eax, dword [esi + 0x14]
push eax
call edi
test eax, eax
jne 0x4536b2
call fcn.00430d70
mov dword [esi + 0x14], ebx
mov eax, dword [esi + 0x10]
cmp eax, ebx
je 0x4536d8
cmp eax, 0xffffffff
je 0x4536d8
call fcn.00416220
mov eax, dword [esi + 0x10]
push eax
call edi
test eax, eax
jne 0x4536d5
call fcn.00430d70
mov dword [esi + 0x10], ebx
mov ecx, esi
call fcn.00429650
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455c90
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov dword [ebp - 8], 0
call fcn.004074d0
cmp eax, 3
jl 0x455dc3
push esi
push 0x4e798c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
test esi, esi
je 0x455dc2
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push edi
push str.InitializeProcThreadAttributeList
push esi
call ebx
mov edi, eax
test edi, edi
je 0x455dc0
push str.UpdateProcThreadAttribute
push esi
call ebx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x455dc0
push str.DeleteProcThreadAttributeList
push esi
call ebx
test eax, eax
je 0x455dc0
lea eax, [ebp - 4]
push eax
push 0
push 1
push 0
mov dword [ebp - 4], 0
call edi
mov eax, dword [ebp - 4]
test eax, eax
je 0x455dc0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
test ebx, ebx
je 0x455dc0
lea ecx, [ebp - 4]
push ecx
push 0
push 1
push ebx
call edi
test eax, eax
je 0x455dc0
push 0
push 0
push 4
lea edx, [ebp + 0xc]
push edx
push 0x20000
push 0
push ebx
call dword [ebp - 0xc]
test eax, eax
je 0x455dc0
push 0x44
lea eax, [ebp - 0x50]
push 0
push eax
call fcn.004b7120
mov esi, dword [ebp + 0x30]
mov eax, dword [ebp + 0x2c]
add esp, 0xc
mov ecx, 0x11
lea edi, [ebp - 0x54]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp + 0x34]
push ecx
mov ecx, dword [ebp + 0x28]
lea edx, [ebp - 0x54]
push edx
mov edx, dword [ebp + 0x24]
push eax
mov eax, dword [ebp + 0x20]
push ecx
mov ecx, dword [ebp + 0x1c]
or edx, 0x1080000
push edx
mov edx, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push ecx
mov ecx, dword [ebp + 0x10]
push edx
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov dword [ebp - 0x54], 0x48
mov dword [ebp - 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov dword [ebp - 8], eax
pop edi
pop ebx
pop esi
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret