joyce8/EMBER2024-capa huggingface dataset:
Function at 0x450385
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x45049d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x45049d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0046582e
mov esi, eax
test esi, esi
je 0x45049d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x45049d
mov ecx, esi
call fcn.004502f0
cmp edi, eax
jge 0x45049d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x450423
mov dword [esp + 0x34], 1
jmp 0x45047e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x45049d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0044f8e0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x4661d1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x466209
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00464288
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00464260
jmp 0x466215
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x4678c2
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x467904
call fcn.0046d3be
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x467904
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x4678fb
xor eax, eax
jmp 0x46790c
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00467912
pop edi
pop esi
pop ebx
ret 4
Function at 0x46d8ee
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x46d91c
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x46d93a
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0046d854
jmp 0x46d93a
mov eax, dword [esi + 0x14]
test eax, eax
je 0x46d93a
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0046d854
test edi, edi
mov eax, edi
jne 0x46d924
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4016f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x18]
xor ebx, ebx
test edi, edi
mov dword [esp + 0x10], ecx
je 0x401769
push 0xf0
push edi
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, eax
push 0xf0
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x401769
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
jne 0x401739
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
call sub.MFC42.DLL_operatornew
add esp, 4
mov ebx, eax
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, edi
mov esi, eax
mov eax, ecx
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
push ebx
call fcn.00401530
test ebx, ebx
mov esi, eax
je 0x401782
push ebx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
Function at 0x4047a0
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x4067a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::CFileFind
mov eax, dword [esp + 0x34]
lea ecx, [esp + 4]
push eax
mov dword [esp + 0x30], 0
call sub.MFC42.DLL_CString::CString
push 0x5c
lea ecx, [esp + 8]
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::TrimRight
mov ecx, dword [esp + 4]
push 0x40a4a0
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x4048ce
push str..
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 4]
push 0
push edx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CFileFind::FindFile
test eax, eax
je 0x4048ba
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
push ebp
push edi
mov edi, dword [esp + 0x44]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFileFind::FindNextFileA
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.MFC42.DLL_CFileFind::IsDots
test eax, eax
jne 0x4048b3
lea eax, [esp + 0x44]
lea ecx, [esp + 0x14]
push eax
call sub.MFC42.DLL_CFileFind::GetFilePath
mov edx, dword [esp + 0x14]
push 0x10
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call dword [edx + 0x40]
test eax, eax
je 0x404883
mov eax, dword [esp + 0x44]
push edi
push eax
mov ecx, esi
call fcn.004047a0
jmp 0x4048a5
mov eax, dword [esi + 0x114]
mov ecx, dword [esp + 0x44]
push eax
push ecx
call ebx
add esp, 8
test eax, eax
je 0x4048a5
mov edx, dword [esp + 0x44]
push edi
push edx
mov ecx, esi
call fcn.00403bf0
lea ecx, [esp + 0x44]
mov byte [esp + 0x38], 1
call fcn.00405ac6
test ebp, ebp
jne 0x404838
pop edi
pop ebp
pop ebx
lea ecx, [esp + 8]
call sub.MFC42.DLL_CFileFind::Close
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
lea ecx, [esp + 4]
mov byte [esp + 0x2c], 0
call fcn.00405ac6
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00405c82
mov ecx, dword [esp + 0x24]
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x405170
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4068eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
mov dword [esi], 0x407b18
mov eax, dword [esi + 0x30]
xor ebp, ebp
cmp eax, ebp
mov dword [esp + 0x1c], 1
je 0x405200
mov edx, dword [esi + 0x24]
mov eax, dword [esi + 0x2c]
mov edi, dword [esi + 0x20]
mov ecx, edx
push ebx
sub eax, ecx
mov ecx, dword [esi + 0x28]
mov ebx, edi
sub ecx, ebx
mov ebx, dword [esi + 0x1c]
cmp esi, ebp
je 0x4051c7
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
push edi
push ebp
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 0x18]
pop ebx
test eax, eax
jne 0x4051f1
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x405206
mov eax, dword [eax + 4]
mov ecx, dword [esi + 4]
push eax
push ecx
call sub.MFC42.DLL_CDC::SelectGdiObject
jmp 0x405206
mov dword [esi + 8], ebp
mov dword [esi + 4], ebp
lea edi, [esi + 0x10]
mov dword [esp + 0x10], edi
mov dword [edi], 0x4078b8
mov ecx, edi
mov byte [esp + 0x1c], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, esi
mov dword [edi], 0x4075ac
mov dword [esp + 0x1c], 0xffffffff
call fcn.00405dc6
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x425bb0
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 5
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x425c77
push 0x19
push 0x405c709
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0x771e9c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x425c90
push ebx
call fcn.0047c8f4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 6
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x425cc9
push 0x5d
push 0x405c709
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x770a03
mov eax, 7
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x425cfd
push 0x87
push 0x405c709
push 6
call fcn.0047c906
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 8
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x425d9b
push 0x185
push 0x405c709
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 9
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x425dca
push 0x1c9
push 0x405c709
push 6
call fcn.0047c906
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x425dd2
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x425de3
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0047c8f4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x426961
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x15
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x426a28
push 0x19
push 0x405c762
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 4], eax
mov eax, 0x771e9c
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x426a41
push ebx
call fcn.0047c8f4
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x16
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x426a7a
push 0x5d
push 0x405c762
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x770a03
mov eax, 0x17
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x426aae
push 0x87
push 0x405c762
push 6
call fcn.0047c906
add esp, 0xc
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x18
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x426b4c
push 0x185
push 0x405c762
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x19
call fcn.0047c90c
cmp dword [ebp - 0x20], esp
je 0x426b7b
push 0x1c9
push 0x405c762
push 6
call fcn.0047c906
add esp, 0xc
mov eax, dword [ebp - 0x18]
jmp 0x426b83
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x426b94
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.0047c8f4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x4505ab
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 8
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0xc], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0x10
call fcn.0047c8fa
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
push 0
mov ebx, 0x480e40
call fcn.0047c900
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
je 0x450664
mov eax, 0
jmp 0x4507d0
cmp dword [ebp + 0xc], 0
jne 0x45069a
mov dword [ebp - 0x18], esp
mov eax, 0x7c
call fcn.0047c90c
cmp dword [ebp - 0x18], esp
je 0x450697
push 0xa0
push 0x405b4b7
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp + 0x14], 0
jne 0x4506c2
mov eax, 0x771e9c
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4506bc
push ebx
call fcn.0047c8f4
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 8]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x7d
call fcn.0047c90c
cmp dword [ebp - 0x18], esp
je 0x4506f7
push 0x104
push 0x405b4b7
push 6
call fcn.0047c906
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0xc]
mov ebx, dword [ebp + 0x10]
push dword [ebx]
push 0x770a03
mov eax, 0x7e
call fcn.0047c90c
cmp dword [ebp - 0x18], esp
je 0x45072d
push 0x12e
push 0x405b4b7
push 6
call fcn.0047c906
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 8
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0xc]
add ebx, 4
mov dword [ebp - 0x1c], ebx
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x18]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x10]
add ebx, 0xc
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebx], 2
mov dword [ebp - 0x18], esp
mov eax, 0
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x14]
push 0x1c
push dword [ebp - 0x10]
push 0
push dword [ebp - 8]
mov eax, 0x7f
call fcn.0047c90c
cmp dword [ebp - 0x18], esp
je 0x4507cb
push 0x225
push 0x405b4b7
push 6
call fcn.0047c906
add esp, 0xc
jmp 0x4507d0
push eax
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.0047c8f4
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.0047c8f4
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10
Function at 0x48b3c0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x75c15b
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.00750882
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x48b442
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0074e5c4
mov eax, dword [eax]
push 0xb16d84
push eax
call fcn.007400d4
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00750b0d
test bl, bl
je 0x48b442
push 0xb16d84
lea ecx, [esp + 0xc]
call fcn.00750e9d
push 0xb16d90
lea ecx, [esp + 0xc]
call fcn.00750e9d
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 0x48b47e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00750b0d
jmp 0x48b549
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA_1]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x48b502
lea edx, [esp + 0x7c]
push 0xb16d8c
push edx
call fcn.007400d4
add esp, 8
test eax, eax
je 0x48b502
lea eax, [esp + 0x7c]
push 0xb16d88
push eax
call fcn.007400d4
add esp, 8
test eax, eax
je 0x48b502
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 0x48b492
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.00750b0d
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 0x48bd50
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 0x48bdb2
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
Function at 0x48bdc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x75c1db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0xb7eea8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x48bef8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x48be26
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00750b0d
xor eax, eax
jmp 0x48bf6f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.00750c4a
push esi
lea ecx, [esp + 0xc]
call fcn.00750ed9
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0xb16dc4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA_1]
mov esi, eax
cmp esi, 0x20
ja 0x48bf4d
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push closesocket
call fcn.0048bd50
test eax, eax
jne 0x48bf4d
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push closesocket
mov ecx, edi
call fcn.0048bd50
test eax, eax
jne 0x48bf4d
lea eax, [esp + 0x14]
push 0xb16da0
push eax
call fcn.00741220
mov esi, eax
add esp, 8
test esi, esi
jne 0x48bf2c
lea ecx, [esp + 0x14]
push 0xb16d9c
push ecx
call fcn.007411a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x48bf2c
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x48bf2f
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.00750bfa
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x48be3e
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00750b0d
xor eax, eax
jmp 0x48bf6f
mov byte [esi], 0
push 0xb16d98
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.00750b0d
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4