joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414d60
Capabilities:
Create shortcut via ishelllink
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x420088]
xor eax, ebp
mov dword [ebp - 4], eax
push 0
push 0x10
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x414d91
xor eax, eax
jmp 0x414ece
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x420]
push edx
push str._s_s.lnk
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.0040128d
add esp, 0x14
lea ecx, [ebp - 0x218]
push ecx
push 0x41825c
push 1
push 0
push 0x41826c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jl 0x414ebc
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ecx + 0x50]
call eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax + 0x1c]
call edx
push 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x218]
push edx
mov eax, dword [ecx + 0x2c]
call eax
push 0
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax + 0x44]
call edx
lea eax, [ebp - 0x424]
push eax
push 0x41827c
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [edx]
call ecx
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jl 0x414ea8
push 1
lea edx, [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x424]
push edx
mov eax, dword [ecx + 0x18]
call eax
mov dword [ebp - 0x214], eax
mov ecx, dword [ebp - 0x424]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [eax + 8]
call edx
cmp dword [ebp - 0x214], 0
jge 0x414ec9
xor eax, eax
jmp 0x414ece
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040109c
mov esp, ebp
pop ebp
ret
Function at 0x414ee0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x3c
push 0
lea eax, [ebp - 0x3c]
push eax
call fcn.004010b0
add esp, 0xc
movzx ecx, byte [ebp + 0x1c]
test ecx, ecx
je 0x414f05
mov dword [ebp - 0x38], 0x140
mov dword [ebp - 0x3c], 0x3c
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x3c]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x414f3c
xor eax, eax
jmp 0x414f8f
mov dl, byte [ebp + 0x1c]
mov byte [ebp - 0x40], dl
cmp byte [ebp - 0x40], 1
je 0x414f50
cmp byte [ebp - 0x40], 2
je 0x414f68
jmp 0x414f80
push 0xffffffffffffffff
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.USER32.dll_WaitForInputIdle]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414f8a
push 0xffffffffffffffff
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x414f8a
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x415d70
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x420088]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x210], ax
push 0x206
push 0
lea ecx, [ebp - 0x20e]
push ecx
call fcn.004010b0
add esp, 0xc
push 0x20
push 0
lea edx, [ebp - 0x238]
push edx
call fcn.004010b0
add esp, 0xc
cmp dword [ebp + 0x14], 0
je 0x415dc6
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x228], eax
jmp 0x415dd0
mov dword [ebp - 0x228], 0x1041
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x238], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x230], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x220], ecx
lea edx, [ebp - 0x210]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x238]
push eax
call dword [sym.imp.SHELL32.dll_SHBrowseForFolderW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
jne 0x415e29
xor eax, eax
jmp 0x415ecc
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov edx, dword [ebp + 8]
push edx
call fcn.0040112a
add esp, 4
mov dword [ebp - 0x218], eax
cmp dword [ebp - 0x218], 0
jle 0x415ec3
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp + 8]
movzx edx, word [ecx + eax*2 - 2]
cmp edx, 0x5c
je 0x415ec1
mov eax, 0x5c
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp + 8]
mov word [edx + ecx*2], ax
mov eax, dword [ebp - 0x218]
add eax, 1
mov dword [ebp - 0x218], eax
xor ecx, ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp + 8]
mov word [eax + edx*2], cx
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
jmp 0x415ec7
xor eax, eax
jmp 0x415ecc
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040109c
mov esp, ebp
pop ebp
ret
Function at 0x416150
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x218], 1
push 0x104
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
push 0x3ed
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x214]
push eax
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.0040112a
add esp, 4
test eax, eax
jne 0x4161ca
push 0x10
push str.IDS_ERR_FOLDEREMPTY
call fcn.00415030
add esp, 8
push 0x3ed
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x214]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x41635e
mov ecx, dword [ebp - 0xc]
add ecx, 4
push ecx
call fcn.0040112a
add esp, 4
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
movzx ecx, word [eax + edx*2 + 2]
cmp ecx, 0x5c
je 0x41621b
mov edx, 0x5c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov word [ecx + eax*2 + 4], dx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
xor eax, eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0xc]
mov word [edx + ecx*2 + 4], ax
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
push 0x3ef
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x214]
push edx
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
push 0
push 0
push 0xf0
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x20c], eax
push 0x3f0
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x214]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
mov dword [ebp - 8], eax
push 0
push 0
push 0xf0
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x210], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00415cb0
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call fcn.00414b10
add esp, 4
test eax, eax
jne 0x4162cb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x4162bc
push 0x10
push str.IDS_ERR_ACCESSDENIED
call fcn.00415030
add esp, 8
jmp 0x4162cb
push 0x10
push str.IDS_ERR_FAILEDCREATEFOLDER
call fcn.00415030
add esp, 8
mov ecx, dword [ebp - 0xc]
add ecx, 0x224
push ecx
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x220]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x20c]
push edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x21c]
push ecx
mov edx, dword [ebp - 0xc]
add edx, 4
push edx
call fcn.004153c0
add esp, 0x14
test eax, eax
jne 0x41631f
mov eax, dword [ebp - 0xc]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
call fcn.00415cb0
jmp 0x41635e
push 0x40
push str.IDS_MSG_EXTRACTOK
call fcn.00415030
add esp, 8
push 0xffffffffffffffff
mov ecx, dword [ebp - 0xc]
call fcn.00415cb0
push 0
push 0
push 0x12
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x214]
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x214]
push ecx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov esp, ebp
pop ebp
ret
Function at 0x40eb55
Capabilities:
Check for software breakpoints

Disassembly:
cmp al, 0x81
inc esi
add byte [ecx], al
call fcn.004065a4
mov byte [0x46813c], 0
jmp 0x40ee61
lea eax, [ebp - 0xc0]
push eax
call fcn.0040dbd4
cmp dword [ebp + 0x7c], 0
pop ecx
je 0x40df54
push dword [ebp + 0x38]
push dword [ebp + 0x18]
push dword [ebp + 0x78]
call fcn.0040ef48
add esp, 0xc
test eax, eax
je 0x40df54
mov byte [ebp + 0x65], 1
mov byte [ebp + 0x38], 1
jmp 0x40df54

Function at 0x415e8e
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
sbb al, 0x84
lcall 0x7c90, 0x5ff0002
inc esi
add byte [ecx + 0x467c90], ah
cmp eax, dword [0x478b0670]
and al, 0x35
cwde
jl 0x415eef
add byte [esi + 0x7c], bl
pop es
mov eax, dword [eax]
add byte [edx - 0x80], bl
cmp eax, 0xff45889b
mov eax, dword [0x50c3b600]
call 0xffa7e117
inc dword [ebx + 0xe8b10c4]
cmp byte [eax + ecx*4], dl
push ds
mov byte [esi + 1], 0
sbb dword [edi], ecx
push edi
push 0x14c4c06c
cmp dword [0x469480], 0
push edx
call 0x46d624b8
add byte [esi + 0x57], dl
or byte [esi + eax*2 + 0x2731400], dl
add byte [ebx + 0x1b8b0cc4], al
add esp, 0xc
mov ebx, dword [ebx]
sal bh, 0xd8
jle 0x415f32
mov dword [ebp - 0x1c], eax
mov edx, dword [eax]
push 0x9408bc54
shl dword [0xffffdf8c], 0xc1
loopne 0x415f4a
bound ecx, qword [eax - 0x17c48afe]
std
movsd dword es:[edi], dword [esi]
add eax, dword [eax]

Function at 0x415f1f
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
rol ecx, 0xe8
or esi, dword [ebx]
enter 0xffffffffffffc18b, 0x25
lodsd eax, dword [esi]
pop eax
cmp bh, bh
shl eax, 7
Function at 0x415fe5
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
and bl, dh
mov al, 0x12
jmp 0xd8405a7c
mov dword [0x45469404], eax
sub al, 0x8a
add byte [ebx + 0x2bd094a0], ah
adc eax, 0xa0b8d61c
inc esi
add al, ch
pop esp
or byte [ebx + 0x1eefc1f9], cl
push ds
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0xc759e5c
jl 0x415ffa
pop edi
mov dword [0x2886208], esi
mov dword [0xbb7c9e60], esi
inc ebp
add byte [0x59889480], dl
adc edi, edi
or eax, 0x9f05c607
jae fcn.00416066
cmp dword [0x45a54415], ebx
add byte [eax], ch
jae 0x416086
add byte [edi + 0x5e], bl
pop ebx
jne fcn.00416066
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0x74]
sbb byte [eax], al
mov byte [eax + 0xc0], 0
jmp 0x415a33
dec eax
adc cl, byte [ecx + 0x2c751448]
test al, al
je 0x4160c4
dec dword [eax + 0x74]
aaa
dec eax
je 0x4160c8
sbb dh, al
add eax, dword [ecx]
sbb byte [eax + 0x48], cl
je 0x4160b5
push dword [0x453aa4a8]
outsb dx, byte [esi]
jne 0x416112
push eax
retf
jge 0x4160fb
adc eax, 0x5000004
pushal
outsd dx, dword [esi]
dec ebp
push dword [esi + 0xa]
cmp byte [eax - 2], 0x46
je 0x4160c8
inc byte [esi + 0x74]
add byte [edx], ch
push 0
jmp 0x4160d5
push eax
or ch, byte [edx + 1]
call 0xf6a2d606
pop ecx
jmp 0x416100
pop ebp
ja 0x416175
dec ebp
insd dword es:[edi], dx
mov byte [eax], cl
mov eax, dword [0x7d0008c2]
inc esp
adc eax, 0x5000004
add al, 0
add byte [0xff4d6f60], al
jbe 0x416130
sbb eax, 0x8309755c
cmp eax, 0x1474fe48
test cl, cl
pop esp
jne 0x41611f
cmp dword [0x1474fe48], 0xffffff84
leave
mov byte [eax - 2], cl
je 0x41612a
dec eax
invalid
inc dword [0x2ce8ecbc]
xchg esp, eax
inc esi
or eax, 0x2ce8ecbc
xchg esp, eax
mov eax, 0xc35e3ffe
push 0x7645bb68
jo 0x4160c8
inc ebp
test al, 0xbf
inc ebp
add byte [esi - 0x52], dl
jo 0x4160d1
inc ebp
mov ax, 2
pop esi
ret
mov ah, 0
pop esi
ret
Function at 0x416000
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
and bl, dh
mov al, 0x12
jmp 0xd8405a7c
mov dword [0x45469404], eax
sub al, 0x8a
add byte [ebx + 0x2bd094a0], ah
adc eax, 0xa0b8d61c
inc esi
add al, ch
pop esp
or byte [ebx + 0x1eefc1f9], cl
push ds
xor edi, ecx
imul edi, edi, 0x6c078965
add edi, edx
mov dword [eax + 4], edi
add eax, 4
inc edx
cmp eax, 0xc759e5c
jl 0x415ffa
pop edi
mov dword [0x2886208], esi
mov dword [0xbb7c9e60], esi
inc ebp
add byte [0x59889480], dl
adc edi, edi
or eax, 0x9f05c607
jae fcn.00416066
cmp dword [0x45a54415], ebx
add byte [eax], ch
jae 0x416086
add byte [edi + 0x5e], bl
pop ebx
jne fcn.00416066
push ebp
mov ebp, esp
push ecx
mov al, byte [ebp + 0x74]
sbb byte [eax], al
mov byte [eax + 0xc0], 0
jmp 0x415a33
dec eax
adc cl, byte [ecx + 0x2c751448]
test al, al
je 0x4160c4
dec dword [eax + 0x74]
aaa
dec eax
je 0x4160c8
sbb dh, al
add eax, dword [ecx]
sbb byte [eax + 0x48], cl
je 0x4160b5
push dword [0x453aa4a8]
outsb dx, byte [esi]
jne 0x416112
push eax
retf
jge 0x4160fb
adc eax, 0x5000004
pushal
outsd dx, dword [esi]
dec ebp
push dword [esi + 0xa]
cmp byte [eax - 2], 0x46
je 0x4160c8
inc byte [esi + 0x74]
add byte [edx], ch
push 0
jmp 0x4160d5
push eax
or ch, byte [edx + 1]
call 0xf6a2d606
pop ecx
jmp 0x416100
pop ebp
ja 0x416175
dec ebp
insd dword es:[edi], dx
mov byte [eax], cl
mov eax, dword [0x7d0008c2]
inc esp
adc eax, 0x5000004
add al, 0
add byte [0xff4d6f60], al
jbe 0x416130
sbb eax, 0x8309755c
cmp eax, 0x1474fe48
test cl, cl
pop esp
jne 0x41611f
cmp dword [0x1474fe48], 0xffffff84
leave
mov byte [eax - 2], cl
je 0x41612a
dec eax
invalid
inc dword [0x2ce8ecbc]
xchg esp, eax
inc esi
or eax, 0x2ce8ecbc
xchg esp, eax
mov eax, 0xc35e3ffe
push 0x7645bb68
jo 0x4160c8
inc ebp
test al, 0xbf
inc ebp
add byte [esi - 0x52], dl
jo 0x4160d1
inc ebp
mov ax, 2
pop esi
ret
mov ah, 0
pop esi
ret
Function at 0x450551
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push ecx
cmp dword [0xc0339e60], 0
push ebx
mov edx, dword [esi - 0x80]
mov esi, 0x4694a0
jne 0x450571
call dword [0x15ffa26c]
push eax
call fcn.00415fe5
pop ecx
mov dword [0x466208], 0x2600270
mov dword [0x469498], esi
mov edx, 0x68e800e3
mov ecx, 0x7ffffffe
mov eax, 0x9908b0df
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x634]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x450590
mov edx, 0xb70f018c
mov ebx, dword [esi]
lea edi, [esi + 4]
mov ebp, dword [edi]
xor ebx, ebp
and ebx, ecx
xor ebx, dword [esi]
mov dword [esp + 0x10], ecx
mov ecx, ebp
and cl, 1
shr ebx, 1
neg cl
sbb ecx, ecx
and ecx, eax
xor ebx, ecx
xor ebx, dword [esi + 0x975fc74]
dec edx
mov ecx, dword [esp + 0x10]
mov dword [esi], ebx
mov esi, edi
jne 0x4505c6
mov edx, dword [0x4694a0]
mov edi, dword [esi]
xor edi, edx
and edi, ecx
xor edi, dword [esi]
and dl, 1
shr edi, 1
neg dl
sbb edx, edx
and edx, eax
xor edi, edx
xor edi, dword [esi + 0x975fc74]
mov dword [esi], edi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x561e90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd9000]
push edi
or ebp, 0xffffffff
jmp 0x561eb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x561eb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x561ea8
mov eax, 1
add ebx, ebx
jne 0x561ecb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x561edc
jne 0x561efb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x561efb
dec eax
add ebx, ebx
jne 0x561ee8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x561ec0
add ebx, ebx
jne 0x561ef7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x561f4d
xor ecx, ecx
sub eax, 3
jb 0x561f13
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x561f82
sar eax, 1
mov ebp, eax
jmp 0x561f1e
add ebx, ebx
jne 0x561f1e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x561eec
inc ecx
add ebx, ebx
jne 0x561f2c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x561eec
add ebx, ebx
jne 0x561f39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x561f2e
jne 0x561f4a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x561f2e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x561f6c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x561f5e
jmp 0x561eae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x561f6c
add edi, ecx
jmp 0x561eae
pop esi
mov edi, esi
mov ecx, 0xee
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x561f8a
cmp byte [edi], 6
jne 0x561f8a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x561f8f
lea edi, [esi + 0x15f000]
mov eax, dword [edi]
or eax, eax
je 0x561ffe
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x162964]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1629a0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x561fbc
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1629a4]
or eax, eax
je 0x561ff8
mov dword [ebx], eax
add ebx, 4
jmp 0x561fd9
call dword [esi + 0x1629ac]
mov ebp, dword [esi + 0x1629a8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x562032
sub esp, 0xffffff80
jmp 0x40389f
Function at 0x401790
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x10]
xor ebx, ebx
test ebp, ebp
je 0x40198b
push esi
mov esi, dword [sym.imp.USER32.dll_GetClipCursor]
push edi
mov edi, dword [sym.imp.USER32.dll_CloseDesktop]
nop
push 0
call edi
push 0
call esi
mov ecx, dword [esp + 0x14]
push 0
xor byte [ebx + ecx], 0x45
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 9
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xd0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xf5
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xe3
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xdf
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x3b
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xd1
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xe3
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xc2
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x7f
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x68
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x12
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x25
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x16
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x9e
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x59
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x52
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0x46
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
xor byte [ebx + eax], 0xd8
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xf7
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xa7
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0xf1
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x59
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x55
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x49
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
xor byte [ebx + eax], 0xc1
push 0
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
push 0
add byte [ebx + eax], 0x47
call edi
push 0
call esi
mov eax, dword [esp + 0x14]
add byte [ebx + eax], 0xed
inc ebx
cmp ebx, ebp
jb 0x4017b0
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x401990
Capabilities:
Encode data using xor
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x30
mov eax, dword [0x455c0c]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
mov ebx, dword [esp + 0x38]
push ebp
push esi
xor ebp, ebp
mov dword [esp + 0x10], ebx
mov eax, dword [ebx + 0x3c]
push edi
mov dword [esp + 0x18], 0
mov ecx, dword [eax + ebx + 0x78]
mov eax, dword [ecx + ebx + 0x20]
add ecx, ebx
mov dword [esp + 0x20], ecx
add eax, ebx
mov dword [esp + 0x10], eax
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x401b2b
mov edi, dword [esp + 0x48]
nop
mov edx, dword [eax]
xorps xmm0, xmm0
add edx, ebx
mov dword [esp + 0x34], 0
mov eax, edx
mov dword [esp + 0x38], 0
movups xmmword [esp + 0x24], xmm0
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x401a01
sub eax, esi
lea ecx, [esp + 0x24]
push eax
push edx
call fcn.00401070
test ebx, ebx
je 0x401adb
cmp edi, 3
jbe 0x401adb
mov edi, dword [esp + 0x34]
lea ebx, [esp + 0x24]
mov esi, edi
xor esi, 0x14d
cmp dword [esp + 0x38], 0x10
cmovae ebx, dword [esp + 0x24]
push ebx
shr edi, 2
push edi
push str._x_and__p
call fcn.00401de0
add esp, 0xc
xor edx, edx
test edi, edi
je 0x401a81
nop dword [eax + eax]
imul ecx, dword [ebx + edx*4], 0x5bd1e991
inc edx
imul esi, esi, 0x5bd1e991
mov eax, ecx
shr eax, 0x18
xor eax, ecx
imul ecx, eax, 0x5bd1e991
xor esi, ecx
cmp edx, edi
jl 0x401a60
mov eax, dword [esp + 0x34]
xor ecx, ecx
and eax, 3
sub eax, 1
je 0x401aab
sub eax, 1
je 0x401aa1
sub eax, 1
jne 0x401ab9
movsx ecx, byte [ebx + edi*4 + 2]
shl ecx, 0x10
movsx eax, byte [ebx + edi*4 + 1]
shl eax, 8
xor ecx, eax
movsx eax, byte [ebx + edi*4]
xor eax, ecx
imul eax, eax, 0x5bd1e991
xor esi, eax
mov edi, dword [esp + 0x48]
mov eax, esi
shr eax, 0xd
xor eax, esi
imul eax, eax, 0x5bd1e991
mov ecx, eax
shr ecx, 0xf
xor ecx, eax
je 0x401ad7
cmp ecx, edi
je 0x401b44
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x38]
add eax, 4
mov dword [esp + 0x10], eax
cmp ecx, 0x10
jb 0x401b20
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401b12
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b97
push ecx
push edx
call fcn.0040276a
mov eax, dword [esp + 0x18]
add esp, 8
inc ebp
cmp ebp, dword [esp + 0x1c]
jb 0x4019e0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x3c]
add eax, ebx
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00402778
add esp, 0x30
ret
mov edx, dword [esp + 0x20]
mov ebx, dword [esp + 0x14]
mov eax, dword [edx + 0x24]
lea eax, [eax + ebp*2]
movzx ecx, word [eax + ebx]
mov eax, dword [edx + 0x1c]
lea eax, [eax + ecx*4]
mov ecx, dword [eax + ebx]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0x10
jb 0x401b2b
mov edx, dword [esp + 0x24]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x401b8b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401b97
push ecx
push edx
call fcn.0040276a
add esp, 8
jmp 0x401b2b
call fcn.0040574f
int3