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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x4af550]
push ebx
push esi
mov dword [ebp - 8], eax
xor esi, esi
lea eax, [ebp - 8]
push esi
push eax
mov ebx, ecx
push esi
call fcn.004538b0
test eax, eax
jne 0x45528e
push esi
push 0x4bc518
push str.No_File
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 8]
call fcn.004038fb
jmp 0x45541e
push edi
push esi
lea ecx, [ebp - 8]
mov dword [ebp - 0x18], esi
call fcn.00403c58
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
mov edi, dword [eax - 8]
mov eax, dword [0x4af550]
mov dword [ebp - 4], eax
lea eax, [edi + edi]
push eax
call fcn.00403c58
push 0x4b5a6c
lea ecx, [ebp - 4]
call fcn.00403adc
push str._CertUtil__hashfile
lea ecx, [ebp - 0x10]
call fcn.00403927
push str._SHA256
lea ecx, [ebp - 0xc]
call fcn.00403927
cmp dword [ebp + 8], 2
jne 0x4552ff
push str._powershell_Get_FileHash
lea ecx, [ebp - 0x10]
call fcn.00403adc
push 0x4b592c
lea ecx, [ebp - 0xc]
call fcn.00403adc
push edi
lea eax, [ebp - 0x420]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004551ec
add esp, 0x10
test eax, eax
je 0x4553ab
mov esi, 0x4b5a24
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea eax, [ebp - 0x420]
push esi
push eax
lea ecx, [ebp - 0x20]
call fcn.0040a529
push eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.0040a9a2
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040a956
mov eax, dword [eax]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
push edi
lea eax, [ebp - 0x420]
push dword [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.004551ec
add esp, 0x10
test eax, eax
jne 0x455323
mov eax, dword [ebp - 4]
push 0
lea ecx, [ebp - 4]
mov esi, dword [eax - 8]
call fcn.00403c58
and word [eax + esi*2 - 2], 0
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.00403cd2
lea eax, [ebp + 8]
lea ecx, [ebx + 0x1c8]
push eax
call fcn.00489a02
mov eax, dword [eax]
push 1
push eax
push dword [ebp - 4]
push 0x4b5a1c
push str.open
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x45556c
Capabilities:
Create thread

Disassembly:
push esi
push edi
mov esi, ecx
xor edi, edi
push 1
mov dword [esi + 0x204], edi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0x25c], edi
lea eax, [esi + 0x25c]
jne 0x455599
push 0x64
mov ecx, esi
call fcn.00454c2b
jmp 0x4555c3
mov dword [eax], edi
lea eax, [esi + 0x23c]
push eax
push edi
push esi
push 0x4555c6
push edi
push edi
mov dword [eax], edi
mov dword [esi + 0x204], 1
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0x244], eax
pop edi
pop esi
ret
Function at 0x455fcb
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe5c
mov edx, dword [0x4bc51c]
push ebx
push esi
mov esi, ecx
mov ebx, 0xff
push edi
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0xa58]
mov dword [ebp - 0xa5c], edx
rep stosd dword es:[edi], eax
push dword [ebp + 8]
mov ecx, ebx
lea edi, [ebp - 0x658]
mov dword [ebp - 0x65c], edx
rep stosd dword es:[edi], eax
xor ebx, ebx
mov ecx, 0x93
lea edi, [ebp - 0x258]
mov dword [ebp - 0x25c], ebx
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x65c]
mov dword [ebp - 8], ebx
push eax
mov dword [ebp - 4], ebx
call fcn.0049cea2
lea eax, [ebp - 0x65c]
push 0x4afefc
push eax
call fcn.0049cea2
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call fcn.0049cea2
lea eax, [ebp - 0xa5c]
push 0x4b0480
push eax
call fcn.0049cea2
add esp, 0x20
lea eax, [ebp - 0x25c]
push eax
lea eax, [ebp - 0xa5c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp + 8], eax
mov edi, dword [ebp + 0x14]
cmp dword [edi], ebx
je 0x45619a
mov ecx, esi
call fcn.004566c4
test byte [ebp - 0x25c], 0x10
je 0x456146
lea eax, [ebp - 0x230]
push 0x4b011c
push eax
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x456155
lea eax, [ebp - 0x230]
push 0x4b0120
push eax
call fcn.0049c975
pop ecx
test eax, eax
pop ecx
je 0x456155
mov eax, dword [ebp - 0x25c]
mov ecx, eax
not ecx
shr ecx, 4
and ecx, 1
mov dword [ebp - 0xc], ecx
jne 0x456155
and eax, 0x400
mov dword [ebp - 0xc], eax
jne 0x456155
inc dword [esi + 0x254]
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0xe5c]
push eax
call fcn.0049cecc
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0xe5c]
push eax
call fcn.0049cea2
add esp, 0x10
lea eax, [ebp - 0xe5c]
mov ecx, esi
push edi
mov edi, dword [ebp + 0x10]
push edi
push dword [ebp + 0xc]
push eax
call fcn.00455fcb
add dword [ebp - 8], eax
adc dword [ebp - 4], edx
cmp edi, ebx
je 0x456155
inc dword [edi]
jmp 0x456155
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x456155
inc dword [eax]
inc dword [esi + 0x254]
push ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0x240]
xor eax, eax
xor edi, edi
or eax, edx
or ecx, edi
add dword [ebp - 8], eax
lea eax, [ebp - 0x25c]
push eax
mov dword [ebp - 0x240], ebx
push dword [ebp + 8]
mov dword [ebp - 0x23c], ebx
adc dword [ebp - 4], ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45607f
cmp dword [ebp + 8], ebx
pop edi
pop esi
pop ebx
je 0x4561ab
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 4]
leave
ret 0x10
Function at 0x457b3d
Capabilities:
Get graphical window text
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x800
push ebx
push esi
mov esi, ecx
push edi
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_IsWindowVisible]
xor edi, edi
cmp dword [ebp + 0xc], edi
je 0x457b7c
cmp eax, edi
jne 0x457b7c
push edi
push edi
push ecx
mov ecx, esp
push str.1008
call fcn.00403927
push dword [esi + 4]
call fcn.0045f7e8
add esp, 0x10
push edi
push 0x4b17b4
push edi
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_FindWindowExW]
mov ebx, dword [sym.imp.USER32.dll_SetFocus]
push eax
call ebx
mov eax, dword [0x4bc51c]
mov ecx, 0x1ff
mov dword [ebp - 0x800], eax
xor eax, eax
lea edi, [ebp - 0x7fc]
push 0x400
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x800]
push eax
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
xor edi, edi
cmp dword [esi + 0x168], edi
jne 0x457c28
mov eax, dword [esi + 0xc4]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
cmp eax, edi
je 0x457be5
push edi
push eax
call ebx
mov eax, dword [esi + 0xdc]
mov eax, dword [eax + 0x220]
cmp eax, edi
je 0x457bf9
push edi
push eax
call ebx
cmp dword [esi + 0x15c], edi
je 0x457c9e
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x457c9e
cmp dword [ebp + 0x10], edi
jne 0x457c9e
mov ecx, esi
call fcn.0045376c
jmp 0x457c9e
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0xc4]
call edi
mov eax, dword [esi + 0xdc]
push 5
push dword [eax + 0x220]
call edi
mov eax, dword [esi + 0xdc]
push dword [eax + 0x264]
call ebx
mov eax, dword [esi + 0xdc]
mov dword [eax + 0x2c], 1
push dword [esi + 0x170]
push dword [esi + 0xc4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
cmp dword [esi + 0x15c], 0
je 0x457c9c
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
jle 0x457c9c
cmp dword [ebp + 0x10], 0
jne 0x457c9c
mov ecx, esi
call fcn.0045376c
xor edi, edi
cmp dword [esi + 0x168], edi
je 0x457cee
lea eax, [ebp + 0x10]
push 0x28
push eax
lea ebx, [esi + 0x214]
call fcn.00461337
pop ecx
pop ecx
push eax
mov ecx, ebx
call fcn.00403a8c
lea ecx, [ebp + 0x10]
call fcn.004038fb
push edi
mov ecx, ebx
call fcn.00403c58
push eax
mov eax, dword [esi + 0xdc]
push 0x100
push 0x40b
push dword [eax + 0x270]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xdc]
push edi
call fcn.00471c45
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x458b39
Capabilities:
Get file size
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
push edi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0x80
push 3
push esi
push 1
push SHChangeNotifyRegister
push dword [ebp + 8]
call edi
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x458b7b
push esi
push str.Error1_
push dword [ebp + 8]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
jmp 0x458ca0
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
mov eax, dword [0x4af550]
mov dword [ebp - 8], eax
lea ecx, [ebp - 8]
lea eax, [ebx + 1]
mov dword [ebp - 0xc], esi
push eax
call fcn.00403c58
lea ecx, [ebp - 0xc]
push esi
push ecx
push ebx
push eax
mov dword [ebp - 0x10], eax
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_ReadFile]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.0041584b
push ebx
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x10]
call fcn.004159c4
push str.ToClipboart
lea ecx, [ebp - 4]
call fcn.00403927
push dword [ebp - 4]
push dword [ebp + 0xc]
call fcn.0049c975
mov ebx, eax
pop ecx
neg ebx
pop ecx
sbb bl, bl
lea ecx, [ebp - 4]
inc bl
call fcn.004038fb
test bl, bl
pop ebx
je 0x458c22
mov eax, dword [0x4af550]
push dword [ebp - 0x24]
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00403adc
push dword [ebp - 4]
call fcn.0045f26e
pop ecx
lea ecx, [ebp - 4]
call fcn.004038fb
jmp 0x458c8d
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 0xc]
call edi
mov edi, eax
cmp edi, 0xffffffff
jne 0x458c71
push esi
push str.Error_
push dword [ebp + 0xc]
push esi
call dword [sym.imp.USER32.dll_MessageBoxW]
lea ecx, [ebp - 0x2c]
call fcn.00415882
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
xor eax, eax
jmp 0x458cb2
lea eax, [ebp - 0x10]
push esi
push eax
mov dword [ebp - 0x10], esi
push dword [ebp - 0x14]
push dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.00415882
lea ecx, [ebp - 8]
call fcn.004038fb
push 1
pop esi
lea ecx, [ebp + 8]
call fcn.004038fb
lea ecx, [ebp + 0xc]
call fcn.004038fb
mov eax, esi
pop edi
pop esi
leave
ret
Function at 0x458d06
Capabilities:
Create process on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
push esi
push edi
mov esi, ecx
call fcn.00454cfd
test eax, eax
je 0x458e02
push eax
lea eax, [esi + 0x1c8]
neg eax
lea ecx, [esi + 0x1cc]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x14]
push dword [eax]
call fcn.00489980
mov eax, dword [0x4bc51c]
mov ecx, 0x81
mov dword [ebp - 0x21c], eax
xor eax, eax
lea edi, [ebp - 0x218]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
call fcn.00478f45
lea ecx, [ebp - 8]
mov dword [esp], str.tmp_byte_file.txt
call fcn.00403927
lea eax, [ebp - 8]
lea ecx, [ebp - 0xc]
push eax
lea eax, [ebp - 0x21c]
push eax
call fcn.0040a529
push eax
lea eax, [ebp - 4]
push eax
call fcn.00403b20
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
push ecx
lea eax, [ebp - 4]
mov ecx, esp
push eax
call fcn.004038b5
push str.AAAAA
push ecx
mov eax, esp
push 0x8000
push eax
lea ecx, [ebp - 0x14]
call fcn.00489a5c
call fcn.004231da
add esp, 0xc
push 1
push 0
push 0
push dword [ebp - 4]
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004893ad
pop edi
pop esi
leave
ret
Function at 0x45915f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push esi
mov esi, ecx
lea ecx, [ebp - 0x68]
call fcn.004973d8
mov eax, dword [0x4af550]
lea ecx, [ebp - 0x60]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
call fcn.00403a8c
mov ecx, esi
call fcn.00454cfd
test eax, eax
je 0x4592eb
push eax
lea eax, [esi + 0x1c8]
neg eax
lea ecx, [esi + 0x1cc]
sbb eax, eax
and eax, ecx
lea ecx, [ebp - 0x2c]
push dword [eax]
call fcn.00489980
lea eax, [ebp - 4]
add esi, 4
push eax
push 0
push ecx
mov ecx, esp
push 0x4bc550
call fcn.00403927
push dword [esi]
lea ecx, [ebp - 0x68]
call fcn.00497645
test eax, eax
je 0x4592e3
push str._test_hl
lea ecx, [ebp - 0xc]
call fcn.00403927
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 0x4afefc
push 0x4b0aa4
lea ecx, [ebp - 4]
call fcn.004040f7
push 0x4b0254
lea ecx, [ebp - 0x14]
call fcn.00403927
push 0x4b5b88
lea ecx, [ebp - 0x10]
call fcn.00403927
push str.__H__J__
lea ecx, [ebp - 0xc]
call fcn.00403927
lea eax, [ebp - 0x14]
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00489a02
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.00403b20
push eax
lea eax, [ebp - 8]
push eax
call fcn.00403b20
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 0x1c]
call fcn.004038fb
lea ecx, [ebp - 0x20]
call fcn.004038fb
lea ecx, [ebp - 0x24]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 0x10]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
push 0
push 0x4bc518
push dword [ebp - 8]
mov ecx, esi
call fcn.00419b8b
push 5
push 0
push dword [ebp - 8]
push str.mklink
push 0x4b0138
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0x2c]
call fcn.004893ad
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x68]
call fcn.00497415
pop esi
leave
ret
Function at 0x45a2e9
Capabilities:
Create process on windows
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4af550]
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push edi
mov ebx, ecx
push 0x11
mov dword [ebp - 4], eax
mov dword [ebp - 8], eax
call esi
mov edi, 0x8000
test edi, eax
je 0x45a31f
push str.runas
lea ecx, [ebp - 8]
call fcn.00403adc
push ecx
lea eax, [ebp + 8]
mov ecx, esp
push eax
call fcn.004038b5
lea eax, [ebp - 0xc]
push eax
call fcn.004600c4
pop ecx
pop ecx
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 0x10
call esi
test edi, eax
je 0x45a36f
lea eax, [ebp - 0xc]
lea ecx, [ebx + 0x1c8]
push eax
call fcn.00489a02
push eax
lea ecx, [ebp - 4]
call fcn.00403a8c
lea ecx, [ebp - 0xc]
call fcn.004038fb
push 1
push dword [ebp - 4]
push 0
push dword [ebp + 8]
push dword [ebp - 8]
push dword [ebx + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x45e70f
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x4af550]
and byte [ebp - 7], 0
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 4]
mov byte [ebp - 0x1c], 0x68
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x19], 0x70
mov byte [ebp - 0x18], 0x3a
mov byte [ebp - 0x17], 0x2f
mov byte [ebp - 0x16], 0x2f
mov byte [ebp - 0x15], 0x77
mov byte [ebp - 0x14], 0x77
mov byte [ebp - 0x13], 0x77
mov byte [ebp - 0x12], 0x2e
mov byte [ebp - 0x11], 0x73
mov byte [ebp - 0x10], 0x75
mov byte [ebp - 0xf], 0x72
mov byte [ebp - 0xe], 0x66
mov byte [ebp - 0xd], 0x6f
mov byte [ebp - 0xc], 0x6b
mov byte [ebp - 0xb], 0x2e
mov byte [ebp - 0xa], 0x64
mov byte [ebp - 9], 0x65
mov byte [ebp - 8], 0x2f
call fcn.00403adc
mov ecx, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
call fcn.004038b5
lea ecx, [ebp - 4]
call fcn.004038fb
mov eax, dword [ebp + 8]
leave
ret

Function at 0x45f306
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push edi
xor edi, edi
push edi
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x45f349
push esi
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, edi
je 0x45f342
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, edi
je 0x45f342
mov ecx, dword [esp + 0xc]
push eax
call fcn.00403adc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 1
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
mov eax, edi
pop edi
ret

Function at 0x45fdeb
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
lea eax, [ebp - 4]
push 0
push eax
call fcn.0045f4df
pop ecx
lea eax, [ebp + 8]
pop ecx
push eax
lea eax, [ebp - 8]
push str._help
push eax
call fcn.0040a9a2
mov eax, dword [eax]
push 3
push 0
push eax
push dword [ebp - 4]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp + 8]
call fcn.004038fb
leave
ret

Function at 0x46007f
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4600ac
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
cmp eax, 2
je 0x4600a8
call esi
cmp eax, 3
je 0x4600a8
or esi, 0xffffffff
jmp 0x4600b7
xor esi, esi
jmp 0x4600b7
test al, 0x10
je 0x4600b4
push 2
jmp 0x4600b6
push 1
pop esi
lea ecx, [esp + 8]
call fcn.004038fb
mov eax, esi
pop esi
ret
Function at 0x462b2a
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x10]
push 0x89
mov esi, ecx
push eax
call fcn.004606c8
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
pop ecx
mov ebx, dword [eax]
pop ecx
push 0x3ee
push dword [esi + 4]
call edi
push ebx
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
cmp dword [esi + 0x4c], 0
mov ebp, 0x41c
jne 0x462ba0
lea eax, [esp + 0x14]
push 0xc9
push eax
call fcn.004606c8
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x10], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x10]
push eax
call ebx
lea ecx, [esp + 0x14]
call fcn.004038fb
cmp dword [esi + 0x4c], 1
jne 0x462bd3
lea eax, [esp + 0x10]
push 0xd2
push eax
call fcn.00461337
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
cmp dword [esi + 0x4c], 2
jne 0x462c06
lea eax, [esp + 0x10]
push 0xdc
push eax
call fcn.00461337
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
cmp dword [esi + 0x4c], 3
jne 0x462c39
lea eax, [esp + 0x10]
push 0xe6
push eax
call fcn.00461337
mov eax, dword [eax]
pop ecx
pop ecx
mov dword [esp + 0x14], eax
push ebp
push dword [esi + 4]
call edi
push dword [esp + 0x14]
push eax
call ebx
lea ecx, [esp + 0x10]
call fcn.004038fb
push 0x41b
push dword [esi + 4]
call edi
push 0x3f7
push dword [esi + 4]
call edi
mov ebp, eax
lea eax, [esp + 0x14]
push 0x15f94
push eax
call fcn.00461337
pop ecx
pop ecx
push dword [eax]
push ebp
call ebx
lea ecx, [esp + 0x14]
call fcn.004038fb
push 0x407
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call ebx
mov ecx, esi
call fcn.004631b2
mov eax, dword [esi + 0x4c]
cmp eax, 2
je 0x462ca7
cmp eax, 3
je 0x462ca7
cmp eax, 1
je 0x462ca7
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x462d09
lea eax, [esi + 0x5c]
push str._State
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040a956
mov eax, dword [eax]
push 0xffffffffffffffff
push 0xffffffffffffffff
push 0
push str.Disable
push eax
call fcn.0044a9d1
add esp, 0x14
lea ecx, [esp + 0x14]
mov ebp, eax
call fcn.004038fb
push 0x3ea
push dword [esi + 4]
call edi
xor ecx, ecx
test ebp, ebp
sete cl
push ecx
push eax
call ebx
push 0x3ee
push dword [esi + 4]
call edi
push 0
push ebp
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
pop ecx
ret 0x10
Function at 0x462d14
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x278
mov eax, dword [0x4af550]
push ebx
push esi
push edi
mov esi, ecx
push 0x15
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x14], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x6c]
rep stosd dword es:[edi], eax
push 0x16
lea edi, [ebp - 0x70]
pop ecx
or ebx, 0xffffffff
push 1
rep stosd dword es:[edi], eax
pop eax
mov dword [ebp - 0x70], 0x58
push ebx
push ebx
push eax
push 0x4b0f0c
push 0x4b1010
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x3c], 0x1004
call fcn.0044a9d1
add esp, 0x14
mov dword [ebp - 0x58], eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x68], eax
mov edi, 0x400
mov eax, 0x104
push edi
lea ecx, [ebp - 8]
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x40], str.Programe
call fcn.00403c58
push edi
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x54], eax
call fcn.00403c58
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x70]
push eax
mov dword [ebp - 0x64], str._.exe_.bat_
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x462ef3
push ebx
lea ecx, [ebp - 8]
call fcn.00403cd2
push ebx
lea ecx, [ebp - 0xc]
call fcn.00403cd2
mov eax, dword [0x4af550]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
mov dword [ebp - 4], eax
push dword [esi + 4]
call edi
push 0x7d00
push 0x7d01
lea ecx, [ebp - 4]
mov dword [ebp - 0x10], eax
call fcn.00403c58
push eax
push dword [ebp - 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push ebx
lea ecx, [ebp - 4]
call fcn.00403cd2
cmp dword [esi + 0x4c], 3
je 0x462e2d
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
jmp 0x462e51
push str..xyx_.zxy
lea ecx, [ebp - 0x10]
call fcn.00403927
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
lea ecx, [ebp - 0x10]
call fcn.004038fb
mov ebx, 0x4af810
mov eax, ebx
test eax, eax
je 0x462e63
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
mov eax, dword [ebp - 8]
lea ecx, [ebp - 4]
push eax
push dword [eax - 8]
call fcn.00403bd8
mov ebx, 0x4afcdc
mov eax, ebx
test eax, eax
je 0x462e8e
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
lea ecx, [ebp - 4]
call fcn.00403bd8
push 0x3ea
push dword [esi + 4]
call edi
push dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x407
push dword [esi + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
lea eax, [ebp - 0x18]
push eax
call fcn.0045f431
pop ecx
lea eax, [ebp - 0x278]
push 0x80
push dword [ebp - 8]
push 0x10
push dword [ebp - 0x18]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRelativePathToW]
lea ecx, [ebp - 0x18]
call fcn.004038fb
lea ecx, [ebp - 4]
call fcn.004038fb
lea ecx, [ebp - 0x14]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
pop edi
pop esi
pop ebx
leave
ret