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

Disassembly:
push 0xffffffffffffffff
push 0x419c46
mov eax, dword fs:[0]
push eax
sub esp, 0x2ec
mov eax, dword [0x4250c0]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4250c0]
xor eax, esp
push eax
lea eax, [esp + 0x300]
mov dword fs:[0], eax
mov edi, dword [0x42730c]
push 7
pop eax
xor ebx, ebx
mov dword [esp + 0x3c], eax
mov dword [esp + 0xc8], eax
xor eax, eax
mov dword [esp + 0x40], edi
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xc4], ebx
mov word [esp + 0xb4], ax
xor ecx, ecx
mov dword [esp + 0x308], ebx
mov eax, dword [0x42925c]
inc ecx
mov dword [esp + 0x18], ecx
test cl, al
jne 0x405908
or eax, ecx
mov dword [0x42925c], eax
call fcn.0040298b
mov dword [0x429254], eax
lea eax, [esp + 0x74]
push eax
call fcn.00402082
mov esi, ebx
test eax, eax
jne 0x40591e
inc eax
jmp 0x405f95
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
mov ebp, dword [sym.imp.USER32.dll_GetWindowLongW]
lea eax, [esp + 0x78]
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 0x405996
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 0x40597b
push 0x74
push edi
call ebx
xor esi, esi
push esi
push eax
call ebp
mov edx, eax
push 2
pop eax
mov dword [esp + 0x1c], 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
test edx, edx
je 0x405a52
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 0x405ad2
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 0x405b52
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 0x405d60
lea ecx, [esi + 0x18]
call fcn.00402e54
and dword [esi + 0x24], 0
mov esi, dword [0x428a40]
and dword [esp + 0x1c], 0
cmp esi, dword [0x428a44]
je 0x405d60
mov ebx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
xor edi, edi
mov eax, dword [0x428a34]
and dword [esp + 0x54], 0
push 7
pop ecx
mov dword [esp + 0x58], ecx
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, edi
mov word [esp + 0x4c], cx
push eax
lea ecx, [esp + 0x50]
call fcn.004034d9
push ecx
xor eax, eax
inc eax
push ecx
lea ecx, [esp + 0x4c]
mov byte [esp + 0x310], al
call fcn.00407cdc
mov ecx, dword [esp + 0x54]
sub ecx, eax
push ecx
push ecx
push ecx
lea ecx, [esp + 0x50]
call fcn.00407cdc
inc eax
push eax
lea eax, [esp + 0xd4]
push eax
lea ecx, [esp + 0x50]
call fcn.00402d01
push eax
lea ecx, [esp + 0x48]
call fcn.00402c5e
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0xd4]
call fcn.004030f4
and dword [esp + 0x6c], 0
push 7
pop eax
mov dword [esp + 0x70], eax
xor eax, eax
push 0xffffffffffffffff
push eax
push esi
lea ecx, [esp + 0x68]
mov word [esp + 0x68], ax
call fcn.004034d9
push 2
pop eax
mov byte [esp + 0x308], al
mov eax, dword [0x428a44]
sub eax, dword [0x428a40]
push 0x18
cdq
pop ecx
idiv ecx
dec eax
cmp ebp, eax
je 0x405cd2
lea eax, [esp + 0x44]
push eax
mov edx, 0x421ae8
lea ecx, [esp + 0xe8]
call fcn.00403e30
push 3
pop ecx
mov byte [esp + 0x30c], cl
mov edx, eax
lea ecx, [esp + 0xd0]
mov dword [esp], 0x421ae4
call fcn.00403ee1
pop ecx
push 4
pop ecx
push 0xffffffffffffffff
push 0
mov byte [esp + 0x310], cl
push eax
lea ecx, [esp + 0x68]
call fcn.00403447
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0xd4]
call fcn.004030f4
push 2
pop eax
mov byte [esp + 0x308], al
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0xec]
call fcn.004030f4
lea eax, [esp + 0x5c]
push eax
lea ecx, [ebx + 0x18]
call fcn.00402dcb
mov ecx, dword [0x428a34]
push 8
pop edx
push dword [0x42603c]
add ecx, edi
cmp dword [0x426040], edx
mov eax, 0x42602c
cmovae eax, dword [0x42602c]
push eax
push dword [ecx + 0x10]
push ecx
call fcn.004040d6
test eax, eax
jne 0x405d13
mov dword [ebx + 0x24], ebp
push 0x18
pop eax
add edi, eax
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0x64]
inc ebp
call fcn.004030f4
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x310], 0
call fcn.004030f4
push 0x18
pop eax
add esi, eax
cmp esi, dword [0x428a44]
jne 0x405b99
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 0x405d8f
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 0x405e70
lea esi, [eax + 0x18]
mov ecx, esi
call fcn.00402e54
and dword [esp + 0x54], 0
push 7
pop eax
mov dword [esp + 0x58], eax
xor eax, eax
push 0x421af0
lea ecx, [esp + 0x48]
mov word [esp + 0x48], ax
call fcn.00403085
push 5
pop eax
mov byte [esp + 0x308], al
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00402d32
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x310], 0
call fcn.004030f4
and dword [esp + 0x54], 0
push 7
pop eax
mov dword [esp + 0x58], eax
xor eax, eax
push 0x421af8
lea ecx, [esp + 0x48]
mov word [esp + 0x48], ax
call fcn.00403085
push 6
pop eax
mov byte [esp + 0x308], al
lea eax, [esp + 0x44]
push eax
mov ecx, esi
call fcn.00402d32
xor eax, eax
push 0
inc eax
push eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x310], 0
call fcn.004030f4
mov eax, dword [esi + 4]
sub eax, dword [esi]
push 0x18
cdq
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 0x405ecc
mov eax, dword [esp + 0x7c]
mov dword [ecx + 0x24], eax
lea eax, [ecx + 0x18]
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.00402e54
mov esi, dword [esp + 0xa8]
cmp esi, dword [esp + 0xac]
je 0x405ecc
mov ebx, dword [esp + 0x18]
push 0x18
pop edi
push esi
mov ecx, ebx
call fcn.00402dcb
add esi, edi
cmp esi, dword [esp + 0xac]
jne 0x405eaf
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 0x405f90
lea ecx, [esi + 0x18]
call fcn.00402e54
lea eax, [esp + 0xfc]
cmp dword [esp + 0x90], ebx
je 0x405f34
push str.Status:_Memory_OK__Audio
push eax
call fcn.0040101c
pop ecx
pop ecx
lea ecx, [esp + 0xfc]
lea eax, [ecx + eax*2]
cmp dword [esp + 0x7c], ebx
jne 0x405f20
push str.:_Consider_Kernel_Streaming
jmp 0x405f25
push 0x421b6c
push eax
call fcn.0040101c
mov dword [esi + 8], 0xffffff
jmp 0x405f46
push str._WARNING:_Fragmented_memory__Reboot_for_best_results_
push eax
call fcn.0040101c
mov dword [esi + 8], 0xdc
pop ecx
pop ecx
push 7
pop eax
mov dword [esp + 0x58], eax
xor eax, eax
mov word [esp + 0x44], ax
lea eax, [esp + 0xfc]
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x58], ebx
call fcn.00403085
push 7
pop eax
mov byte [esp + 0x308], al
lea eax, [esp + 0x44]
push eax
lea ecx, [esi + 0x18]
call fcn.00402d32
xor eax, eax
push ebx
inc eax
push eax
lea ecx, [esp + 0x4c]
call fcn.004030f4
xor eax, eax
inc eax
mov esi, eax
push ebx
push eax
lea ecx, [esp + 0xbc]
call fcn.004030f4
lea ecx, [esp + 0xa8]
call fcn.00402d92
mov eax, esi
mov ecx, dword [esp + 0x300]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x2e8]
xor ecx, esp
call fcn.00407f04
add esp, 0x2f8
ret