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

Disassembly:
push 0xffffffffffffffff
push 0x432608
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6f0
push ebx
push ebp
push esi
xor esi, esi
lea eax, [esp + 0x38]
push edi
mov dword [esp + 0x50], esi
mov dword [esp + 0x3c], esi
test eax, eax
je 0x40eccb
mov edi, eax
call fcn.004282c0
mov edi, dword [esp + 0x3c]
cmp edi, esi
je 0x40eccb
push 0x434b47
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x434b57
lea ecx, [esp + 0x38]
mov dword [esp + 0x70c], esi
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea eax, [esp + 0x3cc]
mov byte [esp + 0x708], 1
call fcn.0040b6f0
mov ecx, dword [esp + 0x710]
mov eax, dword [ecx]
mov ebp, dword [sym.imp.mfc90.dll_Ordinal_2539]
cmp eax, 3
ja case.default.0x40df59
jmp dword [eax*4 + 0x40ed28]
mov edx, dword [0x4448f8]
push edx
lea eax, [esp + 0x34]
push eax
call ebp
mov dword [edi + 8], 0x10
mov dword [edi + 0xc], 0x7d00
mov dword [edi + 0x10], 1
mov dword [edi + 0x14], 0xfa00
mov dword [edi + 0x2c], esi
add esp, 8
mov dword [edi + 0x30], esi
jmp case.default.0x40df59
mov ecx, dword [0x4448fc]
push ecx
lea edx, [esp + 0x34]
push edx
call ebp
mov dword [edi + 8], 0x10
mov dword [edi + 0xc], 0xbb80
mov dword [edi + 0x10], 2
mov eax, 1
mov dword [edi + 0x14], 0x1f400
mov dword [edi + 0x2c], eax
add esp, 8
mov dword [edi + 0x30], eax
jmp case.default.0x40df59
mov eax, dword [0x4448f4]
push eax
lea ecx, [esp + 0x34]
push ecx
call ebp
mov dword [edi + 8], 0x10
mov dword [edi + 0xc], 0xbb80
mov eax, 2
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], 0x1f400
mov dword [edi + 0x2c], eax
add esp, 8
mov dword [edi + 0x30], esi
call fcn.004231f0
call fcn.004231f0
mov eax, dword [eax]
cmp eax, esi
je case.default.0x40df59
call fcn.0041fc00
imul eax, eax, 0x3e8
mov dword [edi + 0x18], eax
jmp case.default.0x40df59
mov edx, dword [0x4448f4]
push edx
lea eax, [esp + 0x34]
push eax
call ebp
mov dword [edi + 8], 0x10
mov dword [edi + 0xc], 0xbb80
mov ebx, 2
mov dword [edi + 0x10], ebx
mov dword [edi + 0x14], 0x1f400
mov dword [edi + 0x2c], ebx
add esp, 8
mov dword [edi + 0x30], esi
call fcn.004231f0
call fcn.004231f0
mov eax, dword [eax]
cmp eax, esi
je 0x40e081
call fcn.0041fc00
imul eax, eax, 0x3e8
mov dword [edi + 0x18], eax
mov ecx, dword [0x4448f0]
push ecx
lea edx, [esp + 0x38]
push edx
call ebp
add esp, 8
mov dword [esp + 0x6dc], 0x1f400
mov dword [esp + 0x6e8], ebx
mov dword [esp + 0x6d8], 0xbb80
mov dword [esp + 0x6e0], 0x10
call fcn.004231f0
call fcn.004231f0
mov eax, dword [eax]
cmp eax, esi
je case.default.0x40df59
call fcn.0041fc00
imul eax, eax, 0x3e8
mov dword [esp + 0x6ec], eax
mov dword [esp + 0x6f0], esi
push 0x434b67
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x708], 2
call fcn.0040d870
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 0x714]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x34]
push 0x434bd4
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x28]
lea ecx, [ebx + 4]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov eax, dword [esp + 0x710]
mov eax, dword [eax]
cmp eax, esi
jl 0x40ece8
cmp eax, 2
jle 0x40e7ba
cmp eax, 3
jne 0x40ece8
push 0x434bb6
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov byte [esp + 0x708], 0x10
call fcn.0040d870
mov ecx, dword [esp + 0x34]
mov edx, dword [ebx + 0xc]
mov eax, dword [eax]
push ecx
push edx
push eax
lea ecx, [esp + 0x24]
push 0x434be4
push ecx
call ebp
add esp, 0x14
push 0x434bb7
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x434bc2
lea ecx, [esp + 0x3c]
mov byte [esp + 0x70c], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea esi, [esp + 0x70]
mov byte [esp + 0x708], 0x12
call fcn.0040ef40
mov byte [esp + 0x708], 0x13
mov edx, dword [ebx + 8]
mov eax, dword [eax]
inc edx
push edx
push eax
lea eax, [esp + 0x40]
push eax
call ebp
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x708], 0x12
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [ebx + 0x14], 0
jne 0x40e582
push 0xff
lea ecx, [esp + 0x1d1]
push 0
push ecx
mov byte [esp + 0x1d8], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xff
lea edx, [esp + 0x2d1]
push 0
push edx
mov byte [esp + 0x2d8], 0
call sub.MSVCR90.dll_memset
mov ebx, dword [ebx]
add esp, 0xc
push 0x100
lea eax, [esp + 0x2d0]
push eax
push 0x100
lea ecx, [esp + 0x1d8]
push ecx
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.MSVCR90.dll__splitpath_s]
add esp, 0x24
lea edx, [esp + 0x1cc]
push edx
lea ecx, [esp + 0x60]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push eax
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x2d4]
mov byte [esp + 0x710], 0x14
call fcn.004026d0
add esp, 8
lea ecx, [esp + 0x5c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x70c], 0x17
call fcn.00420f80
push 0
push 0x44c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x710], 0x18
call sub.mfc90.dll_Ordinal_1678
push 0x450
lea ecx, [esp + 0x88]
call sub.mfc90.dll_Ordinal_2899
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x7e4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov edx, dword [esp + 0x20]
mov esi, dword [edx - 0xc]
add esp, 0x10
push 0x450
lea ecx, [esp + 0x88]
call sub.mfc90.dll_Ordinal_2899
call fcn.004054f0
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
fild dword [esp + 0x28]
sub eax, 2
push eax
fmul dword [str.fff__s_s.wav]
call fcn.00430e30
push eax
lea ebx, [esp + 0x1c]
call fcn.00417260
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
add esp, 0xc
cmp eax, esi
jge 0x40e51d
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx - 0xc]
mov edx, ebx
sub edx, esi
lea esi, [edx + eax + 2]
jmp 0x40e390
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [esp + 0x24], eax
test eax, eax
je 0x40e390
mov ecx, dword [esp + 0x24]
lea eax, [ebx*4]
push eax
push 0
push ecx
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x20]
add esp, 0xc
xor edi, edi
mov dword [esp + 0x1c], edx
test ebx, ebx
jle 0x40e409
mov eax, dword [esp + 0x1c]
movzx ecx, byte [edi + eax]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x40e3f9
mov edx, dword [esp + 0x24]
inc edi
mov dword [edx + edi*4], 1
jmp 0x40e404
mov eax, dword [esp + 0x24]
mov dword [eax + edi*4], 1
inc edi
cmp edi, ebx
jl 0x40e3d8
mov ecx, dword [esp + 0x24]
lea edx, [ecx + esi*4 - 4]
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x1c]
cmp dword [eax], 0
jne 0x40e426
dec esi
sub dword [esp + 0x1c], 4
jmp 0x40e415
push esi
lea ecx, [esp + 0x58]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea edx, [esp + 0x6c]
push edx
mov edi, 0x434bf0
mov byte [esp + 0x710], 0x19
call fcn.004026d0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70c], 0x1a
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x68]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x54]
mov byte [esp + 0x708], 0x18
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx - 0xc]
add esp, 0x10
push 0x450
lea ecx, [esp + 0x88]
call sub.mfc90.dll_Ordinal_2899
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.mfc90.dll_Ordinal_2588
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
sub eax, 2
push eax
fmul dword [str.fff__s_s.wav]
call fcn.00430e30
push eax
lea ebx, [esp + 0x1c]
call fcn.00417260
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp edi, dword [edx - 0xc]
je 0x40e510
dec esi
sub dword [esp + 0x1c], 4
jmp 0x40e415
mov eax, dword [esp + 0x24]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
lea esi, [esp + 0x7c]
call fcn.0040ef80
mov byte [esp + 0x708], 0x1b
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0x10
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x84]
mov byte [esp + 0x708], 0x17
call fcn.00420e40
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebx, dword [esp + 0x714]
mov edi, dword [esp + 0x3c]
jmp 0x40e5b1
lea esi, [esp + 0x64]
call fcn.0040ef80
mov byte [esp + 0x708], 0x1c
mov ecx, dword [esp + 0x38]
mov edx, dword [ebx + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0x10
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x38]
mov byte [esp + 0x708], 0x11
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebx, dword [ebx]
test ebx, ebx
je 0x40e5d2
push ebx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x40e5e4
push eax
lea ecx, [edi + 4]
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [edi + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_820]
call fcn.004231f0
mov ebp, dword [eax + 0xc]
mov ebx, edi
mov edi, ebp
call fcn.00412d50
mov esi, dword [esp + 0x3c]
call fcn.00428280
test ebp, ebp
jne 0x40e623
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
jmp 0x40eca7
push 0x74
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x708], 0x1d
test eax, eax
je 0x40e648
mov esi, eax
call fcn.0040b540
mov ebx, eax
jmp 0x40e64a
xor ebx, ebx
mov byte [esp + 0x708], 0x11
test ebx, ebx
je 0x40e610
mov edi, ebp
mov esi, ebx
call fcn.0040afa0
mov ebp, dword [esp + 0x714]
mov eax, dword [ebp + 0x14]
mov dword [ebx + 0x20], eax
mov dword [esp + 0x80], 3
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x80]
push eax
mov ecx, ebx
call edx
lea eax, [esp + 0x28]
push eax
mov ecx, ebp
mov dword [ebp + 0x14], ebx
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x18]
push ecx
lea esi, [ebp + 4]
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov esi, dword [esi]
mov edi, dword [sym.imp.MSVCR90.dll__mbsnbcpy_s]
push 0x104
push esi
lea edx, [esp + 0x4d8]
push 0x104
push edx
call edi
push 0x398
call sub.mfc90.dll_Ordinal_798
add esp, 0x14
mov dword [esp + 0x2c], eax
mov byte [esp + 0x708], 0x1e
test eax, eax
je 0x40e6f1
mov esi, eax
call fcn.0040bfd0
mov esi, eax
mov dword [esp + 0x20], esi
jmp 0x40e6fd
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x20]
mov byte [esp + 0x708], 0x11
test esi, esi
jne 0x40e742
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, ebx
jmp 0x40ed0c
call fcn.00423360
mov ebx, eax
mov eax, dword [ebp]
push 0x104
push eax
lea ecx, [esp + 0x3d4]
push 0x104
push ecx
call edi
mov edx, dword [esp + 0x20]
push 0x104
push edx
lea eax, [esp + 0x5ec]
push 0x104
push eax
call edi
lea edi, [esi + 0x60]
add esp, 0x20
lea esi, [esp + 0x3cc]
call fcn.0040b970
mov edi, dword [esp + 0x20]
mov esi, ebx
mov eax, edi
call fcn.0040bd10
mov ecx, dword [ebp + 0x14]
mov dword [edi + 0x20], ecx
lea ecx, [esp + 0x10]
mov esi, edi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x40ecec
mov eax, dword [ebx]
cmp eax, esi
je 0x40e7c9
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_820]
mov eax, dword [esp + 0x28]
cmp eax, esi
je 0x40e7db
push eax
lea ecx, [edi + 4]
call dword [sym.imp.mfc90.dll_Ordinal_820]
push 0x434b77
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push 0x434b87
lea ecx, [esp + 0x1c]
mov byte [esp + 0x70c], 3
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea esi, [esp + 0x6c]
mov byte [esp + 0x708], 4
call fcn.0040ef40
mov byte [esp + 0x708], 5
mov edx, dword [ebx + 8]
mov eax, dword [eax]
inc edx
push edx
push eax
lea eax, [esp + 0x20]
push eax
call ebp
add esp, 0xc
mov ecx, esi
mov byte [esp + 0x708], 4
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [ebx + 0x14], 0
jne 0x40ebf2
push 0xff
lea ecx, [esp + 0x2d1]
push 0
push ecx
mov byte [esp + 0x2d8], 0
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0xff
lea edx, [esp + 0x1d1]
push 0
push edx
mov byte [esp + 0x1d8], 0
call sub.MSVCR90.dll_memset
mov ebx, dword [ebx]
add esp, 0xc
push 0x100
lea eax, [esp + 0x1d0]
push eax
push 0x100
lea ecx, [esp + 0x2d8]
push ecx
push 0
push 0
push 0
push 0
push ebx
call dword [sym.imp.MSVCR90.dll__splitpath_s]
add esp, 0x24
lea edx, [esp + 0x2cc]
push edx
lea ecx, [esp + 0x7c]
call dword [sym.imp.mfc90.dll_Ordinal_310]
push eax
lea eax, [esp + 0x18]
push eax
lea edi, [esp + 0x1d4]
mov byte [esp + 0x710], 6
call fcn.004026d0
add esp, 8
lea ecx, [esp + 0x78]
mov byte [esp + 0x708], 8
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x434b97
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x70c], 9
call fcn.00420f80
push 0
push 0x44c
lea ecx, [esp + 0x8c]
mov byte [esp + 0x710], 0xa
call sub.mfc90.dll_Ordinal_1678
push 0x450
lea ecx, [esp + 0x88]
call sub.mfc90.dll_Ordinal_2899
mov eax, dword [eax + 0x20]
lea edx, [esp + 0x40]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
push 0x7e4
lea ecx, [esp + 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_4431]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
lea ecx, [esp + 0x1c]
push ecx
call ebp
mov edx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [edx - 0xc]
push 0x450
lea ecx, [esp + 0x88]
call sub.mfc90.dll_Ordinal_2899
mov eax, dword [eax + 0x20]
push 0
push 0
push 0x31
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.mfc90.dll_Ordinal_2588
mov edx, dword [esp + 0x48]
sub edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x4c]
sub ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], edx
fild dword [esp + 0x2c]
push eax
sub ecx, 2
fmul dword [str.fff__s_s.wav]
push ecx
call fcn.00430e30
push eax
lea ebx, [esp + 0x1c]
call fcn.00417260
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
add esp, 0xc
cmp eax, edi
jge 0x40eb8d
mov ecx, dword [esp + 0x14]
mov ebx, dword [ecx - 0xc]
mov edx, ebx
sub edx, edi
lea esi, [edx + eax + 2]
jmp 0x40ea00
xor ecx, ecx
mov eax, ebx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90.dll_Ordinal_265
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
je 0x40ea00
mov ecx, dword [esp + 0x1c]
lea eax, [ebx*4]
push eax
push 0
push ecx
call sub.MSVCR90.dll_memset
mov edx, dword [esp + 0x20]
add esp, 0xc
xor edi, edi
mov dword [esp + 0x2c], edx
test ebx, ebx
jle 0x40ea79
mov eax, dword [esp + 0x2c]
movzx ecx, byte [edi + eax]
push ecx
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x40ea69
mov edx, dword [esp + 0x1c]
inc edi
mov dword [edx + edi*4], 1
jmp 0x40ea74
mov eax, dword [esp + 0x1c]
mov dword [eax + edi*4], 1
inc edi
cmp edi, ebx
jl 0x40ea48
mov ecx, dword [esp + 0x1c]
lea edx, [ecx + esi*4 - 4]
mov dword [esp + 0x24], edx
mov eax, dword [esp + 0x24]
cmp dword [eax], 0
jne 0x40ea96
dec esi
sub dword [esp + 0x24], 4
jmp 0x40ea85
push esi
lea ecx, [esp + 0x5c]
push ecx
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
lea edx, [esp + 0x78]
push edx
mov edi, 0x434be0
mov byte [esp + 0x710], 0xb
call fcn.004026d0
add esp, 8
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x70c], 0xc
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x74]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x58]
mov byte [esp + 0x708], 0xa
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
lea eax, [esp + 0x1c]
push eax
call ebp
mov ecx, dword [esp + 0x20]
mov edi, dword [ecx - 0xc]
add esp, 0x10
push 0x450
lea ecx, [esp + 0x88]
call sub.mfc90.dll_Ordinal_2899
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x31
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push eax
call sub.mfc90.dll_Ordinal_2588
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
mov dword [esp + 0x30], ecx
fild dword [esp + 0x30]
sub eax, 2
push eax
fmul dword [str.fff__s_s.wav]
call fcn.00430e30
push eax
lea ebx, [esp + 0x1c]
call fcn.00417260
mov edx, dword [esp + 0x1c]
add esp, 0xc
cmp edi, dword [edx - 0xc]
je 0x40eb80
dec esi
sub dword [esp + 0x24], 4
jmp 0x40ea85
mov eax, dword [esp + 0x1c]
push eax
call sub.mfc90.dll_Ordinal_266
add esp, 4
lea esi, [esp + 0x60]
call fcn.0040ef80
mov byte [esp + 0x708], 0xd
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0x10
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x84]
mov byte [esp + 0x708], 9
call fcn.00420e40
lea ecx, [esp + 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ebx, dword [esp + 0x714]
mov edi, dword [esp + 0x3c]
jmp 0x40ec21
lea esi, [esp + 0x50]
call fcn.0040ef80
mov byte [esp + 0x708], 0xe
mov ecx, dword [esp + 0x18]
mov edx, dword [ebx + 0x10]
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call ebp
add esp, 0x10
mov ecx, esi
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x18]
mov byte [esp + 0x708], 3
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [edi + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_820]
call fcn.004231f0
mov ebp, dword [eax + 0xc]
mov esi, dword [ebp + 0x60]
test esi, esi
je 0x40ec5c
call fcn.00428280
mov dword [ebp + 0x60], 0
lea edx, [edi + 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov esi, edi
mov dword [ebp + 0x60], edi
call fcn.00428280
push 0x74
call sub.mfc90.dll_Ordinal_798
add esp, 4
mov dword [esp + 0x2c], eax
mov byte [esp + 0x708], 0xf
test eax, eax
je 0x40ec95
mov esi, eax
call fcn.0040b540
mov esi, eax
jmp 0x40ec97
xor esi, esi
mov byte [esp + 0x708], 3
test esi, esi
jne 0x40eccf
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
xor eax, eax
jmp 0x40ed0c
mov edi, ebp
call fcn.0040afa0
mov eax, dword [ebx + 0x14]
lea ecx, [esp + 0x10]
mov dword [esi + 0x20], eax
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x40ecec
mov esi, dword [esp + 0x50]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov eax, esi
mov ecx, dword [esp + 0x700]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6fc
ret 8