Function at 0x412480
Capabilities:
Get graphical window text

Disassembly:
push 0xffffffffffffffff
push 0x4272de
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edi
call fcn.0040e550
mov dword [esp + 0x98], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], 0x42a72c
mov ecx, 0x432618
mov byte [esp + 0x98], 1
call fcn.004226f0
mov ecx, 0x432618
mov ebp, eax
call fcn.004226d0
mov ecx, dword [esp + 0xac]
mov edx, dword [esp + 0xa0]
mov ebx, eax
mov eax, dword [esp + 0xa8]
mov edi, dword [esp + 0xb4]
mov dword [esi + 0x104], eax
mov eax, dword [esp + 0xa4]
mov dword [esi + 0x108], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esi + 0xd4], edx
mov edx, dword [esp + 0xc4]
mov dword [esi + 0xfc], eax
mov eax, dword [esp + 0xbc]
mov dword [esi + 0x150], ecx
mov ecx, dword [esp + 0xb8]
push edx
mov edx, dword [esp + 0xb4]
push eax
push ecx
push edi
push edx
lea ecx, [esi + 0x40]
call fcn.00411110
test eax, eax
jne 0x412598
mov dword [esp + 0x38], 0x42a110
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0x42a0fc
mov dword [esp + 0x98], 0xffffffff
call fcn.00424f94
xor eax, eax
jmp 0x413321
mov ecx, dword [esp + 0xb8]
mov eax, dword [esp + 0xbc]
shl edi, 4
add edi, ecx
push 0
shl edi, 4
push 0
push 0
lea ecx, [edi + eax + 0x111]
push 8
shl ecx, 4
mov dword [esi + 0x13c], ecx
call sub.MFC42.DLL_AfxRegisterWndClass
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x2c], edx
add edx, 0x6e
mov dword [esp + 0x28], ecx
add ecx, 0x3c
mov dword [esp + 0x34], edx
mov edx, dword [esi + 0x13c]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xa0]
push 0
push edx
lea edx, [esp + 0x30]
push ecx
push edx
push 0x50000000
push str.AudioCtrl
push eax
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::CreateEx
test eax, eax
jne 0x412659
mov dword [esp + 0x38], 0x42a110
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0x42a0fc
mov dword [esp + 0x98], 0xffffffff
call fcn.00424f94
xor eax, eax
jmp 0x413321
mov eax, dword [esi + 0x84]
cmp eax, 1
je 0x412669
cmp eax, 2
jne 0x412678
mov ecx, dword [esi + 0xa0]
or edi, 0xffffffff
cmp ecx, edi
je 0x412690
jmp 0x41267b
or edi, 0xffffffff
test eax, eax
jne 0x412727
cmp dword [esi + 0xa4], 9
jne 0x412727
cmp dword [esi + 0x6c], edi
jne 0x412727
mov ecx, 0x432618
call fcn.00422780
mov ecx, dword [eax + 0x50]
test ecx, ecx
je 0x412727
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x98], 4
je 0x4126cd
mov ecx, eax
call fcn.004199e0
jmp 0x4126cf
xor eax, eax
mov dword [esi + 0x100], eax
mov ecx, dword [eax + 4]
cmp ecx, edi
mov byte [esp + 0x98], 1
je 0x412707
mov ecx, eax
call fcn.00419b40
test eax, eax
je 0x412707
mov eax, dword [esp + 0xa4]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x412707
mov ecx, esi
call fcn.004147e0
cmp dword [esi + 0x6c], 0xfffffffe
je 0x412727
mov ecx, dword [esi + 0x100]
test ecx, ecx
je 0x412727
mov edx, dword [ecx]
push 1
call dword [edx]
mov dword [esi + 0x100], 0
cmp dword [esp + 0xbc], edi
jne 0x41274e
mov ecx, dword [esi + 0x6c]
mov eax, 0xa
cmp ecx, edi
mov dword [esp + 0x1c], 0x3c
mov dword [esp + 0x14], eax
je 0x412766
mov dword [esp + 0x20], eax
jmp 0x412766
mov eax, dword [esp + 0xb0]
sub eax, 3
neg eax
sbb eax, eax
and eax, 8
add eax, 0x28
mov dword [esp + 0x1c], eax
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x54]
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], 0xfffffff5
mov dword [esp + 0x64], 0x190
mov byte [esp + 0x6b], 1
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLangID]
cmp ax, 0x41e
jne 0x4127a0
lea eax, [esp + 0x70]
push str.MS_Sans_Serif
push eax
jmp 0x4127aa
lea ecx, [esp + 0x70]
push str.Arial
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.GDI32.dll_CreateFontIndirectA]
push eax
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CGdiObject::Attach
push esi
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CClientDC::CClientDC
lea eax, [esp + 0x38]
lea ecx, [esp + 0x40]
push eax
mov byte [esp + 0x9c], 5
call sub.MFC42.DLL_CDC::SelectObject_1
mov eax, dword [esi + 0x64]
lea edx, [esp + 0x28]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x1c]
lea eax, [ecx + 8]
cmp edi, eax
jg 0x412812
mov dword [esp + 0x1c], eax
mov edi, eax
mov eax, edi
push 0x94
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x98], 6
je 0x412843
mov ecx, eax
call fcn.0040ecc0
jmp 0x412845
xor eax, eax
mov edx, dword [esi + 0x13c]
mov ecx, dword [esp + 0x14]
inc edx
mov byte [esp + 0x98], 5
push edx
push 0xd
push edi
push 0
push ecx
push esi
mov ecx, eax
mov dword [esi + 0xf4], eax
call fcn.0040ee20
mov ecx, dword [esi + 0xf4]
mov eax, dword [ebp]
lea edx, [esp + 0x54]
mov dword [ecx + 0x48], eax
mov ecx, dword [esi + 0xf4]
push edx
call fcn.0040f130
push 0
lea ecx, [esi + 0x64]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, dword [esi + 0xf4]
push eax
lea ecx, [edi + 0x44]
call fcn.00425078
mov eax, dword [edi + 0x20]
push 1
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esp + 0xb0]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 3
je 0x412a7f
push 0x1e0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x98], 7
je 0x4128ec
mov ecx, eax
call fcn.0040b2a0
jmp 0x4128ee
xor eax, eax
mov ecx, dword [esi + 0x13c]
mov edx, dword [esp + 0x18]
push 0
add ecx, 2
push 0x18
push ecx
mov ecx, dword [esp + 0x20]
push 0x12
push 0x2e
push 0xd
lea edx, [edx + ecx - 0x16]
mov ecx, eax
push edx
push esi
mov byte [esp + 0xb8], 5
mov dword [esi + 0xec], eax
call fcn.0040b600
mov eax, dword [esi + 0xec]
mov dword [eax + 0xac], 0
mov eax, dword [esi + 0xec]
mov dword [eax + 0x60], 3
mov eax, dword [ebp + 0x38]
mov ecx, dword [esi + 0xec]
push eax
call fcn.0040bd30
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
mov ecx, dword [esi + 0xec]
push edx
call fcn.0040bcc0
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [esi + 0xec]
push edx
push eax
call fcn.0040bc80
mov ecx, dword [esi + 0xec]
push 0xb
push 0xf
call fcn.0040e0b0
mov eax, dword [esi + 0xec]
xor edx, edx
mov dword [eax + 0x50], 0x50
mov dword [eax + 0x54], 0x78
mov eax, dword [esi + 0xec]
mov dword [eax + 0xa4], edx
mov eax, dword [esi + 0xec]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], edx
mov ecx, dword [esi + 0xec]
mov edx, dword [esi + 0x20]
push ecx
push 0x11
push edx
call fcn.0040e080
mov eax, dword [esi + 0xec]
push 0xc8
push 0
push 0x408
mov eax, dword [eax + 0x20]
push eax
call edi
mov eax, dword [esi + 0xec]
mov ecx, dword [eax + 0x20]
push 0x14
push 0
push 0x415
push ecx
call edi
mov eax, dword [esi + 0xec]
push 0x64
push 1
push 0x405
mov edx, dword [eax + 0x20]
push edx
call edi
mov ecx, dword [esi + 0xec]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
cmp dword [esi + 0x8c], 1
je 0x412a48
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x412a55
mov ecx, dword [esi + 0xec]
push 0
call fcn.0040da90
mov eax, dword [esi + 0xec]
push 0xffffffffffffffec
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [esi + 0xec]
and eax, 0xffbfffff
push eax
push 0xffffffffffffffec
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
cmp dword [esp + 0xbc], 0xffffffff
jne 0x412bbe
push 0xfc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
xor ebp, ebp
mov byte [esp + 0x98], 8
cmp eax, ebp
je 0x412ab5
mov ecx, eax
call fcn.004101c0
jmp 0x412ab7
xor eax, eax
mov ecx, dword [esi + 0x13c]
mov edx, dword [esp + 0x18]
add ecx, 3
mov byte [esp + 0x98], 5
push ecx
mov ecx, dword [esp + 0x18]
push 0x21
mov dword [esi + 0xf8], eax
lea edx, [edx + ecx - 0x1e]
mov ecx, eax
push edx
push esi
call fcn.00410400
mov eax, dword [ebx + 0xbc]
mov ecx, dword [ebx + 0xb8]
mov edx, dword [ebx + 0x64]
push eax
mov eax, dword [ebx + 0x60]
push ecx
mov ecx, dword [ebx + 0x5c]
push edx
push eax
push 0x13
push 0x1d
push 0x1d
push ecx
mov ecx, dword [esi + 0xf8]
call fcn.00410450
mov eax, dword [esi + 0xf8]
push 0x64
push ebp
push 0x408
mov edx, dword [eax + 0x20]
push edx
call edi
mov eax, dword [esi + 0xf8]
push 0xa
push ebp
push 0x415
mov eax, dword [eax + 0x20]
push eax
call edi
mov eax, dword [esi + 0xf8]
push 0x32
push 1
push 0x405
mov ecx, dword [eax + 0x20]
push ecx
call edi
mov eax, dword [esi + 0xf8]
mov ecx, dword [esi + 0x20]
push 0x72
mov dword [eax + 0xa0], ecx
lea ecx, [esp + 0x14]
mov dword [eax + 0xa4], ebp
call fcn.0040e560
push 0x400c
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0xf8]
push eax
call fcn.00410cd0
mov eax, dword [esi + 0xf8]
push 0xffffffffffffffec
mov dword [esi + 0x114], eax
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
and eax, 0xffbfffff
push eax
mov eax, dword [esi + 0xf8]
push 0xffffffffffffffec
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
jmp 0x412e3d
push 0x1e0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
test eax, eax
mov byte [esp + 0x98], 9
je 0x412be4
mov ecx, eax
call fcn.0040b2a0
jmp 0x412be6
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov edx, dword [esi + 0x13c]
sub ecx, 3
add edx, 3
neg ecx
sbb ecx, ecx
push 0
push 0xa
and ecx, 0x14
push edx
mov edx, dword [esp + 0x24]
push 0x3c
add ecx, 0xd
push 0x20
push ecx
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0xb0], 5
mov dword [esi + 0xf0], eax
lea edx, [edx + ecx - 0xf]
mov ecx, eax
push edx
push esi
call fcn.0040b600
mov eax, dword [esi + 0xf0]
mov ecx, 3
mov dword [eax + 0xac], 0
mov eax, dword [esi + 0xf0]
mov dword [eax + 0x60], ecx
mov eax, dword [esp + 0xb0]
cmp eax, ecx
jne 0x412c74
mov eax, dword [ebx + 0x158]
cmp eax, 0xffffffff
je 0x412c74
mov ecx, dword [esi + 0xf0]
push 0xffffffffffffffff
push eax
call fcn.0040e370
jmp 0x412c83
mov eax, dword [ebp + 0x38]
mov ecx, dword [esi + 0xf0]
push eax
call fcn.0040bd30
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x18]
push edx
mov edx, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
push edx
mov edx, dword [ebp + 4]
push eax
push ecx
mov ecx, dword [esi + 0xf0]
push edx
call fcn.0040bcc0
mov eax, dword [ebp + 0x30]
mov ecx, dword [ebp + 0x2c]
mov edx, dword [ebp + 0x28]
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [esi + 0xf0]
push edx
push eax
call fcn.0040bc80
mov ecx, dword [ebp + 0x34]
push ecx
mov ecx, dword [esi + 0xf0]
call fcn.0040bd50
mov ecx, dword [esi + 0xf0]
push 0xd
push 0x12
call fcn.0040e0b0
mov eax, dword [esi + 0xf0]
xor ebp, ebp
mov dword [eax + 0xb4], 1
mov eax, dword [esi + 0xf0]
mov dword [eax + 0xa4], ebp
mov eax, dword [esi + 0xf0]
mov ecx, dword [esi + 0x20]
mov dword [eax + 0x70], ecx
mov dword [eax + 0x74], ebp
cmp dword [esi + 0x84], 3
jne 0x412d34
mov ecx, dword [esi + 0xf0]
mov edx, dword [esi + 0x20]
push ecx
push 0x400c
push edx
call fcn.0040e080
jmp 0x412d5a
push 0x72
lea ecx, [esp + 0x14]
call fcn.0040e560
push 0x400c
push ebp
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::GetBuffer
mov ecx, dword [esi + 0xf0]
push eax
call fcn.0040e030
mov eax, dword [esi + 0xf0]
push 0x64
push ebp
push 0x408
mov eax, dword [eax + 0x20]
push eax
call edi
mov eax, dword [esi + 0xf0]
push 0xa
push ebp
push 0x415
mov ecx, dword [eax + 0x20]
push ecx
call edi
mov eax, dword [esi + 0xf0]
push 0x32
push 1
push 0x405
mov edx, dword [eax + 0x20]
push edx
call edi
mov eax, dword [esi + 0xf0]
push 0x64
push ebp
push 0x404
mov eax, dword [eax + 0x20]
push eax
call edi
mov eax, dword [esi + 0xf0]
push 0x54
push ebp
push 0x404
mov ecx, dword [eax + 0x20]
push ecx
call edi
mov eax, dword [esi + 0xf0]
push 0x43
push ebp
push 0x404
mov edx, dword [eax + 0x20]
push edx
call edi
mov eax, dword [esi + 0xf0]
push 0x32
push ebp
push 0x404
mov eax, dword [eax + 0x20]
push eax
call edi
mov eax, dword [esi + 0xf0]
push 0x22
push ebp
push 0x404
mov ecx, dword [eax + 0x20]
push ecx
call edi
mov eax, dword [esi + 0xf0]
push 0x11
push ebp
push 0x404
mov edx, dword [eax + 0x20]
push edx
call edi
mov eax, dword [esi + 0xf0]
push ebp
push ebp
push 0x404
mov eax, dword [eax + 0x20]
push eax
call edi
mov ecx, dword [esi + 0xf0]
push 5
call sub.MFC42.DLL_CWnd::ShowWindow
mov ecx, dword [esi + 0xf0]
xor ebp, ebp
mov dword [esi + 0x114], ecx
mov ecx, esi
call fcn.00413410
mov edi, dword [esp + 0xb0]
cmp edi, 3
je 0x4131d4
cmp dword [esi + 0x6c], 0xffffffff
je 0x412ee6
push 0x68
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x98], 0xa
je 0x412e81
mov ecx, eax
call fcn.004241d0
jmp 0x412e83
xor eax, eax
mov edx, dword [esi + 0x13c]
mov ecx, dword [esp + 0x18]
add edx, 5
mov byte [esp + 0x98], 5
push edx
mov edx, dword [esp + 0xc0]
inc edx
push 0x20
neg edx
sbb edx, edx
mov dword [esi + 0x120], eax
and edx, 0xfffffff2
add edx, 0x1f
add edx, ecx
mov ecx, dword [esp + 0x1c]
add edx, ecx
mov ecx, eax
push edx
push esi
call fcn.00424230
mov eax, dword [0x4326fc]
push 0xb
cmp eax, ebp
je 0x412ed6
push 0x4315c4
jmp 0x412edb
push 0x431598
mov ecx, dword [esi + 0x120]
call fcn.00424280
cmp dword [esi + 0x70], 0xffffffff
je 0x413096
push 0xfc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x98], 0xb
je 0x412f16
mov ecx, eax
call fcn.00409640
jmp 0x412f18
xor eax, eax
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push 0x10010000
mov byte [esp + 0x9c], 5
lea edx, [ecx + edx - 0xb]
mov ecx, dword [esi + 0x13c]
add ecx, 4
mov dword [esi + 0xdc], eax
push ecx
push 0x5d
push edx
push esi
mov ecx, eax
mov dword [esi + 0x144], edx
call fcn.00409770
mov edx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
push edx
mov edx, dword [ebx + 0x34]
push eax
mov eax, dword [ebx + 0x30]
push ecx
mov ecx, dword [esi + 0xdc]
push edx
push eax
call fcn.004097e0
mov eax, dword [esi + 0xdc]
push ebp
push ebp
mov dword [eax + 0xb8], 1
mov dword [eax + 0x64], ebp
mov dword [eax + 0x68], ebp
mov eax, dword [esi + 0x9c]
cmp eax, 3
jne 0x412fbb
mov ecx, dword [ebx + 0x54]
mov edx, dword [ebx + 0x58]
push ecx
mov ecx, dword [esi + 0xdc]
push ebp
push ebp
push edx
call fcn.00409f70
mov eax, dword [esi + 0xdc]
mov dword [eax + 0x94], 5
jmp 0x412fe0
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebx + 0x54]
push eax
push ebp
push ebp
push ecx
mov ecx, dword [esi + 0xdc]
call fcn.00409f70
mov eax, dword [esi + 0xdc]
mov dword [eax + 0x94], 6
mov ecx, esi
call fcn.004136d0
mov ecx, dword [esi + 0xdc]
push 1
push ebp
mov edx, dword [ecx + 0x20]
mov dword [ecx + 0xa8], eax
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x9a
lea ecx, [esp + 0x14]
call fcn.0040e560
lea eax, [esi + 0x64]
push 0x4312d0
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator
lea ecx, [esp + 0x10]
lea edx, [esp + 0x24]
push ecx
push eax
push edx
mov byte [esp + 0xa4], 0xc
call sub.MFC42.DLL_operator_1
mov edi, dword [eax]
mov byte [esp + 0x98], 0xd
cmp edi, ebp
jne 0x41304b
xor eax, eax
jmp 0x413052
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::AssignCopy
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 0xc
call fcn.00424f94
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 5
call fcn.00424f94
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0xdc]
push eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edi, dword [esp + 0xb0]
cmp dword [esi + 0x44], ebp
je 0x4131d4
push 0xfc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, ebp
mov byte [esp + 0x98], 0xe
je 0x4130c5
mov ecx, eax
call fcn.00409640
jmp 0x4130c7
xor eax, eax
mov ecx, dword [esi + 0x13c]
mov edx, dword [esp + 0x18]
add ecx, 6
push 0x10010000
push ecx
mov ecx, dword [esp + 0x1c]
push 0x5e
mov byte [esp + 0xa4], 5
lea edx, [edx + ecx + 0xd]
mov ecx, eax
push edx
push esi
mov dword [esi + 0xd8], eax
call fcn.00409770
mov ecx, dword [ebx + 0x50]
mov eax, dword [ebx + 0x4c]
mov edx, dword [ebx + 0x48]
push ecx
mov ecx, dword [esi + 0xd8]
push eax
push eax
mov eax, dword [ebx + 0x44]
push edx
push eax
call fcn.004097e0
mov eax, dword [esi + 0xd8]
push 8
push ebp
push ebp
mov dword [eax + 0xb8], 1
mov dword [eax + 0x64], ebp
mov dword [eax + 0x68], ebp
mov ecx, dword [esi + 0xd8]
push ebp
push ebp
call fcn.0040a110
push 0x9f
lea ecx, [esp + 0x14]
call fcn.0040e560
lea eax, [esi + 0x64]
push 0x4312d0
lea ecx, [esp + 0x28]
push eax
push ecx
call sub.MFC42.DLL_operator
lea edx, [esp + 0x10]
mov byte [esp + 0x98], 0xf
push edx
push eax
lea eax, [esp + 0x30]
push eax
call sub.MFC42.DLL_operator_1
mov edi, dword [eax]
mov byte [esp + 0x98], 0x10
cmp edi, ebp
jne 0x413189
xor eax, eax
jmp 0x413190
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::AssignCopy
lea ecx, [esp + 0x28]
mov byte [esp + 0x98], 0xf
call fcn.00424f94
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 5
call fcn.00424f94
mov ecx, dword [esp + 0x10]
push ecx
mov ecx, dword [esi + 0xd8]
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edi, dword [esp + 0xb0]
mov edx, dword [esi + 0x20]
mov eax, dword [esi + 0x88]
push 0x10000
push ebp
push edx
lea ecx, [esi + 0x130]
push eax
push ecx
call dword [sym.imp.WINMM.dll_mixerOpen]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
add edx, eax
mov dword [esi + 0x138], eax
mov eax, dword [esi + 0x5c]
add edx, ecx
cmp eax, ebp
mov dword [esi + 0x140], edx
mov dword [esi + 0x134], ecx
je 0x4132a5
push 0xfc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebp
mov byte [esp + 0x98], 0x11
je 0x413245
mov ecx, eax
call fcn.00409640
jmp 0x413247
xor eax, eax
mov ecx, dword [esi + 0x13c]
push ebp
add ecx, 0xa
mov byte [esp + 0x9c], 5
push ecx
push 0x33
push ebp
push esi
mov ecx, eax
mov dword [esi + 0xe8], eax
call fcn.00409770
mov ecx, dword [esi + 0xe8]
push 0x114
push 0x161
push 0x161
push 0x160
push 0x160
call fcn.004097e0
mov eax, dword [esi + 0xe8]
mov dword [eax + 0xb8], 1
mov dword [eax + 0x64], ebp
mov dword [eax + 0x68], ebp
sub edi, 3
mov edx, dword [esi + 0x140]
neg edi
sbb edi, edi
push 6
and edi, 0x24
mov ecx, esi
add edi, 0x4a
push edi
push edx
push ebp
push ebp
push ebp
call sub.MFC42.DLL_CWnd::SetWindowPos
push ebp
push ebp
mov ecx, esi
call fcn.00414270
mov ecx, esi
call fcn.004149f0
lea ecx, [esp + 0x40]
mov byte [esp + 0x98], 1
call fcn.00425030
mov dword [esp + 0x38], 0x42a110
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], 0x12
call sub.MFC42.DLL_CGdiObject::DeleteObject
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0x42a0fc
mov dword [esp + 0x98], 0xffffffff
call fcn.00424f94
mov eax, 1
mov ecx, dword [esp + 0x90]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret 0x28