joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41fa82
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x41fb1f
push ebx
push esi
call fcn.0041fa4b
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.0041e82c
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x41facc
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41fb1e
push edi
push eax
call fcn.004193ad
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x41faec
call fcn.0041858f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x41fb1d
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0041e82c
add esp, 0x20
test eax, eax
jne 0x41fb0b
push edi
call fcn.0041858f
jmp 0x41fb13
push ebx
call fcn.0041858f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x426e50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x426e7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x426e7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x428000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
sub esp, 0x14
mov ecx, dword [ebp + 8]
sub eax, ecx
sar eax, 2
push esi
push edi
test eax, eax
je 0x4280d1
xor edi, edi
mov esi, edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
mov al, byte [esi + 0x4633b0]
mov edx, str.Own_head
xor al, 0x73
sub al, 0x6c
xor al, 0x74
mov byte [esi + 0x4633b0], al
call fcn.00404768
push eax
call fcn.00404928
mov al, byte [esi + 0x4633b0]
mov edx, str.Earth
add al, 0x4e
xor al, 0xdc
pop ecx
mov byte [esi + 0x4633b0], al
call fcn.00404768
push eax
call fcn.00404928
mov al, byte [esi + 0x4633b0]
xor al, 0xac
mov dword [esp], 0x430db8
sub al, 0x65
xor al, 0x22
sub al, 0x73
mov byte [esi + 0x4633b0], al
call fcn.00411bcd
pop ecx
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 4]
push eax
push edi
call fcn.00405922
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
xor byte [esi + 0x4633b0], al
mov eax, dword [ebp - 8]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004051ef
inc esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
pop ecx
pop ecx
cmp esi, 0x4ac
jb 0x428028
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x4280e6
mov eax, dword [ebp + 0x10]
sub eax, ecx
and eax, 0xfffffffc
push eax
push ecx
call fcn.004051ef
pop ecx
pop ecx
pop edi
pop esi
leave
ret 0x14

Function at 0x428706
Capabilities:
Create thread

Disassembly:
xor eax, eax
push eax
push eax
push eax
push 0x428614
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x402f29
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x402f4a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x402f4a
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x28], 0
je 0x402fa5
push 0x1388
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x402f98
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], 1
jb 0x402f8d
push 0x5cbc24
push 0x5cbc98
push 0x66
push 0x5cbc48
push 1
push 0x13
call fcn.0049283a
add esp, 0x18
push 1
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
pop esi
ret
Function at 0x40324d
Capabilities:
Set global application hook

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
push 0x2000000
push 1
push 0
lea ecx, [edi + 0x3c]
mov dword [ebp - 4], edi
call fcn.00402ad3
lea ecx, [edi + 0x5c]
call fcn.00402dad
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
lea ebx, [edi + 0x6c]
push 0x5ae
push dword [edi + 4]
mov dword [edi + 0x2c], 0x10028
mov byte [edi + 0x30], 1
call esi
push 0x552
push dword [edi + 4]
mov dword [ebx], eax
call esi
push 0x5af
push dword [edi + 4]
mov dword [edi + 0x70], eax
call esi
push 0x5b1
push dword [edi + 4]
mov dword [edi + 0x9c], eax
call esi
lea ecx, [edi + 0x74]
push eax
call fcn.0045ed11
push 0x40b
push dword [edi + 4]
call esi
push 0x5b5
push dword [edi + 4]
mov dword [edi + 0xa0], eax
call esi
push 0x10020
xor esi, esi
mov dword [edi + 0xa4], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0x1036
push dword [ebx]
call edi
push esi
push esi
push 0x400
mov ecx, ebx
call fcn.004030ee
push esi
push 0xf
push 0xffffffffffffffff
push esi
push 0x5cbb1c
mov ecx, ebx
call fcn.004028f6
push esi
push 0xf
push 0xffffffffffffffff
push 1
push 0x5cbb24
mov ecx, ebx
call fcn.004028f6
push esi
push 0xf
push 0xffffffffffffffff
push 2
push 0x5cbb34
mov ecx, ebx
call fcn.004028f6
push 0x41
push esi
mov esi, 0x101e
push esi
push dword [ebx]
call edi
push 0x3c
push 1
push esi
push dword [ebx]
call edi
push 0x78
push 2
push esi
push dword [ebx]
call edi
mov ecx, dword [0x65bc74]
push 0xe1
call fcn.0049de58
mov ecx, dword [0x65bc74]
mov bl, al
push 0xe2
call fcn.0049e144
mov esi, eax
movzx eax, bl
push 0
push eax
mov eax, dword [ebp - 4]
push 0xf1
push dword [eax + 0x9c]
call edi
mov edi, dword [ebp - 4]
push 1
lea ecx, [edi + 0x74]
call fcn.0045f442
push 1
push esi
lea ecx, [edi + 0x74]
call fcn.0045f462
xor eax, eax
mov esi, edi
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
test bl, bl
sete al
push eax
push dword [esi + 0x78]
call edi
push 1
mov ecx, esi
call fcn.004035ae
push 0
push dword [esi + 0xa4]
call edi
test bl, bl
jne 0x4033ec
cmp dword [esi + 0x60], 0
je 0x4033ec
push 1
push dword [esi + 0xa4]
call edi
mov dword [0x62461c], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x402fa7
push 3
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
mov ecx, esi
mov dword [0x624620], eax
call fcn.00424864
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x40de1e
Capabilities:
Hide graphical window

Disassembly:
mov eax, 0x557963
call fcn.00514868
sub esp, 0x54
lea eax, [ebp - 0x10]
push ebx
mov ebx, ecx
push eax
push dword [ebp + 8]
mov ecx, dword [ebx + 0x20]
add ecx, 8
call fcn.00436532
test al, al
je 0x40df84
xor eax, eax
push esi
push edi
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx + 0x17c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x30]
push eax
lea ecx, [ebx + 4]
call fcn.00410a0f
mov eax, dword [ebp + 8]
xor ecx, ecx
sub eax, dword [ebx + 0x11c]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
lea ecx, [ebp - 0x20]
push ecx
shr eax, 2
push eax
push 0x1038
push dword [ebx + 0x17c]
mov byte [ebx + 0x1eec], 1
mov dword [ebp - 0x1c], 2
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
add ecx, 3
push dword [ebp + 8]
add dword [ebp - 0x18], 0x64
add eax, ecx
push dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
call fcn.0049fca1
pop ecx
pop ecx
push 5
lea edi, [ebx + 0x1ef4]
mov esi, eax
push dword [edi]
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
lea eax, [ebp - 0x20]
mov ecx, edi
push eax
call fcn.0040f290
push dword [edi]
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
lea ecx, [ebp - 0x60]
call fcn.00490e4d
and dword [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0
push 0xfde9
push ecx
mov ecx, eax
call fcn.004911c5
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x40df20
mov eax, dword [eax]
push eax
push dword [edi]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x48]
push 0
push 1
call fcn.00401ffa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x60]
push 0
push 1
call fcn.00401fa5
push dword [edi]
call dword [sym.imp.USER32.dll_SetFocus]
push 0
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.00410a38
mov esi, dword [sym.imp.USER32.dll_RedrawWindow]
push 0x105
push 0
push 0
push dword [ebx + 0x17c]
call esi
push 0x105
push 0
push 0
push dword [edi]
call esi
pop edi
pop esi
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4

Function at 0x40e899
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
push 0x5cc398
push dword [esi + 0x1ef4]
mov byte [esi + 0x1eec], 0
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push dword [esi + 0x1ef4]
call dword [sym.imp.USER32.dll_ShowWindow]
pop esi
ret
Function at 0x40efba
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x40efdb
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40efdb
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x28], 0
je 0x40f036
push 0x1388
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40f029
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], 1
jb 0x40f01e
push 0x5cbc24
push 0x5cfd64
push 0x66
push 0x5cbc48
push 1
push 0x13
call fcn.0049283a
add esp, 0x18
push 1
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
pop esi
ret
Function at 0x414719
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x41473a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41473a
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x28], 0
je 0x414795
push 0x1388
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x414788
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], 1
jb 0x41477d
push 0x5cbc24
push 0x5d0104
push 0x66
push 0x5cbc48
push 1
push 0x13
call fcn.0049283a
add esp, 0x18
push 1
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
pop esi
ret

Function at 0x414d21
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
lea eax, [ecx - 0x3c]
neg esi
sbb esi, esi
and esi, eax
cmp byte [ecx + 0x1c], 0
je 0x414d64
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 0xc], 2
jne 0x414d55
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x414d6a
cmp dword [ebp + 0xc], 0
jne 0x414d64
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 0xc], 1
je 0x414d80
mov ecx, dword [ebp + 0x10]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [esi + 0x3c]
push eax
call fcn.00414305
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4151f8
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x55bbd8
call fcn.00514868
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x38], ebx
je 0x4152fc
cmp byte [esi + 0x3d], bl
je 0x4152fc
mov eax, dword [esi]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x415230
xor al, al
jmp 0x4152fe
push edi
push ebx
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
push 8
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], ebx
mov byte [ebp - 0x28], bl
call fcn.00415940
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ebx, edi
cmp eax, 0x10
jae 0x415264
lea ebx, [ebp - 0x28]
mov edi, ebx
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
add eax, ebx
mov edx, dword [ecx]
push eax
push edi
lea eax, [esi + 0x40]
push eax
call dword [edx + 0x20]
sub eax, 0
je 0x41528f
sub eax, 1
je 0x415293
dec eax
sub eax, 1
je 0x4152e5
xor bl, bl
jmp 0x4152e7
mov byte [esi + 0x3d], 0
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
mov ecx, edi
cmp eax, 0x10
jae 0x4152a3
lea ecx, [ebp - 0x28]
mov ebx, dword [ebp - 0x10]
sub ebx, ecx
je 0x4152cb
cmp eax, 0x10
jae 0x4152b2
lea edi, [ebp - 0x28]
push dword [esi + 0x4c]
push ebx
push 1
push edi
call fcn.0053c06b
add esp, 0x10
cmp ebx, eax
jne 0x41528b
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp - 0x28]
cmp byte [esi + 0x3d], 0
je 0x4152e5
test ebx, ebx
jne 0x415258
push ebx
push 8
lea ecx, [ebp - 0x28]
call fcn.004158e0
jmp 0x415252
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.00401fa5
mov al, bl
pop edi
jmp 0x4152fe
mov al, 1
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x416a4d
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x416a6e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x416a6e
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x28], 0
je 0x416ac9
push 0x1388
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x416abc
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], 1
jb 0x416ab1
push 0x5cbc24
push 0x5d0158
push 0x66
push 0x5cbc48
push 1
push 0x13
call fcn.0049283a
add esp, 0x18
push 1
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
pop esi
ret
Function at 0x417367
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x417388
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x417388
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x28], 0
je 0x4173e3
push 0x1388
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x4173d6
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], 1
jb 0x4173cb
push 0x5cbc24
push 0x5d02e4
push 0x66
push 0x5cbc48
push 1
push 0x13
call fcn.0049283a
add esp, 0x18
push 1
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
pop esi
ret

Function at 0x418fae
Capabilities:
Terminate thread

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 4], 0
je 0x418fcf
push dword [esi + 4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x418fcf
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x28], 0
je 0x41902a
push 0x1388
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41901d
mov eax, dword [0x65bc14]
cmp dword [eax + 0x4c], 1
jb 0x419012
push 0x5cbc24
push 0x5d0900
push 0x66
push 0x5cbc48
push 1
push 0x13
call fcn.0049283a
add esp, 0x18
push 1
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [esi + 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x28], 0
pop esi
ret

Function at 0x41a733
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push 0
push 0
push 0x147
push dword [ebx + 0x1fc]
call esi
push 0
push eax
push 0x150
push dword [ebx + 0x1fc]
call esi
cmp eax, 0xa
je 0x41a7ba
cmp eax, 0xb
je 0x41a7ba
cmp eax, 0xc
je 0x41a7ba
cmp eax, 8
je 0x41a77b
cmp eax, 9
je 0x41a77b
mov al, 1
jmp 0x41a77d
xor al, al
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
movzx eax, al
neg eax
sbb eax, eax
and eax, 5
push eax
push dword [ebx + 0x218]
call esi
push 0
push dword [ebx + 0x220]
call esi
push 0
push dword [ebx + 0x21c]
call esi
push 1
push dword [ebx + 0x1f8]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x41a806
push 1
push dword [ebx + 0x15c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
lea esi, [ebx + 0x1f8]
mov ecx, ebx
push esi
call fcn.0041c6ce
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_EnableWindow]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x220]
call esi
push 5
push dword [ebx + 0x21c]
call esi
push 0
push dword [ebx + 0x218]
call esi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x41b4ef
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x5589c5
call fcn.00514868
sub esp, 0x38
push ebx
push esi
push edi
mov eax, ecx
push 0
push 0
push 0x1004
lea ebx, [eax + 0x204]
mov dword [ebp - 0x10], eax
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
lea ecx, [ebp - 0x2c]
push 0x5cba50
mov dword [ebp - 0x14], esi
call fcn.00490e4d
and dword [ebp - 4], 0
xor edi, edi
test esi, esi
jle 0x41b5a4
push 2
push edi
push 0x102c
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x41b59f
push edi
mov ecx, ebx
call fcn.00418833
imul esi, eax, 0x38
mov eax, dword [ebp - 0x10]
add esi, dword [eax + 0x278]
mov ecx, esi
call fcn.00431b03
push eax
push dword [esi + 0x10]
lea eax, [ebp - 0x44]
push 0x5d06f0
push eax
call fcn.00490eb7
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
push 0xffffffffffffffff
push 0
push eax
call fcn.00402051
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
push 0
push 1
call fcn.00401fa5
mov esi, dword [ebp - 0x14]
inc edi
cmp edi, esi
jl 0x41b537
cmp dword [ebp - 0x1c], 0
je 0x41b601
push dword [ebp - 0x1c]
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x18], 0x10
mov esi, eax
mov ecx, dword [ebp - 0x2c]
jae 0x41b5c3
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x1c]
dec eax
push eax
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0053b2f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, dword [ebp - 0x10]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
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]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
push 0
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x41c115
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x44], 0
je 0x41c127
push dword [esi + 0x44]
call fcn.0051494e
pop ecx
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov dword [esi + 0x48], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00514945
pop ecx
mov ecx, dword [esi + 0x48]
inc ecx
mov dword [esi + 0x44], eax
push ecx
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
pop esi
ret

Function at 0x41e8ed
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x5590a9
call fcn.00514868
sub esp, 0x30
push ebx
push esi
push edi
mov edi, ecx
lea ecx, [ebp - 0x24]
call fcn.00490e87
xor ebx, ebx
mov dword [ebp - 4], ebx
mov esi, ebx
cmp dword [ebp - 0x14], 0
je 0x41e92d
push 0x5cd4b0
call fcn.004021b6
pop ecx
push eax
push 0x5cd4b0
lea ecx, [ebp - 0x24]
call fcn.004020f1
push esi
lea eax, [ebp - 0x3c]
mov ecx, edi
push eax
call fcn.0041e9d1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x24]
push 0xffffffffffffffff
push ebx
push eax
call fcn.00402051
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x3c]
push ebx
push 1
call fcn.00401fa5
inc esi
cmp esi, 0xc
jle 0x41e90e
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov eax, dword [ebp - 0x24]
jae 0x41e978
lea eax, [ebp - 0x24]
push dword [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0053b2f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
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]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x41edfd
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, 0x563e2d
call fcn.00514868
sub esp, 0x18
push ebx
push esi
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push ebx
push 0x130b
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
push eax
lea eax, [ebp - 0x24]
mov ecx, edi
push eax
call fcn.0041e9d1
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x14]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp dword [ebp - 0x10], 0x10
mov esi, eax
mov ecx, dword [ebp - 0x24]
jae 0x41ee4b
lea ecx, [ebp - 0x24]
push dword [ebp - 0x14]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.0053b2f0
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
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]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x420e21
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
mov esi, ecx
push edi
xor edi, edi
mov eax, dword [esi + 0xc]
sub eax, dword [esi + 8]
sar eax, 2
test eax, eax
je 0x420e56
mov eax, dword [esi + 8]
push 0
push dword [eax + edi*4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 0xc]
inc edi
sub eax, dword [esi + 8]
sar eax, 2
cmp edi, eax
jb 0x420e3a
lea eax, [ebp - 0x10]
mov ecx, esi
push eax
call fcn.0041f02d
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
mov ecx, dword [esi + 8]
push 0x40
push eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
push eax
push dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push dword [ebp - 0x10]
push 0
push dword [ecx + eax*4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x421b04
Capabilities:
Get graphical window text
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, ecx
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x421b6e
push esi
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea esi, [eax + 1]
lea ecx, [esi + esi]
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
push dword [ebx + 0xa0]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop ebx
ret

Function at 0x421ec8
Capabilities:
Create process on windows

Disassembly:
mov eax, 0x559336
call fcn.00514868
sub esp, 0x30
lea eax, [ecx + 0xd0]
push ebx
push eax
lea ecx, [ebp - 0x3c]
call fcn.00490e1d
xor ebx, ebx
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x24]
push ebx
push 0xfde9
push ecx
mov ecx, eax
call fcn.004911c5
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 8
jb 0x421f07
mov eax, dword [eax]
push 1
push 0x5d0e80
push ebx
push eax
push 0x5d0eec
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x24]
push ebx
push 1
call fcn.00401ffa
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
push ebx
push 1
call fcn.00401fa5
mov ecx, dword [ebp - 0xc]
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret