joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4538dc
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push edi
mov edi, ecx
cmp dword [edi + 0x60], 0
jne 0x4538ec
xor al, al
jmp 0x453956
push ebx
mov ebx, dword [ebp + 8]
test ebx, ebx
js 0x4538f9
cmp ebx, dword [edi + 0x60]
jl 0x4538fb
xor ebx, ebx
cmp ebx, dword [edi + 0x6c]
je 0x453953
mov eax, dword [edi + 0x68]
push esi
push ecx
mov esi, dword [eax + ebx*4]
mov ecx, esi
mov eax, dword [edi + 0x54]
sub eax, dword [edi + 0x4c]
push eax
mov eax, dword [edi + 0x50]
sub eax, dword [edi + 0x48]
push eax
push dword [edi + 0x4c]
push dword [edi + 0x48]
call fcn.0043356a
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [edi + 0x6c]
pop esi
test ecx, ecx
js 0x453950
mov eax, dword [edi + 0x68]
push 0
mov eax, dword [eax + ecx*4]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov dword [edi + 0x6c], ebx
mov al, 1
pop ebx
pop edi
pop ebp
ret 4

Function at 0x45511b
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
xor esi, esi
mov edi, ecx
push esi
push dword [ebp + 0xc]
push ebx
jmp 0x455147
cmp eax, 0xffffffff
je 0x455153
add esi, eax
cmp esi, dword [ebp + 0xc]
je 0x455153
mov eax, dword [ebp + 0xc]
push 0
sub eax, esi
push eax
lea eax, [esi + ebx]
push eax
push dword [edi]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jne 0x45512f
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x455302
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push dword [ebp + 0x10]
mov esi, ecx
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
push dword [ebp + 8]
call fcn.004bd871
test al, al
jne 0x455325
xor al, al
jmp 0x4553d2
lea ecx, [esi + 0x30]
mov eax, dword [ecx]
push 0x50000000
push 0x7550
push esi
call dword [eax + 8]
test al, al
je 0x45531e
lea ecx, [esi + 0x4c]
mov eax, dword [ecx]
push 0x51203144
push 0x7551
push esi
mov dword [ebp + 0x10], ecx
call dword [eax + 8]
test al, al
je 0x45531e
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 0x41b0001
push 0
push 0x445
push dword [esi + 0x50]
call edi
push 0
push 1
push 0x45b
push dword [esi + 0x50]
call edi
mov esi, dword [0x520a3c]
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x48]
push eax
mov eax, dword [esi]
sub esp, 0xc
mov ecx, esi
call dword [eax + 0x50]
push eax
push ecx
mov ecx, dword [ebp + 0x10]
call fcn.004c67dc
mov esi, dword [ebp - 4]
push 0xffffffffffffffff
push 0
push 0x435
push dword [esi + 0x50]
call edi
push 1
push 2
push 0x44d
push dword [esi + 0x50]
call edi
xor eax, eax
push eax
push eax
push esi
push 0x455593
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov al, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x455ed7
Capabilities:
Connect socket
Connect udp socket
Create udp socket
Resolve dns

Disassembly:
push 0x24
mov eax, 0x4cebe7
call fcn.004019a4
mov dword [ebp - 0x24], ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x30]
and dword [ebp - 0x30], 0
mov edx, 0x4ef644
cmp dword [eax + 4], 0
cmovne edx, dword [eax + 4]
push edx
call fcn.0041ea35
push 0x10
lea eax, [ebp - 0x20]
push 0
push eax
call dword [sym.imp.msvcrt.dll_memset]
mov esi, dword [ebp - 0x2c]
add esp, 0xc
mov edi, 0x4dbde7
test esi, esi
push 2
pop eax
mov word [ebp - 0x20], ax
mov eax, edi
cmovne eax, esi
push eax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [ebp - 0x28], eax
cmp eax, 0xffffffff
je 0x455f41
push 4
lea eax, [ebp - 0x28]
push eax
jmp 0x455f5b
test esi, esi
cmovne edi, esi
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x455f99
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
push ecx
push dword [eax]
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
push 0
xor ebx, ebx
mov word [ebp - 0x1e], ax
inc ebx
push ebx
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [ebp - 0x24]
push 0x10
mov dword [ecx], eax
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
jns 0x455f9b
xor bl, bl
or dword [ebp - 4], 0xffffffff
test esi, esi
je 0x455fab
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov al, bl
call fcn.00401a27
ret 8
Function at 0x45685a
Capabilities:
Receive data
Receive data on socket

Disassembly:
push 0x24
mov eax, 0x4ced03
call fcn.0040193b
mov dword [ebp - 0x14], ecx
mov edi, 0x11000
mov ebx, 0x90312
push edi
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
push edi
mov esi, eax
push 0
push esi
mov dword [ebp - 0x20], esi
call dword [sym.imp.msvcrt.dll_memset]
add esp, 0x10
mov dword [ebp - 0x1c], edi
and dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
push 0x64
call fcn.00456ec2
push 0x64
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00456ec2
mov edi, dword [ebp - 0x28]
xor eax, eax
mov dword [ebp - 0x10], eax
cmp ebx, 0x90312
je 0x4568cf
cmp ebx, 0x80090318
je 0x4568cf
cmp ebx, 0x90320
jne 0x4569e0
mov ebx, dword [ebp - 0x14]
add eax, esi
push 0
push 0x10000
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x4569e4
cmp eax, 0xffffffff
je 0x4569e4
mov edx, dword [ebp - 0x10]
xor ecx, ecx
add edx, eax
mov eax, dword [ebp - 0x30]
push 2
mov dword [ebp - 0x10], edx
mov dword [eax + 4], 2
mov dword [eax], edx
lea edx, [ebx + 0x824]
mov dword [eax + 8], esi
lea esi, [ebx + 0x82c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0xc], ecx
mov dword [eax + 0x14], ecx
mov dword [ebx + 0x834], eax
pop eax
mov dword [ebx + 0x830], eax
mov dword [esi], ecx
mov dword [edi + 8], ecx
mov dword [edi + 4], eax
mov dword [edi], ecx
mov dword [edi + 0x10], ecx
mov dword [edi + 0xc], ecx
mov dword [edi + 0x14], ecx
mov dword [ebx + 0x83c], eax
lea eax, [ebx + 0x838]
push 0
mov dword [eax], ecx
mov dword [ebx + 0x840], edi
lea edi, [ebp - 0x18]
push edi
push eax
mov dword [ebp - 0x18], ecx
xor edi, edi
mov cl, byte [ebx + 0x818]
mov eax, edx
test cl, cl
cmovne eax, edi
push eax
push edi
xor eax, eax
test cl, cl
push 0x100
push esi
cmovne eax, edx
push eax
lea eax, [ebx + 0x81c]
push eax
call dword [sym.imp.Secur32.dll_AcceptSecurityContext]
mov ecx, dword [ebp - 0x14]
mov ebx, eax
mov edi, dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov byte [ecx + 0x818], 1
cmp ebx, 0x80090318
je 0x4568b3
xor edx, edx
mov dword [ebp - 0x10], edx
test ebx, ebx
js 0x4569e4
push dword [edi]
push dword [edi + 8]
call fcn.0045511b
push dword [edi + 8]
mov esi, eax
call dword [sym.imp.Secur32.dll_FreeContextBuffer]
cmp esi, dword [edi]
jne 0x4569e4
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
test ebx, ebx
jne 0x4568b3
xor ebx, ebx
jmp 0x4569e7
or ebx, 0xffffffff
mov byte [ebp - 4], 1
mov esi, dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
test edi, edi
je 0x4569f9
push edi
call esi
pop ecx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x456a08
push eax
call esi
pop ecx
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x456a17
push eax
call esi
pop ecx
mov eax, ebx
call fcn.00401a13
ret
Function at 0x456a1f
Capabilities:
Create new key via cryptacquirecontext

Disassembly:
push 0x43c
mov eax, 0x4ced1e
call fcn.004019da
xor ebx, ebx
lea eax, [ebp - 0x3ff]
push 0x3e7
push ebx
mov dword [ebp - 4], ebx
push eax
mov dword [ebp - 0x414], ebx
mov dword [ebp - 0x418], ebx
mov dword [ebp - 0x41c], ebx
mov byte [ebp - 0x400], bl
call sub.msvcrt.dll_memset
add esp, 0xc
mov dword [ebp - 0x420], 0x3e8
lea eax, [ebp - 0x400]
xor esi, esi
mov dword [ebp - 0x41c], eax
inc esi
lea eax, [ebp - 0x420]
push ebx
push eax
lea eax, [ebp - 0x400]
push eax
push ebx
push ebx
push str.CNCertificate
push esi
call dword [sym.imp.CRYPT32.dll_CertStrToNameW]
test eax, eax
jne 0x456aa1
push ebx
push ebx
call sub.msvcrt.dll__CxxThrowException
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
lea eax, [ebp - 0x414]
push 0x28
push esi
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.Container
push eax
call edi
test eax, eax
jne 0x456aef
mov esi, dword [sym.imp.KERNEL32.DLL_GetLastError]
call esi
call esi
cmp eax, 0x8009000f
jne 0x456a9a
push 0x20
xor esi, esi
lea eax, [ebp - 0x414]
inc esi
push esi
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push str.Container
push eax
call edi
test eax, eax
je 0x456a9a
lea eax, [ebp - 0x418]
push eax
push esi
push esi
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CryptGenKey]
test eax, eax
je 0x456a9a
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x444]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x448], str.Container
push eax
mov dword [ebp - 0x444], str.Microsoft_Base_Cryptographic_Provider_v1.0
mov dword [ebp - 0x440], esi
mov dword [ebp - 0x43c], esi
mov dword [ebp - 0x430], esi
call dword [sym.imp.KERNEL32.DLL_GetSystemTime]
inc word [ebp - 0x410]
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x410]
mov dword [ebp - 0x42c], ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x448]
mov dword [ebp - 0x428], ebx
push eax
push ebx
lea eax, [ebp - 0x420]
push eax
push dword [ebp - 0x414]
call dword [sym.imp.CRYPT32.dll_CertCreateSelfSignCertificate]
push ebx
mov esi, eax
push 2
push esi
call dword [sym.imp.CRYPT32.dll_CryptFindCertificateKeyProvInfo]
cmp dword [ebp - 0x418], 0
je 0x456ba7
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
cmp dword [ebp - 0x414], 0
mov dword [ebp - 0x418], ebx
je 0x456bc3
push ebx
push dword [ebp - 0x414]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, esi
call fcn.00401a36
ret
Function at 0x4570cb
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ced7f
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x448], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x460]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x2c], esi
xor ebx, ebx
push ebx
push ebx
push 0x1009
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], 4
mov dword [esp + 0x40], ebx
mov dword [esp + 0x30], vtable.micro::utils::QArray_int_.0
push ecx
lea eax, [esp + 0x34]
mov dword [esp + 0x46c], ebx
push eax
call fcn.004572de
test eax, eax
jne 0x4572a9
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
test eax, eax
jle 0x4572a9
mov eax, dword [esp + 0x40]
mov eax, dword [eax + ebx*4]
push eax
push 0
push 0x400
mov dword [esp + 0x34], eax
call dword [sym.imp.KERNEL32.DLL_OpenProcess]
mov dword [esp + 0x18], eax
test eax, eax
je 0x45729e
push 0
push 0
push 0x1004
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_SendMessageW]
and dword [esp + 0x14], 0
mov edi, eax
mov dword [esp + 0x10], vtable.micro::utils::QString.0
push edi
lea eax, [esp + 0x14]
mov byte [esp + 0x46c], 1
push 0x4ddd5c
push eax
call fcn.004ba5ae
add esp, 0xc
mov eax, 0x4ef644
cmp dword [esp + 0x14], 0
cmovne eax, dword [esp + 0x14]
add esi, 0x2c
push eax
push edi
mov ecx, esi
call fcn.00437982
push dword [esp + 0x28]
lea eax, [esp + 0x14]
push 0x4e4e14
push eax
call fcn.004ba5ae
add esp, 0xc
lea eax, [esp + 0x44]
push 0x208
push eax
push dword [esp + 0x20]
call dword [sym.imp.KERNEL32.DLL_K32GetProcessImageFileNameW]
push 0xffffffffffffffff
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
lea ecx, [esp + 0x24]
call fcn.004b9d49
cmp dword [esp + 0x14], 0
mov eax, 0x4ef644
mov ecx, esi
cmovne eax, dword [esp + 0x14]
push eax
push 1
push edi
call fcn.00430896
cmp dword [esp + 0x20], 0
mov eax, 0x4ef644
mov ecx, esi
cmovne eax, dword [esp + 0x20]
push eax
push 2
push edi
call fcn.00430896
lea eax, [esp + 0x44]
mov ecx, esi
push eax
push 3
push edi
call fcn.00430896
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov edi, vtable.micro::utils::QString.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004b9e50
mov byte [esp + 0x468], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], edi
call fcn.004b9e50
mov esi, dword [esp + 0x2c]
inc ebx
cmp ebx, dword [esp + 0x24]
jl 0x457169
or dword [esp + 0x468], 0xffffffff
lea ecx, [esp + 0x30]
call fcn.004044fd
mov ecx, dword [esp + 0x460]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x448]
xor ecx, esp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x4572de
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 8]
mov ecx, ebx
push esi
push edi
xor edi, edi
push dword [ebx + 8]
mov eax, dword [ebx]
push edi
call dword [eax + 4]
xor ecx, ecx
mov eax, 0x400
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call dword [sym.imp.msvcrt.dll_void____cdecl_operator_new___unsigned_int_]
mov esi, eax
mov dword [ebp + 8], edi
pop ecx
lea eax, [ebp + 8]
mov dword [ebp - 8], esi
push eax
push 0x1000
push esi
call dword [sym.imp.KERNEL32.DLL_K32EnumProcesses]
test eax, eax
je 0x457367
mov eax, dword [ebp + 8]
mov ecx, edi
shr eax, 2
mov dword [ebp - 4], ecx
test eax, eax
jle 0x45736f
mov edi, eax
mov esi, dword [esi + ecx*4]
mov ecx, ebx
call fcn.004044cb
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 0x10]
mov dword [eax + ecx*4], esi
mov ecx, dword [ebp - 4]
inc dword [ebx + 8]
inc ecx
mov esi, dword [ebp - 8]
mov dword [ebp - 4], ecx
cmp ecx, edi
jl 0x45733f
xor edi, edi
jmp 0x45736f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
push esi
call dword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void__]
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4592a6
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x14]
lea ecx, [ebp - 0x108]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x110], 0xa
mov dword [ebp - 0x10c], edi
lea esi, [ebp - 0x110]
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x108], 1
mov eax, dword [eax + 0x124]
test al, 1
push esi
cmove ecx, edi
test al, 2
push edi
lea eax, [ebp - 0x108]
cmove eax, edi
push eax
push ecx
lea eax, [edx + 1]
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x45bf42
Capabilities:
Capture screenshot

Disassembly:
push 0x1c
mov eax, 0x4cf520
call fcn.0040193b
mov edi, ecx
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_GetDC]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 1
mov dword [ebp - 0x1c], eax
call esi
push ebx
mov dword [ebp - 0x10], eax
call esi
mov esi, dword [ebp - 0x1c]
push esi
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [edi + 0xc], eax
cmp dword [edi + 0x10], ebx
jne 0x45bf91
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x10], eax
push dword [edi + 0x10]
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xcc0020
push ebx
push ebx
push esi
push dword [ebp - 0x10]
mov dword [edi + 0x14], eax
push dword [ebp - 0x14]
push ebx
push ebx
push dword [edi + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
push esi
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], ebx
push eax
mov dword [ebp - 0x24], ebx
call dword [sym.imp.msvcrt.dll__time64]
pop ecx
mov dword [ebp - 0x18], vtable.micro::utils::QString.0
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x18]
push dword [ebp - 0x24]
mov edx, 0x4e94f4
push dword [ebp - 0x28]
call fcn.004bc898
pop ecx
pop ecx
test al, al
je 0x45c03c
push 1
push ecx
push ecx
lea eax, [ebp - 0x18]
mov ecx, esp
push eax
mov edx, edi
call fcn.0040e5bc
pop ecx
mov edx, 0x4e94e0
lea ecx, [ebp - 0x20]
call fcn.004066c4
pop ecx
pop ecx
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [edi + 0x10]
call fcn.004c5c81
pop ecx
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], vtable.micro::utils::QString.0
call fcn.004b9e50
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x18], vtable.micro::utils::QString.0
call fcn.004b9e50
mov al, bl
call fcn.00401a13
ret
Function at 0x45e363
Capabilities:
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ecx + 0x1c]
mov edx, dword [ecx + 0x14]
lea ecx, [ebp - 0x108]
push esi
push edi
xor edi, edi
mov dword [ebp - 0x104], edx
mov dword [ebp - 0x110], 0xa
lea esi, [ebp - 0x108]
mov dword [ebp - 0x10c], edi
mov dword [ebp - 0x108], 1
mov eax, dword [eax + 0x124]
test al, 1
cmove esi, edi
test al, 2
cmove ecx, edi
cmp edx, 0xffffffff
lea edx, [ebp - 0x110]
push edx
push edi
setne al
push ecx
movzx eax, al
push esi
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x46537c
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
inc eax
mov ebx, ecx
push eax
push 0x2002
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x465423
push edi
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
mov edi, eax
test edi, edi
je 0x465422
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
call dword [sym.imp.msvcrt.dll_memcpy]
mov eax, dword [ebp + 0xc]
add esp, 0xc
push esi
mov byte [edi + eax], 0
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
cmp dword [ebp + 0x10], 0
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x4653e3
push 0
push 1
push 0x8002
push dword [ebx + 0xc]
call edi
push dword [ebx + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x465407
call dword [sym.imp.USER32.dll_EmptyClipboard]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x46540e
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
cmp dword [ebp + 0x10], 0
jne 0x465422
push 0
push 0
push 0x8002
push dword [ebx + 0xc]
call edi
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x465429
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0x10]
xor eax, eax
push esi
push edi
push eax
push eax
push eax
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 4], ecx
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov edi, eax
lea eax, [ebx + ebx]
mov dword [ebp - 0x10], edi
push eax
push 0x2002
mov dword [ebp - 8], eax
call esi
push edi
push 0x2002
mov ebx, eax
call esi
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov edi, eax
test ebx, ebx
je 0x46554b
push ebx
test edi, edi
je 0x465549
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalLock]
call esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x465552
push edi
call esi
mov esi, eax
test esi, esi
je 0x465552
push dword [ebp - 8]
push dword [ebp + 8]
push dword [ebp - 0xc]
call dword [sym.imp.msvcrt.dll_memcpy]
add esp, 0xc
xor eax, eax
push eax
push eax
push dword [ebp - 0x10]
push esi
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_WideCharToMultiByte]
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
push ebx
call esi
push edi
call esi
cmp dword [ebp + 0x14], 0
mov esi, dword [ebp - 4]
jne 0x4654f5
push 0
push 1
push 0x8002
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x465520
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push ebx
push 0xd
call esi
push edi
push 1
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x46552c
mov esi, dword [sym.imp.KERNEL32.DLL_GlobalFree]
push ebx
call esi
push edi
call esi
cmp dword [ebp + 0x14], 0
jne 0x465552
mov eax, dword [ebp - 4]
push 0
push 0
push 0x8002
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x465552
call esi
test edi, edi
je 0x465552
push edi
call esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x46569d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push ecx
push 0x46555b
push eax
push eax
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov esp, ebp
pop ebp
ret
Function at 0x46ce5c
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d094e
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0x18], 0
mov edi, vtable.micro::utils::QString.0
mov dword [esp + 0x14], edi
and dword [esp + 0x100], 0
lea ecx, [esp + 0x14]
push 0x24
call fcn.004ba61f
push 0xffffffffffffffff
push 0x4eb2f4
lea ecx, [esp + 0x24]
call fcn.004b9d49
push 0x11
push 9
push esi
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
lea eax, [esp + 0x24]
inc ebx
push eax
lea eax, [esi + 8]
mov byte [esp + 0x114], bl
push eax
push dword [0x520a38]
lea ecx, [esp + 0x40]
call fcn.004c0d28
mov esi, vtable.mc::MyAskDialog.0
mov dword [esp + 0x24], esi
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004b9e50
lea ecx, [esp + 0x24]
call fcn.004c11ff
cmp eax, ebx
jne 0x46cf32
call fcn.0046cde4
test al, al
je 0x46cf32
push 0x80020003
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x46cf34
xor bl, bl
mov byte [esp + 0x100], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.004c0e60
or dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.004b9e50
mov al, bl
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x46cf76
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d094e
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0xf8]
mov dword fs:[0], eax
mov esi, ecx
and dword [esp + 0x18], 0
mov edi, vtable.micro::utils::QString.0
mov dword [esp + 0x14], edi
and dword [esp + 0x100], 0
lea ecx, [esp + 0x14]
push 0x25
call fcn.004ba61f
push 0xffffffffffffffff
push 0x4eb304
lea ecx, [esp + 0x24]
call fcn.004b9d49
push 0x11
push 9
push esi
lea eax, [esp + 0x28]
xor ebx, ebx
push eax
lea eax, [esp + 0x24]
inc ebx
push eax
lea eax, [esi + 8]
mov byte [esp + 0x114], bl
push eax
push dword [0x520a38]
lea ecx, [esp + 0x40]
call fcn.004c0d28
mov esi, vtable.mc::MyAskDialog.0
mov dword [esp + 0x24], esi
mov byte [esp + 0x100], 3
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edi
call fcn.004b9e50
lea ecx, [esp + 0x24]
call fcn.004c11ff
cmp eax, ebx
jne 0x46d04f
call fcn.0046cde4
test al, al
je 0x46d04f
push 0x80020003
push 0x400005
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x46d051
xor bl, bl
mov byte [esp + 0x100], 0
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], esi
call fcn.004c0e60
or dword [esp + 0x100], 0xffffffff
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.004b9e50
mov al, bl
mov ecx, dword [esp + 0xf8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret