joyce8/EMBER2024-capa huggingface dataset:
Function at 0x445350
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x4453ef
cmp dword [ebx + 0x94], 0
jne 0x4453e9
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x4452d8
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4453e9
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x4453af
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4453e9
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.004198b4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x4453be
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x445608
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, dword [0x49ac1c]
cmp dword [eax + 0x30], 0
je 0x445765
test bl, bl
jne 0x4456b6
cmp dword [esi + 0x9c], 0
jne 0x4456ab
mov eax, esi
call fcn.00447c48
push eax
push 0x445534
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x44], 0
je 0x44567c
mov eax, dword [0x49ac1c]
call fcn.00448238
test al, al
je 0x44567c
mov eax, dword [0x49ac40]
call fcn.00406774
mov edi, eax
cmp edi, 0
jl 0x44567c
push 0
mov eax, dword [0x49ac40]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x445666
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x4456ab
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004198b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x44568b
inc dword [esi + 0x9c]
jmp 0x445765
cmp dword [esi + 0x9c], 0
jle 0x445765
dec dword [esi + 0x9c]
cmp dword [esi + 0x9c], 0
jne 0x445765
cmp dword [esi + 0x44], 0
je 0x445711
mov eax, dword [0x49ac1c]
call fcn.00448238
test al, al
je 0x445711
mov eax, dword [0x49ac40]
call fcn.00406774
mov edi, eax
cmp edi, 0
jl 0x445711
push 5
mov eax, dword [0x49ac40]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x4456fb
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x445740
cmp bl, 1
cmc
sbb eax, eax
push eax
mov edx, edi
mov eax, dword [esi + 0x98]
call fcn.004198b4
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x445720
mov eax, dword [esi + 0x98]
mov edx, dword [eax]
call dword [edx + 8]
push 0
mov eax, 0x49ac40
mov ecx, 1
mov edx, dword [0x445514]
call fcn.00406928
add esp, 4
pop edi
pop esi
pop ebx
ret
Function at 0x4461f8
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffefc
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x446262
mov eax, ebx
call fcn.00448238
test al, al
jne 0x446262
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00405620
mov eax, dword [esi]
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x100]
test eax, eax
je 0x44624f
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x44626f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405584
jmp 0x44626f
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00405584
add esp, 0x104
pop esi
pop ebx
ret

Function at 0x44744c
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4474ba
mov eax, esi
call fcn.00458920
test al, al
je 0x4474ba
mov eax, dword [ebx + 0x84]
call fcn.00458614
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4474ba
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4474ae
push 0
mov eax, dword [ebx + 0x84]
call fcn.00458614
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004507d0
jmp 0x4474ba
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.00447288
pop esi
pop ebx
ret
Function at 0x44e068
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x49aca8], 0
je 0x44e1b1
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x495b10]
mov edx, dword [edx]
xor al, byte [edx + 0xbc]
je 0x44e1b1
mov eax, dword [0x49acac]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x49aca8]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x44e180
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x49aca8]
call fcn.004198b4
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x44e178
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1da], 0
je 0x44e178
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x44e178
mov eax, dword [ebp - 0x14]
call fcn.00458614
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x44e178
push ebp
call fcn.0044e024
pop ecx
test al, al
jne 0x44e178
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbb
call fcn.0040484c
test al, al
je 0x44e178
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbc
call fcn.0040484c
cmp byte [ebp - 1], 0
je 0x44e178
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x44e178
mov edx, dword [ebp - 0x14]
mov eax, dword [0x49acac]
call fcn.0044d794
inc edi
dec ebx
jne 0x44e0cd
mov eax, dword [0x49acac]
cmp dword [eax + 8], 0
jle 0x44e198
mov eax, dword [0x49acac]
call fcn.0044d84c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x44e1b1
push ebp
mov eax, dword [ebp - 0x18]
call fcn.0044de88
pop ecx
test al, al
jne 0x44e1b1
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x455510
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffed8
mov ebx, ecx
mov edi, edx
mov esi, eax
call sub.user32.dll_GetMessagePos
call fcn.0040773c
mov dword [esp + 8], eax
movsx eax, word [esp + 8]
mov dword [esp + 0xc], eax
movsx eax, word [esp + 0xa]
mov dword [esp + 0x10], eax
mov ecx, esp
lea edx, [esp + 0xc]
mov eax, esi
call fcn.004503f0
test ebx, ebx
jne 0x455563
push 0
push 0
lea edx, [esp + 8]
xor ecx, ecx
mov eax, esi
call fcn.0045544c
mov ebx, eax
test ebx, ebx
je 0x45564e
cmp esi, ebx
je 0x45558c
mov eax, dword [esp]
sub eax, dword [ebx + 0x40]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
sub eax, dword [ebx + 0x44]
mov dword [esp + 0x118], eax
jmp 0x4555a1
mov eax, dword [esp]
mov dword [esp + 0x114], eax
mov eax, dword [esp + 4]
mov dword [esp + 0x118], eax
movzx eax, word [edi + 8]
mov dword [esp + 0x11c], eax
mov eax, dword [edi + 4]
mov dword [esp + 0x124], eax
movzx eax, word [edi + 0xa]
cmp eax, 0x201
jge 0x4555d9
add eax, 0xffffff5f
sub eax, 2
jb 0x4555f1
dec eax
sub eax, 2
jb 0x455605
dec eax
sub eax, 2
jb 0x4555fb
jmp 0x45560f
add eax, 0xfffffdff
sub eax, 2
jb 0x4555f1
dec eax
sub eax, 2
jb 0x455605
dec eax
sub eax, 2
jb 0x4555fb
jmp 0x45560f
mov byte [esp + 0x120], 0
jmp 0x455617
mov byte [esp + 0x120], 2
jmp 0x455617
mov byte [esp + 0x120], 1
jmp 0x455617
mov byte [esp + 0x120], 0
lea eax, [esp + 0x14]
push eax
call sub.user32.dll_GetKeyboardState
lea eax, [esp + 0x14]
call fcn.0043bcac
mov byte [esp + 0x121], al
lea eax, [esp + 0x114]
push eax
xor ecx, ecx
mov edx, 0xb04b
mov eax, ebx
call fcn.00451b68
mov dword [edi + 0xc], eax
mov al, 1
jmp 0x455650
xor eax, eax
add esp, 0x128
pop edi
pop esi
pop ebx
ret
Function at 0x45d704
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x495d2c]
cmp byte [eax + 0xc], 0
je 0x45d871
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d86a
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x49acb8], 0
jne 0x45d758
push 0x45d878
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x45d880
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acb8], eax
cmp dword [0x49377c], 0
jne 0x45d853
push 0x45d890
call sub.kernel32.dll_LoadLibraryA
mov dword [0x49377c], eax
cmp dword [0x49377c], 0
je 0x45d853
push 0x45d89c
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acbc], eax
push 0x45d8ac
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acc0], eax
push 0x45d8c0
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acc4], eax
push 0x45d8d8
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acc8], eax
push 0x45d8f0
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49accc], eax
push 0x45d904
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acd0], eax
push 0x45d91c
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acd4], eax
push 0x45d934
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acd8], eax
push 0x45d950
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49acdc], eax
push 0x45d95c
mov eax, dword [0x49377c]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x49ace0], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d871
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret
Function at 0x45f600
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov ebx, eax
mov eax, ebx
call fcn.0040a274
test al, al
je 0x45f73e
lea eax, [ebp - 0x68]
call fcn.0045eb4c
push 0
push 0x8000080
push 3
push 0
push 3
push 0x80000000
mov eax, ebx
call fcn.004059dc
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x45f727
xor eax, eax
push ebp
push 0x45f720
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 2
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x45f709
xor eax, eax
push ebp
push 0x45f702
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_MapViewOfFile
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x45f6eb
xor eax, eax
push ebp
push 0x45f6e4
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GetFileSize_1
mov ecx, eax
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 0x68]
call fcn.0045eb70
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f6eb
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UnmapViewOfFile
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f709
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f727
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
lea edx, [ebp - 0x78]
lea eax, [ebp - 0x68]
call fcn.0045ec04
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x78]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x460454
Capabilities:
Set socket configuration

Disassembly:
push ebx
push esi
push ecx
mov ebx, eax
cmp byte [ebx + 0x30], 0
jne 0x4604d4
movzx eax, word [ebx + 0x3e]
push eax
movzx eax, byte [ebx + 0x44]
mov eax, dword [eax*4 + 0x493948]
push eax
movzx eax, byte [ebx + 0x3c]
mov eax, dword [eax*4 + 0x4938e8]
push eax
call sub.wsock32.dll_socket
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov esi, eax
mov dword [ebx + 0x40], esi
inc esi
setne al
mov byte [ebx + 0x30], al
test al, al
je 0x4604d4
cmp byte [ebx + 0x31], 1
jne 0x4604bf
mov dword [esp], 1
push esp
push 0x8004667e
mov eax, dword [ebx + 0x40]
push eax
call sub.wsock32.dll_ioctlsocket
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
xor eax, eax
mov dword [ebx + 0x34], eax
xor eax, eax
mov dword [ebx + 0x38], eax
mov eax, ebx
mov si, 0xffef
call fcn.0040484c
pop edx
pop esi
pop ebx
ret
Function at 0x4606d4
Capabilities:
Resolve dns

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffe0
mov esi, ecx
mov ebx, edx
mov eax, esi
call fcn.00405530
test ebx, ebx
je 0x460772
movzx eax, byte [ebx]
add al, 0xd0
sub al, 0xa
jae 0x460711
mov eax, ebx
call fcn.004059dc
push eax
call sub.wsock32.dll_inet_addr
inc eax
je 0x46077e
mov eax, esi
mov edx, ebx
call fcn.00405584
jmp 0x46077e
mov eax, ebx
call fcn.004059dc
push eax
call sub.wsock32.dll_gethostbyname
test eax, eax
je 0x46077e
mov ebx, eax
push esi
mov eax, dword [ebx + 0xc]
mov edi, dword [eax]
movzx eax, byte [edi]
mov dword [esp + 4], eax
mov byte [esp + 8], 0
movzx eax, byte [edi + 1]
mov dword [esp + 0xc], eax
mov byte [esp + 0x10], 0
movzx eax, byte [edi + 2]
mov dword [esp + 0x14], eax
mov byte [esp + 0x18], 0
movzx eax, byte [edi + 3]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x20], 0
lea edx, [esp + 4]
mov ecx, 3
mov eax, 0x460790
call fcn.0040afa0
jmp 0x46077e
mov eax, esi
mov edx, 0x4607a4
call fcn.00405584
add esp, 0x20
pop edi
pop esi
pop ebx
ret

Function at 0x4607e8
Capabilities:
Get hostname

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
mov eax, esi
call fcn.00405530
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
call sub.wsock32.dll_gethostname
mov edx, eax
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x38]
test eax, eax
jne 0x460825
mov eax, esi
mov edx, esp
mov ecx, pe_nt_image_headers32
call fcn.004057a0
add esp, 0x100
pop esi
pop ebx
ret
Function at 0x4619ec
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, eax
movzx eax, bl
cmp eax, 0x5b
jge 0x461a28
cmp eax, 0x2e
jge 0x461a10
sub eax, 0x23
je 0x461a76
sub eax, 2
je 0x461a57
sub eax, 6
je 0x461a57
jmp 0x461a91
add eax, 0xffffffd2
sub eax, 0xc
jb 0x461a57
sub eax, 5
je 0x461a57
dec eax
je 0x461a76
dec eax
sub eax, 0x1a
jb 0x461a57
jmp 0x461a91
cmp eax, 0xa3
jg 0x461a46
je 0x461a57
add eax, 0xffffffa5
sub eax, 4
jb 0x461a76
dec eax
je 0x461a76
add eax, 0xffffffe5
sub eax, 4
jb 0x461a76
jmp 0x461a91
sub eax, 0xa7
je 0x461a57
sub eax, 9
je 0x461a57
sub eax, 5
jne 0x461a91
mov dl, 1
mov al, 0x10
call fcn.00461998
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.004619cc
xor edx, edx
mov al, 0x10
call fcn.00461998
pop ebx
ret
mov al, 1
call fcn.004619b4
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.004619cc
xor eax, eax
call fcn.004619b4
pop ebx
ret
push ebx
call sub.user32.dll_VkKeyScanA
call fcn.004619cc
pop ebx
ret

Function at 0x465884
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
test eax, 0x4000000
je 0x465899
or edx, 0x200
test eax, 0x20000000
je 0x4658cc
test eax, 0x40000000
je 0x4658b8
test eax, 0x80000000
je 0x4658b3
or edx, 0x40
jmp 0x4658f3
or edx, 0x20
jmp 0x4658f3
test eax, 0x80000000
je 0x4658c7
or edx, 0x80
jmp 0x4658f3
or edx, 0x10
jmp 0x4658f3
test eax, 0x40000000
je 0x4658e4
test eax, 0x80000000
je 0x4658df
or edx, 4
jmp 0x4658f3
or edx, 2
jmp 0x4658f3
test eax, 0x80000000
je 0x4658f0
or edx, 8
jmp 0x4658f3
or edx, 1
mov eax, edx
pop ebp
ret 4
Function at 0x4667e4
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x49af54
cmp dword [edi], 0
jne 0x466860
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x49af50]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x493af0
mov ecx, 2
call fcn.004030fc
mov edx, 0x4667bc
lea eax, [esi + 5]
call fcn.004667dc
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004667dc
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x466835
mov dword [0x49af50], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x4669dc
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
je 0x466af2
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInUnprepareHeader
test eax, eax
jne 0x466afd
mov eax, dword [ebp - 8]
mov ebx, dword [eax + 8]
mov eax, dword [ebp - 4]
cmp word [eax + 0xa2], 0
je 0x466a80
mov eax, ebx
call fcn.00402f00
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x466a79
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov ecx, ebx
call fcn.004030fc
push ebx
mov ebx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466a80
mov eax, dword [ebp - 0xc]
call fcn.00402f1c
ret
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 8], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x10], edx
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x14], edx
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 8]
mov eax, dword [eax]
xor ecx, ecx
call fcn.00408570
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x466afd
push 0x20
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x94]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x466afd
jmp 0x466afd
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00466cb0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x466b04
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffff7c
mov esi, edx
lea edi, [esp]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov ebx, eax
cmp byte [ebx + 4], 0
jne 0x466b7d
push 0x10004
push 0
mov eax, dword [ebx + 0x98]
push eax
lea eax, [esp + 0xc]
push eax
push 0
lea eax, [ebx + 0x94]
push eax
call sub.winmm.dll_waveInOpen
test eax, eax
jne 0x466b7d
movzx esi, byte [ebx + 0x91]
test esi, esi
jle 0x466b5c
mov eax, ebx
call fcn.00466c48
dec esi
jne 0x466b52
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInStart
test eax, eax
jne 0x466b7d
mov esi, esp
lea edi, [ebx + 0x10]
mov ecx, 0x20
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
mov byte [ebx + 4], 1
add esp, 0x84
pop edi
pop esi
pop ebx
ret

Function at 0x466c48
Capabilities:
Capture microphone audio

Disassembly:
push ebx
push esi
push edi
mov ebx, eax
mov eax, 0x20
call fcn.00402f00
mov edi, eax
mov edx, edi
mov eax, dword [ebx + 8]
call fcn.004661c0
mov esi, edi
mov eax, dword [ebx + 0xc]
call fcn.00402f00
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esi + 8], eax
xor eax, eax
mov dword [esi + 0x10], eax
xor eax, eax
mov dword [esi + 0x14], eax
push 0x20
push edi
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x466ca8
push 0x20
push edi
mov eax, dword [ebx + 0x94]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
mov eax, edi
pop edi
pop esi
pop ebx
ret
Function at 0x466d54
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc7c
push ebx
push esi
push edi
mov esi, ecx
mov ebx, edx
mov edi, eax
mov eax, ebx
call fcn.0040a274
test al, al
jne 0x466d7a
mov byte [ebp - 1], 0
jmp 0x466f4a
lea eax, [ebp - 0x119]
mov edx, edi
call fcn.0040a930
lea eax, [ebp - 0x21e]
mov edx, ebx
call fcn.0040a930
lea eax, [ebp - 0x323]
mov edx, esi
call fcn.0040a930
xor eax, eax
push ebp
push 0x466f43
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x384]
xor ecx, ecx
mov edx, 0xc
call fcn.00403af4
mov dword [ebp - 0x384], 0xc
xor eax, eax
mov dword [ebp - 0x380], eax
mov dword [ebp - 0x37c], 0xffffffff
push 0
push pe_nt_image_headers32
push 4
lea eax, [ebp - 0x384]
push eax
push 3
push 0xc0000000
lea eax, [ebp - 0x21e]
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x466e17
mov byte [ebp - 1], 0
call fcn.00404f70
jmp 0x466f4a
push 0
push pe_nt_image_headers32
push 2
lea eax, [ebp - 0x384]
push eax
push 3
push 0xc0000000
lea eax, [ebp - 0x323]
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x466e51
mov byte [ebp - 1], 0
call fcn.00404f70
jmp 0x466f4a
lea eax, [ebp - 0x368]
xor ecx, ecx
mov edx, 0x44
call fcn.00403af4
mov dword [ebp - 0x368], 0x44
mov dword [ebp - 0x33c], 0x101
mov word [ebp - 0x338], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x32c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x330], eax
lea eax, [ebp - 0x378]
push eax
lea eax, [ebp - 0x368]
push eax
push 0
push 0
push 0x110
push 0xffffffffffffffff
push 0
push 0
lea eax, [ebp - 0x119]
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
cmp byte [ebp - 1], 0
je 0x466eee
push 0xffffffffffffffff
mov eax, dword [ebp - 0x378]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp - 0x378]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x374]
mov dword [ebp - 0xc], eax
jmp 0x466ef9
mov byte [ebp - 1], 0
call fcn.00404f70
jmp 0x466f4a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x466f4a
cmp dword [ebp - 0x14], 0
je 0x466f15
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0x10], 0
je 0x466f24
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 0xc], 0
je 0x466f33
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_CloseHandle_1
cmp dword [ebp - 8], 0
je 0x466f42
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_CloseHandle_1
ret
movzx eax, byte [ebp - 1]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4