joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4a0ed0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
test edi, edi
je 0x4a0ee2
mov byte [edi], 0
mov eax, dword [esi]
lea ecx, [ebp + 0x10]
push 0xffffffffffffffff
push ecx
lea ecx, [ebp - 4]
mov dword [ebp + 0x10], 0
mov eax, dword [eax + 0x6c]
push ecx
push dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 4], 0
call eax
test al, al
je 0x4a0f77
cmp dword [ebp + 0x10], 0
jne 0x4a0f1d
pop edi
mov eax, 0x5b9058
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 4]
cmp eax, 1
jne 0x4a0f33
mov eax, dword [esi + 8]
pop edi
pop esi
mov eax, dword [eax + 0x1c]
mov esp, ebp
pop ebp
ret 0x10
cmp eax, 2
jne 0x4a0f77
test edi, edi
je 0x4a0f3f
mov byte [edi], 1
cmp byte [ebp + 0x14], 0
je 0x4a0f25
mov ecx, dword [esi + 0xc]
push 0x208
call fcn.0042d4f0
mov eax, dword [esi + 0xc]
push 0x208
push dword [eax + 0x1c]
mov eax, dword [esi + 8]
push dword [eax + 0x1c]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov eax, dword [esi + 0xc]
pop edi
pop esi
mov eax, dword [eax + 0x1c]
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4a8640
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57df16
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5f0524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push dword [edi + 0x64]
mov dword [edi], vtable.s::map::Map.0
mov dword [edi + 4], vtable.s::map::Map.1.0
call fcn.004c90f0
mov eax, dword [edi + 0x30]
lea ecx, [edi + 0x30]
call dword [eax + 0x70]
lea ecx, [edi + 0x30]
call fcn.00408950
mov dword [ebp - 4], 0
lea esi, [edi + 0xc]
mov edx, dword [esi]
mov dword [edi + 8], vtable.s::thread::ObjLocker.0
test edx, edx
je 0x4a86d2
mov eax, dword [edi + 0x10]
test eax, eax
je 0x4a86b2
push edx
call eax
add esp, 4
jmp 0x4a86cc
mov ecx, dword [edi + 0x14]
test ecx, ecx
je 0x4a86c1
mov eax, dword [ecx]
push esi
call dword [eax + 4]
jmp 0x4a86cc
push 0
push edx
call fcn.0051a64c
add esp, 8
mov dword [esi], 0
mov dword [edi + 8], vtable.s::base::IComparable.0
mov dword [edi + 4], vtable.s::thread::IPoolable.0
mov dword [edi], vtable.s::base::IComparable.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4a8870
Capabilities:
Access peb ldr_data
Get kernel32 base address
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f279
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5f0524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.s::thread::IPoolable.0
mov dword [edi], vtable.s::map::Map.0
lea eax, [edi + 0x18]
mov dword [edi + 4], vtable.s::map::Map.1.0
push eax
mov dword [edi + 8], vtable.s::thread::ObjLocker.0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea ecx, [edi + 0x30]
push 2
call fcn.00408a20
mov dword [ecx], vtable.s::col::_array::ArrayP.0
mov dword [ecx + 4], vtable.s::col::_array::ArrayP.1.0
mov dword [ecx + 8], vtable.s::col::_array::ArrayP.2.0
mov dword [ecx + 0xc], vtable.s::col::_array::ArrayP.3.0
mov dword [ecx + 0x10], vtable.s::col::_array::ArrayP.4.0
mov dword [ecx + 0x14], vtable.s::col::_array::ArrayP.5.0
mov dword [ecx + 0x2c], 0
mov byte [ebp - 4], 3
lea ecx, [edi + 4]
mov eax, dword [edi + 4]
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
call dword [eax + 8]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x60], eax
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x64], eax
mov eax, edi
mov byte [edi + 0x68], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4a9ad0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
add eax, eax
mov dword [edi], 0
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
push esi
lea eax, [ebp + 0xc]
push eax
push 0
push dword [ebp + 8]
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4a9b41
mov eax, dword [ebp + 0xc]
cmp eax, 1
je 0x4a9b0f
cmp eax, 2
jne 0x4a9b2b
mov ecx, dword [ebp + 0x10]
test esi, esi
je 0x4a9b3b
test ecx, ecx
je 0x4a9b36
test cl, 1
jne 0x4a9b2b
mov eax, ecx
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x4a9b3b
pop edi
mov eax, 0xd
pop esi
pop ebp
ret 0xc
xor eax, eax
mov word [esi], ax
shr ecx, 1
xor eax, eax
mov dword [edi], ecx
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4a9d20
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
mov esi, ecx
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x4a9dc2
cmp dword [ebp - 4], 0x20
je 0x4a9dc2
mov eax, dword [ebp + 0xc]
mov ecx, esi
mov dword [esi + 0x58], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x5c], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x60], eax
mov eax, dword [esi]
push edi
call dword [eax + 0x24]
cmp byte [esi + 0x38], 0
mov edi, dword [ebp + 8]
je 0x4a9db7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x39], 0
jne 0x4a9d8f
test edi, edi
jle 0x4a9d8f
push 0xc8
call ebx
sub edi, 0xc8
cmp byte [esi + 0x38], 0
jne 0x4a9d72
cmp byte [esi + 0x38], 0
pop ebx
je 0x4a9db7
lea edi, [esi + 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [esi + 0x4c], 0
jne 0x4a9db0
mov ecx, dword [esi + 0xc]
push 0x64
mov eax, dword [ecx]
call dword [eax + 0x4c]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esi + 0x4c]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4a9dd0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x5cf38c
push dword [ebp + 0x10]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
call fcn.0052b2c1
add esp, 0xc
test eax, eax
jne 0x4a9e06
push dword [ebp - 4]
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0052b540
add esp, 0x10
mov eax, dword [ebp - 4]
test eax, eax
je 0x4a9e16
push eax
call fcn.0052b60e
add esp, 4
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4b4950
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
mov esi, ecx
je 0x4b49ce
cmp byte [esi + 0xd8], 0
jne 0x4b4a42
mov eax, dword [esi + 0xd4]
mov byte [esi + 0xd8], 1
test eax, eax
je 0x4b4983
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x4b4996
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x7c]
cmp dword [esi + 0xd4], 0
je 0x4b4a42
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
test eax, eax
je 0x4b4a42
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe4]
pop esi
pop ebp
ret 8
cmp byte [esi + 0xd8], 0
je 0x4b4a42
mov eax, dword [esi + 0xd4]
mov byte [esi + 0xd8], 0
test eax, eax
je 0x4b4a12
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4b4a12
mov eax, dword [esi]
mov ecx, esi
push 0x2710
push 0xffffd8f0
call dword [eax + 0x44]
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x4b4a25
mov eax, dword [ecx]
push 1
push 0
call dword [eax + 0x7c]
mov ecx, dword [esi + 0xdc]
test ecx, ecx
je 0x4b4a42
mov eax, dword [ecx + 4]
add ecx, 4
call dword [eax + 4]
mov dword [esi + 0xdc], 0
pop esi
pop ebp
ret 8

Function at 0x4b7ac0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b8
mov eax, dword [0x5f0524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov ebx, ecx
call fcn.004a6830
test eax, eax
je 0x4b7ae6
lea esi, [eax + 8]
jmp 0x4b7ae8
xor esi, esi
call fcn.00407db0
test eax, eax
je 0x4b7af6
lea edi, [eax + 8]
jmp 0x4b7af8
xor edi, edi
call fcn.00429720
push eax
push esi
call fcn.00429720
push eax
mov edx, edi
call fcn.00464060
add esp, 0xc
mov dword [ebx + 8], eax
call fcn.004b79e0
mov esi, eax
lea edi, [esi + 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x34]
push edi
cmp dword [eax + 0x20], 0
jbe 0x4b7b41
dec dword [eax + 0x20]
mov ecx, dword [eax + 0x20]
mov eax, dword [eax + 0x1c]
mov esi, dword [eax + ecx*4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x4b7b4e
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x3c]
call eax
mov esi, eax
lea ecx, [esi + 4]
mov dword [ebx + 0x34], esi
mov edx, dword [ecx]
call dword [edx + 8]
push 0x4101
push 0x2b4
lea eax, [ebp - 0x2b8]
push eax
push 0
push 0x5b9058
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
lea ecx, [ebx + 4]
mov dword [esi + 0xc], eax
mov byte [esi + 0x10], 0
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0051a19b
mov esp, ebp
pop ebp
ret
Function at 0x4ba300
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp byte [ebp + 8], 0
push esi
mov esi, ecx
je 0x4ba372
cmp byte [esi + 0xd8], 0
jne 0x4ba36d
mov eax, dword [esi + 0xd4]
mov byte [esi + 0xd8], 1
test eax, eax
je 0x4ba32f
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x4ba342
mov eax, dword [ecx]
push 1
push 1
call dword [eax + 0x7c]
cmp dword [esi + 0xd4], 0
je 0x4ba36d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
test eax, eax
je 0x4ba36d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xc0]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0xe4]
pop esi
pop ebp
ret 8
cmp byte [esi + 0xd8], 0
je 0x4ba36d
mov eax, dword [esi + 0xd4]
mov byte [esi + 0xd8], 0
test eax, eax
je 0x4ba3b6
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push dword [esi + 0xd4]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4ba3b6
mov eax, dword [esi]
mov ecx, esi
push 0x2710
push 0xffffd8f0
call dword [eax + 0x44]
mov ecx, dword [esi + 0xc0]
test ecx, ecx
je 0x4ba36d
mov eax, dword [ecx]
pop esi
mov dword [ebp + 0xc], 1
mov dword [ebp + 8], 0
pop ebp
jmp dword [eax + 0x7c]
Function at 0x4be110
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x4be130
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4be11e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test ecx, ecx
je 0x4be121
mov dword [eax], ecx
mov al, 1
add dword [esi + 0x10], ecx
adc dword [esi + 0x14], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4be240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4be282
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4be282
push 0
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push ecx
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be282
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x4be282
mov dword [esi + 0x14], 0
push 0
push 0
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
push dword [ebp - 4]
push dword [ebp - 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4be2b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4be2f8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4be2f8
push 0
lea edx, [esp + 0xc]
mov dword [esp + 0xc], 0
push edx
push ecx
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be2f8
mov eax, dword [esp + 8]
cmp eax, dword [esi + 0x14]
jne 0x4be2f8
mov dword [esi + 0x14], 0
push 2
lea eax, [esp + 0x14]
xorps xmm0, xmm0
push eax
movlpd qword [esp + 0x10], xmm0
push dword [esp + 0x14]
push dword [esp + 0x14]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [esp + 0x10]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x1c], eax
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4be370
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push esi
mov esi, ecx
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4be3b8
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4be3b8
push 0
lea edx, [esp + 8]
mov dword [esp + 8], 0
push edx
push ecx
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be3b8
mov eax, dword [esp + 4]
cmp eax, dword [esi + 0x14]
jne 0x4be3b8
mov dword [esi + 0x14], 0
mov ecx, dword [ebp + 8]
lea edx, [esp + 8]
mov eax, dword [ebp + 0xc]
neg ecx
push 2
adc eax, 0
push edx
neg eax
push eax
push ecx
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetFilePointerEx]
mov eax, dword [esp + 8]
mov dword [esi + 0x18], eax
mov eax, dword [esp + 0xc]
mov dword [esi + 0x1c], eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x4be480
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
jne 0x4be495
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4be4c7
push 0
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push ecx
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be48e
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x4be48e
mov dword [esi + 0x14], 0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4be4d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4be523
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4be510
push 0
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push ecx
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be523
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x4be523
mov dword [esi + 0x14], 0
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
pop esi
setne al
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4be530
Capabilities:
Clear file content

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x4be547
mov eax, dword [esi]
call dword [eax + 0x10]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
pop esi
ret
Function at 0x4be560
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
jne 0x4be57f
mov eax, dword [ebp + 0x10]
pop esi
mov dword [eax], 0
xor al, al
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push edi
test ecx, ecx
je 0x4be63e
nop
mov eax, 0x10000
mov edi, ebx
sub eax, dword [esi + 0x14]
cmp ebx, eax
cmova edi, eax
test edi, edi
jne 0x4be5dd
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4be655
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x4be633
push edi
lea edx, [ebp - 4]
mov dword [ebp - 4], edi
push edx
push ecx
push dword [esi + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be655
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x4be655
mov dword [esi + 0x14], edi
jmp 0x4be633
mov eax, dword [esi + 0x14]
add eax, dword [esi + 0x10]
push edi
push dword [ebp + 8]
push eax
call fcn.0051cad0
add dword [esi + 0x14], edi
add esp, 0xc
mov eax, dword [esi + 0x14]
sub ebx, edi
je 0x4be630
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4be655
test eax, eax
je 0x4be630
push 0
lea edx, [ebp - 4]
mov dword [ebp - 4], 0
push edx
push eax
push dword [esi + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4be655
mov eax, dword [ebp - 4]
cmp eax, dword [esi + 0x14]
jne 0x4be655
mov dword [esi + 0x14], 0
add dword [ebp + 8], edi
test ebx, ebx
jne 0x4be590
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
pop edi
pop ebx
mov dword [eax], ecx
mov al, 1
add dword [esi + 0x18], ecx
adc dword [esi + 0x1c], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4be660
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x4be680
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0xc
push 0
lea ecx, [ebp - 4]
mov dword [ebp - 4], 0
push ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4be66e
mov ecx, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
test ecx, ecx
je 0x4be671
mov dword [eax], ecx
mov al, 1
add dword [esi + 0x14], ecx
adc dword [esi + 0x18], 0
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4c04c0
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583cdc
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x5f0524]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x61a4b4]
cmp eax, dword [ecx + 4]
jle 0x4c0544
push 0x61a4b4
call fcn.0051a2e0
add esp, 4
cmp dword [0x61a4b4], 0xffffffff
jne 0x4c0544
push 0x5d0f00
mov ecx, 0x61a4b8
mov dword [ebp - 4], 0
call fcn.00461ed0
push 0x589110
call fcn.0051a637
push 0x61a4b4
mov dword [ebp - 4], 0xffffffff
call fcn.0051a2a1
add esp, 8
mov eax, dword [0x61a4c0]
test eax, eax
je 0x4c05d3
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.beInitStream
push eax
call esi
push str.beEncodeChunk
push dword [0x61a4c0]
mov dword [0x6161c0], eax
call esi
push str.beDeinitStream
push dword [0x61a4c0]
mov dword [0x6161c4], eax
call esi
push str.beCloseStream
push dword [0x61a4c0]
mov dword [0x6161bc], eax
call esi
push str.beVersion
push dword [0x61a4c0]
mov dword [0x6161b8], eax
call esi
push str.beWriteVBRHeader
push dword [0x61a4c0]
call esi
push str.beWriteInfoTag
push dword [0x61a4c0]
call esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, str.Failed_to_Load_lame_enc.dll___n
call fcn.00408f00
mov ebx, eax
push str.Error_Code__
mov ecx, ebx
mov edx, dword [ebx]
call dword [edx + 0x1e0]
mov esi, eax
mov edi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call dword [edi + 0x1b8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x50]
mov ecx, eax
call fcn.00424e30
mov eax, dword [ebx + 4]
lea ecx, [ebx + 4]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c1d50
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f0524]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0
lea ebx, [edi + 0xc]
mov dword [ebp - 0x1c], edi
jne 0x4c1f05
mov ecx, dword [ebp + 0x10]
mov eax, 1
mov word [ebp - 0x18], ax
xor eax, eax
cmp byte [ebp + 0xc], al
push esi
setne al
mov dword [ebp - 0x14], ecx
inc eax
movzx esi, ax
mov word [ebp - 0x16], ax
mov eax, esi
imul eax, ecx
mov ecx, dword [ebp + 0x14]
imul esi, ecx
push 0x30000
push 0
imul eax, ecx
push 0x4c1c10
mov word [ebp - 0xa], cx
cdq
and edx, 7
add eax, edx
sar eax, 3
mov dword [ebp - 0x10], eax
mov eax, esi
cdq
and edx, 7
add eax, edx
sar eax, 3
mov word [ebp - 0xc], ax
lea eax, [ebp - 0x18]
push eax
push dword [ebp + 8]
push ebx
call dword [sym.imp.WINMM.dll_waveInOpen]
push 0x20
push dword [edi + 0x20]
mov edi, dword [sym.imp.WINMM.dll_waveInPrepareHeader]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
mov esi, dword [sym.imp.WINMM.dll_waveInAddBuffer]
push 0x20
push dword [eax + 0x20]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x28]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x28]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x30]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x30]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x38]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x38]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x40]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x40]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x48]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x48]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x50]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x50]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x58]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x58]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x60]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x60]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x68]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x68]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x70]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x70]
push dword [ebx]
call esi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x78]
push dword [ebx]
call edi
mov eax, dword [ebp - 0x1c]
push 0x20
push dword [eax + 0x78]
push dword [ebx]
call esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0051a19b
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4c35b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebx
mov ebx, edx
push esi
mov esi, ebx
lea edx, [esi + 2]
nop dword [eax]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x4c35c0
sub esi, edx
push ecx
sar esi, 1
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4c3621
push edi
call dword [sym.imp.USER32.dll_EmptyClipboard]
lea esi, [esi*2 + 2]
push esi
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push ebx
push eax
call fcn.0051cad0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop edi
pop esi
pop ebx
jmp dword [sym.imp.USER32.dll_CloseClipboard]
pop esi
pop ebx
ret