joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4568aa
Capabilities:
Check for time delay via gettickcount
Get socket status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x320
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
xor edx, edx
push edi
xor edi, edi
mov dword [ebp - 0x318], edx
mov dword [ebp - 0x314], edx
cmp esi, 0xffffffff
jne 0x4568ed
cmp ebx, esi
jne 0x4568ed
push dword [ebp + 0x10]
call fcn.00456882
pop ecx
jmp 0x456aa6
cmp dword [ebp + 0x10], edx
jle 0x456908
mov edi, dword [ebp + 0x10]
call fcn.00458122
mov dword [ebp - 0x314], edx
mov dword [ebp - 0x318], eax
xor edx, edx
xor eax, eax
or ecx, 0xffffffff
inc eax
mov dword [ebp - 0x108], edx
mov dword [ebp - 0x310], edx
cmp esi, ecx
je 0x456938
mov dword [ebp - 0x30c], esi
mov dword [ebp - 0x310], eax
mov dword [ebp - 0x104], esi
mov dword [ebp - 0x108], eax
mov ecx, esi
mov dword [ebp - 0x20c], edx
cmp ebx, 0xffffffff
je 0x45698f
mov dword [ebp - 0x20c], eax
xor eax, eax
mov dword [ebp - 0x208], ebx
cmp dword [ebp - 0x108], edx
jbe 0x45696b
cmp dword [ebp + eax*4 - 0x104], ebx
je 0x45696b
inc eax
cmp eax, dword [ebp - 0x108]
jb 0x456959
cmp eax, dword [ebp - 0x108]
jne 0x456989
cmp dword [ebp - 0x108], 0x40
jae 0x456989
mov dword [ebp + eax*4 - 0x104], ebx
inc dword [ebp - 0x108]
cmp ebx, ecx
jbe 0x45698f
mov ecx, ebx
cmp dword [ebp + 0x10], edx
jge 0x456998
xor ebx, ebx
jmp 0x45699e
lea ebx, [ebp - 0x320]
lea esi, [ecx + 1]
xor eax, eax
cmp dword [ebp + 0x10], eax
jle 0x4569c0
mov eax, edi
cdq
mov ecx, 0x3e8
idiv ecx
imul edx, edx, 0x3e8
mov dword [ebp - 0x31c], edx
jmp 0x4569c8
jne 0x4569ce
mov dword [ebp - 0x31c], eax
mov dword [ebp - 0x320], eax
push ebx
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x310]
push eax
push esi
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x456a31
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
je 0x456a01
cmp eax, 0x2714
jne 0x456a35
cmp dword [ebp + 0x10], 0
jle 0x4569a1
push dword [ebp - 0x314]
push dword [ebp - 0x318]
call fcn.00458122
push edx
push eax
call fcn.00458138
mov edi, dword [ebp + 0x10]
sub edi, eax
add esp, 0x10
test edi, edi
jg 0x4569a1
jmp 0x456a35
test eax, eax
jns 0x456a3a
or eax, 0xffffffff
jmp 0x456aa6
jne 0x456a40
xor eax, eax
jmp 0x456aa6
xor esi, esi
cmp dword [ebp + 8], 0xffffffff
je 0x456a72
lea eax, [ebp - 0x310]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456a5c
inc esi
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456a72
or esi, 4
cmp dword [ebp + 0xc], 0xffffffff
je 0x456aa4
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456a8e
or esi, 2
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0xc]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x456aa4
or esi, 4
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret
Function at 0x458c4d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
movsx eax, byte [ebp + 8]
add eax, 0xffffff9f
cmp eax, 0x19
ja case.default.0x458c5c
jmp dword [eax*4 + 0x458cd1]
mov al, 0x41
pop ebp
ret
mov al, 0x42
pop ebp
ret
mov al, 0x43
pop ebp
ret
mov al, 0x44
pop ebp
ret
mov al, 0x45
pop ebp
ret
mov al, 0x46
pop ebp
ret
mov al, 0x47
pop ebp
ret
mov al, 0x48
pop ebp
ret
mov al, 0x49
pop ebp
ret
mov al, 0x4a
pop ebp
ret
mov al, 0x4b
pop ebp
ret
mov al, 0x4c
pop ebp
ret
mov al, 0x4d
pop ebp
ret
mov al, 0x4e
pop ebp
ret
mov al, 0x4f
pop ebp
ret
mov al, 0x50
pop ebp
ret
mov al, 0x51
pop ebp
ret
mov al, 0x52
pop ebp
ret
mov al, 0x53
pop ebp
ret
mov al, 0x54
pop ebp
ret
mov al, 0x55
pop ebp
ret
mov al, 0x56
pop ebp
ret
mov al, 0x57
pop ebp
ret
mov al, 0x58
pop ebp
ret
mov al, 0x59
pop ebp
ret
mov al, 0x5a
pop ebp
ret
mov al, byte [ebp + 8]
pop ebp
ret

Function at 0x45b14a
Capabilities:
Hash data with md5

Disassembly:
and dword [eax + 0x14], 0
and dword [eax + 0x10], 0
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret

Function at 0x45bc90
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x49b854]
jne 0x45bc9a
repz ret
jmp fcn.00465437

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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x45effc
call fcn.004638cf
mov dword [eax], esi
call fcn.004638bc
push 0x16
pop esi
mov dword [eax], esi
call fcn.004659c5
mov eax, esi
jmp 0x45f051
test dword [ebp + 0xc], 0xfffffff9
jne 0x45efe2
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x45f029
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004638e2
pop ecx
call fcn.004638bc
mov eax, dword [eax]
jmp 0x45f051
test al, 0x10
jne 0x45f04f
test al, 1
je 0x45f04f
test byte [ebp + 0xc], 2
je 0x45f04f
call fcn.004638cf
mov dword [eax], 5
call fcn.004638bc
mov dword [eax], 0xd
jmp 0x45f020
xor eax, eax
pop esi
pop ebp
ret
Function at 0x47413a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x49b854]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00464e28
and dword [ebp - 0x14], 0
cmp dword [0x49e668], 0
mov dword [ebp - 0x18], eax
jne 0x4741ed
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x474295
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x48ba48
push ebx
call edi
test eax, eax
je 0x474295
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x48ba38
push ebx
mov dword [0x49e668], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x49e66c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x49e670], eax
call edi
push eax
call esi
mov dword [0x49e678], eax
test eax, eax
je 0x4741ed
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x49e674], eax
mov eax, dword [0x49e674]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x474246
cmp dword [0x49e678], ecx
je 0x474246
push eax
call esi
push dword [0x49e678]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x474246
test ebx, ebx
je 0x474246
call edi
test eax, eax
je 0x47423d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x47423d
test byte [ebp - 8], 1
jne 0x474246
or dword [ebp + 0x10], 0x200000
jmp 0x474279
mov eax, dword [0x49e66c]
cmp eax, dword [ebp - 0x18]
je 0x474279
push eax
call esi
test eax, eax
je 0x474279
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x474279
mov eax, dword [0x49e670]
cmp eax, dword [ebp - 0x18]
je 0x474279
push eax
call esi
test eax, eax
je 0x474279
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x49e668]
call esi
test eax, eax
je 0x474295
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x474297
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0045bc90
leave
ret
Function at 0x478c77
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x49e70c], 0
push esi
push edi
jne 0x478bed
call fcn.00478b59
test eax, eax
je 0x478c32
mov eax, dword [0x49e70c]
cmp eax, 1
jne 0x478c0e
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x478c32
jmp 0x478c74
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
push eax
call edi
test eax, eax
jne 0x478c74
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x478c36
xor eax, eax
jmp 0x478c74
mov eax, dword [esi]
push dword [0x49e70c]
call edi
mov edi, eax
test edi, edi
je 0x478c58
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov eax, edi
jmp 0x478c74
lea edi, [esi + 0xff0]
push esi
push dword [0x49e70c]
call dword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add esi, 0x10
cmp esi, edi
jb 0x478c5e
mov eax, esi
pop edi
pop esi
ret
jmp 0x478bd9
Function at 0x47f71c
Capabilities:
Set global application hook

Disassembly:
cmp dword [0x486cec], 0
jne 0x47f73f
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x47f690
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x486cec], eax
ret

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
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 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
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 0x40810b
sub esp, 0xffffff80
jmp 0x402130
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x1004560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
xor esi, esi
push edi
cmp dword [ebp + 8], esi
mov dword [ebp - 4], esi
je 0x100460e
cmp dword [ebp + 0xc], esi
je 0x100460e
cmp dword [ebp + 0x10], esi
je 0x100460e
push esi
push esi
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call fcn.01004797
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10045bf
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x100460a
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x100460a
lea eax, [ebp - 4]
push esi
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x10045f3
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
test eax, eax
je 0x1004603
call edi
mov esi, eax
and esi, 0xffff
or esi, 0x80070000
jmp 0x1004603
mov esi, dword [ebp - 4]
sub esi, dword [ebp + 0x10]
neg esi
sbb esi, esi
and esi, 0x80004005
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x1004613
mov eax, 0x80070057
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x409920
Capabilities:
Create process on windows
Set registry value

Disassembly:
sub esp, 0x844
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x840], eax
push 0x7fc
lea eax, [esp + 0x48]
mov dword [esp + 0x44], 0
push 0
push eax
call fcn.0048fb10
add esp, 0xc
push 2
push 0xffffffffffffffff
push 0x100c
push 0x2740
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x40]
mov dword [esp + 0xc], 0
mov dword [esp + 0x18], ecx
lea ecx, [esp + 4]
push ecx
push eax
push 0x1073
push 0x2740
push dword [0x4e6030]
mov dword [esp + 0x30], 0x400
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp word [esp + 0x40], 0
jne 0x4099e8
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x409a8a
push 0x4b34dc
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
push 0x4b34dc
jmp 0x409a6e
push 0
push str.RegEdit_RegEdit
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x409a11
push 0
push 0
push 0x12
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
push 0x2bc
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x5d
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrChrW]
test eax, eax
je 0x409a8a
lea ecx, [esp + 0x40]
sub eax, ecx
sar eax, 1
lea eax, [eax*2 - 2]
cmp eax, 0x800
jae 0x409af4
xor ecx, ecx
mov word [esp + eax + 0x40], cx
lea eax, [esp]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionAppletsRegedit
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x409a8a
lea eax, [esp + 0x42]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, eax
push eax
lea eax, [esp + 0x46]
push eax
push 1
push 0
push str.LastKey
push dword [esp + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [esp]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [0x4e6030]
xorps xmm0, xmm0
mov dword [esp + 0xc], eax
lea eax, [esp + 4]
movlpd qword [esp + 0x28], xmm0
movlpd qword [esp + 0x30], xmm0
movlpd qword [esp + 0x38], xmm0
movaps xmm0, xmmword [0x4c7840]
push eax
mov dword [esp + 8], 0x3c
mov dword [esp + 0xc], 0x4c
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], str.regedit.exe
movups xmmword [esp + 0x1c], xmm0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ecx, dword [esp + 0x840]
xor ecx, esp
call fcn.0048ea75
add esp, 0x844
ret
call fcn.0048eba6
int3
Function at 0x40d540
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xc3c
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0xc38], eax
push ebx
push ebp
push esi
push edi
push 0x2780
push dword [0x4e6030]
mov dword [0x4d5838], 1
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebp, eax
push 0
push 0
push 0x1009
push ebp
call edi
call fcn.0040dbc0
push 0x204
lea eax, [esp + 0x70]
mov dword [esp + 0x6c], 0x30
push 0
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x270]
xor esi, esi
push 0x4e5e28
push 0x3e8
push eax
push esi
lea eax, [esp + 0x78]
push eax
push str.TRASHFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40d728
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [eax + eax]
movzx eax, word [esp + 0x270]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x270]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call ebx
test eax, eax
jle 0x40d660
nop dword [eax]
nop word [eax + eax]
movzx eax, word [esp + esi*2 + 0x272]
mov word [esp + esi*2 + 0x270], ax
cmp eax, 0x3e
jne 0x40d651
cmp esi, 0x3e8
jae 0x40d7ea
xor eax, eax
mov word [esp + esi*2 + 0x270], ax
lea eax, [esp + esi*2 + 0x274]
push eax
lea eax, [esp + 0xa44]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x270]
inc esi
push eax
call ebx
cmp esi, eax
jl 0x40d610
push 0
push 0
push 0x1004
push ebp
call edi
push 0x4d68f4
push 0
mov dword [0x4d68f8], eax
lea eax, [esp + 0x278]
push 0x104d
push ebp
mov dword [0x4d6910], 0
mov dword [0x4d6908], eax
call edi
cmp dword [esp + 0x10], 0x31
jne 0x40d6c0
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4d68f8]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebp
call edi
lea eax, [esp + 0xa40]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x4d68f8]
push 0x1074
push ebp
call edi
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x68]
push 0xa
push 0xa
push eax
push esi
call fcn.0049099e
add esp, 0x10
lea eax, [esp + 0x270]
push 0x4e5e28
push 0x3e8
push eax
push 0
lea eax, [esp + 0x78]
push eax
push str.TRASHFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d5e0
push 0x2780
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
xor esi, esi
mov ebx, eax
push esi
push esi
push 0x1004
push ebx
call edi
test eax, eax
js 0x40d7c7
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
xorps xmm0, xmm0
push 0xa
mov word [esp + 0x58], ax
mov word [esp + 0x6a], ax
lea eax, [esp + 0x58]
push 0xa
push eax
push esi
movups xmmword [esp + 0x66], xmm0
call fcn.0049099e
add esp, 0x10
mov dword [esp + 0x28], 0xf000
lea eax, [esp + 0x54]
push 0x4e5e28
push 0
push eax
push str.TRASHCHECK
call ebp
neg eax
sbb eax, eax
and eax, 0x1000
add eax, 0x1000
mov dword [esp + 0x24], eax
lea eax, [esp + 0x18]
push eax
push esi
push 0x102b
push ebx
call edi
push 0
push 0
push 0x1004
push ebx
inc esi
call edi
cmp esi, eax
jle 0x40d755
mov ecx, dword [esp + 0xc48]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov dword [0x4d5838], 0
call fcn.0048ea75
add esp, 0xc3c
ret
call fcn.0048eba6
int3
Function at 0x40d7f0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1848
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1844], eax
push ebx
push ebp
push esi
push 0x2785
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call ebp
push 0x7fc
lea eax, [esp + 0x858]
mov dword [esp + 0x854], 0x30
push 0
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x50]
xor esi, esi
push 0x4e5e28
push 0x400
push eax
push esi
lea eax, [esp + 0x860]
push eax
push str.EXCLUDEFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40d9ab
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [esp + 0x54]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call edi
test eax, eax
jle 0x40d8e2
movzx eax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
cmp eax, 0x3e
jne 0x40d8d6
cmp esi, 0x400
jae 0x40d9c3
xor eax, eax
mov word [esp + esi*2 + 0x54], ax
lea eax, [esp + esi*2 + 0x58]
push eax
lea eax, [esp + 0x1058]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x54]
inc esi
push eax
call edi
cmp esi, eax
jl 0x40d8a1
push 0
push 0
push 0x1004
push ebx
call ebp
push 0x4d68b8
push 0
mov dword [0x4d68bc], eax
lea eax, [esp + 0x5c]
push 0x104d
push ebx
mov dword [0x4d68d4], 0
mov dword [0x4d68cc], eax
call ebp
cmp dword [esp + 0x10], 0x31
jne 0x40d93f
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4d68bc]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebx
call ebp
lea eax, [esp + 0x1054]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x4d68bc]
push 0x1074
push ebx
call ebp
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x854]
push 0xa
push 0xa
push eax
push esi
call fcn.0049099e
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4e5e28
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push str.EXCLUDEFOLDERS
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40d886
pop edi
mov ecx, dword [esp + 0x1850]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x1848
ret
call fcn.0048eba6
int3
Function at 0x40d9d0
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x1848
call fcn.004ac5b0
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x1844], eax
push ebx
push ebp
push esi
push 0x277b
push dword [0x4e6030]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, eax
push 0
push 0
push 0x1009
push ebx
call ebp
push 0x7fc
lea eax, [esp + 0x858]
mov dword [esp + 0x854], 0x30
push 0
push eax
call fcn.0048fb10
add esp, 0xc
lea eax, [esp + 0x50]
xor esi, esi
push 0x4e5e28
push 0x400
push eax
push esi
lea eax, [esp + 0x860]
push eax
push str.TRASHFILES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x40db8b
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
movzx eax, word [esp + 0x54]
inc esi
mov dword [esp + 0x10], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x14], esi
xor esi, esi
push eax
call edi
test eax, eax
jle 0x40dac2
movzx eax, word [esp + esi*2 + 0x56]
mov word [esp + esi*2 + 0x54], ax
cmp eax, 0x3e
jne 0x40dab6
cmp esi, 0x400
jae 0x40dba3
xor eax, eax
mov word [esp + esi*2 + 0x54], ax
lea eax, [esp + esi*2 + 0x58]
push eax
lea eax, [esp + 0x1058]
push eax
call dword [sym.imp.SHLWAPI.dll_StrCpyW]
lea eax, [esp + 0x54]
inc esi
push eax
call edi
cmp esi, eax
jl 0x40da81
push 0
push 0
push 0x1004
push ebx
call ebp
push 0x4d6930
push 0
mov dword [0x4d6934], eax
lea eax, [esp + 0x5c]
push 0x104d
push ebx
mov dword [0x4d694c], 0
mov dword [0x4d6944], eax
call ebp
cmp dword [esp + 0x10], 0x31
jne 0x40db1f
lea eax, [esp + 0x18]
mov dword [esp + 0x28], 0xf000
push eax
push dword [0x4d6934]
mov dword [esp + 0x2c], 0x2000
push 0x102b
push ebx
call ebp
lea eax, [esp + 0x1054]
mov dword [esp + 0x20], 1
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x18]
push eax
push dword [0x4d6934]
push 0x1074
push ebx
call ebp
mov esi, dword [esp + 0x14]
lea eax, [esp + 0x854]
push 0xa
push 0xa
push eax
push esi
call fcn.0049099e
add esp, 0x10
lea eax, [esp + 0x54]
push 0x4e5e28
push 0x400
push eax
push 0
lea eax, [esp + 0x864]
push eax
push str.TRASHFILES
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
jne 0x40da66
pop edi
mov ecx, dword [esp + 0x1850]
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0048ea75
add esp, 0x1848
ret
call fcn.0048eba6
int3