joyce8/EMBER2024-capa huggingface dataset:
Function at 0x49bf74
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049bc7c
xor eax, eax
push ebp
push 0x49c016
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.0040457c
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
jne 0x49bfad
call fcn.00403fe8
jmp 0x49c01d
mov dword [ebp - 8], 0x1c
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x49c000
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x49bfe4
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x20]
push eax
call sub.Ntdll.dll_RtlIpv4AddressToStringA
jmp 0x49bff1
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x1c]
push eax
call sub.Ntdll.dll_RtlIpv6AddressToStringA
mov eax, ebx
lea edx, [ebp - 0x54]
mov ecx, 0x30
call fcn.004047e4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c01d
mov eax, dword [ebp - 4]
call fcn.0049bc88
ret
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x49c1bc
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x49c1ec
mov ecx, dword [0x534a3c]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5b4
call fcn.00403f3c
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x49c208
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x49c219
push 0
push 1
push 0x17
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
jne 0x49c239
mov ecx, dword [0x5345e0]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5b4
call fcn.00403f3c
xor eax, eax
push ebp
push 0x49c2bb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.0040396c
cmp byte [ebp + 8], 0
je 0x49c296
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c0ec
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x20]
lea edi, [eax + 0x1c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0049be58
jmp 0x49c2b1
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049b9ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c2d8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x49c2e4
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x49c314
mov ecx, dword [0x534698]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5b4
call fcn.00403f3c
mov eax, dword [ebp - 4]
cmp byte [eax + 4], 0
jne 0x49c330
push 0
push 1
push 2
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
jmp 0x49c341
push 0
push 1
push 0x17
call sub.wsock32.dll_socket
mov edx, dword [ebp - 4]
mov dword [edx + 8], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
jne 0x49c361
mov ecx, dword [0x5345e0]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5b4
call fcn.00403f3c
xor eax, eax
push ebp
push 0x49c3de
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.0040396c
cmp byte [ebp + 8], 0
je 0x49c3bb
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049c0ec
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x20]
lea edi, [eax + 0x1c]
mov ecx, 7
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0049bed8
jmp 0x49c3d4
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, edi
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.0049b9ac
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x49c3fb
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x49c5c0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0049bc7c
xor eax, eax
push ebp
push 0x49c732
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x49c71c
mov eax, dword [ebp - 4]
cmp dword [eax + 8], 0xffffffff
je 0x49c60b
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x49c615
call fcn.00403fe8
jmp 0x49c739
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004195e0
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 8]
mov ebx, eax
test ebx, ebx
jle 0x49c711
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_send
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x49c6c3
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x49c6b0
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040396c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0049c578
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x49c744]
cmp dl, byte [eax + 0x38]
je 0x49c718
call fcn.0040c490
jmp 0x49c718
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00419600
jmp 0x49c718
cmp ecx, ebx
jge 0x49c6df
mov eax, dword [ebp - 0xc]
add eax, ecx
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00419600
jmp 0x49c615
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.004195e0
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.00419614
cmp edx, dword [esp + 4]
jne 0x49c700
cmp eax, dword [esp]
pop edx
pop eax
jne 0x49c615
push ebp
call fcn.0049c578
pop ecx
jmp 0x49c718
push ebp
call fcn.0049c578
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c739
mov eax, dword [ebp - 4]
call fcn.0049bc88
ret
mov al, byte [ebp - 5]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x49c748
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49c86a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049bc7c
xor eax, eax
push ebp
push 0x49c84d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x49c798
call fcn.00403fe8
jmp 0x49c854
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49c837
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49c837
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040396c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49c837
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bc98
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49c884
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x534858]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5f0
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c854
mov eax, dword [ebp - 4]
call fcn.0049bc88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49c871
lea eax, [ebp - 0x28]
call fcn.0040457c
ret
Function at 0x49c8d0
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ca1a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0049bc7c
xor eax, eax
push ebp
push 0x49c9fd
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x49c935
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
je 0x49c935
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_ioctlsocket
jmp 0x49c9e7
mov eax, dword [ebp - 4]
cmp byte [eax + 0xc], 0
jne 0x49c948
call fcn.00403fe8
jmp 0x49ca04
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.wsock32.dll_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x49c9e7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x49c9e7
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.0040396c
mov eax, dword [ebp - 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x49c9e7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.0040bc98
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x49ca34
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x534858]
mov dl, 1
mov eax, dword [0x49a7ec]
call fcn.0040c5f0
call fcn.00403f3c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ca04
mov eax, dword [ebp - 4]
call fcn.0049bc88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ca21
lea eax, [ebp - 0x28]
call fcn.0040457c
ret
Function at 0x49e478
Capabilities:
Create pipe

Disassembly:
push ebx
add esp, 0xffffffe8
mov ebx, eax
mov eax, ebx
call fcn.0049e61c
mov dword [esp + 0xc], 0xc
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], 0xffffffff
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x40]
push eax
lea eax, [esp + 0xc]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x49e4b9
call fcn.0040dae0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x3c]
push eax
lea eax, [esp + 0x10]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x49e4d7
call fcn.0040dae0
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x10]
push eax
lea eax, [ebx + 0x44]
push eax
call sub.kernel32.dll_CreatePipe
test eax, eax
jne 0x49e4f5
call fcn.0040dae0
push 2
push 0
push 0
lea eax, [ebx + 0x34]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x14]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x49e51e
call fcn.0040dae0
push 2
push 0
push 0
lea eax, [ebx + 0x30]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x18]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x49e547
call fcn.0040dae0
push 2
push 0
push 0
lea eax, [ebx + 0x38]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_DuplicateHandle
test eax, eax
jne 0x49e570
call fcn.0040dae0
mov eax, dword [esp]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 4]
push eax
call sub.kernel32.dll_CloseHandle_1
mov eax, dword [esp + 8]
push eax
call sub.kernel32.dll_CloseHandle_1
mov dl, 1
mov eax, dword [0x414de0]
call fcn.00403740
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x414de0]
call fcn.00403740
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x78], eax
xor eax, eax
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x68]
mov edx, dword [eax]
call dword [edx + 0x44]
mov eax, dword [ebx + 0x64]
mov edx, dword [eax]
call dword [edx + 0x44]
add esp, 0x18
pop ebx
ret
Function at 0x49eb1c
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x49ec05
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x14]
mov esi, eax
dec esi
test esi, esi
jl 0x49ebe7
inc esi
mov dword [ebp - 0xc], 0
lea ecx, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov edx, dword [ebp - 0x10]
mov eax, 0x49ec20
call fcn.00404b70
mov edi, eax
test edi, edi
jle 0x49eb94
lea eax, [ebp - 0x10]
push eax
mov ecx, edi
dec ecx
mov edx, 1
mov eax, dword [ebp - 0x10]
call fcn.00404a8c
mov bl, 1
jmp 0x49eba1
lea eax, [ebp - 0x10]
mov edx, 0x49ec2c
call fcn.0040483c
cmp dword [ebp - 0x10], 0
je 0x49ebdd
push 0
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00404834
push eax
lea eax, [ebp - 0x10]
call fcn.00404a84
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_WriteFile_1
test eax, eax
jne 0x49ebdd
call sub.kernel32.dll_GetLastError_1
cmp eax, 0xe8
je 0x49ebdd
call fcn.0040dae0
inc dword [ebp - 0xc]
dec esi
jne 0x49eb5b
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ec0c
lea eax, [ebp - 0x10]
call fcn.0040457c
ret

Function at 0x49edd4
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
mov esi, 0x535f10
xor eax, eax
push ebp
push 0x49ef07
push dword fs:[eax]
mov dword fs:[eax], esp
push 8
mov eax, esi
mov ecx, 1
mov edx, dword [0x48a90c]
call fcn.00405ec4
add esp, 4
mov eax, dword [esi]
mov edx, 0x49ef20
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 4], 0x535ee8
mov eax, dword [esi]
add eax, 8
mov edx, 0x49ef3c
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0xc], 0x535eec
mov eax, dword [esi]
add eax, 0x10
mov edx, 0x49ef58
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0x14], 0x535ef0
mov eax, dword [esi]
add eax, 0x18
mov edx, 0x49ef70
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0x1c], 0x535ef4
mov eax, dword [esi]
add eax, 0x20
mov edx, 0x49ef88
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0x24], 0x535ef8
mov eax, dword [esi]
add eax, 0x28
mov edx, 0x49ef9c
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0x2c], 0x535efc
mov eax, dword [esi]
add eax, 0x30
mov edx, 0x49efb0
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0x34], 0x535f00
mov eax, dword [esi]
add eax, 0x38
mov edx, 0x49efc0
call fcn.004045d0
mov eax, dword [esi]
mov dword [eax + 0x3c], 0x535f04
lea ecx, [ebp - 0xc]
mov eax, dword [0x535f0c]
mov eax, dword [eax + 4]
mov edx, dword [esi]
call fcn.0048b02c
lea edx, [ebp - 0xc]
mov eax, 0x535f14
mov ecx, dword [0x48a8ec]
call fcn.0040550c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49ef0e
lea eax, [ebp - 0xc]
mov edx, dword [0x48a8ec]
call fcn.004052f0
ret
Function at 0x4a0d48
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x4a0dac
push dword fs:[edx]
mov dword fs:[edx], esp
push 6
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004047e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00409434
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a0db3
lea eax, [ebp - 0xc]
call fcn.0040457c
ret

Function at 0x4a9a34
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4a9ae7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a9ad1
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], 0
lea ecx, [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 0xc]
mov eax, 0x4a9afc
call fcn.00404b70
test eax, eax
jle 0x4a9a9a
lea edx, [ebp - 0xc]
mov ecx, 0x400
xchg edx, eax
call fcn.00404acc
mov eax, dword [ebp - 0xc]
call fcn.00404834
mov edx, eax
test edx, edx
jle 0x4a9ab9
mov eax, 1
mov ecx, dword [ebp - 0xc]
xor byte [ecx + eax - 1], 0x80
inc eax
dec edx
jne 0x4a9aad
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x20]
inc dword [ebp - 8]
dec dword [ebp - 0x10]
jne 0x4a9a6b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a9aee
lea eax, [ebp - 0xc]
call fcn.0040457c
ret
Function at 0x4ae54c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffdf8
mov ebx, eax
push esp
push 0x208
call sub.kernel32.dll_GetCurrentDirectoryW
mov eax, ebx
mov edx, esp
mov ecx, 0x104
call fcn.00404e1c
add esp, 0x208
pop ebx
ret

Function at 0x4af8e4
Capabilities:
Capture microphone audio

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff88
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x78], ebx
mov word [ebp - 0xa], cx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
call fcn.00405200
xor eax, eax
push ebp
push 0x4afa7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x531544]
cmp eax, 1
sete byte [ebp - 0xb]
test eax, eax
jne 0x4afa60
mov dword [0x531544], 0xffffffff
mov byte [0x531548], 0
call sub.winmm.dll_waveInGetNumDevs
mov ebx, eax
test ebx, ebx
jle 0x4afa60
mov ax, word [ebp + 8]
push eax
lea eax, [ebp - 0x1d]
mov ecx, dword [ebp + 0xc]
mov dx, word [ebp - 0xa]
call fcn.004af89c
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00404f70
je 0x4af9c1
mov edi, 2
dec ebx
test ebx, ebx
jl 0x4af9df
inc ebx
xor esi, esi
push 0x54
lea eax, [ebp - 0x74]
push eax
push esi
call sub.winmm.dll_waveInGetDevCapsW
lea eax, [ebp - 0x78]
lea edx, [ebp - 0x6c]
mov ecx, 0x20
call fcn.00404e1c
mov eax, dword [ebp - 0x78]
mov edx, dword [ebp - 8]
call fcn.00404f70
jne 0x4af9bb
push 0x30000
push 0
push 0x4af854
lea eax, [ebp - 0x1d]
push eax
push esi
push 0x5373b8
call sub.winmm.dll_waveInOpen
mov edi, eax
jmp 0x4af9df
inc esi
dec ebx
jne 0x4af973
jmp 0x4af9df
push 0x30000
push 0
push 0x4af854
lea eax, [ebp - 0x1d]
push eax
push 0xffffffffffffffff
push 0x5373b8
call sub.winmm.dll_waveInOpen
mov edi, eax
test edi, edi
jne 0x4afa60
mov eax, dword [ebp - 4]
mov dword [0x531554], eax
mov esi, 5
mov ebx, 0x5373c0
mov edi, 0x53745c
movzx eax, word [ebp - 0xa]
imul eax, eax, 0x780
imul dword [ebp + 0xc]
mov ecx, 0x15888
xor edx, edx
div ecx
mov dword [ebx], eax
mov eax, edi
mov dword [ebx - 4], eax
xor eax, eax
mov dword [ebx + 0xc], eax
push 0x20
lea eax, [ebx - 4]
push eax
mov eax, dword [0x5373b8]
push eax
call sub.winmm.dll_waveInPrepareHeader
test eax, eax
jne 0x4afa60
push 0x20
lea eax, [ebx - 4]
push eax
mov eax, dword [0x5373b8]
push eax
call sub.winmm.dll_waveInAddBuffer
test eax, eax
jne 0x4afa60
add edi, 0x780
add ebx, 0x20
dec esi
jne 0x4af9fa
mov dword [0x531544], 1
mov byte [ebp - 0xb], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4afa85
lea eax, [ebp - 0x78]
call fcn.00404c98
lea eax, [ebp - 8]
call fcn.00404c98
ret

Function at 0x4b103c
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x534234]
mov dword [eax], 0x3ef
mov eax, dword [ebx + 0x31c]
test eax, eax
je 0x4b105f
cmp byte [eax + 0x57], 0
jne 0x4b105f
call fcn.00444d00
mov eax, dword [0x534724]
mov eax, dword [eax]
call fcn.00447c38
push 0
mov eax, dword [0x534724]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004b1530
mov eax, dword [0x534234]
xor edx, edx
mov dword [eax], edx
pop ebx
ret
Function at 0x4b1b08
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [0x534234]
mov dword [eax], 0x3f6
cmp dword [0x531574], 0
jne 0x4b1b3c
xor ecx, ecx
mov dl, 1
mov eax, dword [0x4afb90]
call fcn.00440ac4
mov dword [0x531574], eax
mov eax, dword [0x531574]
call fcn.004afdd0
mov eax, dword [0x531574]
call fcn.00444d00
mov eax, dword [0x531574]
mov eax, dword [eax + 0x2f8]
mov edx, dword [eax]
call dword [edx + 0xc0]
mov eax, dword [0x534724]
mov eax, dword [eax]
call fcn.00447c38
push 0
mov eax, dword [0x534724]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.user32.dll_ShowWindow
mov eax, ebx
call fcn.004b1530
mov eax, dword [0x534234]
xor edx, edx
mov dword [eax], edx
pop ebx
ret