joyce8/EMBER2024-capa huggingface dataset:
Function at 0xbdf000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xbdf131
push esi
call fcn.00be2145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00bd1080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xbdf131
push 0
push ebp
call fcn.00bd13a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00bd1260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xbdf08b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00bd12f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xbdf121
push 0xbf7918
push edi
call fcn.00be03f0
push eax
push ebx
push esi
call fcn.00bdef60
push 0xbf78f8
push edi
call fcn.00be03f0
push eax
push ebx
push esi
call fcn.00bdef60
push 0xbf78d8
push edi
call fcn.00be03f0
push eax
push ebx
push esi
call fcn.00bdef60
push 0xbf78c0
push edi
call fcn.00be03f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00bdef60
push 0xbf78a0
push edi
call fcn.00be03f0
push eax
push ebx
push esi
call fcn.00bdef60
push 0xbf7888
push edi
call fcn.00be03f0
push eax
push ebx
push esi
call fcn.00bdef60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xbe01b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00be0140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00be0140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00be0140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00be0140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xbe0bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xbe0c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xbf287c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xbe0c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xbe0c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x4013c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x412d00
push esi
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
test edi, edi
je 0x412eaa
push ebx
mov ebx, dword [esp + 0x10]
nop word [eax + eax]
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x26
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x68
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0xe8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x99
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xcc
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
add esp, 0x44
push eax
call fcn.004013a7
add byte [esi + ebx], 0x67
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xe
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd7
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x45
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xd
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x56
add esp, 0x40
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 8
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
xor byte [esi + ebx], 0x50
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0xbd
push str.Protocol_of_Mind
push 0x5070b0
call fcn.0040349f
push eax
call fcn.004013a7
add byte [esi + ebx], 0x64
add esp, 0x30
inc esi
cmp esi, edi
jb 0x412d20
pop ebx
pop edi
pop esi
ret

Function at 0x4035da
Capabilities:
Terminate process

Disassembly:
jmp 0x451ba9
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x451bba
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.00405907
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x40370b
Capabilities:
Query environment variable

Disassembly:
jmp 0x49b052
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x49b063
pop esi
ret
push ebx
push edi
push esi
call fcn.0049af39
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.00403fda
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x49b08b
push ebx
push esi
push edi
call fcn.004056fa
add esp, 0xc
push 0
call fcn.00406244
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret
Function at 0x402060
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx], 0x58900bc
mov esp, dword [esi + 8]
adc ah, bl
je 0x402082
call fcn.00406a00
mov ch, 0xa0
or eax, dword [ecx]
pop edi
adc eax, 0x410ba4
jmp 0x40208d
adc al, 0x15
mov ecx, 0xa1cc410b
mov al, byte [0x91f3410b]
adc eax, 0xcc410bb9
mov eax, dword [0xf3410ba0]
xchg ecx, eax
mov ebx, dword [edx]
push es
or eax, dword [ecx]
push esi
std
xchg ebp, eax
arpl sp, ax
or eax, dword [ecx - 0x59]
sub eax, ecx
push ebx
xor al, byte [ebp - 0x28]
mov dword [ebp - 0x24], edx
mov esi, dword [0xc3c164]
fild qword [ebp - 0x28]
push 0x1fdfb4
fmul qword [0x40c206]
fnstsw word [esi - 0xd290030]
loopne 0x402083
cmp eax, 0xf986800
invalid

Function at 0x409590
Capabilities:
Encode data using xor

Disassembly:
inc ecx
pop esi
xor byte [esi + ecx + 7], cl
loop 0x409593
fdiv st(5)
mov ecx, 0x6f640ad8
sar dword [ebp + 0x2e], 1
call dword [ecx + 0x24]
invalid

Function at 0x40ad90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0xffffff90
je 0x40adab
call dword [sym.imp.MSVCRT.dll__errno]
mov ecx, 0x273fdb
add byte [ebx], dh
rcr byte [ebp - 0x3d], 0x8b
mov bh, 0x14
inc ebx
cmc
adc byte [ebx + 0x51506555], cl
mov esi, dword [edi + 0x10f54314]
mov edx, dword [ebp + 0x65]
push eax
push ecx
push edx
call 0x40add0
add esp, 0xc
pop ebp
sahf
nop
nop
nop
nop
nop
nop
adc dword [eax - 0x6f6f6f74], edx
nop
stosb byte es:[edi], al
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x2b]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x10
jae 0x40adee
call dword [0x290c2c]
mov dword [eax], 0x1c
cmc
rcr byte [ebp - 0x3d], 0x53
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
add al, 0
add byte [eax], al
mov al, byte [esi]
inc esi
cmp al, 0x63
mov byte [ebp + 0x10], al
jbe 0x40ae1d
inc eax
inc ebp
or bh, byte [ebx + 0x64]
and eax, 0xff
call 0x3045aa0c
mov byte [ebp + 0x60], dl
mov byte [ecx], al
inc ecx
jmp 0x40ae21
cmp al, 9
jbe 0x40ae38
mov eax, dword [ebp + 0x10]
mov ebx, 0x8efd0a
lahf
inc dword [eax]
add byte [ebp + 0x488f799], bl
xor byte [eax - 0x3d75afff], cl
xchg edx, eax
daa
mov byte [edi + 0x2e0ec641], dh
inc ecx
dec edi
jne 0x40adf9
invalid
mov bl, 0xc
Function at 0x40add0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub eax, 0xffffff90
je 0x40adab
call dword [sym.imp.MSVCRT.dll__errno]
mov ecx, 0x273fdb
add byte [ebx], dh
rcr byte [ebp - 0x3d], 0x8b
mov bh, 0x14
inc ebx
cmc
adc byte [ebx + 0x51506555], cl
mov esi, dword [edi + 0x10f54314]
mov edx, dword [ebp + 0x65]
push eax
push ecx
push edx
call 0x40add0
add esp, 0xc
pop ebp
sahf
nop
nop
nop
nop
nop
nop
adc dword [eax - 0x6f6f6f74], edx
nop
stosb byte es:[edi], al
nop
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x2b]
mov ecx, dword [ebp + 0xc]
cmp eax, 0x10
jae 0x40adee
call dword [0x290c2c]
mov dword [eax], 0x1c
cmc
rcr byte [ebp - 0x3d], 0x53
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
add al, 0
add byte [eax], al
mov al, byte [esi]
inc esi
cmp al, 0x63
mov byte [ebp + 0x10], al
jbe 0x40ae1d
inc eax
inc ebp
or bh, byte [ebx + 0x64]
and eax, 0xff
call 0x3045aa0c
mov byte [ebp + 0x60], dl
mov byte [ecx], al
inc ecx
jmp 0x40ae21
cmp al, 9
jbe 0x40ae38
mov eax, dword [ebp + 0x10]
mov ebx, 0x8efd0a
lahf
inc dword [eax]
add byte [ebp + 0x488f799], bl
xor byte [eax - 0x3d75afff], cl
xchg edx, eax
daa
mov byte [edi + 0x2e0ec641], dh
inc ecx
dec edi
jne 0x40adf9
invalid
mov bl, 0xc
Function at 0x403230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword [0x44a0f0]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
cmp edi, eax
mov esi, edi
je 0x403273
push esi
call fcn.00403d70
mov eax, dword [eax]
add esp, 4
mov ecx, ebx
push eax
call fcn.00403220
push esi
call fcn.00403d50
mov esi, dword [eax]
push edi
call fcn.004020d0
add esp, 8
mov ecx, ebx
push eax
call fcn.00404320
push edi
mov ecx, ebx
call fcn.00401c70
mov eax, dword [0x44a0f0]
mov edi, esi
cmp esi, eax
jne 0x403234
pop edi
pop esi
pop ebx
ret 4

Function at 0x403ba0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, dword [0x44a0f8]
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov ebx, ecx
cmp edi, eax
mov esi, edi
je 0x403bf3
push esi
call fcn.00403d70
mov eax, dword [eax]
add esp, 4
mov ecx, ebx
push eax
call fcn.00403ba0
push esi
call fcn.00403d50
mov esi, dword [eax]
push edi
call fcn.004020d0
add esp, 8
mov ecx, ebx
push eax
call fcn.00404320
push edi
mov ecx, ebx
call fcn.00401c70
mov eax, dword [0x44a0f8]
mov edi, esi
cmp esi, eax
jne 0x403bb4
pop edi
pop esi
pop ebx
ret 4
Function at 0x4064f0
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
sub esp, 0x190
push ebx
mov edx, ecx
push edi
mov ecx, 0x64
xor eax, eax
lea edi, [esp + 8]
rep stosd dword es:[edi], eax
xor ecx, ecx
push 0x14
push ecx
mov eax, 4
push ecx
push ecx
mov dword [esp + 0x2c], ecx
mov byte [esp + 0x34], al
mov byte [esp + 0x35], cl
mov byte [esp + 0x48], al
mov byte [esp + 0x49], cl
mov byte [esp + 0x70], al
mov byte [esp + 0x71], cl
mov byte [esp + 0x84], al
mov byte [esp + 0x85], cl
mov dword [esp + 0xa4], eax
mov byte [esp + 0xac], al
mov byte [esp + 0xad], cl
mov byte [esp + 0xc0], al
mov byte [esp + 0xc1], cl
mov byte [esp + 0xd4], al
mov byte [esp + 0xe8], al
mov byte [esp + 0x111], cl
mov byte [esp + 0x138], al
mov byte [esp + 0x139], cl
mov byte [esp + 0x14c], al
mov byte [esp + 0x14d], cl
mov byte [esp + 0x160], al
mov byte [esp + 0x161], cl
push ecx
mov ecx, dword [edx + 0x158]
mov ebx, 1
lea eax, [esp + 0x1c]
push 0x11
mov byte [esp + 0x29], bl
mov dword [esp + 0x38], 0x3f4
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], 0x67
mov byte [esp + 0x65], bl
mov dword [esp + 0x70], 2
mov dword [esp + 0x74], 0x6e
mov dword [esp + 0x84], 3
mov dword [esp + 0x88], 0x6f
mov byte [esp + 0xa1], bl
mov dword [esp + 0xb0], 0x6c
mov dword [esp + 0xc0], 5
mov dword [esp + 0xc4], 0x66
mov dword [esp + 0xd4], 6
mov dword [esp + 0xd8], 0x68
mov byte [esp + 0xdd], 2
mov dword [esp + 0xe8], 7
mov dword [esp + 0xec], 0x6a
mov byte [esp + 0xf1], 2
mov byte [esp + 0x105], bl
mov dword [esp + 0x110], 8
mov dword [esp + 0x114], 0x9c4a
mov byte [esp + 0x118], 0x10
mov byte [esp + 0x12d], bl
mov dword [esp + 0x138], 9
mov dword [esp + 0x13c], 0x9c46
mov dword [esp + 0x14c], 0xa
mov dword [esp + 0x150], 0x99
mov dword [esp + 0x160], 0xb
mov dword [esp + 0x164], 0xa0
push eax
mov eax, dword [ecx + 0x49c]
mov ecx, dword [edx + 0x178]
push 0x9e
push eax
push 0xc
push 0x9f
push 0x44000900
push ecx
call dword [sym.imp.COMCTL32.dll_CreateToolbarEx]
pop edi
pop ebx
add esp, 0x190
ret
Function at 0x40beba
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43ae68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 0x10], esp
push str.Clipboard_changed_n
push 2
push 0x44a3a0
mov dword [ebp - 0x18], esi
call fcn.004063e0
add esp, 0xc
call dword [sym.imp.USER32.dll_GetClipboardOwner]
cmp eax, dword [esi + 0x170]
jne 0x40be91
push str.We_changed_it___ignore__n
push 2
push 0x44a3a0
call fcn.004063e0
add esp, 0xc
jmp 0x40c00b
mov al, byte [esi + 0x447c]
test al, al
jne 0x40bebb
push str.Dont_send_initial_clipboard__n
push 2
push 0x44a3a0
call fcn.004063e0
add esp, 0xc
mov byte [esi + 0x447c], 1
jmp 0x40c00b
mov al, byte [esi + 0x3d5e]
test al, al
jne 0x40c00b
lea eax, [esi + 0x1fc]
lea ecx, [ebp - 0x24]
push eax
call fcn.00408cb0
mov ecx, dword [esi + 0x170]
mov dword [ebp - 4], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x40bffc
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [ebp - 0x1c], eax
jne 0x40bf0e
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x40bffc
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
or ecx, 0xffffffff
mov edi, esi
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0043060b
mov dword [ebp - 0x14], eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.0043060b
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 8
mov dword [ebp - 0x20], ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, dword [ebp - 0x1c]
mov edx, ecx
mov esi, edi
mov edi, dword [ebp - 0x14]
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp - 0x14]
xor eax, eax
cmp byte [esi], 0
je 0x40bf93
mov edx, esi
mov cl, byte [edx]
cmp cl, 0xd
je 0x40bf8b
mov byte [eax + ebx], cl
inc eax
mov cl, byte [edx + 1]
inc edx
test cl, cl
jne 0x40bf80
mov byte [eax + ebx], 0
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov byte [ebp - 4], 1
push ecx
mov ecx, dword [ebp - 0x18]
push ebx
call fcn.0040aaf0
jmp 0x40bfea
push esi
call fcn.004304d0
push ebx
call fcn.004304d0
mov esi, dword [ebp - 0x18]
add esp, 8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00408cd0
mov edx, dword [esi + 0x4478]
push 0
push 0
push 0x308
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40c0b3
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43ae88
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov al, byte [esi + 0x3d5e]
test al, al
jne 0x40c1b3
mov ebx, dword [esp + 0x30]
lea eax, [ebx + ebx + 1]
push eax
call fcn.0043060b
mov edx, dword [esi + 0x1c4]
mov ebp, eax
xor ecx, ecx
add esp, 4
xor eax, eax
cmp byte [edx], cl
je 0x40c0b5
mov edi, dword [esp + 0x2c]
cmp byte [ecx + edi], 0xa
jne 0x40c09d
mov byte [eax + ebp], 0xd
inc eax
inc ebx
mov dl, byte [ecx + edi]
inc ecx
mov byte [eax + ebp], dl
mov edx, dword [esi + 0x1c4]
inc eax
cmp byte [edx + ecx], 0
jne 0x40c091
mov dword [esp + 0x30], ebx
mov byte [eax + ebp], 0
lea eax, [esi + 0x1fc]
push eax
lea ecx, [esp + 0x30]
call fcn.00408cb0
mov ecx, dword [esi + 0x170]
mov dword [esp + 0x24], 0
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x40c101
push 1
push str.Failed_to_open_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416690
lea edx, [esp + 0x10]
push 0x43dbf8
push edx
call fcn.004305d1
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
jne 0x40c12a
push 1
push str.Failed_to_empty_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416690
lea eax, [esp + 0x10]
push 0x43dbf8
push eax
call fcn.004305d1
inc ebx
push ebx
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x40c170
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [esp + 0x30]
mov esi, ebp
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, edx
mov byte [eax + ecx], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
push ebp
call fcn.004304d0
add esp, 4
call dword [sym.imp.USER32.dll_CloseClipboard]
test eax, eax
jne 0x40c1a2
push 1
push str.Failed_to_close_clipboard_n
lea ecx, [esp + 0x18]
call fcn.00416690
lea edx, [esp + 0x10]
push 0x43dbf8
push edx
call fcn.004305d1
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call fcn.00408cd0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 8
Function at 0x416a30
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
mov esi, ecx
push edi
push 0
mov eax, dword [esi + 0x7fc]
push 0x416b40
push 0
push 0xdb
mov ecx, dword [eax + 0x49c]
push ecx
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov edx, dword [esi + 0x7f8]
mov dword [esi + 0x80c], eax
push eax
mov ecx, dword [edx + 0x158]
call fcn.00418850
mov eax, dword [esi + 0x80c]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x80c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x80c]
push esi
push 0xffffffffffffffeb
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [esi + 0x80c]
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x443
push eax
call edi
mov ecx, dword [esi + 0x80c]
push 0x43e
push ecx
mov dword [esi + 0x820], eax
call edi
mov edx, dword [esi + 0x80c]
push 0x43f
push edx
mov dword [esi + 0x810], eax
call edi
mov dword [esi + 0x814], eax
mov eax, dword [esi + 0x80c]
push 0x43a
push eax
call edi
mov ecx, dword [esi + 0x80c]
push 0x43c
push ecx
mov dword [esi + 0x818], eax
call edi
mov edx, dword [esi + 0x80c]
push 0x46a
push edx
mov dword [esi + 0x81c], eax
call edi
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esi + 0x824], eax
mov eax, dword [esi + 0x810]
push 0x20
push 0x20
push 0x1036
push eax
call ebx
mov ecx, dword [esi + 0x814]
push 0x20
push 0x20
push 0x1036
push ecx
call ebx
mov edx, dword [esi + 0x7fc]
push 0x8000
push 0x10
push 0x10
push 1
push 0xef
mov eax, dword [edx + 0x49c]
push eax
call dword [sym.imp.USER32.dll_LoadImageA]
mov ecx, dword [esi + 0x80c]
mov ebp, eax
push ebp
push 1
push 0xf7
push 0x472
push ecx
call edi
push eax
call ebx
mov edx, dword [esi + 0x80c]
push ebp
push 1
push 0xf7
push 0x46e
push edx
call edi
push eax
call ebx
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov eax, dword [esi + 0x7fc]
push 0x8000
push 0x10
push 0x10
mov ecx, dword [eax + 0x49c]
push 1
push 0xf1
push ecx
call dword [sym.imp.USER32.dll_LoadImageA]
mov edx, dword [esi + 0x80c]
mov ebp, eax
push ebp
push 1
push 0xf7
push 0x470
push edx
call edi
push eax
call ebx
mov eax, dword [esi + 0x80c]
push ebp
push 1
push 0xf7
push 0x446
push eax
call edi
push eax
call ebx
push ebp
call dword [sym.imp.USER32.dll_DestroyIcon]
mov edx, dword [esi + 0x810]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
fild dword [esp + 0x18]
fld st(0)
fmul qword [0x43c4c8]
call fcn.00430e60
fmul qword [0x43c4c0]
mov edi, eax
call fcn.00430e60
mov ebx, eax
mov eax, dword [esi + 0x810]
push edi
push 0
push str.Name
push eax
mov ecx, esi
call fcn.00419660
mov ecx, dword [esi + 0x810]
push ebx
push 1
push str.Size
push ecx
mov ecx, esi
call fcn.00419660
mov edx, dword [esi + 0x814]
push edi
push 0
push str.Name
push edx
mov ecx, esi
call fcn.00419660
mov eax, dword [esi + 0x814]
push ebx
push 1
push str.Size
push eax
mov ecx, esi
call fcn.00419660
lea ecx, [esi + 0x2fd]
push ecx
mov ecx, esi
call fcn.00418070
lea edx, [esi + 0x1fe]
push 0
push edx
mov ecx, esi
call fcn.004192e0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x418cb0
Capabilities:
Delete file

Disassembly:
sub esp, 0x2a0
lea eax, [esp + 0x1a0]
push ebx
push ebp
push esi
mov ebp, dword [esp + 0x2b0]
mov esi, ecx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esp + 0x2b4]
push edi
push eax
mov edx, dword [ecx + 0x3c]
push edx
push 0x41e
push ebp
call ebx
push eax
mov ecx, esi
call fcn.00418970
mov edi, 0x443c88
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1b0]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x2b8]
mov eax, dword [edi + 0x3c]
push eax
push 4
push 0x110a
push 0x41e
push ebp
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
test eax, eax
je 0x418ca7
mov ecx, dword [edi + 0x3c]
push ecx
push 4
push 0x110a
push 0x41e
push ebp
call ebx
push eax
call esi
push eax
push 0
push 0x1101
push 0x41e
push ebp
call ebx
push eax
call esi
mov edx, dword [edi + 0x3c]
push edx
push 4
push 0x110a
push 0x41e
push ebp
call ebx
push eax
call esi
test eax, eax
jne 0x418c64
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 1
call esi
lea eax, [esp + 0x70]
lea ecx, [esp + 0x1b0]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
push 0
mov dword [esp + 0x14], edi
call esi
cmp edi, 0xffffffff
je 0x418ddf
mov esi, 0x443c84
lea eax, [esp + 0x9c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418d07
test cl, cl
je 0x418d03
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418d07
add eax, 2
add esi, 2
test cl, cl
jne 0x418ce3
xor eax, eax
jmp 0x418d0c
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418dbc
mov esi, 0x443c80
lea eax, [esp + 0x9c]
mov dl, byte [eax]
mov cl, dl
cmp dl, byte [esi]
jne 0x418d44
test cl, cl
je 0x418d40
mov dl, byte [eax + 1]
mov cl, dl
cmp dl, byte [esi + 1]
jne 0x418d44
add eax, 2
add esi, 2
test cl, cl
jne 0x418d20
xor eax, eax
jmp 0x418d49
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x418dbc
test byte [esp + 0x70], 0x10
je 0x418dbc
mov ecx, dword [esp + 0x2b8]
lea eax, [esp + 0x9c]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x14]
mov edx, dword [ecx + 0x3c]
push eax
push 0
mov ecx, 0xa
lea esi, [esp + 0x50]
lea edi, [esp + 0x24]
push 0x1100
mov dword [esp + 0x54], 1
mov dword [esp + 0x20], edx
push 0x41e
rep movsd dword es:[edi], dword [esi]
push ebp
call ebx
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
push eax
call esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], eax
push ecx
push 0
push 0x1100
push 0x41e
push ebp
call ebx
push eax
call esi
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x70]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x418cd7
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_FindClose]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2a0
ret 8