joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405d10
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [0x5e936c]
sub esp, 0x3c
push edi
push 0x5be98c
xor edi, edi
mov ecx, 0x5e9358
call fcn.00407660
pop edi
test eax, eax
je 0x405d93
push esi
push 0x38
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.0050fd50
add esp, 0xc
cmp dword [0x5e9370], 8
mov dword [esp + 4], 0x3c
mov dword [esp + 8], 0x40
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], str.notepad.exe
jb 0x405d77
mov ecx, dword [0x5e935c]
mov dword [esp + 0x18], ecx
jmp 0x405d7f
mov dword [esp + 0x18], 0x5e935c
lea edx, [esp + 4]
push edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
pop esi
add esp, 0x3c
ret

Function at 0x4073e0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x57e7f8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
xor edi, edi
xor eax, eax
push 0xffffffffffffffff
mov word [esp + 0x14], ax
mov eax, dword [esp + 0x3c]
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
call fcn.004060b0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x407436
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
lea ecx, [esp + 0x10]
call fcn.00406580
xor ecx, ecx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push 0xffffffffffffffff
mov word [esi + 4], cx
push edi
mov ecx, esi
call fcn.004060b0
cmp dword [esp + 0x24], 8
jb 0x40747f
mov edx, dword [esp + 0x10]
push edx
call fcn.0040d4cc
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret

Function at 0x407a30
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x407a49
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x407a84
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x407a80
lea ebx, [ebx]
cmp esi, eax
jae 0x407a84
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x407a70
cmp esi, eax
jb 0x407a8a
pop esi
pop edi
xor eax, eax
pop ebx
ret
movzx eax, word [esi]
neg eax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x40b840
Capabilities:
Get session information
Get session user name

Disassembly:
sub esp, 8
push esi
mov dword [esp + 8], 0x80
call fcn.0040b7b0
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 8]
push edx
push 5
push eax
push 0
mov dword [esp + 0x18], 0
call sub.WTSAPI32.dll_WTSQuerySessionInformationW
mov esi, eax
test esi, esi
je 0x40b8ac
mov edx, dword [esp + 4]
test edx, edx
jne 0x40b87f
xor eax, eax
jmp 0x40b895
mov eax, edx
push edi
lea edi, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b885
sub eax, edi
sar eax, 1
pop edi
mov ecx, dword [esp + 0x10]
push eax
push edx
call fcn.00408080
mov eax, dword [esp + 4]
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, esi
pop esi
add esp, 8
ret

Function at 0x40b8c0
Capabilities:
Get user security identifier

Disassembly:
sub esp, 0xc
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push ebp
mov ebp, dword [esp + 0x18]
push esi
lea eax, [esp + 0x14]
push eax
xor esi, esi
lea ecx, [esp + 0x14]
push ecx
push esi
lea edx, [esp + 0x18]
push edx
push esi
push ebp
push esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
call ebx
cmp dword [esp + 0xc], esi
jbe 0x40b953
mov eax, dword [esp + 0x10]
xor ecx, ecx
add eax, 2
mov edx, 2
mul edx
seto cl
push edi
neg ecx
or ecx, eax
push ecx
call fcn.0040d4d7
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
call fcn.0040d4d7
add esp, 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
push edi
mov esi, eax
lea eax, [esp + 0x1c]
push eax
push esi
push ebp
push 0
call ebx
test eax, eax
jne 0x40b949
push esi
call fcn.0040d4cc
add esp, 4
xor esi, esi
push edi
call fcn.0040d4cc
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x40b960
Capabilities:
Compare security identifiers
Enumerate processes on remote desktop session host

Disassembly:
sub esp, 0x10
push esi
push edi
push eax
call fcn.0040b8c0
mov esi, eax
xor edi, edi
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, edi
jne 0x40b982
pop edi
xor eax, eax
pop esi
add esp, 0x10
ret
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x10]
push edx
push 1
push edi
push edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], edi
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
test eax, eax
je 0x40ba39
push ebx
xor ebx, ebx
cmp dword [esp + 0xc], edi
jbe 0x40ba2a
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_OpenProcess]
jmp 0x40b9c4
mov esi, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
cmp dword [edi + eax + 4], 5
jb 0x40ba17
mov eax, dword [edi + eax + 0xc]
test eax, eax
je 0x40ba17
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
je 0x40ba17
mov eax, dword [esp + 0x14]
mov ecx, dword [edi + eax + 4]
push ecx
push 0
push 0x1fffff
call ebp
mov esi, eax
test esi, esi
je 0x40ba17
lea edx, [esp + 0x1c]
push edx
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
push esi
test eax, eax
jne 0x40ba23
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
add edi, 0x10
cmp ebx, dword [esp + 0x10]
jb 0x40b9c0
jmp 0x40ba29
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebp
mov eax, dword [esp + 0x10]
push eax
call sub.WTSAPI32.dll_WTSFreeMemory
mov esi, dword [esp + 0x14]
pop ebx
push esi
call fcn.0040d4cc
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
add esp, 0x10
ret
Function at 0x40cc10
Capabilities:
Create thread
Print debug messages

Disassembly:
push 0xffffffffffffffff
push 0x57f2c8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5e68f0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
lea edi, [ebp + 0x7c]
mov ebx, edi
xor esi, esi
call fcn.00402ba0
test eax, eax
je 0x40cc50
mov esi, 1
push edi
call fcn.00402d70
test eax, eax
je 0x40ccad
cmp dword [edi + 0xf4], 8
jb 0x40cc6b
mov eax, dword [edi + 0xe0]
jmp 0x40cc71
lea eax, [edi + 0xe0]
push eax
push 0xa
push 0x3e8
call fcn.00402300
test eax, eax
je 0x40ccad
call fcn.004028e0
call fcn.00402870
test esi, esi
je 0x40ccbe
cmp dword [edi + 0x7c], 1
jne 0x40cce7
push 0x5c0568
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebp
call fcn.0040d656
jmp 0x40ce7f
mov ecx, ebp
call fcn.0040d656
push 0x5c0550
jmp 0x40ce79
mov eax, dword [edi + 0x7c]
cmp eax, 1
je 0x40cce7
cmp eax, 3
je 0x40cce7
cmp eax, 2
jne 0x40cce7
push 0x5c0584
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebp
call fcn.0040d656
jmp 0x40ce7f
mov eax, dword [edi + 0x7c]
cmp eax, 1
je 0x40cd02
cmp eax, 3
je 0x40ccfd
cmp eax, 2
jne 0x40ccfd
test esi, esi
jne 0x40cd1b
cmp eax, 1
jne 0x40cd06
test esi, esi
je 0x40cd1b
cmp dword [ebp + 0xf8], 3
jne 0x40ce6d
test esi, esi
je 0x40ce6d
mov ebx, ebp
call fcn.0040cea0
test eax, eax
jne 0x40cd3d
push 0x5c05a8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebp
call fcn.0040d656
jmp 0x40ce7f
mov eax, dword [edi + 0x7c]
mov ebx, dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, 1
je 0x40cd69
cmp eax, 3
je 0x40cd69
cmp eax, 2
jne 0x40cd69
test esi, esi
je 0x40cdcc
push 0
push 0
push edi
push 0x402860
push 0
push 0
call ebx
cmp dword [ebp + 0xfc], 2
jne 0x40ce54
mov esi, ebp
call fcn.0040d160
cmp dword [ebp + 0xf8], 3
jne 0x40cddd
push 0x5c05f4
lea ecx, [esp + 0x18]
call fcn.00407d30
push 0x5c0600
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 0
call fcn.00407d30
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x34]
mov ecx, ebp
call fcn.0040d210
lea ecx, [esp + 0x30]
call fcn.00401790
lea ecx, [esp + 0x14]
jmp 0x40ce4f
mov ecx, ebp
call fcn.0040d656
push 0x5c05d8
jmp 0x40ce79
mov eax, edi
call fcn.00402f40
push 0x5c061c
test eax, eax
je 0x40ce13
lea ecx, [esp + 0x18]
call fcn.00407d30
push 0x5c0628
lea ecx, [esp + 0x34]
mov dword [esp + 0x2c], 1
call fcn.00407d30
lea ecx, [esp + 0x14]
push ecx
jmp 0x40cdaf
lea ecx, [esp + 0x20]
call fcn.00407d30
push str.ck_W
lea ecx, [esp + 0x1c]
mov dword [esp + 0x2c], 2
call fcn.00407d30
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x1c]
mov ecx, ebp
call fcn.0040d210
lea ecx, [esp + 0x18]
call fcn.00401790
lea ecx, [esp + 0x1c]
call fcn.00401790
mov eax, edi
call fcn.00402f40
test eax, eax
jne 0x40ce7f
push eax
push eax
push edi
push 0x4023e0
push eax
push eax
call ebx
jmp 0x40ce7f
mov ecx, ebp
call fcn.0040d656
push 0x5c05c0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x40de93
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor ebx, ebx
call fcn.0041a5ff
mov esi, dword [eax + 0xc]
push 5
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x40decc
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov ecx, dword [ebp - 4]
push esi
push dword [ebp + 0xc]
push ebx
call fcn.0040dadf
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 8

Function at 0x414e5a
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 0x414ea1
call fcn.0041a5ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x414ea1
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x414ebd
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.004149d2
mov esi, eax
test edi, edi
je 0x414ebb
test ebx, ebx
je 0x414ebb
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x4156be
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x5798cc
call fcn.005101b0
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x4156e3
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x415729
lea ecx, [ebp - 0x10]
call fcn.00401760
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00450519
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.004017b0
mov eax, esi
call fcn.00510288
ret 8
Function at 0x41d6e3
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x41d72b
call fcn.0041a5ff
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x41d72b
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x41d76e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x41d757
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x41d757
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x41d76b
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x427283
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5e68f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push edi
mov edi, dword [ebp + 8]
lea eax, [edi - 0x60]
mov ebx, 0x8000
cmp eax, 9
ja 0x4272bc
push 0x12
call esi
mov ecx, ebx
test cx, ax
je 0x4272e3
cmp dword [0x5eb8b8], 0
jne 0x4272e3
lea eax, [edi - 0x41]
cmp eax, 0x19
jbe 0x4272d6
push 0x12
call esi
test bx, ax
je 0x4272da
mov eax, edi
jmp 0x427352
push edi
call fcn.0051342b
pop ecx
jmp 0x427352
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0050fd50
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
jne 0x42730c
call fcn.00418981
call fcn.0041e26e
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push edi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push edi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050c2f2
leave
ret 4
Function at 0x43724b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
movzx ebx, word [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
jne 0x437265
call fcn.00418981
call fcn.0041a5ff
mov esi, dword [eax + 0xc]
push 0xf1
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
jne 0x437285
xor eax, eax
jmp 0x4373a0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0xc], eax
test eax, eax
je 0x43727e
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x43727e
movzx eax, word [esi + 6]
xor ecx, ecx
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040d49d
pop ecx
mov dword [ebp - 8], eax
test eax, eax
je 0x437260
cmp dword [ebp + 0x10], 0
movzx ecx, word [esi + 4]
movzx eax, word [esi + 2]
push ecx
push eax
lea ebx, [ecx + 6]
lea edx, [eax + 6]
push ebx
push edx
je 0x4372e2
mov ecx, edi
call fcn.0042fde2
jmp 0x4372e7
call fcn.0042fccc
mov eax, dword [ebp + 0xc]
xor ebx, ebx
inc ebx
cmp dword [eax + 4], 0
jne 0x4372f9
mov ecx, dword [ebp + 8]
mov dword [eax + 4], ecx
cmp dword [edi + 0xbe0], 0
jne 0x437314
push dword [ebp + 0x10]
mov edx, dword [edi]
push eax
mov ecx, edi
call dword [edx + 0x310]
test eax, eax
je 0x43738c
mov eax, dword [edi + 0xad0]
mov dword [ebp + 0xc], eax
xor eax, eax
xor ebx, ebx
cmp ax, word [esi + 6]
jae 0x437363
lea eax, [esi + 8]
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp - 4]
movzx eax, word [eax]
mov ecx, dword [ebp - 8]
mov dword [ecx + ebx*4], eax
jne 0x437356
test eax, eax
jbe 0x437356
push eax
mov ecx, 0x5e31dc
call fcn.0047fc52
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
mov dword [eax], ecx
movzx eax, word [esi + 6]
add dword [ebp - 4], 2
inc ebx
cmp ebx, eax
jl 0x43732d
mov eax, dword [ebp + 8]
mov dword [edi + 0xbe0], eax
movzx ecx, word [esi + 6]
mov eax, dword [edi]
push 1
push ecx
push dword [ebp - 8]
mov ecx, edi
call dword [eax + 0x318]
mov ebx, eax
test ebx, ebx
jne 0x43738c
and dword [edi + 0xbe0], eax
push dword [ebp - 8]
call fcn.0040d4cc
pop ecx
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x43cd8d
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
mov ebx, ecx
mov ecx, dword [ebx + 0xe4]
mov dword [ebp - 4], ebx
test ecx, ecx
je 0x43cece
push esi
push edi
push 0x58a390
call fcn.0041f7ef
mov edi, eax
neg edi
sbb edi, edi
inc edi
cmp dword [ebp + 8], 0
je 0x43ce1d
mov esi, dword [ebx + 0x168]
jmp 0x43ce09
mov eax, esi
mov edi, dword [eax + 8]
mov esi, dword [esi]
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43ce09
push edi
call fcn.00411a24
push eax
push 0x5e3f50
call fcn.0041f80d
pop ecx
pop ecx
test eax, eax
je 0x43ce09
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x178]
test eax, eax
jle 0x43ce09
push 4
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
test esi, esi
jne 0x43cdc9
lea ecx, [ebx + 0x164]
call fcn.004d986c
jmp 0x43cecc
mov eax, dword [ebx + 0xcc]
mov dword [ebp - 8], eax
test eax, eax
je 0x43cecc
jmp 0x43ce33
mov ebx, dword [ebp - 4]
lea eax, [ebp - 8]
push eax
lea ecx, [ebx + 0xc8]
call fcn.0041c565
mov esi, dword [eax]
test esi, esi
jne 0x43ce4c
xor ebx, ebx
jmp 0x43ce4f
mov ebx, dword [esi + 0x20]
push ebx
mov dword [ebp + 8], ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43cec2
push ebx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x43cec2
test edi, edi
je 0x43ce94
push esi
push 0x5e3f50
call fcn.0041f80d
mov edx, dword [eax]
pop ecx
pop ecx
mov ecx, eax
call dword [edx + 0x180]
push eax
push 0x594984
call fcn.0041f80d
pop ecx
pop ecx
test eax, eax
je 0x43cec2
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [ebp - 4]
push 0
lea eax, [ebp + 8]
add esi, 0x164
push eax
mov ecx, esi
call fcn.0043c2df
test eax, eax
jne 0x43cec2
lea eax, [ebp + 8]
push eax
mov ecx, esi
call fcn.0043c2af
cmp dword [ebp - 8], 0
jne 0x43ce30
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x44147e
Capabilities:
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x5e68f0]
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]
or ecx, 0x2001f
push ecx
push eax
push dword [edi]
xor esi, esi
lea ecx, [ebp - 0x20c]
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x208], esi
call fcn.00440f2c
mov ebx, eax
cmp ebx, esi
je 0x4414eb
lea ecx, [ebp - 0x20c]
call fcn.0041e251
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0050c2f2
leave
ret 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x441509
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x20c]
call fcn.0044147e
cmp eax, esi
jne 0x441550
lea eax, [ebp - 0x21c]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x20c]
mov dword [ebp - 0x210], pe_nt_image_headers32
call ebx
test eax, eax
je 0x4414f3
lea ecx, [ebp - 0x20c]
call fcn.0041e251
push dword [ebp - 0x214]
mov ecx, edi
call fcn.00440ecd
lea ecx, [ebp - 0x20c]
mov esi, eax
call fcn.0041e251
mov eax, esi
jmp 0x4414da
Function at 0x4449fb
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [0x5eb620], 0
mov dword [ebp - 4], ecx
jne 0x444a11
xor eax, eax
jmp 0x444a4b
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x444a21
call fcn.0041a5ff
mov esi, dword [eax + 0xc]
push edi
push dword [0x5ec3a0]
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x444a47
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x444a4f
xor eax, eax
pop edi
pop esi
leave
ret 8
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
jne 0x444a6d
xor esi, esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop ebx
jmp 0x444a49
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 4]
push eax
push ebx
call fcn.0044491d
mov esi, eax
jmp 0x444a5f
Function at 0x446373
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0x54
mov eax, 0x571955
call fcn.005101e3
mov esi, ecx
xor ebx, ebx
push ebx
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], ebx
call fcn.00417385
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.00416b70
push ebx
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 2
call fcn.00401640
mov edi, vtable.CBitmap.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edi
push dword [esi + 0x54]
lea eax, [ebp - 0x60]
push dword [esi + 0x50]
lea ecx, [ebp - 0x20]
push eax
mov byte [ebp - 4], 3
call fcn.00401610
cmp eax, ebx
jne 0x44640a
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00417fb6
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00401a20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004172dd
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004173d9
xor eax, eax
call fcn.00510288
ret 4
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x3c]
call fcn.004015e0
mov ecx, dword [esi + 0x50]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x40], eax
push 0x5eb53c
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x44], ecx
push eax
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x48], ebx
call fcn.00416b50
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], ebx
mov dword [eax + 4], ebx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x18], esp
push eax
mov ecx, esi
call fcn.00443fdf
push 0xff
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x3c]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.0044580d
lea eax, [ebp - 0x2c]
push eax
mov ecx, esi
call fcn.00442732
push dword [ebp - 0x14]
lea ecx, [ebp - 0x3c]
call fcn.004015e0
call fcn.0040d687
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4463cd
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x4464bc
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00417fb6
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4463da
lea ecx, [ebp - 0x20]
call fcn.0041755c
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp eax, ebx
jne 0x4464de
push 0xffffffffffffffff
push ebx
push 0x3e8a
call fcn.00417fb6
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [ebp - 0x20], edi
call fcn.00401a20
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 1
call fcn.004172dd
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], bl
call fcn.004173d9
xor eax, eax
inc eax
jmp 0x446402