joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414ed4
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
mov ebx, eax
mov ebp, dword [ebx + 0x24]
dec ebp
test ebp, ebp
jl 0x414f3f
inc ebp
xor esi, esi
push 0xcc0020
mov eax, esi
add eax, eax
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + eax*8 + 4]
push eax
mov eax, esi
add eax, eax
mov edx, dword [ebx + 0x20]
mov eax, dword [edx + eax*8]
push eax
mov eax, dword [ebx + 0x40]
push eax
mov edi, esi
add edi, edi
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8 + 0xc]
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8 + 8]
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8 + 4]
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8]
push eax
mov eax, dword [ebx + 0x38]
call fcn.00413a30
call fcn.00412b68
push eax
call sub.gdi32.dll_BitBlt
inc esi
dec ebp
jne 0x414ee5
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x415110
Capabilities:
Capture screenshot

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov dword [esp], edx
mov ebx, eax
mov byte [esp + 4], 0
call fcn.004143a8
mov eax, ebx
call fcn.00414fac
test al, al
je 0x415145
mov edx, dword [esp]
mov eax, ebx
call fcn.00415008
mov byte [esp + 4], 1
jmp 0x41527c
push 0
push 0
mov eax, dword [esp + 8]
call fcn.00406824
mov byte [esp + 0xc], 0x4e
lea edx, [esp + 0xc]
mov ecx, 1
mov eax, dword [esp]
mov esi, dword [eax]
call dword [esi + 0xc]
cmp byte [ebx + 0x2c], 0
je 0x415177
lea eax, [ebx + 0x2d]
push eax
call sub.user32.dll_GetCursorPos
lea edx, [ebx + 0x2d]
mov ecx, 8
mov eax, dword [esp]
mov esi, dword [eax]
call dword [esi + 0xc]
mov eax, ebx
call fcn.00414f44
mov ebp, dword [ebx + 0x24]
dec ebp
test ebp, ebp
jl 0x41527c
inc ebp
xor esi, esi
mov edi, esi
add edi, edi
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + edi*8 + 8]
mov eax, dword [ebx + 0xc]
call fcn.00413fc0
mov eax, dword [ebx + 0x20]
mov edx, dword [eax + edi*8 + 0xc]
mov eax, dword [ebx + 0xc]
call fcn.00413e48
push 0xcc0020
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8 + 4]
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8]
push eax
mov eax, dword [ebx + 0x38]
call fcn.00413a30
call fcn.00412b68
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8 + 0xc]
push eax
mov eax, dword [ebx + 0x20]
mov eax, dword [eax + edi*8 + 8]
push eax
push 0
push 0
mov eax, dword [ebx + 0xc]
call fcn.00413a30
call fcn.00412b68
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [ebx + 8]
call fcn.00406e68
mov edx, dword [ebx + 8]
mov eax, dword [ebx + 0xc]
call fcn.004141b4
mov eax, dword [ebx + 0x20]
lea edx, [eax + edi*8]
mov ecx, 4
mov eax, dword [esp]
call fcn.0040697c
mov eax, dword [ebx + 0x20]
lea edx, [eax + edi*8 + 4]
mov ecx, 4
mov eax, dword [esp]
call fcn.0040697c
mov eax, dword [ebx + 8]
call fcn.004067d4
mov dword [esp + 8], eax
lea edx, [esp + 8]
mov ecx, 4
mov eax, dword [esp]
call fcn.0040697c
push 0
push 0
mov edx, dword [ebx + 8]
mov eax, dword [esp + 8]
call fcn.0040699c
mov byte [esp + 4], 1
inc esi
dec ebp
jne 0x41519d
mov al, byte [esp + 4]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x415ba0
Capabilities:
Create process on windows
Self delete
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd10
push ebx
push esi
xor eax, eax
mov dword [ebp - 0x2f0], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1ec], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d4], eax
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x415dd3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x80
push ebx
call sub.kernel32.dll_SetFileAttributesA
lea eax, [ebp - 0x1d4]
call fcn.0041b604
mov edx, dword [ebp - 0x1d4]
lea eax, [ebp - 4]
mov ecx, 0x415dec
call fcn.00403fa0
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402d78
lea eax, [ebp - 0x1d0]
call fcn.00402b14
call fcn.004029ac
mov edx, 0x415e00
lea eax, [ebp - 0x1d0]
call fcn.004042e8
call fcn.0040315c
call fcn.004029ac
push 0x415e10
lea eax, [ebp - 0x1dc]
mov edx, ebx
call fcn.00403edc
push dword [ebp - 0x1dc]
push 0x415e24
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404014
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1d0]
call fcn.004042e8
call fcn.0040315c
call fcn.004029ac
push 0x415e30
lea eax, [ebp - 0x1e4]
mov edx, ebx
call fcn.00403edc
push dword [ebp - 0x1e4]
push 0x415e44
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404014
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1d0]
call fcn.004042e8
call fcn.0040315c
call fcn.004029ac
test esi, esi
je 0x415d42
push 0x415e24
lea eax, [ebp - 0x2ec]
mov edx, esi
call fcn.004031b0
lea edx, [ebp - 0x2ec]
lea eax, [ebp - 0x1ec]
call fcn.00403f0c
push dword [ebp - 0x1ec]
push 0x415e24
lea eax, [ebp - 0x1e8]
mov edx, 3
call fcn.00404014
mov edx, dword [ebp - 0x1e8]
lea eax, [ebp - 0x1d0]
call fcn.004042e8
call fcn.0040315c
call fcn.004029ac
push 0x415e10
push dword [ebp - 4]
push 0x415e24
lea eax, [ebp - 0x2f0]
mov edx, 3
call fcn.00404014
mov edx, dword [ebp - 0x2f0]
lea eax, [ebp - 0x1d0]
call fcn.004042e8
call fcn.0040315c
call fcn.004029ac
lea eax, [ebp - 0x1d0]
call fcn.00402e34
call fcn.004029ac
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404154
push eax
push 0
push 0
call sub.shell32.dll_ShellExecuteA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x415dda
lea eax, [ebp - 0x2f0]
call fcn.00403dac
lea eax, [ebp - 0x1ec]
mov edx, 7
call fcn.00403dd0
lea eax, [ebp - 4]
call fcn.00403dac
ret
Function at 0x416534
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4165dd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403dac
call sub.kernel32.dll_GetTickCount
mov edi, eax
jmp 0x41659d
cmp byte [ebx + 5], 0
je 0x4165a9
mov eax, ebx
call fcn.00412514
test al, al
je 0x416596
mov ecx, esi
mov edx, 0x3a98
mov eax, ebx
call fcn.00411f80
lea edx, [ebp - 8]
mov eax, dword [esi]
call fcn.0040561c
cmp dword [ebp - 8], 0
jne 0x4165a9
jmp 0x41659d
push 0x1e
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, edi
cmp eax, dword [ebp - 4]
jbe 0x416565
cmp dword [esi], 0
je 0x4165c2
lea edx, [ebp - 0xc]
mov eax, dword [esi]
call fcn.004128d0
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00403e00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4165e4
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00403dd0
ret

Function at 0x416704
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404144
xor eax, eax
push ebp
push 0x4167bd
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 8]
lea eax, [ebp - 4]
mov edx, 0x4167d4
call fcn.004116dc
lea ecx, [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 0x4167d4
call fcn.004116dc
lea ecx, [ebp - 0x14]
lea eax, [ebp - 4]
mov edx, 0x4167d4
call fcn.004116dc
mov eax, dword [ebp - 0x14]
call fcn.00405738
mov ebx, eax
lea ecx, [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 0x4167d4
call fcn.004116dc
push ebx
mov eax, dword [ebp - 8]
call fcn.00404154
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404154
push eax
mov eax, dword [ebp - 0xc]
call fcn.00404154
push eax
push 0x4167d8
push 0
call sub.shell32.dll_ShellExecuteA
cmp eax, 0x20
seta al
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4167c4
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.00403dd0
ret
Function at 0x417e70
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
mov edi, edx
mov ebx, eax
call sub.kernel32.dll_GetTickCount
mov esi, eax
jmp 0x417e90
cmp byte [ebx + 8], 0
jne 0x417e9b
push 0x3e8
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, esi
cmp edi, eax
ja 0x417e80
pop edi
pop esi
pop ebx
ret

Function at 0x418058
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
mov ecx, 9
push 0
push 0
dec ecx
jne 0x418060
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x418215
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x41d880], 0x14
jge 0x4180a2
lea eax, [ebp - 0x28]
mov edx, dword [0x41e0a8]
call fcn.00403f0c
mov eax, dword [ebp - 0x28]
call fcn.00417eec
test al, al
je 0x4181f2
jmp 0x4180cd
xor eax, eax
mov dword [0x41d880], eax
lea eax, [ebp - 0x2c]
mov edx, dword [0x41e0a8]
add edx, 0x100
call fcn.00403f0c
mov eax, dword [ebp - 0x2c]
call fcn.00417eec
test al, al
je 0x4181f2
mov ecx, dword [0x41e08c]
mov ecx, dword [ecx]
mov edx, dword [0x41e0a0]
mov edx, dword [edx]
mov eax, dword [ebx + 4]
call fcn.00416394
test al, al
jne 0x4180f4
inc dword [0x41d880]
jmp 0x4181f2
call sub.kernel32.dll_GetTickCount
mov dword [0x42076c], eax
xor eax, eax
mov dword [0x41d880], eax
mov eax, dword [0x41e09c]
mov byte [eax], 0
mov dword [ebp - 0x24], 0x20
lea eax, [ebp - 0x24]
push eax
call sub.kernel32.dll_GlobalMemoryStatus
mov edx, 0x41822c
mov eax, dword [ebx + 4]
call fcn.004164b8
lea eax, [ebp - 0x30]
call fcn.0041141c
push dword [ebp - 0x30]
push 0x41823c
lea eax, [ebp - 0x34]
call fcn.00411498
push dword [ebp - 0x34]
push 0x418248
call fcn.004184dc
lea edx, [ebp - 0x38]
call fcn.004057a8
push dword [ebp - 0x38]
push 0x418248
push 0x418254
push 0x418248
lea eax, [ebp - 0x3c]
call fcn.00410c74
push dword [ebp - 0x3c]
push 0x418248
lea eax, [ebp - 0x40]
call fcn.00410900
push dword [ebp - 0x40]
push 0x418248
lea edx, [ebp - 0x44]
mov eax, dword [ebp - 0x1c]
call fcn.00405a64
push dword [ebp - 0x44]
push 0x418248
call sub.kernel32.dll_GetTickCount
lea edx, [ebp - 0x48]
call fcn.00405a64
push dword [ebp - 0x48]
push 0x418248
lea eax, [ebp - 0x4c]
mov edx, dword [0x41e0a8]
add edx, 0x3c9
call fcn.00403f0c
push dword [ebp - 0x4c]
push 0x418248
lea eax, [ebp - 4]
mov edx, 0x12
call fcn.00404014
mov edx, 0x418264
mov eax, dword [ebx + 4]
call fcn.004164b8
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 4]
call fcn.0041664c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41821c
lea eax, [ebp - 0x4c]
mov edx, 0xa
call fcn.00403dd0
lea eax, [ebp - 4]
call fcn.00403dac
ret
Function at 0x418e14
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes

Disassembly:
push ebx
add esp, 0xffffffb0
mov ebx, eax
mov dword [esp], 0xc
mov dword [esp + 8], 0xffffffff
xor eax, eax
mov dword [esp + 4], eax
push 0
lea eax, [esp + 4]
push eax
lea eax, [ebx + 0x34]
push eax
lea eax, [ebx + 0x30]
push eax
call sub.kernel32.dll_CreatePipe
push 0
lea eax, [esp + 4]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [ebx + 0x38]
push eax
call sub.kernel32.dll_CreatePipe
lea eax, [esp + 0xc]
xor ecx, ecx
mov edx, 0x44
call fcn.00402f54
mov dword [esp + 0xc], 0x44
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x48], eax
mov edx, dword [ebx + 0x38]
mov dword [esp + 0x44], edx
mov dword [esp + 0x4c], eax
mov dword [esp + 0x38], 0x101
mov word [esp + 0x3c], 0
lea eax, [ebx + 0x40]
push eax
lea eax, [esp + 0x10]
push eax
push 0
push 0
push 0x20
push 0xffffffffffffffff
lea eax, [esp + 0x18]
push eax
lea eax, [esp + 0x1c]
push eax
push 0x418ebc
push 0
call sub.kernel32.dll_CreateProcessA
add esp, 0x50
pop ebx
ret

Function at 0x418ec0
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff8
mov esi, ecx
mov ebx, edx
lea edi, [esp + 4]
mov ebp, esp
mov eax, esi
call fcn.00403dac
push 0
push ebx
call sub.kernel32.dll_GetFileSize_1
test eax, eax
je 0x418f3c
mov eax, 0x2801
call fcn.004055fc
mov dword [ebp], eax
xor eax, eax
mov dword [edi], eax
push 0
push edi
push 0x2800
mov eax, dword [ebp]
push eax
push ebx
call sub.kernel32.dll_ReadFile_1
cmp dword [edi], 0
jbe 0x418f2c
mov eax, dword [ebp]
mov edx, dword [edi]
mov byte [eax + edx], 0
mov eax, dword [ebp]
push eax
mov eax, dword [ebp]
push eax
call sub.user32.dll_OemToCharA
mov eax, esi
mov edx, dword [ebp]
call fcn.00403edc
cmp dword [edi], 0x2800
jae 0x418ef1
mov eax, dword [ebp]
call fcn.0040289c
pop ecx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x418f44
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov esi, edx
mov eax, dword [ebp - 4]
call fcn.00404144
xor eax, eax
push ebp
push 0x418fc1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00403f54
mov ebx, eax
inc ebx
lea eax, [ebp - 0x10]
mov ecx, 0x418fd8
mov edx, dword [ebp - 4]
call fcn.00403fa0
mov eax, dword [ebp - 0x10]
call fcn.00404154
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
push esi
call sub.kernel32.dll_WriteFile_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x418fc8
lea eax, [ebp - 0x10]
call fcn.00403dac
lea eax, [ebp - 4]
call fcn.00403dac
ret
Function at 0x41a894
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404144
xor eax, eax
push ebp
push 0x41a929
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.00402f54
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
lea eax, [ebp - 0x28]
mov ecx, 0x41a940
mov edx, dword [ebp - 4]
call fcn.00403fa0
mov eax, dword [ebp - 0x28]
call fcn.00404154
mov dword [ebp - 0x1a], eax
mov eax, 0x41a944
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x14
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41a930
lea eax, [ebp - 0x28]
call fcn.00403dac
lea eax, [ebp - 4]
call fcn.00403dac
ret

Function at 0x41aa14
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404144
xor eax, eax
push ebp
push 0x41aa8a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x110]
push eax
mov eax, dword [ebp - 4]
call fcn.00404154
push eax
call sub.kernel32.dll_GetVolumeInformationA
test eax, eax
je 0x41aa74
mov edx, ebx
lea eax, [ebp - 0x110]
call fcn.004059b4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41aa91
lea eax, [ebp - 4]
call fcn.00403dac
ret
Function at 0x41b5a4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetWindowsDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403f18
add esp, 0x108
pop ebx
ret

Function at 0x41b5d4
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push 0x104
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemDirectoryA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403f18
add esp, 0x108
pop ebx
ret

Function at 0x41b604
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, eax
push esp
push 0x104
call sub.kernel32.dll_GetTempPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403f18
add esp, 0x108
pop ebx
ret

Function at 0x41b630
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffef8
mov ebx, edx
push 0
push eax
lea eax, [esp + 8]
push eax
push 0
call sub.shell32.dll_SHGetSpecialFolderPathA
mov eax, ebx
mov edx, esp
mov ecx, 0x105
call fcn.00403f18
add esp, 0x108
pop ebx
ret
Function at 0x489e82
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Monitor clipboard content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push 0
push 0
push 0
call dword [sym.imp.urlmon.dll_CreateURLMoniker]
mov dword [0x4a481c], 0xa5100
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [0x4a481c]
add ecx, eax
mov dword [0x4a481c], ecx
mov eax, dword [0x4a481c]
mov dword [ebp - 4], eax
push 4
pop eax
imul eax, eax, 0x1e
mov eax, dword [eax + section..text]
mov dword [ebp - 8], eax
push 4
pop eax
imul eax, eax, 0x12
mov eax, dword [eax + section..ikj]
mov dword [ebp - 0xc], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x18], xmm0
jmp 0x489ef6
mov eax, dword [ebp - 0x18]
add eax, 1
mov ecx, dword [ebp - 0x14]
adc ecx, 0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 0x14], 0
jg 0x489fab
jl 0x489f0f
cmp dword [ebp - 0x18], 0x362e3d3f
jae 0x489fab
cmp dword [ebp - 0x18], 0x362e3d21
jne 0x489fa6
cmp dword [ebp - 0x14], 0
jne 0x489fa6
lea eax, [ebp - 0x10]
push eax
push 0x40
push 0xc00
push dword [0x4a481c]
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
push 0x180
push dword [0x4a481c]
call fcn.00489d40
push 0
push 0
push 0
call dword [sym.imp.urlmon.dll_CreateURLMoniker]
call dword [ebp - 4]
push 0
push 3
call dword [sym.imp.USER32.dll_ImpersonateDdeClientWindow]
push 0
push 0
call dword [sym.imp.USER32.dll_ActivateKeyboardLayout]
push 3
call dword [sym.imp.USER32.dll_AddClipboardFormatListener]
push 4
push 4
push 4
call dword [sym.imp.USER32.dll_AdjustWindowRect]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AdjustWindowRectEx]
push 0
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_AnimateWindow]
jmp 0x489ee4
xor eax, eax
leave
ret 0x10
Function at 0x41096f
Capabilities:
Access peb ldr_data
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov esi, dword [ebp + 8]
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
lea ecx, [eax + 0x14]
mov eax, dword [eax + 0x14]
cmp eax, ecx
je 0x410aa5
mov edx, eax
mov eax, dword [eax]
test eax, eax
je 0x410992
cmp dword [edx + 0x10], esi
jne 0x41098a
xor eax, eax
mov dword [esp + 0x14], 0x8000000
mov dword [esp + 0x18], eax
xor eax, eax
mov dword [esp + 0x10], 3
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov dword [esp + 4], SysReAllocString
mov eax, dword [edx + 0x20]
mov dword [esp], eax
call dword [ebp + 0x10]
sub esp, 0x1c
mov ebx, eax
cmp eax, 0xffffffff
je 0x410aa5
mov ecx, dword [esi + 0x3c]
mov eax, dword [ebp + 0xc]
add ecx, esi
sub eax, esi
lea edx, [ecx + 0xf8]
movzx ecx, word [ecx + 6]
mov dword [ebp - 0x24], eax
imul ecx, ecx, 0x28
add ecx, edx
cmp edx, ecx
je 0x410a9e
mov esi, dword [edx + 0xc]
cmp eax, esi
jb 0x410a1f
mov edi, dword [edx + 0x10]
add edi, esi
cmp edi, eax
jb 0x410a1f
add eax, dword [edx + 0x14]
sub eax, esi
jne 0x410a24
jmp 0x410a9e
add edx, 0x28
jmp 0x4109fe
xor edi, edi
mov dword [esp + 4], eax
mov dword [esp + 0xc], edi
mov dword [esp + 8], edi
mov dword [esp], ebx
call dword [ebp + 0x14]
sub esp, 0x10
inc eax
je 0x410a9e
xor esi, esi
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x20]
mov dword [esp + 0x10], esi
mov dword [esp + 8], 8
mov dword [esp + 4], eax
mov dword [esp], ebx
call dword [ebp + 0x18]
sub esp, 0x14
test eax, eax
je 0x410a9e
cmp dword [ebp - 0x24], 8
jne 0x410a9e
cmp byte [ebp - 0x20], 0xb8
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jne 0x410a9e
shrd eax, edx, 8
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
add eax, 5
mov dword [ebp - 0x1c], eax
mov dword [esp], ebx
call dword [ebp + 0x1c]
push ebx
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
jmp 0x410aa9
mov dword [esp], ebx
call dword [ebp + 0x1c]
push eax
xor eax, eax
xor edx, edx
leave
ret 0x18
Function at 0x41e3f2
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.0041e5a2
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x41e4f0
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x41e493
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x41e4d6
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x41e4aa
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x41e4c5
test al, 0x40
je 0x41e4bc
mov ecx, dword [edi + 0x20]
jmp 0x41e4c3
test al, 0x80
je 0x41e4d6
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x41e4d6
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x41e462
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x447c00
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4c207b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.004b69cc
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x447c82
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.004b48a6
mov eax, dword [eax]
push 0x54ace8
push eax
call fcn.004a63d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.004b6c57
test bl, bl
je 0x447c82
push 0x54ace8
lea ecx, [esp + 0xc]
call fcn.004b6fe7
push 0x54acf4
lea ecx, [esp + 0xc]
call fcn.004b6fe7
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x447cbe
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.004b6c57
jmp 0x447d89
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x447d42
lea edx, [esp + 0x7c]
push 0x54acf0
push edx
call fcn.004a63d4
add esp, 8
test eax, eax
je 0x447d42
lea eax, [esp + 0x7c]
push 0x54acec
push eax
call fcn.004a63d4
add esp, 8
test eax, eax
je 0x447d42
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x447cd2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.004b6c57
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x448590
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x4485f2
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc