joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421e63
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x421e75
xor eax, eax
jmp 0x421e9c
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.00432d4a
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x421e93
xor eax, eax
jmp 0x421e9b
push dword [ebx]
call fcn.00439023
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret

Function at 0x421eef
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, dword [edi]
test esi, esi
jne 0x421f01
xor eax, eax
jmp 0x421f28
push ebx
mov ebx, dword [ebp + 8]
push dword [ebx]
push esi
push 1
push dword [ebp + 0xc]
call fcn.00439286
add esp, 0x10
mov dword [edi], eax
cmp eax, esi
jne 0x421f1f
xor eax, eax
jmp 0x421f27
push dword [ebx]
call fcn.00439023
pop ecx
pop ebx
pop edi
pop esi
pop ebp
ret
Function at 0x422ab6
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x10
push esi
mov esi, dword [ebp + 0x14]
push edi
xor edi, edi
mov esi, dword [esi]
and esi, 7
cmp eax, 5
jae 0x422ad7
xor eax, eax
jmp 0x422c2c
add dword [ebp + 0x10], 5
lea ecx, [eax - 4]
mov edx, dword [ebp + 8]
push ebx
or ebx, 0xffffffff
add ecx, edx
mov dword [ebp - 8], ecx
add edx, edi
mov dword [ebp - 4], edx
cmp edx, ecx
jae 0x422b03
mov al, byte [edx]
and al, 0xfe
cmp al, 0xe8
je 0x422b00
inc edx
cmp edx, ecx
jb 0x422af3
mov dword [ebp - 4], edx
mov edi, edx
sub edi, dword [ebp + 8]
cmp edx, ecx
jae 0x422c10
mov ecx, edi
sub ecx, ebx
cmp ecx, 3
jbe 0x422b3b
xor esi, esi
mov al, byte [edx + 4]
mov ebx, edi
mov dword [ebp - 0x10], ebx
test al, al
je 0x422b78
cmp al, 0xff
je 0x422b78
and esi, 3
xor eax, eax
add esi, esi
or esi, 1
inc eax
jmp 0x422c09
dec ecx
shl esi, cl
and esi, 7
je 0x422b1b
movzx eax, byte [esi + 0x55b440]
mov ecx, edx
sub ecx, eax
cmp byte [esi + 0x55b438], 0
mov al, byte [ecx + 4]
je 0x422b62
test al, al
je 0x422b62
cmp al, 0xff
jne 0x422b1b
and esi, 3
mov ebx, edi
add esi, esi
or esi, 1
inc edi
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + 8]
jmp 0x422aea
movzx ebx, al
movzx eax, byte [edx + 3]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 2]
shl ebx, 8
or ebx, eax
movzx eax, byte [edx + 1]
mov edx, dword [ebp + 0x10]
shl ebx, 8
or ebx, eax
cmp dword [ebp + 0x18], 0
je 0x422ba5
add ebx, edi
add ebx, edx
jmp 0x422ba9
sub ebx, edi
sub ebx, edx
mov dword [ebp + 0xc], ebx
test esi, esi
je 0x422bdf
movzx eax, byte [esi + 0x55b440]
shl eax, 3
push 0x18
pop ecx
sub ecx, eax
mov dword [ebp - 0xc], eax
mov eax, ebx
shr eax, cl
test al, al
je 0x422bce
cmp al, 0xff
jne 0x422bdf
xor ebx, ebx
push 0x20
pop ecx
sub ecx, dword [ebp - 0xc]
inc ebx
shl ebx, cl
dec ebx
xor ebx, dword [ebp + 0xc]
jmp 0x422b99
mov edx, dword [ebp - 4]
mov eax, ebx
shr eax, 0x18
and al, 1
dec al
not al
mov byte [edx + 1], bl
mov byte [edx + 4], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 3], al
mov eax, ebx
mov ebx, dword [ebp - 0x10]
shr eax, 8
push 5
mov byte [edx + 2], al
pop eax
add edi, eax
jmp 0x422b6d
mov edx, edi
xor eax, eax
sub edx, ebx
pop ebx
lea ecx, [edx - 1]
shl esi, cl
and esi, 7
cmp edx, 3
cmova esi, eax
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x422cee
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push dword [ebp + 8]
mov esi, ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebp
ret 4
Function at 0x422dd4
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x20c]
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
push esi
push 0x1a
push eax
push esi
call fcn.004232e4
lea eax, [ebp - 0x20c]
push eax
call fcn.0043872b
add esp, 0x14
test eax, eax
je 0x422e8c
lea eax, [ebp - 0x20c]
push 0x5b2dd4
push eax
call fcn.00438698
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00438698
lea eax, [ebp - 0x20c]
push 0x5b2dd4
push eax
call fcn.00438698
add esp, 0x18
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422e65
lea eax, [ebp - 0x20c]
push eax
call fcn.004260b9
pop ecx
cmp word [ebp - 0x20c], si
je 0x422e7d
lea eax, [ebp - 0x20c]
push eax
call fcn.0043872b
pop ecx
mov esi, eax
push esi
lea eax, [ebp - 0x20c]
mov ecx, edi
push eax
call fcn.004071b0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00415db5
mov esp, ebp
pop ebp
ret

Function at 0x422fc5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c100c]
xor eax, ebp
mov dword [ebp - 4], eax
mov al, byte [0x5ce7a8]
test al, al
jne 0x42305e
push ebx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00429bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
xor ebx, ebx
inc ebx
push ebx
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x423055
lea eax, [ebp - 0x20c]
push eax
call fcn.00438a45
lea eax, [ebp - 0x20c]
mov dword [esp], str.config_systemprofile
push eax
call fcn.004293a5
pop ecx
pop ecx
test eax, eax
jne 0x42304d
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.004293a5
pop ecx
pop ecx
test eax, eax
je 0x423055
mov byte [0x5ce7a8], bl
jmp 0x42305b
mov bl, byte [0x5ce7a8]
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00415db5
mov esp, ebp
pop ebp
ret
Function at 0x42306c
Capabilities:
Check if file exists

Disassembly:
push 0xc54
mov eax, 0x5594e0
call fcn.00447a0c
mov edi, dword [ebp + 8]
lea eax, [ebp - 0xc40]
mov ebx, dword [ebp + 0xc]
mov esi, 0x208
and dword [ebp - 0xc60], 0
push esi
push 0
push eax
call fcn.00429bd0
push esi
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.00429bd0
push esi
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.00429bd0
push esi
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.00429bd0
push esi
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00429bd0
push esi
xor esi, esi
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.00429bd0
xor eax, eax
mov dword [ebp - 0xc44], 7
add esp, 0x48
mov dword [ebp - 0xc48], esi
mov word [ebp - 0xc58], ax
push esi
push 0x1a
lea eax, [ebp - 0xc40]
mov dword [ebp - 4], esi
push eax
push esi
call fcn.004232e4
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00438709
lea eax, [ebp - 0x218]
push eax
call fcn.0043872b
lea eax, [ebp - 0x218]
push 0x5c
push eax
call fcn.00429304
add esp, 0x24
test eax, eax
jne 0x423170
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.00422dd4
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.0040ec20
push esi
push 1
jmp 0x4232d1
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.00438709
lea eax, [ebp - 0x830]
push str.Local
push eax
call fcn.00438698
add esp, 0x10
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
inc ecx
test eax, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x628]
cmovne esi, ecx
push eax
call fcn.00438709
lea eax, [ebp - 0x628]
push str.LocalLow
push eax
call fcn.00438698
add esp, 0x10
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0xa38]
mov dword [ebp - 0xc5c], ecx
push eax
call fcn.00438709
lea eax, [ebp - 0xa38]
push str.Roaming
push eax
call fcn.00438698
add esp, 0x10
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor ecx, ecx
test eax, eax
push 1
pop eax
cmovne ecx, eax
test esi, esi
je 0x4232ae
cmp dword [ebp - 0xc5c], 0
je 0x4232ae
test ecx, ecx
je 0x4232ae
push ebx
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0x420]
push 0x55b62c
push eax
call fcn.00406c50
add esp, 0x10
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42327e
lea eax, [ebp - 0x420]
push eax
call fcn.004260b9
pop ecx
cmp word [ebp - 0x420], 0
jne 0x42328c
xor eax, eax
jmp 0x423299
lea eax, [ebp - 0x420]
push eax
call fcn.0043872b
pop ecx
push eax
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.004071b0
jmp 0x4232bd
lea eax, [ebp - 0xc58]
push ebx
push eax
call fcn.00422dd4
pop ecx
pop ecx
lea eax, [ebp - 0xc58]
mov ecx, edi
push eax
call fcn.0040ec20
xor eax, eax
push 0
inc eax
push eax
lea ecx, [ebp - 0xc58]
call fcn.00407400
mov eax, edi
call fcn.004479c7
ret
Function at 0x423528
Capabilities:
Enumerate processes

Disassembly:
push 0x260
mov eax, 0x559548
call fcn.00447a0c
mov eax, dword [ebp + 8]
test eax, eax
je 0x423624
push eax
lea ecx, [ebp - 0x40]
call fcn.00406c80
lea eax, [ebp - 0x40]
xor ebx, ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0041ca4c
mov edi, 0x22c
lea eax, [ebp - 0x26c]
push edi
push ebx
push eax
call fcn.00429bd0
add esp, 0x10
push ebx
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x423615
lea eax, [ebp - 0x26c]
mov dword [ebp - 0x26c], edi
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x42360a
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], ebx
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
jne 0x4235b4
mov eax, ebx
jmp 0x4235c1
lea eax, [ebp - 0x248]
push eax
call fcn.0043872b
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.004071b0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.0041ca4c
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.00411a00
test eax, eax
je 0x42362a
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], bl
call fcn.00407400
lea eax, [ebp - 0x26c]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x423597
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, ebx
push ebx
push 1
lea ecx, [ebp - 0x40]
call fcn.00407400
mov eax, esi
call fcn.004479c7
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x264]
lea ecx, [ebp - 0x28]
push ebx
push 1
call fcn.00407400
jmp 0x423617
Function at 0x423787
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x83c
mov eax, 0x55957b
call fcn.00447a0c
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
and dword [ebp - 0x848], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x844], eax
mov eax, dword [ebp + 0x1c]
push eax
call fcn.00406c80
xor ecx, ecx
lea eax, [ebp - 0x82c]
push eax
push 0x20119
push ecx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_closesocket
mov dword [ebp - 4], ecx
mov dword [ebp - 0x82c], ecx
mov dword [ebp - 0x838], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
call esi
test eax, eax
je 0x423818
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0040ec20
push 0
jmp 0x423955
lea eax, [ebp - 0x838]
push eax
push 0x20119
push 0
push str.SoftWare
push dword [ebp - 0x82c]
call esi
test eax, eax
je 0x423845
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423803
lea eax, [ebp - 0x834]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x838]
call esi
test eax, eax
je 0x423878
push dword [ebp - 0x838]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x423803
lea eax, [ebp - 0x830]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x4238ca
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.0040ec20
jmp 0x423954
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00429bd0
add esp, 0xc
mov dword [ebp - 0x840], 0x400
lea eax, [ebp - 0x840]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x844]
push dword [ebp - 0x830]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x834]
call esi
push dword [ebp - 0x838]
call esi
push dword [ebp - 0x82c]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.0043872b
pop ecx
mov ecx, edi
test eax, eax
je 0x4238b9
lea eax, [ebp - 0x810]
push eax
call fcn.00406c80
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00407400
mov eax, edi
call fcn.004479c7
ret
Function at 0x42396a
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x838
mov eax, 0x5595ae
call fcn.00447a0c
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
xor esi, esi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x838], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x840], eax
mov eax, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x844], esi
call fcn.00406c80
lea eax, [ebp - 0x834]
mov dword [ebp - 0x834], esi
push eax
push 0x20119
push esi
push str.SoftWare
mov dword [ebp - 0x830], esi
mov dword [ebp - 0x82c], esi
mov dword [ebp - 4], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push reloc.WS2_32.dll_bind
call esi
test eax, eax
je 0x4239f5
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0040ec20
push 0
jmp 0x423ae4
lea eax, [ebp - 0x830]
push eax
push 0x20119
push 0
push ebx
push dword [ebp - 0x834]
call esi
test eax, eax
je 0x423a1e
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x4239e0
lea eax, [ebp - 0x82c]
xor ebx, ebx
push eax
push 0x20119
push ebx
push dword [ebp - 0x838]
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x423a65
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
mov ecx, edi
lea eax, [ebp - 0x828]
push eax
call fcn.0040ec20
jmp 0x423ae3
push 0x800
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00429bd0
add esp, 0xc
mov dword [ebp - 0x83c], 0x400
lea eax, [ebp - 0x83c]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x840]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.0043872b
pop ecx
mov ecx, edi
test eax, eax
je 0x423a57
lea eax, [ebp - 0x810]
push eax
call fcn.00406c80
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00407400
mov eax, edi
call fcn.004479c7
ret
Function at 0x423af9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x834
mov eax, 0x5595e1
call fcn.00447a0c
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x828]
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
and dword [ebp - 0x840], 0
mov dword [ebp - 0x83c], eax
mov eax, dword [ebp + 0x18]
push eax
call fcn.00406c80
xor ecx, ecx
lea eax, [ebp - 0x834]
push eax
push 0xf013f
push ecx
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 4], ecx
mov dword [ebp - 0x834], ecx
mov dword [ebp - 0x830], ecx
mov dword [ebp - 0x82c], ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x423b7d
lea eax, [ebp - 0x828]
mov ecx, edi
push eax
call fcn.0040ec20
push 0
jmp 0x423c7b
xor ecx, ecx
lea eax, [ebp - 0x830]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push esi
push dword [ebp - 0x834]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
call esi
test eax, eax
je 0x423bb1
push dword [ebp - 0x834]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423b68
xor ecx, ecx
lea eax, [ebp - 0x82c]
push ecx
push eax
push ecx
push 0xf013f
push ecx
push ecx
push ecx
push ebx
push dword [ebp - 0x830]
call esi
test eax, eax
je 0x423bec
push dword [ebp - 0x830]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x82c]
call esi
jmp 0x423b68
push 0x800
xor ebx, ebx
lea eax, [ebp - 0x810]
push ebx
push eax
call fcn.00429bd0
add esp, 0xc
mov dword [ebp - 0x838], 0x400
lea eax, [ebp - 0x838]
push eax
lea eax, [ebp - 0x810]
push eax
push ebx
push ebx
push dword [ebp - 0x83c]
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x82c]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 0x830]
call esi
push dword [ebp - 0x834]
call esi
lea eax, [ebp - 0x810]
push eax
call fcn.0043872b
pop ecx
mov ecx, edi
test eax, eax
jne 0x423c6e
lea eax, [ebp - 0x828]
push eax
call fcn.0040ec20
jmp 0x423c7a
lea eax, [ebp - 0x810]
push eax
call fcn.00406c80
push ebx
push 1
lea ecx, [ebp - 0x828]
call fcn.00407400
mov eax, edi
call fcn.004479c7
ret
Function at 0x423c90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push edi
lea eax, [ebp - 0xc]
xor edi, edi
push eax
mov ebx, 0xf013f
mov dword [ebp - 0xc], edi
push ebx
push edi
push str.SoftWare
push reloc.WS2_32.dll_accept
mov dword [ebp - 8], edi
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x423d4d
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
lea eax, [ebp - 8]
push edi
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 8]
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x423cee
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x423d4c
push edi
lea eax, [ebp - 4]
push eax
push edi
push ebx
push edi
push edi
push edi
push dword [ebp + 0xc]
push dword [ebp - 8]
call esi
test eax, eax
je 0x423d14
push dword [ebp - 8]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 4]
jmp 0x423d4a
push dword [ebp + 0x14]
call fcn.0043872b
pop ecx
lea eax, [eax*2 + 2]
push eax
push dword [ebp + 0x14]
push 1
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
push dword [ebp - 8]
call esi
push dword [ebp - 0xc]
call esi
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x423eaa
Capabilities:
Check if file exists
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5c100c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, str..fcb
push ebx
push esi
call fcn.004293a5
pop ecx
pop ecx
test eax, eax
je 0x423ee4
push 5
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x423f75
push edi
xor edi, edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00429bd0
add esp, 0xc
lea eax, [ebp - 0x20c]
test edi, edi
jne 0x423f19
push ebx
push esi
push str._s_s
push eax
call fcn.00406c50
add esp, 0x10
jmp 0x423f2a
push edi
push ebx
push esi
push str._s_s_d
push eax
call fcn.00406c50
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x423f54
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x423f54
cmp edi, 0xa
jge 0x423f74
inc edi
jmp 0x423ee7
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.004395f3
pop ecx
pop ecx
push 5
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00415db5
mov esp, ebp
pop ebp
ret
Function at 0x424d9f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [0x5ce940], 0
mov dword [ebp - 8], ecx
je 0x424ef2
add ecx, 8
cmp dword [ecx + 0x14], 8
jb 0x424dc0
mov ecx, dword [ecx]
push esi
push 0x55bce0
push ecx
push dword [0x5c10e0]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x424ef1
push ebx
push edi
push esi
push dword [0x5c10e0]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [0x5c10e0]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
push esi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push edi
push eax
call fcn.0042a140
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp - 4]
push eax
push 1
push ebx
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
xor esi, esi
push esi
push dword [ebp - 4]
call fcn.004255af
pop ecx
pop ecx
test eax, eax
je 0x424eef
mov ebx, dword [ebp - 8]
mov ecx, 0x5ce944
mov dword [ebx + 4], eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00424b15
mov eax, dword [ebp - 0xc]
push esi
mov dword [eax + 0x14], ebx
push dword [0x5c10e0]
push esi
push dword [ebp + 8]
push esi
push esi
push esi
push bind
push 0x80880000
push esi
push dword [0x5c10dc]
push 0x80020
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push dword [ebp + 8]
mov dword [ebx + 0x20], eax
call esi
test eax, 0x10000000
jne 0x424eaf
mov byte [ebx + 0x28], 1
jmp 0x424ed5
test eax, 0x21000000
je 0x424ebc
mov byte [ebx + 0x28], 5
jmp 0x424ed5
push 8
push dword [ebx + 0x20]
mov byte [ebx + 0x28], 7
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [ebp + 8]
mov ecx, ebx
call fcn.004258bd
push 0xfffffffffffffffc
push dword [ebp + 8]
call esi
push 0x4256cc
push 0xfffffffffffffffc
push dword [ebp + 8]
mov dword [ebx + 0x24], eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x425fb0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push esi
push 0x38
lea eax, [ebp - 0x38]
mov dword [ebp - 0x3c], 0x3c
push 0
push eax
call fcn.00429bd0
mov eax, dword [ebp + 8]
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0xc]
inc esi
mov dword [ebp - 0x38], 0x200
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x28], eax
call fcn.00426e7c
test eax, eax
mov ecx, str.runas
lea eax, [ebp - 0x3c]
cmovne ecx, dword [ebp - 0x30]
push eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x426010
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret