joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416330
Capabilities:
Terminate thread

Disassembly:
push edi
mov edi, ecx
mov eax, dword [edi + 0x2c]
mov dword [edi], vtable.CVerifyProxyThread.0
test eax, eax
je 0x416349
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [edi + 0x114]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41636b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x110]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41638d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x10c]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163af
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0x104]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163d1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xfc]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4163f3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xf4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416415
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xd8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416437
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [edi + 0xd4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push ebx
push esi
lea esi, [edi + 0xd0]
mov ebx, 4
mov eax, dword [esi - 0x10]
sub esi, 0x18
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416488
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4164c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
sub ebx, 1
jns 0x416466
mov eax, dword [edi + 0x48]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop esi
pop ebx
test edx, edx
jg 0x4164eb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, edi
pop edi
jmp fcn.00424538
Function at 0x4180a0
Capabilities:
Read .ini file

Disassembly:
push ecx
mov eax, dword [esp + 0xc]
push ebx
mov ebx, ecx
push ebp
mov dword [esp + 8], ebx
test eax, eax
je 0x4180b6
xor ecx, ecx
mov word [eax], cx
mov ebp, dword [esp + 0x10]
test ebp, ebp
jne 0x4180c6
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0xc
test eax, eax
jne 0x418168
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mul edx
seto cl
push esi
push edi
mov esi, 0x200
neg ecx
or ecx, eax
push ecx
call fcn.00418dc5
add esp, 4
mov edi, eax
mov eax, dword [ebx + 4]
push eax
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov ebx, eax
lea ecx, [ebx + 2]
cmp ecx, esi
jb 0x418154
jmp 0x418110
push edi
add esi, 0x200
call fcn.00418dba
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418dc5
mov edi, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 4]
add esp, 8
push ecx
push esi
push edi
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
mov ebx, eax
lea edx, [ebx + 2]
cmp edx, esi
jae 0x418110
push edi
call fcn.00418dba
add esp, 4
pop edi
pop esi
pop ebp
lea eax, [ebx + 2]
pop ebx
pop ecx
ret 0xc
mov ecx, dword [ebx + 4]
mov edx, dword [esp + 0x18]
push ecx
push edx
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileSectionW]
pop ebp
pop ebx
pop ecx
ret 0xc

Function at 0x418180
Capabilities:
Read .ini file

Disassembly:
push ecx
cmp dword [esp + 8], 0
push ebx
push esi
push edi
mov dword [esp + 0xc], ecx
je 0x418259
mov ebx, dword [esp + 0x18]
test ebx, ebx
je 0x418259
xor ecx, ecx
mov eax, 0x201
mov edx, 2
mul edx
seto cl
mov esi, 0x200
neg ecx
or ecx, eax
push ecx
call fcn.00418dc5
mov edi, eax
mov eax, dword [esp + 0x20]
add esp, 4
test eax, eax
jne 0x4181d1
mov eax, 0x450754
mov ecx, dword [esp + 0xc]
mov edx, dword [ecx + 4]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push edx
push 0x200
push edi
push eax
mov eax, dword [esp + 0x28]
push ebx
push eax
call ebp
inc eax
cmp eax, 0x200
jb 0x41824f
jmp 0x418200
push edi
add esi, 0x200
call fcn.00418dba
xor ecx, ecx
lea eax, [esi + 1]
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418dc5
mov edi, eax
mov eax, dword [esp + 0x28]
add esp, 8
test eax, eax
jne 0x418237
mov eax, 0x450754
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 4]
push edx
push esi
push edi
push eax
mov eax, dword [esp + 0x28]
push ebx
push eax
call ebp
inc eax
cmp eax, esi
jae 0x418200
pop ebp
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
mov edi, dword [esp + 0x1c]
test edi, edi
jne 0x418277
push 2
call fcn.00418dc5
add esp, 4
pop edi
xor ecx, ecx
pop esi
mov word [eax], cx
pop ebx
pop ecx
ret 0xc
mov eax, edi
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x418280
sub eax, edx
sar eax, 1
xor ecx, ecx
inc eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00418dc5
mov esi, eax
add esp, 4
mov ecx, edi
sub esi, edi
nop
movzx edx, word [ecx]
mov word [esi + ecx], dx
add ecx, 2
test dx, dx
jne 0x4182b0
pop edi
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x419e98
Capabilities:
Create http request

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, ecx
and dword [esi + 0x10], 0
and dword [esi + 0xc], 0
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi], vtable.CInternetSession.0
test eax, eax
jne 0x419ec3
call fcn.00423fd4
mov eax, dword [eax + 0x10]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 8], eax
test eax, eax
jne 0x419ee6
push eax
push dword [esi + 4]
call fcn.00419e1e
push esi
push eax
mov ecx, 0x4681d0
call fcn.00419aa5
mov eax, esi
pop esi
pop ebp
ret 0x18

Function at 0x41a803
Capabilities:
Connect to http server

Disassembly:
push 4
mov eax, 0x44e9a5
call fcn.00432dfc
mov esi, ecx
mov dword [ebp - 0x10], esi
push dword [ebp + 0x20]
mov edi, dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call fcn.0041a7c3
and dword [ebp - 4], 0
lea ecx, [esi + 0x18]
mov dword [esi], vtable.CHttpConnection.0
call fcn.00401b20
push dword [esi + 8]
mov edi, dword [edi + 8]
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push 3
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 4], eax
test eax, eax
jne 0x41a86a
push eax
push dword [esi + 8]
call fcn.00419e1e
push dword [esi + 0xc]
mov ecx, 0x4681d0
push eax
call fcn.00419aa5
mov eax, esi
call fcn.00432ed4
ret 0x1c

Function at 0x421c21
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x421c68
call fcn.00423fd4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x421c68
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x421c84
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00421799
mov esi, eax
test edi, edi
je 0x421c82
test ebx, ebx
je 0x421c82
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x422dea
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x422e0e
cmp dword [edi + 0x54], 0
jne 0x422e0e
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.00423fd4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00422dab
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x429a78
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
cmp eax, 0xffffffff
jne 0x429aaa
push dword [ebp + 8]
call edi
push eax
call fcn.0042af03
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x429ad5
test byte [ebp - 4], 1
je 0x429ad5
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429ad5
push dword [ebp + 8]
call edi
push eax
call fcn.0042af03
lea eax, [ebx + 8]
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x429b8f
lea ecx, [ebp - 0x20]
push ecx
push eax
call fcn.004299da
pop ecx
lea eax, [ebx + 0x10]
pop ecx
mov ecx, dword [eax]
or ecx, dword [eax + 4]
je 0x429b0b
lea ecx, [ebp - 0x10]
push ecx
push eax
call fcn.004299da
pop ecx
lea eax, [ebp - 0x10]
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebx]
or eax, dword [ebx + 4]
je 0x429b21
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004299da
pop ecx
pop ecx
lea esi, [ebp - 0x18]
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x429b4e
push dword [ebp + 8]
call edi
push eax
call fcn.0042af03
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x429b7a
call edi
push ebx
mov dword [ebp - 8], eax
call esi
push dword [ebp + 8]
push dword [ebp - 8]
call fcn.0042af03
push ebx
call esi
test eax, eax
jne 0x429b8c
push dword [ebp + 8]
call edi
push eax
call fcn.0042af03
mov ebx, dword [ebp + 0xc]
movzx eax, byte [ebx + 0x20]
cmp eax, dword [ebp - 4]
je 0x429bb7
test byte [ebp - 4], 1
jne 0x429bb7
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x429bb7
push dword [ebp + 8]
call edi
push eax
call fcn.0042af03
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x432ded
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x465500]
jne 0x432df7
repz ret
jmp fcn.0044361b
Function at 0x4466f3
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004377a1
and dword [ebp - 4], 0
cmp dword [0x46ad18], 0
mov ebx, eax
jne 0x4467a4
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x446855
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x446855
push eax
call fcn.0043772f
mov dword [esp], 0x45913c
push edi
mov dword [0x46ad18], eax
call esi
push eax
call fcn.0043772f
mov dword [esp], 0x459128
push edi
mov dword [0x46ad1c], eax
call esi
push eax
call fcn.0043772f
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x46ad20], eax
call esi
push eax
call fcn.0043772f
pop ecx
mov dword [0x46ad28], eax
test eax, eax
je 0x4467a4
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0043772f
pop ecx
mov dword [0x46ad24], eax
mov eax, dword [0x46ad24]
cmp eax, ebx
je 0x4467fc
cmp dword [0x46ad28], ebx
je 0x4467fc
push eax
call fcn.004377aa
push dword [0x46ad28]
mov esi, eax
call fcn.004377aa
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4467fc
test edi, edi
je 0x4467fc
call esi
test eax, eax
je 0x4467f3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4467f3
test byte [ebp - 0xc], 1
jne 0x4467fc
or dword [ebp + 0x10], 0x200000
jmp 0x446835
mov eax, dword [0x46ad1c]
cmp eax, ebx
je 0x446835
push eax
call fcn.004377aa
pop ecx
test eax, eax
je 0x446835
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x446835
mov eax, dword [0x46ad20]
cmp eax, ebx
je 0x446835
push eax
call fcn.004377aa
pop ecx
test eax, eax
je 0x446835
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x46ad18]
call fcn.004377aa
pop ecx
test eax, eax
je 0x446855
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x446857
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x411990
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4119b4
xor eax, eax
jmp 0x411a34
mov edx, dword [ebp - 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4119cb
xor eax, eax
jmp 0x411a34
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp - 4]
add edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp + 0x10]
and eax, 0xf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x411a17
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jae 0x411a17
mov edx, dword [ebp - 4]
movzx eax, word [edx]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax*2 + 2]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x4119ee
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x10]
jb 0x411a23
xor eax, eax
jmp 0x411a34
mov edx, dword [ebp - 4]
movzx eax, word [edx]
test eax, eax
jne 0x411a31
xor eax, eax
jmp 0x411a34
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x45da20
Capabilities:
Check mutex on windows
Create thread
Log keystrokes via application hook

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x48e4b0]
xor eax, ebp
mov dword [ebp - 4], eax
push str.Process
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x44], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x45da74
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x30
push 0x47881c
push 0x47877c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
xor eax, eax
jmp 0x45dbe1
lea ecx, [ebp - 8]
mov dword [ebp - 0x34], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [ebp - 0x34]
mov dword [edx], eax
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
push 0x45dbf0
push 0
push 0
call fcn.0042d9b0
add esp, 0x18
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x45dabd
push 0x30
push 0x478824
push 0x47882c
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 0
push 0
call dword [sym.imp.alut.dll_alutInit]
add esp, 8
call dword [sym.imp.OpenAL32.dll_alGetError]
call fcn.0045d4a0
movzx edx, al
test edx, edx
jne 0x45dae4
or eax, 0xffffffff
jmp 0x45dbe1
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x45d5d0
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov dword [0x4930b0], eax
cmp dword [0x4930b0], 0
jne 0x45db26
push 0
push 0x47883c
push 0x478844
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
or eax, 0xffffffff
jmp 0x45dbe1
push 0
push 0
push 0
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
test eax, eax
jle 0x45dbcf
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x3c], ecx
cmp dword [ebp - 0x3c], 0x2775
je 0x45db4f
jmp 0x45dbb6
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00460720
add eax, 0x10
mov ecx, eax
call fcn.00408780
push 0x4930c4
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.0040cdf0
add esp, 8
movzx edx, al
test edx, edx
je 0x45db8e
push 1
call fcn.00460720
mov ecx, eax
call fcn.004606d0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0
je 0x45dbaf
push 1
mov ecx, dword [ebp - 0x38]
call fcn.00408680
mov dword [ebp - 0x48], eax
jmp 0x45dbb6
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
jmp 0x45db26
call fcn.0045d490
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004270b0
mov esp, ebp
pop ebp
ret
Function at 0x45eaf0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465f30
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x48e4b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0
push 3
push 0
push 0
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x1c], esp
lea eax, [ebp + 8]
push eax
call fcn.00403880
mov dword [ebp - 0x20], eax
call fcn.00411eb0
add esp, 0x1c
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x14], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00403a50
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x1c
Function at 0x45f7d0
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x46605d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x48e4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
push 4
lea ecx, [ebp - 0x14]
call fcn.00408150
lea ecx, [ebp - 0x14]
call fcn.004124a0
mov dword [ebp - 4], 0
push 0x104
push 0x105
lea ecx, [ebp - 0x14]
call fcn.00412750
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.004127a0
lea ecx, [ebp - 0x14]
call fcn.00402ce0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], 0x104
lea eax, [ebp - 0x18]
push eax
push 0xf003f
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionRun_
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x45f880
push 0x30
push 0x47a278
push 0x47a280
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x45f88f
push str.Tickeys
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00412540
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004270b0
mov esp, ebp
pop ebp
ret
Function at 0x45f8d0
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4660a3
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x48e4b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x254], str.SoftwareMicrosoftWindowsCurrentVersionRun
push 4
lea ecx, [ebp - 0x21c]
call fcn.00408150
lea ecx, [ebp - 0x21c]
call fcn.004124a0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00403910
mov byte [ebp - 4], 1
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x220], 0x104
mov dword [ebp - 0x25c], 0x104
lea eax, [ebp - 0x240]
push eax
push 1
push 0
mov ecx, dword [ebp - 0x254]
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x45fa79
push 0
push 0
push 0
push 0
lea edx, [ebp - 0x220]
push edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x244]
push ecx
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, 0x103
je 0x45fa77
mov dword [ebp - 0x220], 0x104
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x27c]
push ecx
call fcn.00412310
add esp, 8
mov dword [ebp - 0x258], eax
mov edx, dword [ebp - 0x258]
mov dword [ebp - 0x248], edx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x248]
push eax
lea ecx, [ebp - 0x23c]
call fcn.00408780
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x27c]
call fcn.00403a50
push 0x47a1f4
lea ecx, [ebp - 0x23c]
push ecx
call fcn.00419c80
add esp, 8
movzx edx, al
test edx, edx
je 0x45fa63
mov eax, dword [ebp - 0x240]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x250], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00403a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00412540
mov eax, dword [ebp - 0x250]
jmp 0x45facb
mov ecx, dword [ebp - 0x244]
add ecx, 1
mov dword [ebp - 0x244], ecx
jmp 0x45f97c
jmp 0x45fa8d
push 0x30
push 0x47a1fc
push 0x47a204
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
mov edx, dword [ebp - 0x240]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x24c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x23c]
call fcn.00403a50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x21c]
call fcn.00412540
mov eax, dword [ebp - 0x24c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004270b0
mov esp, ebp
pop ebp
ret