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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43b88d
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x44d00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
cmp dword [ebx + 0x30], 0
mov esi, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
mov eax, dword [ebx]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], eax
je 0x421e13
mov ecx, eax
call fcn.00421aa0
cmp dword [ebx + 0x34], 0
mov dword [ebp - 0x28], eax
je 0x421df8
mov esi, 0x92c80000
mov dword [edi + 0x78], 2
mov dword [edi + 0x7c], 1
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x24], 1
jmp 0x421e13
and esi, 0x2dffffff
or esi, 0x92000000
mov dword [ebp - 0x30], esi
test esi, 0x40000
jne 0x421e13
or dword [ebp - 0x24], 1
test eax, eax
je 0x421e1b
test esi, esi
jns 0x421e6a
test eax, eax
lea edx, [ebp - 0x20]
mov ecx, eax
cmove ecx, dword [0x44fbac]
call fcn.00417dd0
cmp dword [edi + 0x88], 1
jne 0x421e5b
mov eax, dword [ebp - 0x18]
sub eax, dword [ebx + 0x10]
add eax, dword [ebp - 0x20]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebx + 0x14]
add eax, dword [ebp - 0x1c]
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 0xc], eax
jmp 0x421e67
mov eax, dword [ebp - 0x20]
add dword [ebx + 8], eax
mov eax, dword [ebp - 0x1c]
add dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x421e94
test esi, esi
js 0x421e94
mov ecx, dword [edi + 0x70]
test ecx, ecx
je 0x421e85
mov eax, dword [ecx]
call dword [eax + 0x20]
mov dword [edi + 0x70], 0
mov eax, dword [ebx + 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 0
jmp 0x421eb7
push dword [ebx + 0x2c]
mov ecx, edi
call fcn.00421910
mov eax, dword [edi + 0x70]
test eax, eax
jne 0x421eaa
mov dword [ebp - 0x2c], eax
jmp 0x421eb0
mov eax, dword [eax + 0x10]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x50], 1
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 0x4424e0
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], vtable.CVolObject.0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c], vtable.CVolMem.0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0x40
mov dword [ebp - 4], 1
mov dword [ebp - 0x34], 0x80
mov dword [ebp - 4], 2
cmp dword [ebx + 0x30], 0
je 0x421f25
mov ecx, eax
call fcn.00421b70
mov eax, dword [ebx + 8]
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
mov esi, dword [ebx + 0x14]
add ecx, eax
add esi, edx
mov dword [ebp - 0x20], eax
lea eax, [edi + 0x20]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
mov edx, 0x44da20
mov dword [ebp - 0x14], esi
mov ecx, 0x44ea70
mov esi, dword [ebx + 0x28]
push eax
call fcn.00420360
mov ecx, dword [ebp - 0x30]
mov edx, 0x56000000
movzx eax, ax
test ecx, ecx
push eax
push dword [ebp - 0x2c]
cmove ecx, edx
lea eax, [ebp - 0x20]
push dword [ebp - 0x24]
push ecx
push esi
mov esi, dword [ebp - 0x28]
mov ecx, edi
push eax
push esi
call fcn.004202b0
test eax, eax
je 0x422094
cmp dword [ebp - 0x50], 0
je 0x421fa7
cmp dword [ebp - 0x2c], 0
je 0x421fa7
mov ecx, dword [edi + 0x70]
mov eax, dword [ecx]
cmp eax, vtable.CRefVolMenu.0
je 0x421fa7
push 1
push dword [edi + 4]
call dword [eax + 0x28]
push 0x12d12ab
push 0xffffffffffffffeb
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov ecx, edi
call fcn.00422840
push dword [edi + 0x90]
mov ecx, edi
call fcn.00422950
mov eax, dword [edi + 0xcc]
test eax, eax
je 0x421fdd
push eax
mov ecx, edi
call fcn.004229d0
push 1
push dword [ebx + 0x3c]
push 0x30
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [edi + 0xd0], 0
je 0x42200b
push 0x13
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [edi + 0x8c], 0
jne 0x422039
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov byte [ebp - 4], 3
test eax, eax
je 0x422035
push 0
push 0xf010
push eax
call dword [sym.imp.USER32.dll_DeleteMenu]
mov byte [ebp - 4], 2
mov eax, dword [edi + 0x88]
test eax, eax
jns 0x422047
xor eax, eax
jmp 0x422051
mov ecx, 3
cmp eax, ecx
cmovg eax, ecx
mov dword [edi + 0x88], eax
mov eax, dword [edi + 4]
test eax, eax
je 0x42207f
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x42207f
mov edx, dword [edi + 0x88]
lea eax, [edi + 4]
mov ecx, edi
neg ecx
sbb ecx, ecx
and ecx, eax
call fcn.004239a0
cmp dword [ebx + 0x30], 0
je 0x4220cb
lea eax, [ebp - 0x4c]
mov ecx, edi
push eax
push esi
call fcn.00421be0
mov dword [ebx + 0x38], eax
cmp dword [ebx + 0x30], 0
je 0x4220cb
mov ecx, dword [ebp - 0x38]
xor esi, esi
mov edi, ecx
shr edi, 2
test edi, edi
je 0x4220cb
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
nop
mov eax, dword [ebp - 0x40]
xor edx, edx
test ecx, ecx
push 1
cmove eax, edx
push dword [eax + esi*4]
call ebx
inc esi
cmp esi, edi
jge 0x4220cb
mov ecx, dword [ebp - 0x38]
jmp 0x4220b0
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x4c], vtable.CVolMem.0
mov dword [ebp - 4], 5
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x4220f6
push eax
lea ecx, [ebp - 0x4c]
call fcn.00416fe0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, 1
mov dword [ebp - 0x4c], vtable.CVolObject.0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00424249
mov esp, ebp
pop ebp
ret 4