Function at 0x405923
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x41ac8d
mov eax, dword fs:[0]
push eax
sub esp, 0x2f4
mov eax, dword [0x426010]
xor eax, esp
mov dword [esp + 0x2f0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x426010]
xor eax, esp
push eax
lea eax, [esp + 0x308]
mov dword fs:[0], eax
mov edi, dword [0x428474]
xor ebx, ebx
push 7
pop eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0xcc], eax
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xb4], ebx
mov dword [esp + 0xc8], ebx
mov word [esp + 0xb8], ax
xor ecx, ecx
mov dword [esp + 0x310], ebx
mov eax, dword [0x42a3cc]
inc ecx
mov dword [esp + 0x18], ecx
test cl, al
jne 0x4059c6
or eax, ecx
mov dword [0x42a3cc], eax
call fcn.00402a82
mov dword [0x42a3c4], eax
lea eax, [esp + 0x74]
push eax
call fcn.00402153
mov esi, ebx
test eax, eax
jne 0x4059dc
inc eax
jmp 0x406073
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
lea eax, [esp + 0x78]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x88]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x84]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x5c], 0x75
mov dword [esp + 0x60], 0x3eb
mov dword [esp + 0x64], 0x3ed
mov dword [esp + 0x68], 0x3ee
mov dword [esp + 0x50], eax
mov dword [esp + 0x28], 4
push dword [esp + esi + 0x5c]
push edi
call ebx
push 0
push eax
call ebp
mov ecx, eax
test ecx, ecx
je 0x405a54
mov eax, dword [esp + esi + 0x44]
mov eax, dword [eax]
mov dword [ecx + 0x24], eax
push 4
pop eax
add esi, eax
cmp esi, 0x10
jb 0x405a39
push 0x74
push edi
call ebx
xor esi, esi
push esi
push eax
call ebp
mov edx, eax
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x20], 9
mov dword [esp + 0x24], 8
mov dword [esp + 0x38], 6
mov dword [esp + 0x30], 5
mov dword [esp + 0x2c], 3
push 2
pop eax
mov dword [esp + 0x1c], eax
test edx, edx
je 0x405b10
mov ecx, dword [esp + 0x74]
cmp ecx, 0x400
cmove eax, dword [esp + 0x34]
cmp ecx, 0x200
cmove eax, dword [esp + 0x20]
cmp ecx, 0x100
cmove eax, dword [esp + 0x24]
cmp ecx, 0x80
cmove eax, dword [esp + 0x3c]
cmp ecx, 0x40
cmove eax, dword [esp + 0x38]
cmp ecx, 0x20
cmove eax, dword [esp + 0x30]
cmp ecx, 0x10
cmove eax, dword [esp + 0x28]
cmp ecx, 8
cmove eax, dword [esp + 0x2c]
cmp ecx, 4
cmove eax, dword [esp + 0x1c]
cmp ecx, 2
cmove eax, dword [esp + 0x18]
dec ecx
neg ecx
sbb ecx, ecx
and ecx, eax
mov dword [edx + 0x24], ecx
push 0x3ea
push edi
call ebx
push esi
push eax
call ebp
test eax, eax
je 0x405b90
mov edx, dword [esp + 0x9c]
cmp edx, 0x400
push 2
pop ecx
cmove ecx, dword [esp + 0x34]
cmp edx, 0x200
cmove ecx, dword [esp + 0x20]
cmp edx, 0x100
cmove ecx, dword [esp + 0x24]
cmp edx, 0x80
cmove ecx, dword [esp + 0x3c]
cmp edx, 0x40
cmove ecx, dword [esp + 0x38]
cmp edx, 0x20
cmove ecx, dword [esp + 0x30]
cmp edx, 0x10
cmove ecx, dword [esp + 0x28]
cmp edx, 8
cmove ecx, dword [esp + 0x2c]
cmp edx, 4
cmove ecx, dword [esp + 0x1c]
cmp edx, 2
cmove ecx, dword [esp + 0x18]
dec edx
neg edx
sbb edx, edx
and edx, ecx
mov dword [eax + 0x24], edx
push 0x3e9
push edi
call ebx
push esi
push eax
call ebp
test eax, eax
je 0x405c10
mov edx, dword [esp + 0xa0]
cmp edx, 0x400
push 2
pop ecx
cmove ecx, dword [esp + 0x34]
cmp edx, 0x200
cmove ecx, dword [esp + 0x20]
cmp edx, 0x100
cmove ecx, dword [esp + 0x24]
cmp edx, 0x80
cmove ecx, dword [esp + 0x3c]
cmp edx, 0x40
cmove ecx, dword [esp + 0x38]
cmp edx, 0x20
cmove ecx, dword [esp + 0x30]
cmp edx, 0x10
cmove ecx, dword [esp + 0x28]
cmp edx, 8
cmove ecx, dword [esp + 0x2c]
cmp edx, 4
cmove ecx, dword [esp + 0x1c]
cmp edx, 2
cmove ecx, dword [esp + 0x18]
dec edx
neg edx
sbb edx, edx
and edx, ecx
mov dword [eax + 0x24], edx
push 0x3e8
push edi
call ebx
push esi
push eax
call ebp
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
je 0x405df2
lea ecx, [esi + 0x18]
call fcn.00402f3a
and dword [esi + 0x24], 0
and dword [esp + 0x1c], 0
mov esi, dword [0x429bac]
cmp esi, dword [0x429bb0]
je 0x405df2
mov ebx, dword [esp + 0x18]
xor edi, edi
mov ebp, dword [esp + 0x1c]
mov eax, dword [0x429ba0]
lea ecx, [esp + 0x44]
add eax, edi
push eax
call fcn.00404351
push ecx
xor eax, eax
inc eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x318], al
call fcn.00407dcd
mov ecx, dword [esp + 0x54]
sub ecx, eax
push ecx
push ecx
push ecx
lea ecx, [esp + 0x50]
call fcn.00407dcd
inc eax
lea ecx, [esp + 0x48]
push eax
lea eax, [esp + 0xdc]
push eax
call fcn.00402de5
push eax
lea ecx, [esp + 0x48]
call fcn.00402d42
xor eax, eax
lea ecx, [esp + 0xd4]
push 0
inc eax
push eax
call fcn.00403338
push esi
lea ecx, [esp + 0x60]
call fcn.00404351
push 2
pop eax
mov byte [esp + 0x310], al
mov eax, dword [0x429bb0]
sub eax, dword [0x429bac]
push 0x18
cdq
pop ecx
idiv ecx
dec eax
cmp ebp, eax
je 0x405d64
lea eax, [esp + 0x44]
mov edx, 0x422d2c
push eax
lea ecx, [esp + 0xf0]
call fcn.00403f41
push 3
pop ecx
mov byte [esp + 0x314], cl
mov edx, eax
lea ecx, [esp + 0xd8]
mov dword [esp], 0x422d28
call fcn.00403ff2
pop ecx
push 4
pop ecx
push 0xffffffffffffffff
push 0
mov byte [esp + 0x318], cl
lea ecx, [esp + 0x64]
push eax
call fcn.004036a4
xor eax, eax
lea ecx, [esp + 0xd4]
push 0
inc eax
push eax
call fcn.00403338
push 2
pop eax
mov byte [esp + 0x310], al
lea ecx, [esp + 0xec]
xor eax, eax
push 0
inc eax
push eax
call fcn.00403338
lea eax, [esp + 0x5c]
push eax
lea ecx, [ebx + 0x18]
call fcn.00402eb1
mov ecx, dword [0x429ba0]
mov eax, 0x4273a0
push 8
pop edx
push dword [0x4273b0]
add ecx, edi
cmp dword [0x4273b4], edx
cmovae eax, dword [0x4273a0]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0040414c
test eax, eax
jne 0x405da5
mov dword [ebx + 0x24], ebp
push 0x18
pop eax
add edi, eax
lea ecx, [esp + 0x5c]
xor eax, eax
inc ebp
push 0
inc eax
push eax
call fcn.00403338
xor eax, eax
mov byte [esp + 0x310], 0
push 0
inc eax
lea ecx, [esp + 0x48]
push eax
call fcn.00403338
push 0x18
pop eax
add esi, eax
cmp esi, dword [0x429bb0]
jne 0x405c57
mov edi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0x3ec
push edi
call ebx
push 0
push eax
call ebp
test eax, eax
je 0x405e21
xor ecx, ecx
cmp dword [esp + 0x80], 0x18
setne cl
xor edx, edx
inc ecx
cmp dword [esp + 0x80], 0x10
cmove ecx, edx
mov dword [eax + 0x24], ecx
push 0x3ef
push edi
call ebx
push 0
push eax
call ebp
mov dword [esp + 0x18], eax
test eax, eax
je 0x405f02
lea esi, [eax + 0x18]
mov ecx, esi
call fcn.00402f3a
and dword [esp + 0x54], 0
lea ecx, [esp + 0x44]
push 7
pop eax
mov dword [esp + 0x58], eax
xor eax, eax
push 0x422d34
mov word [esp + 0x48], ax
call fcn.004032c9
push 5
pop eax
mov byte [esp + 0x310], al
mov ecx, esi
lea eax, [esp + 0x44]
push eax
call fcn.00402e18
xor eax, eax
mov byte [esp + 0x310], 0
push 0
inc eax
lea ecx, [esp + 0x48]
push eax
call fcn.00403338
and dword [esp + 0x54], 0
lea ecx, [esp + 0x44]
push 7
pop eax
mov dword [esp + 0x58], eax
xor eax, eax
push 0x422d3c
mov word [esp + 0x48], ax
call fcn.004032c9
push 6
pop eax
mov byte [esp + 0x310], al
mov ecx, esi
lea eax, [esp + 0x44]
push eax
call fcn.00402e18
xor eax, eax
mov byte [esp + 0x310], 0
push 0
inc eax
lea ecx, [esp + 0x48]
push eax
call fcn.00403338
mov eax, dword [esi + 4]
sub eax, dword [esi]
cdq
push 0x18
pop ecx
idiv ecx
mov ecx, dword [esp + 0x18]
cmp dword [esp + 0x94], eax
sbb eax, eax
and eax, dword [esp + 0x94]
mov dword [ecx + 0x24], eax
push 0x3f0
push edi
call ebx
push 0
push eax
call ebp
mov ecx, eax
test ecx, ecx
je 0x405f5e
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x24], eax
lea eax, [ecx + 0x18]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.00402f3a
mov esi, dword [esp + 0xac]
cmp esi, dword [esp + 0xb0]
je 0x405f5e
mov ebx, dword [esp + 0x18]
push 0x18
pop edi
push esi
mov ecx, ebx
call fcn.00402eb1
add esi, edi
cmp esi, dword [esp + 0xb0]
jne 0x405f41
mov edi, dword [esp + 0x40]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3f4
push edi
call ebx
xor ebx, ebx
push ebx
push eax
call ebp
mov esi, eax
test esi, esi
je 0x40606e
lea ecx, [esi + 0x18]
call fcn.00402f3a
lea eax, [esp + 0x104]
cmp dword [esp + 0x90], ebx
je 0x406012
push str.Status:_Memory_OK__Audio
push eax
call fcn.004010fc
pop ecx
pop ecx
mov ecx, eax
cmp dword [esp + 0x7c], ebx
jne 0x405fc0
lea eax, [esp + 0x104]
lea eax, [eax + ecx*2]
push str.:_Consider_Kernel_Streaming
push eax
call fcn.004010fc
pop ecx
pop ecx
jmp 0x406009
mov eax, dword [esp + 0xa8]
push ecx
push ecx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x423d00]
lea eax, [esp + 0x10c]
lea eax, [eax + ecx*2]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x423cfc]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
push str._OK__Clock__.1fms
push eax
call fcn.004010fc
add esp, 0x10
mov dword [esi + 8], 0xffffff
jmp 0x406026
push str._WARNING:_Fragmented_memory__Reboot_for_best_results_
push eax
call fcn.004010fc
pop ecx
pop ecx
mov dword [esi + 8], 0xdc
push 7
pop eax
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x44]
xor eax, eax
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], ax
lea eax, [esp + 0x104]
push eax
call fcn.004032c9
push 7
pop eax
mov byte [esp + 0x310], al
lea ecx, [esi + 0x18]
lea eax, [esp + 0x44]
push eax
call fcn.00402e18
xor eax, eax
lea ecx, [esp + 0x44]
push ebx
inc eax
push eax
call fcn.00403338
xor eax, eax
inc eax
mov esi, eax
push ebx
push eax
lea ecx, [esp + 0xc0]
call fcn.00403338
lea ecx, [esp + 0xac]
call fcn.00402e78
mov eax, esi
mov ecx, dword [esp + 0x308]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2f0]
xor ecx, esp
call fcn.0040809e
add esp, 0x300
ret