joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a11b
Capabilities:
Create service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x20c
mov word [ebp - 0x41c], ax
xor edi, edi
lea eax, [ebp - 0x41a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push 0x103
lea eax, [ebp - 0x41c]
push eax
push edi
mov dword [ebp - 0x420], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x100a179
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x100a301
xor eax, eax
push 0x20
mov word [ebp - 0x216], ax
pop eax
push 0x2f
mov word [ebp - 0xc], ax
pop eax
push 0x56
mov word [ebp - 0xa], ax
pop eax
mov word [ebp - 8], ax
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0xc]
push eax
push 0x107
lea eax, [ebp - 0x41c]
push eax
call fcn.01004483
cmp eax, edi
jl 0x100a301
push esi
xor eax, eax
push 0x1fe
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push edi
mov esi, 0x100
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1b
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
test eax, eax
jne 0x100a207
push 9
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1b
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
push 0xf003f
push edi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 8], eax
cmp eax, edi
je 0x100a2ee
push ebx
mov dword [ebp - 0x424], edi
cmp dword [ebp - 0x420], edi
je 0x100a239
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
push edi
push dword [0x100fe00]
lea eax, [ebp - 0x41c]
push edi
push edi
push eax
push 1
push 3
push 0x20
push 0xf01ff
lea eax, [ebp - 0x20c]
push eax
push 0x1002008
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CreateServiceW]
mov ebx, eax
cmp ebx, edi
jne 0x100a296
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x424], eax
cmp eax, 0x430
jne 0x100a2e2
mov eax, dword [ebp - 0x420]
inc dword [ebp - 0x420]
cmp eax, 0xe
jge 0x100a2e2
jmp 0x100a220
push edi
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x20
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
test eax, eax
jne 0x100a2bf
push 9
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x1b
push 0xffffffffffffffff
call sub.msi.dll_MsiDecomposeDescriptorW
lea eax, [ebp - 0x20c]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x420]
push eax
push 1
push ebx
call dword [0x100fe18]
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop ebx
jmp 0x100a2fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp - 0x424]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.01001d20
leave
ret
Function at 0x100b1b1
Capabilities:
Set current directory

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x220], eax
lea eax, [ebp - 0x20c]
mov esi, 0x104
push edi
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, esi
jle 0x100b225
push 0
push eax
lea ecx, [ebp - 0x218]
call fcn.01002475
test al, al
jne 0x100b225
lea ecx, [ebp - 0x218]
call fcn.01001df6
push 0xe
pop eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01001d20
leave
ret
push ebx
push edi
push dword [ebp - 0x214]
push dword [ebp - 0x218]
call fcn.01008e6c
test eax, eax
jge 0x100b24f
push 0xe
pop ebx
lea ecx, [ebp - 0x218]
call fcn.01001df6
mov eax, ebx
pop ebx
jmp 0x100b217
xor esi, esi
mov eax, edi
test edi, edi
je 0x100b277
movzx ecx, word [edi]
test cx, cx
je 0x100b273
push eax
call fcn.010081b5
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
jne 0x100b25a
mov esi, eax
jmp 0x100b25a
test esi, esi
jne 0x100b27c
xor ebx, ebx
inc ebx
jmp 0x100b23f
mov ecx, dword [ebp - 0x218]
xor eax, eax
sub esi, edi
sar esi, 1
push eax
mov word [ecx + esi*2], ax
call dword [sym.imp.ole32.dll_CoInitialize]
mov ebx, eax
test ebx, ebx
jne 0x100b23f
push 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov dword [ebp - 0x21c], eax
mov edi, 0xffff
mov esi, 0x80070000
test eax, eax
je 0x100b2c7
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
jne 0x100b2d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b2d5
and eax, edi
or eax, esi
mov ebx, eax
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x100b2f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b2f3
and eax, edi
or eax, esi
mov ebx, eax
test ebx, ebx
jne 0x100b323
push dword [ebp - 0x220]
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x100b31f
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jle 0x100b321
and eax, edi
or eax, esi
jmp 0x100b321
call eax
mov ebx, eax
cmp dword [ebp - 0x21c], 0
je 0x100b338
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x100b23f
Function at 0x100b395
Capabilities:
Print debug messages
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x86c
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
xor edi, edi
cmp dword [0x100fe08], 0xffffffff
mov ebx, eax
jne 0x100b478
lea eax, [ebp - 0x868]
push eax
mov dword [0x100fe08], edi
mov dword [ebp - 0x86c], edi
mov dword [ebp - 0x868], 0x20019
call fcn.01004293
pop ecx
lea eax, [ebp - 0x86c]
push eax
push dword [ebp - 0x868]
push edi
push 0x100b540
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100b478
lea eax, [ebp - 0x858]
mov dword [ebp - 0x864], eax
lea eax, [ebp - 0x868]
push eax
lea eax, [ebp - 0x858]
push eax
push edi
push edi
push 0x100b530
push dword [ebp - 0x86c]
mov dword [ebp - 0x860], 0x28
mov dword [ebp - 0x868], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100b461
mov eax, dword [ebp - 0x864]
mov eax, dword [eax]
and eax, 3
mov dword [0x100fe08], eax
push dword [ebp - 0x86c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x864]
call fcn.01008e46
test dword [0x100fe08], 3
je 0x100b4ea
xor eax, eax
push 0x800
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push edi
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
push esi
lea eax, [ebp - 0x808]
cmp dword [ebp + 0xc], edi
je 0x100b4c6
push dword [ebp + 0xc]
push 0x100b50c
push 0x401
push eax
call fcn.01008f52
add esp, 0x14
jmp 0x100b4d9
push 0x100b500
push 0x401
push eax
call fcn.01008f52
add esp, 0x10
cmp eax, edi
jl 0x100b4ea
lea eax, [ebp - 0x808]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01001d20
leave
ret
Function at 0x100baa7
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push esi
xor esi, esi
push 0xf003f
push esi
push esi
mov dword [ebp - 4], esi
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov dword [ebp - 0x10], eax
cmp eax, esi
je 0x100bbf0
push 0xf01ff
push 0x1002008
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov dword [ebp - 8], eax
cmp eax, esi
je 0x100bbbc
push edi
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
push 1
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x100bb59
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov ebx, 0x3e8
push ebx
mov dword [ebp - 0x28], 4
call esi
mov edi, dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
jmp 0x100bb3c
mov eax, dword [ebp - 0xc]
inc dword [ebp - 0xc]
cmp eax, 5
jge 0x100bb49
cmp dword [ebp - 0x28], 3
jne 0x100bb49
push ebx
call esi
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 8]
call edi
test eax, eax
jne 0x100bb28
cmp dword [ebp - 0x28], 1
pop ebx
je 0x100bb99
mov dword [ebp - 4], 0x80004005
jmp 0x100bbb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
sub eax, 0x41c
je 0x100bb8d
sub eax, 8
je 0x100bb88
dec eax
dec eax
je 0x100bb88
sub eax, 0xf
je 0x100bb88
push dword [ebp - 4]
push 0x100bc60
call fcn.0100b395
pop ecx
pop ecx
jmp 0x100bb94
mov dword [ebp - 4], esi
jmp 0x100bb99
mov dword [ebp - 4], 0x652
cmp dword [ebp - 4], esi
jne 0x100bbb0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_DeleteService]
cmp eax, 1
je 0x100bbb0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
jmp 0x100bbe5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
sub eax, 0x424
je 0x100bbe2
sub eax, 0xc
je 0x100bbe2
push dword [ebp - 4]
push 0x100bc38
call fcn.0100b395
pop ecx
pop ecx
jmp 0x100bbe5
mov dword [ebp - 4], esi
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x100bc06
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x100bc0c
mov dword [ebp - 4], eax
call fcn.0100b395
pop ecx
pop ecx
mov eax, dword [ebp - 4]
pop esi
leave
ret
Function at 0x100bc93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc08
mov eax, dword [0x100e00c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
lea ecx, [ebp - 0xc00]
push ecx
push 0x2001f
xor esi, esi
push esi
push ebx
push eax
mov dword [ebp - 0xc08], eax
call fcn.01002181
add esp, 0x14
cmp eax, esi
je 0x100bcde
cmp eax, 2
sete al
jmp 0x100bde8
push edi
lea ecx, [ebp - 0xbfc]
call fcn.01008d7a
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100bd09
push dword [ebp - 0xbfc]
push dword [ebp - 0xc00]
call fcn.0100bc93
pop ecx
pop ecx
test al, al
je 0x100bd48
mov eax, dword [ebp - 0xbf8]
push esi
push esi
push esi
push esi
mov dword [ebp - 0xc04], eax
lea eax, [ebp - 0xc04]
push eax
push dword [ebp - 0xbfc]
push esi
push dword [ebp - 0xc00]
call edi
cmp eax, esi
je 0x100bcf2
push dword [ebp - 0xc00]
cmp eax, 0x103
je 0x100bd50
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100bdb1
push dword [ebp - 0xc00]
jmp 0x100bd40
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push dword [ebp - 0xc08]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
cmp edi, esi
je 0x100bdcd
xor eax, eax
push 0x800
mov word [ebp - 0x808], ax
lea eax, [ebp - 0x806]
push esi
push eax
call sub.msvcrt.dll_memset
push ebx
push 0x100bdf8
lea eax, [ebp - 0x808]
push 0x401
push eax
call fcn.01008f52
add esp, 0x1c
test eax, eax
jl 0x100bdb1
lea eax, [ebp - 0x808]
push edi
push eax
call fcn.0100b395
pop ecx
pop ecx
cmp dword [ebp - 0xbf8], 0x1f4
jle 0x100bdc9
push dword [ebp - 0xbfc]
call fcn.01008876
pop ecx
xor al, al
jmp 0x100bde7
cmp dword [ebp - 0xbf8], 0x1f4
jle 0x100bde5
push dword [ebp - 0xbfc]
call fcn.01008876
pop ecx
mov al, 1
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01001d20
leave
ret
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
jl 0x432030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x4016b0
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x5c
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov byte [eax], 0
mov ecx, 0x14
xor eax, eax
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x14]
push ecx
push 0xf003f
push eax
push str.SoftwareVentrilo
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
je 0x401715
mov ecx, dword [esp + 0x74]
push str.Unable_to_open_system_registry_to_read_registration_key.
call fcn.0045b3b2
mov eax, esi
pop edi
sub eax, 2
pop esi
neg eax
sbb eax, eax
pop ebp
and eax, 4
pop ebx
add eax, 0xfffffffb
add esp, 0x5c
ret 8
lea edx, [esp + 0x10]
lea eax, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
push ecx
push 0
push str.RegKey
push edx
mov dword [esp + 0x30], 3
mov dword [esp + 0x28], 0x50
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x401772
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x74]
push str.Unable_to_read_the_registration_key.
call fcn.0045b3b2
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x5c
ret 8
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x10]
cmp eax, 0x50
jb 0x4017a3
mov ecx, dword [esp + 0x74]
push str.Invalid_data_reading_registration_key.
call fcn.0045b3b2
pop edi
pop esi
pop ebp
mov eax, 0xfffffffd
pop ebx
add esp, 0x5c
ret 8
mov ebp, dword [esp + 0x74]
cmp eax, 3
jae 0x4017bc
push str.Missing_data_reading_registration_key.
mov ecx, ebp
call fcn.0045b3b2
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1e]
add eax, 0xfffffffe
push edx
push eax
mov ecx, ebx
mov byte [esp + 0x73], 0
call fcn.004018d0
lea edi, [esp + 0x1e]
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
test esi, esi
mov dword [esp + 0x10], esi
jle 0x401814
movzx di, byte [esp + edx + 0x1e]
mov ecx, eax
xor ebx, ebx
and ecx, 0xffff
mov bh, al
shr ecx, 8
mov cx, word [ecx*2 + 0x4809ac]
xor cx, di
xor ecx, ebx
inc edx
cmp edx, esi
mov eax, ecx
jl 0x4017eb
cmp word [esp + 0x1c], ax
je 0x401836
push str.Corrupted_registration_key.
mov ecx, ebp
call fcn.0045b3b2
pop edi
pop esi
pop ebp
mov eax, 0xfffffffc
pop ebx
add esp, 0x5c
ret 8
lea edi, [esp + 0x1e]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, dword [esp + 0x70]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret 8
Function at 0x402a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4647d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x486ed0]
push ebx
push esi
push edi
mov esi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x14]
push str._s_BINDINGS__d
push eax
mov dword [esp + 0x28], 0
call fcn.00455232
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
add esp, 0x10
push eax
push 0x4806a4
push ecx
mov ecx, ebx
call fcn.00409690
mov edx, dword [esi + 4]
mov eax, dword [esp + 0xc]
push edx
push str.UseDirInp
push eax
mov ecx, ebx
call fcn.00409830
mov ecx, dword [esi + 0xc]
test ecx, ecx
jne 0x402af0
xor eax, eax
jmp 0x402af8
mov eax, dword [esi + 0x10]
sub eax, ecx
sar eax, 2
mov ecx, dword [esp + 0xc]
push eax
push str.Count
push ecx
mov ecx, ebx
call fcn.00409830
xor edi, edi
mov eax, dword [esi + 0xc]
test eax, eax
je 0x402b34
mov edx, dword [esi + 0x10]
sub edx, eax
sar edx, 2
cmp edi, edx
jae 0x402b34
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0xc]
push edi
push eax
mov ecx, dword [ecx + edi*4]
push ebx
call fcn.004088f0
inc edi
jmp 0x402b0c
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0045b229
mov ecx, dword [esp + 0x10]
pop edi
pop esi
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x402b60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x46480b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [0x486ed0]
push ebx
push ebp
push edi
mov edi, ecx
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
lea eax, [esp + 0x14]
xor ebp, ebp
push str._s_BINDINGS__d
push eax
mov dword [esp + 0x28], ebp
call fcn.00455232
mov ecx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x30]
add esp, 0x10
lea edx, [esp + 0x28]
push ebp
push 0x4806a4
push ecx
push edx
mov ecx, ebx
call fcn.00409970
push eax
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.0045b362
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call fcn.0045b229
mov eax, dword [edi]
cmp dword [eax - 8], ebp
jne 0x402c0a
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0045b229
pop edi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
mov ecx, dword [esp + 0xc]
push ebp
push str.UseDirInp
push ecx
mov ecx, ebx
call fcn.00409c30
mov edx, dword [esp + 0xc]
push ebp
push str.Count
push edx
mov ecx, ebx
mov dword [edi + 4], eax
call fcn.00409c30
cmp eax, ebp
mov dword [esp + 0x24], eax
jle 0x402cae
push esi
push 0x34
call fcn.0045af6a
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov byte [esp + 0x1c], 2
je 0x402c5a
mov ecx, eax
call fcn.00408450
jmp 0x402c5c
xor eax, eax
mov ecx, dword [esp + 0x10]
push ebp
push ecx
push ebx
mov ecx, eax
mov byte [esp + 0x28], 0
mov dword [esp + 0x38], eax
call fcn.00408aa0
test al, al
je 0x402c8c
mov eax, dword [edi + 0x10]
lea ecx, [edi + 8]
lea edx, [esp + 0x2c]
push edx
push 1
push eax
call fcn.0041ea20
jmp 0x402ca4
mov ecx, dword [esp + 0x2c]
test ecx, ecx
mov esi, ecx
je 0x402ca4
call fcn.004086e0
push esi
call fcn.0045af93
add esp, 4
mov eax, dword [esp + 0x28]
inc ebp
cmp ebp, eax
jl 0x402c3a
pop esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x18], 0xffffffff
call fcn.0045b229
mov ecx, dword [esp + 0x10]
pop edi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc
Function at 0x406960
Capabilities:
Check os version

Disassembly:
sub esp, 0x94
push ebx
push ebp
mov ebp, ecx
push esi
mov ebx, 0x800
mov eax, dword [ebp + 4]
lea esi, [ebp + 4]
test eax, eax
jne 0x4069e7
push edi
mov ecx, 0x25
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov eax, dword [esp + 0x20]
pop edi
cmp eax, 2
jne 0x4069b1
cmp dword [esp + 0x10], 5
jae 0x4069b1
mov ebx, 0x300
call fcn.00460f3e
mov eax, dword [eax + 8]
push 0
push esi
push 0x46bf38
push ebx
push eax
call sub.DINPUT8.dll_DirectInput8Create
test eax, eax
je 0x4069dd
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x94
ret 4
mov ecx, dword [esp + 0xa4]
mov dword [ebp], ecx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x94
ret 4

Function at 0x406cb0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call fcn.00409360
mov eax, dword [0x486ed0]
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push esi
mov byte [esp + 0x34], 1
call fcn.00409dc0
mov ebp, eax
test ebp, ebp
je 0x406d0e
push esi
push str.CEvtText::Read__Unable_to_open_file__s
call fcn.0040a2a0
add esp, 8
push 0xffffffffffffffff
push 0
mov ecx, edi
call fcn.004567c8
mov esi, 0x481128
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
push edx
lea eax, [esp + 0x40]
push str.Text
push eax
lea ecx, [esp + 0x20]
call fcn.00409970
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 2
call fcn.0045b362
lea ecx, [esp + 0x38]
mov byte [esp + 0x30], 1
call fcn.0045b229
mov eax, dword [edi + 8]
lea ecx, [esp + 0xc]
push ecx
push eax
mov ecx, edi
call fcn.0045693d
add esi, 8
cmp esi, str.Using_binds__s
jb 0x406d1e
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0045b229
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00409380
mov ecx, dword [esp + 0x28]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x406db0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x464f90
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x10]
call fcn.00409360
mov eax, dword [0x486ed0]
mov dword [esp + 0x30], 0
mov dword [esp + 0xc], eax
push str.This_file_defines_the_text_to_speech_messages_that_are_played_when
push 0x48af38
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 1
call fcn.00409950
push str.certain_events_occur_inside_the_Ventrilo_program._Some_of_the_entries
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
push str.will_contain_program_replacement_strings_that_look_like___s_._In
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
push str.these_cases_the_program_will_fill_in_details_about_the_users
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
push str.name__the_comment_they_made_or_other_details._You_can_have_text_before
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
push str.or_after_them_but_you_can_not_change_the_order_that_they_are_used.
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
push str.i.e._in_the__COMMENTED__key_there_are_2__ss._The_first__s_will_always
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
push str.be_the_users_name_and_the_second__s_will_be_their_comment.
push 0x48af38
lea ecx, [esp + 0x18]
call fcn.00409950
xor edi, edi
mov esi, 0x481128
mov ecx, dword [ebp + 4]
mov edx, dword [esi]
mov eax, dword [ecx + edi]
lea ecx, [esp + 0x10]
push eax
push edx
push str.Text
call fcn.00409690
add esi, 8
add edi, 4
cmp esi, str.Using_binds__s
jb 0x406e8b
mov edi, dword [esp + 0x38]
lea ecx, [esp + 0x10]
push edi
call fcn.00409cc0
mov esi, eax
test esi, esi
je 0x406ed3
push edi
push str.CEvtText::Write__Unable_to_open_file__s
call fcn.0040a2a0
add esp, 8
lea ecx, [esp + 0xc]
mov byte [esp + 0x30], 0
call fcn.0045b229
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0xffffffff
call fcn.00409380
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x28
ret 4