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

Disassembly:
push 0xffffffffffffffff
push 0x42b680
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x12c
mov eax, dword [esp + 0x13c]
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x148]
push esi
push edi
mov edi, dword [esp + 0x154]
mov esi, ecx
push ebp
mov dword [esp + 0x14], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], ebx
mov dword [esi + 4], eax
mov dword [esi + 0x40], ebp
call fcn.00417610
cmp eax, 0xffffffff
mov dword [esi + 0x44], eax
jne 0x416ca2
xor eax, eax
jmp 0x417106
push ebp
mov ecx, esi
call fcn.004178d0
cmp eax, 0xffffffff
mov dword [esi + 0x48], eax
mov dword [esi + 0xcc], 1
jne 0x416cc3
xor eax, eax
jmp 0x417106
mov ecx, esi
call fcn.00417c90
mov eax, dword [esi + 0xd0]
test eax, eax
je 0x416d58
cmp ebp, 3
je 0x416d58
lea ecx, [esp + 0xd0]
call fcn.00425590
lea ecx, [esp + 0xd0]
mov dword [esp + 0x144], 0
call fcn.004250e0
push 2
lea ecx, [esp + 0xd4]
call fcn.00425690
mov ecx, dword [eax + 8]
add edi, 0x49
mov dword [esi + 0x64], ecx
mov eax, dword [eax + 4]
mov dword [esi + 0xd8], eax
add eax, 0x49
mov edx, ecx
mov dword [esi + 0xe0], eax
lea ecx, [esp + 0xd0]
mov dword [esp + 0x10], edi
lea eax, [ebx + edx]
mov dword [esp + 0x144], 0xffffffff
mov dword [esi + 0xdc], eax
add eax, 0x64
mov dword [esi + 0xe4], eax
call fcn.004255d0
mov eax, dword [esi + 0x74]
test eax, eax
je 0x416e10
push 0x1a0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x144], 1
je 0x416d8e
mov ecx, eax
call fcn.00413470
mov edi, eax
jmp 0x416d90
xor edi, edi
test edi, edi
mov dword [esp + 0x144], 0xffffffff
jne 0x416da6
xor eax, eax
jmp 0x417106
mov eax, dword [esi + 0xc8]
push 1
mov dword [edi + 0x4c], eax
mov eax, dword [esp + 0x160]
mov ecx, dword [esi + 0x48]
mov edx, dword [esi + 0x44]
push eax
mov eax, dword [esp + 0x154]
push 0xffffffffffffffff
push ecx
push edx
push ebp
push ebx
mov ebx, dword [esp + 0x2c]
push ebx
push esi
push eax
mov ecx, edi
call fcn.004137b0
test eax, eax
je 0x416e07
push edi
lea ecx, [esi + 8]
call sub.MFC42.DLL_CObList::AddTail
mov edx, dword [edi + 0x184]
push 1
add ebx, edx
mov ecx, edi
mov dword [esp + 0x14], ebx
call fcn.004155c0
push 1
mov ecx, edi
call fcn.00415580
jmp 0x416e10
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov edx, dword [esi + 0x44]
mov eax, dword [esi + 0x48]
lea ecx, [esp + 0x28]
push 0
push ecx
push edx
mov dword [esp + 0x34], 0xa8
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
xor ecx, ecx
cmp eax, ecx
je 0x416e45
xor eax, eax
jmp 0x417106
mov eax, dword [esp + 0x48]
mov dword [esp + 0x1c], ecx
cmp eax, ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], ecx
jle 0x4170f3
lea eax, [esi + 0x78]
mov dword [esp + 0x14], eax
mov edx, dword [esi + 0x44]
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0x28]
push 1
push ecx
push edx
call dword [sym.imp.WINMM.dll_mixerGetLineInfoA]
test eax, eax
jne 0x416e3e
mov eax, dword [esp + 0x40]
mov ecx, esi
push eax
call fcn.00417130
mov ecx, dword [esp + 0x14]
mov ebp, eax
cmp dword [ecx], 0
jne 0x416f3f
push 0x70
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x144], 2
je 0x416ec0
mov ecx, eax
call fcn.00412240
mov edi, eax
jmp 0x416ec2
xor edi, edi
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x44]
mov ebx, dword [esp + 0x150]
push ebp
push edx
push eax
push ecx
push ebx
mov ecx, edi
mov dword [esp + 0x158], 0xffffffff
call fcn.004122c0
test eax, eax
je 0x416ef4
cmp dword [edi + 0x68], 0xf
jne 0x416f02
test edi, edi
je 0x416f46
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx]
jmp 0x416f46
mov ecx, edi
call fcn.004132b0
mov ecx, edi
call fcn.00412f30
cmp eax, 2
jne 0x416f34
test edi, edi
je 0x416f21
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax]
mov ecx, dword [esp + 0x14]
mov dword [ecx], 1
mov ecx, esi
call fcn.004181a0
jmp 0x416f46
push edi
lea ecx, [esi + 0x24]
call sub.MFC42.DLL_CObList::AddTail
jmp 0x416f46
mov ebx, dword [esp + 0x150]
cmp ebx, 3
je 0x416f58
mov eax, dword [esp + 0x14]
cmp dword [eax], 0
je 0x4170d3
test ebx, ebx
jne 0x416f69
cmp dword [esp + 0x40], 0x1003
sete bl
jmp 0x416fb3
mov eax, dword [esp + 0x40]
xor ebx, ebx
cmp eax, 0x1003
sete bl
test ebx, ebx
jne 0x416fb3
mov ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x416f95
cmp eax, 0x1008
jne 0x416f95
mov ebx, 1
mov dword [esp + 0x1c], ebx
jmp 0x416fb3
cmp ebp, 4
je 0x416fae
cmp ebp, 5
je 0x416fae
cmp ebp, 6
je 0x416fae
cmp ebp, 7
je 0x416fae
cmp ebp, 0x10
jne 0x416fb3
mov ebx, 1
push 0x1a0
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x144], 3
je 0x416fde
mov ecx, eax
call fcn.00413470
mov edi, eax
jmp 0x416fe0
xor edi, edi
mov ecx, dword [esi + 0xc8]
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x18]
mov dword [edi + 0x4c], ecx
mov ecx, dword [esi + 0x48]
push ebp
mov ebp, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0x44]
push eax
mov eax, dword [esp + 0x15c]
push ecx
mov ecx, dword [esp + 0x168]
push edx
mov edx, dword [esp + 0x160]
push eax
push ecx
push ebp
push esi
push edx
mov ecx, edi
mov dword [esp + 0x16c], 0xffffffff
call fcn.004137b0
test eax, eax
je 0x4170c6
mov ecx, dword [esi + 0x68]
mov eax, dword [edi + 0x184]
test ecx, ecx
je 0x417075
lea edx, [eax + ebp]
cmp edx, ecx
jle 0x417075
test edi, edi
je 0x417058
mov eax, dword [edi]
push 1
mov ecx, edi
call dword [eax + 4]
mov ecx, dword [esp + 0x14]
mov dword [ecx], 0
mov ecx, esi
call fcn.004181a0
mov dword [esi + 0xd4], 1
jmp 0x4170d3
add ebp, eax
push edi
lea ecx, [esi + 8]
mov dword [esp + 0x14], ebp
call sub.MFC42.DLL_CObList::AddTail
test ebx, ebx
je 0x4170d3
mov ebx, dword [esp + 0x150]
cmp ebx, 1
je 0x417099
cmp ebx, 2
jne 0x4170ae
cmp dword [esp + 0x40], 0x1003
jne 0x4170ae
push 1
mov ecx, edi
call fcn.004155a0
jmp 0x4170d3
push 1
mov ecx, edi
call fcn.004155c0
test ebx, ebx
je 0x4170d3
push 1
mov ecx, edi
call fcn.00415580
jmp 0x4170d3
test edi, edi
je 0x4170d3
mov edx, dword [edi]
push 1
mov ecx, edi
call dword [edx + 4]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
inc ecx
add edx, 4
cmp ecx, eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x14], edx
jl 0x416e64
mov ecx, esi
call fcn.00418630
mov eax, dword [esp + 0x10]
mov dword [esi + 0x4c], eax
mov eax, 1
mov ecx, dword [esp + 0x13c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x138
ret 0x14