joyce8/EMBER2024-capa huggingface dataset:
Function at 0x463ed0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x542ed3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.004b4960
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CFormatSetting.0
call fcn.00505193
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x463f22
push 0x80004005
call fcn.00402900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x58], eax
mov byte [esp + 0x14], 1
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], eax
mov dword [esi + 0x4c], eax
push 0xe
push 0x56f524
lea ecx, [esi + 4]
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
call fcn.00404a30
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4

Function at 0x464cc0
Capabilities:
Check os version

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esp + 0x14], ebx
push edi
mov edi, eax
jne 0x464cd5
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x464ccd
push esi
mov esi, dword [eax + 0x170]
cmp esi, ebx
jne 0x464cf4
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
push ebp
xor ebp, ebp
cmp edi, ebx
je 0x464d14
mov edx, dword [esi]
call fcn.004d2f30
cmp eax, edi
jne 0x464d19
cmp ebp, ebx
jge 0x464d2e
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
cmp dword [esi + 4], ebx
jne 0x464d06
add ebp, 1
add esi, 8
cmp ebp, 7
jl 0x464cf7
pop ebp
pop esi
pop edi
xor eax, eax
pop ebx
pop ecx
ret 0xc
mov ecx, dword [0x5b6edc]
mov dword [esp + 0x10], ebx
xor edi, edi
mov esi, 0x5adbc8
nop
test ecx, ecx
jne 0x464d5f
push 0x5b6ed8
mov dword [0x5b6ed8], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [0x5b6edc]
cmp ecx, 6
jne 0x464d70
cmp dword [0x5b6ee0], 0
lea eax, [ecx + 0x12]
je 0x464d75
mov eax, 0x1b
cmp edi, eax
jge 0x464dda
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x18]
mov edx, dword [eax + 0x170]
mov eax, dword [edx + ebp*8 + 4]
test dword [esi - 8], eax
je 0x464db4
mov edx, dword [esp + 0x1c]
cmp dword [esi - 4], edx
jne 0x464db4
test bx, bx
mov dword [esp + 0x10], 1
jne 0x464da8
movzx ebx, word [esi]
mov ax, word [esi]
mov edx, dword [esp + 0x20]
cmp ax, word [edx]
je 0x464dbc
add edi, 1
add esi, 0x14
jmp 0x464d40
mov ecx, dword [esp + 0x20]
lea eax, [edi + edi*4]
movzx ebx, word [eax*4 + 0x5adbc8]
mov eax, dword [esp + 0x10]
pop ebp
pop esi
pop edi
mov word [ecx], bx
pop ebx
pop ecx
ret 0xc
cmp dword [esp + 0x10], 0
je 0x464de8
mov ecx, dword [esp + 0x20]
mov word [ecx], bx
mov eax, dword [esp + 0x10]
pop ebp
pop esi
pop edi
pop ebx
pop ecx
ret 0xc
Function at 0x468d70
Capabilities:
Get file version info

Disassembly:
sub esp, 0xc
test edi, edi
je 0x468e19
test ebx, ebx
je 0x468e19
push esi
lea eax, [esp + 0xc]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
test eax, eax
mov dword [esp + 4], eax
jbe 0x468e0f
push eax
call fcn.004faec4
mov esi, eax
add esp, 4
test esi, esi
jne 0x468db0
mov eax, 0x8007000e
pop esi
add esp, 0xc
ret
mov ecx, dword [esp + 4]
push esi
push ecx
push 0
push edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x468e06
lea edx, [esp + 4]
push edx
lea eax, [esp + 0xc]
push eax
push 0x56497c
push esi
mov dword [esp + 0x18], 0
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x468e06
mov eax, dword [esp + 8]
test eax, eax
je 0x468e06
mov ecx, dword [eax + 8]
mov dword [ebx + 4], ecx
mov edx, dword [eax + 0xc]
push esi
mov dword [ebx], edx
call fcn.004faebf
add esp, 4
xor eax, eax
pop esi
add esp, 0xc
ret
push esi
call fcn.004faebf
add esp, 4
mov eax, 0x80004005
pop esi
add esp, 0xc
ret
mov eax, 0x80070057
add esp, 0xc
ret

Function at 0x468e70
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x549bf7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
push esi
call fcn.004bec90
push 0x4adb00
push fcn.004ada60
push 0xa
push 0xf0
lea eax, [esi + 0x1c4]
xor ebx, ebx
mov dword [esp + 0x2c], ebx
push eax
mov dword [esi], vtable.CGraphicEqDlg.0
mov dword [esi + 0x78], vtable.CGraphicEqDlg.1.0
call fcn.005227f3
lea edi, [esi + 0xb24]
mov ecx, edi
mov byte [esp + 0x1c], 1
call fcn.004fc3ae
mov dword [edi], vtable.CButton.0
lea edi, [esi + 0xb78]
mov ecx, edi
mov byte [esp + 0x1c], 2
call fcn.004fc3ae
mov dword [edi], vtable.CButton.0
push 0x421c20
push 0x4e91c0
push 0xa
push 0x64
lea ecx, [esi + 0xbcc]
push ecx
mov byte [esp + 0x30], 3
call fcn.005227f3
lea edi, [esi + 0xfb4]
mov ecx, edi
mov byte [esp + 0x1c], 4
call fcn.004fc3ae
xor eax, eax
mov dword [edi + 0x54], eax
xor ecx, ecx
xor edx, edx
mov dword [edi + 0x58], ecx
mov dword [edi + 0x5c], edx
mov dword [edi], vtable.CStaticEx.0
mov dword [edi + 0x60], ebx
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x46c310
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
movzx eax, word [ebp + 0xc]
push 0x5604c8
push eax
xor ebx, ebx
push edi
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x46c3b9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
mov dword [esp + 0x14], eax
je 0x46c3b9
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x46c3b9
mov edi, dword [esp + 0x14]
push edi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x46c3b9
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x46c42d
push edi
push esi
push eax
call fcn.00527e10
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0
push ebx
mov dword [esp + 0x1c], 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jl 0x46c3b9
mov edx, dword [esp + 0x10]
mov esi, dword [ebp + 8]
push edx
push esi
call fcn.0046c870
test eax, eax
jge 0x46c3ee
mov eax, dword [esp + 0x10]
test eax, eax
je 0x46c3d1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x46c3e3
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call fcn.00424910
test eax, eax
je 0x46c418
cmp dword [ebp + 0x10], 0
je 0x46c409
mov eax, dword [esp + 0x10]
push eax
call fcn.0046c830
jmp 0x46c412
mov eax, dword [esi + 4]
push eax
call fcn.0046c770
mov dword [esi + 0x30], eax
add esp, 4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x46c430
mov esi, dword [ebp + 8]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov edi, dword [ebp + 0x10]
test edi, edi
je 0x46c445
mov ebx, esi
call fcn.0046c490
call fcn.00424910
test eax, eax
je 0x46c47a
xor eax, eax
test edi, edi
setne al
mov ecx, esi
lea eax, [eax*4 + 3]
push eax
call fcn.0046c560
mov ecx, dword [esi + 0x30]
test ecx, ecx
je 0x46c47a
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
mov dword [esi + 0x30], 0
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47e0f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53f47b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x1d8], eax
push ebx
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x1f0]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x80], 0
jne 0x47e142
xor eax, eax
jmp 0x47e2e1
cmp dword [esi + 0x84], 0
je 0x47e13b
cmp dword [esi + 0x8c], 0
je 0x47e15f
lea eax, [esi + 0x88]
call fcn.004112f0
call fcn.00505193
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x47e179
push 0x80004005
call fcn.00402900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
push 0x82
lea ecx, [esp + 0xe0]
push ecx
mov dword [esp + 0x200], 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea eax, [esp + 0xdc]
lea ecx, [esi + 0x1c8]
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x47e1b7
sub eax, edi
push eax
lea edx, [esp + 0xe0]
push edx
call fcn.0047ee00
mov eax, dword [esi + 0x84]
test eax, eax
je 0x47e214
mov eax, dword [eax + 0x10c]
and al, 0x40
xor ecx, ecx
cmp al, 0x40
sete cl
mov eax, ecx
test eax, eax
je 0x47e214
mov edx, dword [esi + 0x80]
mov eax, dword [edx + 0x214]
add eax, 0xfffffd00
cmp eax, 1
push esi
ja 0x47e20d
call fcn.0047e690
jmp 0x47e21a
call fcn.0047e890
jmp 0x47e21a
push esi
call fcn.0047e310
push 0xc8
lea eax, [esp + 0x18]
push 0
push eax
call fcn.00523750
mov ecx, dword [esi + 0x84]
mov eax, dword [ecx + 0x14]
add esp, 0xc
push 0
push 0
push 0xc7
lea edx, [esp + 0x20]
push edx
push 0xffffffffffffffff
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x47e260
mov ebx, dword [0x5b6ff0]
sub eax, edx
mov edi, eax
call fcn.0047f250
test eax, eax
je 0x47e298
mov eax, dword [0x5b7014]
test eax, eax
je 0x47e298
add edi, 1
push edi
lea ecx, [esp + 0x18]
push ecx
push 1
push ebx
call eax
add esp, 0x10
jmp 0x47e29a
xor al, al
mov edx, dword [esi + 0x78]
movzx edi, al
lea eax, [esi + 0x78]
push 0
push eax
mov eax, dword [edx]
mov dword [esi + 0x1c4], 1
call eax
mov dword [esp + 0x1f8], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x47e2df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x1f0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1d8]
xor ecx, esp
call fcn.0052151a
mov esp, ebp
pop ebp
ret
Function at 0x48f430
Capabilities:
Get common file path

Disassembly:
mov eax, 0x10008
call fcn.005259e0
mov eax, dword [0x5ab720]
xor eax, esp
mov dword [esp + 0x10004], eax
mov eax, dword [esi + 0x8c]
test eax, eax
jne 0x48f467
mov ecx, dword [esp + 0x10004]
xor ecx, esp
call fcn.0052151a
add esp, 0x10008
ret
push ebx
mov ebx, dword [esi + 0x88]
add eax, 0x19b4
call fcn.004a64a0
test eax, eax
je 0x48f576
push 0
lea ecx, [esi + 0x274]
push ecx
add eax, 0x68
push eax
call sub.DSOUND.dll_DirectSoundCaptureCreate
test eax, eax
jl 0x48f576
mov edx, dword [esi + 0x34c]
add edx, edx
push ebp
add edx, edx
lea ecx, [esi + 0x300]
push edi
mov word [esi + 0x348], 1
mov word [esi + 0x356], 0x10
mov word [esi + 0x34a], 2
mov word [esi + 0x354], 4
mov dword [esi + 0x350], edx
xor eax, eax
mov dword [esp + 0xc], ecx
lea edi, [esi + 0x280]
mov edx, dword [esi + 0x350]
add edx, edx
add edx, edx
lea ebx, [eax + 1]
add edx, edx
mov ecx, edx
shr ecx, 4
imul ecx, ebx
add ecx, 0xffffffff
mov dword [edi], ecx
mov eax, dword [esi + 0x350]
movzx ebp, word [esi + 0x354]
add eax, eax
add eax, eax
add eax, eax
shr eax, 4
xor edx, edx
div ebp
mov ebp, dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0
push 0
push 0
push 0
sub ecx, edx
mov dword [edi], ecx
call ebp
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
mov dword [edi + 4], eax
mov eax, ebx
add ecx, 4
add edi, 8
cmp eax, 0x10
mov dword [esp + 0xc], ecx
jl 0x48f4e2
push 0
push 0
push 0
push 0
call ebp
mov dword [esi + 0x340], eax
lea eax, [esp + 0x10]
push eax
push 0x7fff
mov dword [esi + 0x2f8], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
pop edi
pop ebp
jne 0x48f58e
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x10004]
xor ecx, esp
call fcn.0052151a
add esp, 0x10008
ret
cmp word [esp + eax*2 + 6], 0x5c
je 0x48f5ad
push 0x56497c
lea ecx, [esp + 0xc]
push 0x7fff
push ecx
call fcn.005221e4
add esp, 0xc
push str.MicCal.wav
lea edx, [esp + 0xc]
push 0x7fff
push edx
call fcn.005221e4
add esp, 0xc
lea eax, [esp + 8]
push eax
lea ecx, [esi + 0x360]
call fcn.004049b0
mov ecx, dword [esp + 0x10008]
pop ebx
xor ecx, esp
mov eax, 1
call fcn.0052151a
add esp, 0x10008
ret
Function at 0x48f5f0
Capabilities:
Resume thread

Disassembly:
sub esp, 0x1c
push ebx
push ebp
push esi
push edi
mov edi, eax
xor esi, esi
xor eax, eax
cmp dword [edi + 0x274], esi
je 0x48f76c
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
call fcn.0048f780
push 0x94
call fcn.004fae94
add esp, 4
cmp eax, esi
je 0x48f653
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 0x90], esi
mov dword [eax + 0x30], esi
mov dword [eax + 0x80], esi
mov ecx, eax
jmp 0x48f655
xor ecx, ecx
cmp ecx, esi
mov dword [edi + 0x344], ecx
jne 0x48f669
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
mov eax, dword [edi + 0x360]
lea ebx, [edi + 0x348]
call fcn.004f6190
test eax, eax
jl 0x48f65f
mov eax, dword [edi + 0x350]
add eax, eax
add eax, eax
add eax, eax
push esi
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x274]
lea ebp, [edi + 0x278]
push ebp
lea edx, [esp + 0x18]
mov dword [esp + 0x18], 0x1c
mov dword [esp + 0x28], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x48f65f
lea esi, [edi + 0x300]
mov ebx, 0x11
mov eax, dword [esi]
test eax, eax
je 0x48f6d1
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
add esi, 4
sub ebx, 1
jne 0x48f6c4
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea esi, [edi + 0x27c]
push esi
push 0x560cd4
push eax
call edx
test eax, eax
jl 0x48f65f
mov esi, dword [esi]
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
lea ecx, [edi + 0x280]
push ecx
push 0x10
push esi
call edx
test eax, eax
jl 0x48f65f
push ebx
push 4
push ebx
push ebx
push edi
push 0x48fad0
call fcn.00504fe7
mov esi, eax
test esi, esi
je 0x48f65f
push 2
push ebx
push ebx
add edi, 0x35c
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call edi
push eax
mov eax, dword [esi + 0x2c]
push eax
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov ecx, dword [esi + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp]
mov edx, dword [eax]
push ebx
push eax
mov eax, dword [edx + 0x24]
call eax
xor ecx, ecx
test eax, eax
setge cl
mov eax, ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x48f780
Capabilities:
Delete file

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [edi + 0x35c], ebx
push esi
mov dword [esp + 8], ebx
je 0x48f7da
mov eax, dword [edi + 0x340]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, dword [edi + 0x35c]
lea ecx, [esp + 8]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x48f7cd
cmp dword [esp + 8], 0x103
jne 0x48f7cd
mov eax, dword [edi + 0x35c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, dword [edi + 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [edi + 0x27c]
cmp eax, ebx
mov dword [edi + 0x35c], ebx
je 0x48f7f8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [edi + 0x27c], ebx
mov eax, dword [edi + 0x278]
cmp eax, ebx
je 0x48f822
mov ecx, dword [eax]
mov edx, dword [ecx + 0x28]
push eax
call edx
mov eax, dword [edi + 0x278]
cmp eax, ebx
je 0x48f822
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [edi + 0x278], ebx
mov esi, dword [edi + 0x344]
cmp esi, ebx
je 0x48f859
call fcn.004f6290
cmp dword [esi + 0x80], ebx
jne 0x48f84a
mov eax, dword [esi]
cmp eax, ebx
je 0x48f84a
push eax
call fcn.004faebf
add esp, 4
mov dword [esi], ebx
push esi
call fcn.004faebf
add esp, 4
mov dword [edi + 0x344], ebx
lea esi, [edi + 0x360]
push 0x564f30
push esi
call fcn.00410940
add esp, 8
test al, al
je 0x48f87a
mov eax, dword [esi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [edi + 0x1ec]
push ebx
push ebx
push 0x402
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
pop esi
pop ebx
pop ecx
ret
Function at 0x48fbe0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x546270
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
push str.DosDevices_
lea ecx, [esp + 0x1c]
call fcn.00404670
lea ecx, [ebp + 0x360]
push ecx
push eax
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x30], 0
call fcn.00410740
add esp, 0xc
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48fc5d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
lea esi, [eax + eax + 2]
xor ecx, ecx
add eax, 1
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004faec4
mov edi, eax
add esp, 4
test edi, edi
jne 0x48fcb2
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x48fcab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x48fd42
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx - 0xc]
lea edx, [eax + 1]
test edx, edx
je 0x48fcd5
cmp edx, 0x7fffffff
ja 0x48fcd5
push ecx
mov eax, DirectSoundCreate
mov ecx, edi
call fcn.00467ff0
mov edx, dword [0x560d14]
mov ecx, dword [ebp + 0xa4]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [0x560d18]
mov dword [eax + 4], edx
mov edx, dword [0x560d1c]
push esi
mov dword [eax + 8], edx
mov edx, dword [0x560d20]
push 0x1c
push ecx
mov ecx, 1
mov dword [eax + 0xc], edx
call fcn.004226b0
add esp, 0x1c
push edi
mov esi, eax
call fcn.004faebf
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x48fd40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4
Function at 0x495330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x541ec6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5ab720]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
push esi
call fcn.004b4960
xor edi, edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CMicSetting.0
call fcn.00505193
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x495382
push 0x80004005
call fcn.00402900
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0x15c], eax
push edi
push 0x564f30
lea ecx, [esi + 0x24]
mov byte [esp + 0x1c], 1
call fcn.00404a30
push 0x80
lea ecx, [esi + 0x7c]
push edi
push ecx
mov dword [esi + 0x14], 2
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x164], edi
mov dword [esi + 0x168], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
call fcn.00523750
push 0x44
lea edx, [esi + 0xfc]
push edi
push edx
call fcn.00523750
xor eax, eax
mov dword [esi + 0x140], edi
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], eax
mov dword [esi + 0x14c], eax
mov dword [esi + 0x150], eax
mov word [esi + 0x154], ax
mov dword [esi + 0x158], edi
mov dword [esi + 0x194], edi
mov dword [esi + 0x198], edi
mov dword [esi + 0x19c], edi
mov dword [esi + 0x160], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x16c], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x174], eax
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], eax
mov dword [esi + 0x180], eax
add esp, 0x18
mov dword [esi + 0x184], eax
mov dword [esi + 0x188], eax
push 0xb
mov dword [esi + 0x18c], eax
push 0x5761bc
lea ecx, [esi + 4]
mov dword [esi + 0x190], eax
call fcn.00404a30
mov dword [esi + 0x170], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x496d70
Capabilities:
Resume thread

Disassembly:
sub esp, 0x1c
push esi
push edi
mov esi, eax
xor edi, edi
xor eax, eax
cmp dword [esi + 0x70], edi
je 0x496ebf
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
push ebp
mov eax, esi
mov dword [esp + 0xc], edi
mov dword [esi + 0x194], edi
call fcn.00496ed0
mov ecx, dword [esi + 0x198]
imul ecx, dword [esi + 0x14c]
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esi + 0x70]
shr edx, 6
mov dword [esp + 0x14], edx
push edi
lea edx, [esi + 0x144]
mov dword [esp + 0x20], edx
lea ebp, [esi + 0x74]
push ebp
lea edx, [esp + 0x14]
mov dword [esp + 0x14], 0x1c
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
jl 0x496e72
mov ecx, dword [esi + 0x19c]
add ecx, 1
test ecx, ecx
jle 0x496e29
push ebx
lea ebx, [esi + 0xfc]
mov eax, dword [ebx]
test eax, eax
je 0x496e15
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 0x19c]
add edi, 1
add edx, 1
add ebx, 4
cmp edi, edx
jl 0x496e08
pop ebx
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx]
lea edi, [esi + 0x78]
push edi
push 0x560cd4
push eax
call edx
test eax, eax
jl 0x496e72
mov edi, dword [edi]
mov edx, dword [esi + 0x19c]
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
lea ecx, [esi + 0x7c]
push ecx
push edx
push edi
call eax
test eax, eax
jl 0x496e72
push 0
push 4
push 0
push 0
push esi
push 0x496fa0
call fcn.00504fe7
mov edi, eax
test edi, edi
jne 0x496e7b
pop ebp
pop edi
xor eax, eax
pop esi
add esp, 0x1c
ret
push 2
push 0
push 0
add esi, 0x158
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov ecx, dword [edi + 0x2c]
push eax
push ecx
call esi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edx, dword [edi + 0x2c]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [ebp]
mov ecx, dword [eax]
mov edx, dword [ecx + 0x24]
push 0
push eax
call edx
xor ecx, ecx
test eax, eax
setge cl
pop ebp
mov eax, ecx
pop edi
pop esi
add esp, 0x1c
ret