joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001b4a
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
lea eax, [ebp - 4]
push esi
push eax
push 0x28
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1001b76
xor esi, esi
push esi
push 0x10
push esi
push esi
push 0x4f5
jmp 0x1001bcd
lea eax, [ebp - 0x10]
xor esi, esi
push eax
push 0x10012dc
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
push esi
push dword [ebp - 4]
mov dword [ebp - 0x14], 1
mov dword [ebp - 8], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
push esi
jne 0x1001bb7
push 0x10
push esi
push esi
push 0x4f6
jmp 0x1001bcd
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
jne 0x1001bd7
push esi
push 0x10
push esi
push esi
push 0x4f7
push esi
call fcn.01003ce8
xor eax, eax
jmp 0x1001bda
push 1
pop eax
pop esi
leave
ret

Function at 0x10020d4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push esi
push edi
lea eax, [ebp - 0x104]
push 0x104
push eax
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x1002141
lea eax, [ebp - 0x104]
push 0x1001318
push eax
call fcn.01005a84
lea eax, [ebp - 0x104]
push eax
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
lea eax, [ebp - 0x104]
push 0x40
push eax
call dword [sym.imp.KERNEL32.dll__lopen]
mov esi, eax
cmp esi, 0xffffffff
je 0x1002141
push 2
push edi
push esi
call dword [sym.imp.KERNEL32.dll__llseek]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll__lclose]
mov eax, edi
pop edi
pop esi
leave
ret

Function at 0x1002147
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002190
lea eax, [ebp - 4]
push eax
push esi
push esi
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x1002187
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret 8

Function at 0x1002198
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp + 8]
push esi
xor esi, esi
push eax
push 0x20019
push esi
push dword [ebp + 8]
mov dword [ebp - 4], esi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10021e5
push esi
push esi
push esi
lea eax, [ebp - 4]
push esi
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x10021dc
mov dword [ebp - 4], esi
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 4]
pop esi
leave
ret 4
Function at 0x100223a
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1002257
push 0
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
jmp 0x100225a
and eax, 0x10
ret 4

Function at 0x1002370
Capabilities:
Get common file path
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [ebp + 8]
and dword [ebp - 4], 0
push ebx
push esi
and byte [eax], 0
push edi
mov edi, dword [ebp + 0x10]
cmp byte [edi], 0x23
jne 0x1002484
movsx eax, byte [edi + 1]
inc edi
push eax
call dword [sym.imp.USER32.dll_CharUpperA]
mov esi, dword [sym.imp.USER32.dll_CharNextA]
push edi
mov bl, al
call esi
push eax
call esi
cmp bl, 0x53
mov edi, eax
je 0x100247c
cmp bl, 0x57
je 0x100246e
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x10c]
mov ebx, 0x104
push 0x1001328
push eax
mov dword [ebp - 8], ebx
call esi
lea eax, [ebp - 0x10c]
push edi
push eax
call fcn.01005a84
lea eax, [ebp + 0x10]
push eax
push 0x20019
lea eax, [ebp - 0x10c]
push 0
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x100248e
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 0xc]
push dword [ebp + 8]
push eax
push 0
push 0x10012b8
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1002463
cmp dword [ebp + 0xc], 2
jne 0x1002456
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
je 0x1002456
lea eax, [ebp - 0x10c]
push eax
push dword [ebp + 8]
call esi
jmp 0x100245c
cmp dword [ebp + 0xc], 1
jne 0x1002463
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100248e
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
jmp 0x100248e
push dword [ebp + 0xc]
push dword [ebp + 8]
jmp 0x1002488
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
cmp dword [ebp - 4], 0
jne 0x100249d
push edi
push dword [ebp + 8]
call fcn.01005a84
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x1002ca1
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x5c], 0x22
mov byte [ebp - 0x5b], 0x35
mov byte [ebp - 0x5a], 0x41
call fcn.010028b6
push eax
push esi
push dword [ebp + 8]
call fcn.0100286b
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 0x2c], bl
push eax
mov byte [ebp - 0x2b], bl
mov byte [ebp - 0x2a], 0xd4
mov byte [ebp - 0x29], bl
mov byte [ebp - 0x28], 0x67
mov byte [ebp - 0x27], 0x44
mov byte [ebp - 0x26], 0x4a
mov byte [ebp - 0x25], 0x4f
mov byte [ebp - 0x24], 0x67
mov byte [ebp - 0x23], 0x42
mov byte [ebp - 0x22], 0x49
mov byte [ebp - 0x21], 0x59
mov byte [ebp - 0x20], 0x4a
mov byte [ebp - 0x1f], 0x59
mov byte [ebp - 0x1e], 0x52
mov byte [ebp - 0x1d], 0x6a
mov byte [ebp - 0x1c], 0x2b
call fcn.010028b6
push eax
push esi
push dword [ebp + 8]
call fcn.0100286b
add esp, 0x30
mov dword [ebp - 0xb8], eax
call fcn.010028a6
ret 0xb5c6

Function at 0x1004b48
Capabilities:
Create directory
Delete directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
push ebx
xor ebx, ebx
cmp dword [ebp + 0xc], ebx
push esi
je 0x1004bd5
lea eax, [ebp - 0x128]
push eax
push dword [ebp + 8]
call fcn.01004a93
test eax, eax
je 0x1004c32
lea eax, [ebp - 0x128]
mov esi, 0x100ae84
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
test byte [0x100b6d4], 0x20
je 0x1004bc8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x24]
sub eax, ebx
je 0x1004bbd
dec eax
je 0x1004bb6
dec eax
je 0x1004baf
dec eax
jne 0x1004bc8
push 0x1001484
jmp 0x1004bc2
push 0x100147c
jmp 0x1004bc2
push 0x1001474
jmp 0x1004bc2
push 0x100146c
push esi
call fcn.01005a84
push 0x10012b8
push esi
call fcn.01005a84
jmp 0x1004be4
push dword [ebp + 8]
mov esi, 0x100ae84
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
call fcn.01004f1a
test eax, eax
jne 0x1004c04
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x1004c3a
mov dword [0x100aaa0], 1
push ebx
push dword [ebp + 0x10]
push esi
call fcn.01004fb9
test eax, eax
je 0x1004c1d
push 1
mov dword [0x100b704], ebx
pop eax
jmp 0x1004c34
cmp dword [0x100aaa0], ebx
je 0x1004c32
push esi
mov dword [0x100aaa0], ebx
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
xor eax, eax
pop esi
pop ebx
leave
ret 0xc
call fcn.01005735
mov dword [0x100b704], eax
jmp 0x1004c32
Function at 0x1005a34
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x1005a47
xor eax, eax
jmp 0x1005a4f
not eax
shr eax, 4
and eax, 1
ret 4

Function at 0x1005b1c
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
cmp byte [ecx], al
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], eax
je 0x1005b52
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x1005b56
xor eax, eax
jmp 0x1005b6c
mov eax, dword [ebp - 8]
push 0x400
imul eax, dword [ebp - 0xc]
push dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
leave
ret 4

Function at 0x1006de6
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, eax
dec eax
test edi, edi
jle 0x1006e26
lea edi, [eax + 1]
movzx eax, byte [ecx]
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or eax, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or eax, ebx
inc ecx
xor edx, eax
dec edi
jne 0x1006e04
and esi, 3
xor eax, eax
dec esi
je 0x1006e42
dec esi
je 0x1006e3b
dec esi
jne 0x1006e47
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor ebx, ebx
mov bh, byte [ecx]
or eax, ebx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
pop edi
pop esi
xor eax, edx
pop ebx
ret 0xc
Function at 0x4de540
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1a000]
push edi
or ebp, 0xffffffff
jmp 0x4de562
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4de569
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de558
mov eax, 1
add ebx, ebx
jne 0x4de57b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4de58c
jne 0x4de5ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de5ab
dec eax
add ebx, ebx
jne 0x4de598
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4de570
add ebx, ebx
jne 0x4de5a7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4de5fd
xor ecx, ecx
sub eax, 3
jb 0x4de5c3
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4de632
sar eax, 1
mov ebp, eax
jmp 0x4de5ce
add ebx, ebx
jne 0x4de5ce
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de59c
inc ecx
add ebx, ebx
jne 0x4de5dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4de59c
add ebx, ebx
jne 0x4de5e9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4de5de
jne 0x4de5fa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4de5de
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4de61c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4de60e
jmp 0x4de55e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4de61c
add edi, ecx
jmp 0x4de55e
pop esi
mov edi, esi
mov ecx, 0x13
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4de63a
cmp byte [edi], 0
jne 0x4de63a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x4de63f
lea edi, [esi + 0xdc000]
mov eax, dword [edi]
or eax, eax
je 0x4de6ae
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xeded0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xedef8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4de66c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xedf00]
or eax, eax
je 0x4de6a8
mov dword [ebx], eax
add ebx, 4
jmp 0x4de689
call dword [esi + 0xedefc]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4de6df
cmp al, 0xef
ja 0x4de6d2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4de6b4
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4de6c1
mov ebp, dword [esi + 0xedf04]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x4de713
sub esp, 0xffffff80
jmp 0x40102b
Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0xd8748c2
nop
nop
test eax, eax
nop
nop
je 0x43204e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x62082848
nop
nop
nop
nop
test eax, eax
nop
je 0x432084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x405488
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x41d1f0]
jne 0x405492
repz ret
jmp fcn.00407e70

Function at 0x40ee0c
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x41d1f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00409063
and dword [ebp - 0x14], 0
cmp dword [0x41f328], 0
mov dword [ebp - 0x18], eax
jne 0x40eebf
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x40ef67
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x40ef67
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x41f328], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x41f32c], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x41f330], eax
call edi
push eax
call esi
mov dword [0x41f338], eax
test eax, eax
je 0x40eebf
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x41f334], eax
mov eax, dword [0x41f334]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x40ef18
cmp dword [0x41f338], ecx
je 0x40ef18
push eax
call esi
push dword [0x41f338]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x40ef18
test ebx, ebx
je 0x40ef18
call edi
test eax, eax
je 0x40ef0f
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x40ef0f
test byte [ebp - 8], 1
jne 0x40ef18
or dword [ebp + 0x10], 0x200000
jmp 0x40ef4b
mov eax, dword [0x41f32c]
cmp eax, dword [ebp - 0x18]
je 0x40ef4b
push eax
call esi
test eax, eax
je 0x40ef4b
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x40ef4b
mov eax, dword [0x41f330]
cmp eax, dword [ebp - 0x18]
je 0x40ef4b
push eax
call esi
test eax, eax
je 0x40ef4b
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x41f328]
call esi
test eax, eax
je 0x40ef67
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x40ef69
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00405488
leave
ret
Function at 0x40ff00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x41d1f0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov dword [ebp - 4], 0
jmp 0x40ff26
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jge 0x40ff87
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
call dword [sym.imp.KERNEL32.dll_AddAtomA]
mov edx, dword [ebp + 8]
add edx, dword [ebp - 4]
movsx ebx, byte [edx]
call fcn.0040fec0
xor ebx, eax
mov eax, dword [ebp + 8]
add eax, dword [ebp - 4]
mov byte [eax], bl
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
push 0
call dword [sym.imp.USER32.dll_SwitchDesktop]
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_GetMenuDefaultItem]
lea ecx, [ebp - 0x808]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
jmp 0x40ff1d
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.00405488
mov esp, ebp
pop ebp
ret 8
Function at 0x40e0b0
Capabilities:
Capture microphone audio

Disassembly:
cmp dword [ecx + 0x5a], 0
je 0x40e0be
mov ecx, dword [ecx + 0x62]
jmp 0x429250
ret
cmp dword [ecx + 0x14], 0
jne 0x42925c
mov eax, 0xffffffec
ret
jmp 0x429730
mov eax, dword [ecx + 0xd4]
test eax, eax
je 0x42978b
cmp word [eax], 3
jne 0x42978b
cmp word [eax + 2], 1
jne 0x429769
mov word [eax], 1
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0x9e]
push ecx
call dword [sym.imp.WINMM.dll_waveOutRestart]
test eax, eax
je 0x42978b
mov eax, 0xffffff9d
ret
mov word [eax], 2
mov eax, dword [ecx + 0xd4]
mov ecx, dword [eax + 0xa2]
push ecx
call dword [sym.imp.WINMM.dll_waveInStart]
test eax, eax
je 0x42978b
mov eax, 0xffffff9d
ret
xor eax, eax
ret
Function at 0x40f3b0
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f6c7
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
lea ecx, [ecx + 0x18]
call fcn.00444ea3
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
call fcn.00444ea3
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00444ea3
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00444ea3
push 0x463790
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00445070
push 0x46378c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
lea ebx, [esi + 0x48]
call fcn.00445070
push 0x463788
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
lea edi, [esi + 0x4c]
call fcn.00445070
push 0x463784
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00445070
lea ecx, [esi + 0x50]
push str.M_d_yy
mov byte [ebp - 4], 7
call fcn.00445070
lea ecx, [esi + 0x54]
push str.intl
mov byte [ebp - 4], 8
call fcn.00445070
lea ecx, [esi + 0x58]
push str.iDate
mov byte [ebp - 4], 9
call fcn.00445070
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x5c]
push str.iTime
call fcn.00445070
lea ecx, [esi + 0x60]
push str.iTLZero
mov byte [ebp - 4], 0xb
call fcn.00445070
lea ecx, [esi + 0x64]
push str.s1159
mov byte [ebp - 4], 0xc
call fcn.00445070
lea ecx, [esi + 0x68]
push str.s2359
mov byte [ebp - 4], 0xd
call fcn.00445070
lea ecx, [esi + 0x6c]
push str.sDate
mov byte [ebp - 4], 0xe
call fcn.00445070
lea ecx, [esi + 0x70]
push str.sTime
mov byte [ebp - 4], 0xf
call fcn.00445070
lea ecx, [esi + 0x74]
push 0x463730
mov byte [ebp - 4], 0x10
call fcn.00445070
lea ecx, [esi + 0x78]
push 0x46372c
mov byte [ebp - 4], 0x11
call fcn.00445070
lea ecx, [esi + 0x7c]
push 0x463728
mov byte [ebp - 4], 0x12
call fcn.00445070
lea ecx, [esi + 0x80]
push 0x463724
mov byte [ebp - 4], 0x13
call fcn.00445070
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.004450fb
lea ecx, [esi + 0x38]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004450fb
push ebx
lea ecx, [esi + 0x20]
call fcn.004450fb
push edi
lea ecx, [esi + 0x24]
call fcn.004450fb
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0043f050
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.0040f6e0
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40f3b6
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get ntdll base address
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40f6c7
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov dword [ebp - 0x10], ecx
push edi
mov esi, ecx
lea ecx, [ecx + 0x18]
call fcn.00444ea3
mov dword [ebp - 4], 0
lea ecx, [esi + 0x1c]
call fcn.00444ea3
mov byte [ebp - 4], 1
lea ecx, [esi + 0x20]
call fcn.00444ea3
mov byte [ebp - 4], 2
lea ecx, [esi + 0x24]
call fcn.00444ea3
push 0x463790
lea ecx, [esi + 0x34]
mov byte [ebp - 4], 3
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
call fcn.00445070
push 0x46378c
lea ecx, [esi + 0x38]
mov byte [ebp - 4], 4
lea ebx, [esi + 0x48]
call fcn.00445070
push 0x463788
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
lea edi, [esi + 0x4c]
call fcn.00445070
push 0x463784
mov ecx, edi
mov byte [ebp - 4], 6
call fcn.00445070
lea ecx, [esi + 0x50]
push str.M_d_yy
mov byte [ebp - 4], 7
call fcn.00445070
lea ecx, [esi + 0x54]
push str.intl
mov byte [ebp - 4], 8
call fcn.00445070
lea ecx, [esi + 0x58]
push str.iDate
mov byte [ebp - 4], 9
call fcn.00445070
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x5c]
push str.iTime
call fcn.00445070
lea ecx, [esi + 0x60]
push str.iTLZero
mov byte [ebp - 4], 0xb
call fcn.00445070
lea ecx, [esi + 0x64]
push str.s1159
mov byte [ebp - 4], 0xc
call fcn.00445070
lea ecx, [esi + 0x68]
push str.s2359
mov byte [ebp - 4], 0xd
call fcn.00445070
lea ecx, [esi + 0x6c]
push str.sDate
mov byte [ebp - 4], 0xe
call fcn.00445070
lea ecx, [esi + 0x70]
push str.sTime
mov byte [ebp - 4], 0xf
call fcn.00445070
lea ecx, [esi + 0x74]
push 0x463730
mov byte [ebp - 4], 0x10
call fcn.00445070
lea ecx, [esi + 0x78]
push 0x46372c
mov byte [ebp - 4], 0x11
call fcn.00445070
lea ecx, [esi + 0x7c]
push 0x463728
mov byte [ebp - 4], 0x12
call fcn.00445070
lea ecx, [esi + 0x80]
push 0x463724
mov byte [ebp - 4], 0x13
call fcn.00445070
mov byte [ebp - 4], 0x14
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov edx, dword [esi + 0x30]
mov dword [esi], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 4], ecx
mov ecx, dword [esi + 0x40]
mov dword [esi + 8], edx
mov edx, dword [esi + 0x44]
mov dword [esi + 0xc], eax
lea eax, [esi + 0x34]
mov dword [esi + 0x10], ecx
push eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x14], edx
call fcn.004450fb
lea ecx, [esi + 0x38]
push ecx
lea ecx, [esi + 0x1c]
call fcn.004450fb
push ebx
lea ecx, [esi + 0x20]
call fcn.004450fb
push edi
lea ecx, [esi + 0x24]
call fcn.004450fb
sub esp, 4
mov dword [ebp - 0x14], esp
push 1
push 0
mov ecx, dword [ebp - 0x14]
call fcn.0043f050
mov byte [ebp - 4], 0x15
mov byte [ebp - 4], 0x14
mov ecx, esi
call fcn.0040f6e0
mov eax, esi
pop edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret