Function at 0x626f10
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x784054
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x84dea4]
xor eax, esp
mov dword [esp + 0x114], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x84dea4]
xor eax, esp
push eax
lea eax, [esp + 0x12c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x13c]
push 4
mov esi, ecx
push eax
mov dword [esp + 0x28], esi
call fcn.004df260
xor ebx, ebx
lea edi, [esi + 0x74]
mov dword [esi], vtable.CSoundPropertiesDialog.0
mov dword [esp + 0x134], ebx
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov byte [esp + 0x134], 1
mov dword [esi + 0x84], ebx
mov dword [esi + 0x88], ebx
call fcn.004baee0
mov ecx, dword [esi + 4]
push ebx
mov edx, str.SoundPropsDialog
mov dword [esp + 0x20], eax
call fcn.005b0170
mov ecx, dword [esi + 4]
call fcn.004bf860
push ebx
push 0x104
lea edx, [esp + 0x2c]
mov ecx, str.WESTRING_SOUNDPROPS
call fcn.004da2f0
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push eax
call fcn.004131e0
push 1
mov ecx, esi
call fcn.004df3f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_FILE
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.FileLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
call fcn.005b0220
mov ecx, dword [esi + 4]
push 2
push 0x79923f
push 1
push ebx
xor edx, edx
call fcn.005b0470
mov ebp, eax
push str.FileText
mov edx, str.SoundPropsDialog
mov ecx, ebp
call fcn.005b0220
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_PATH
push 1
push ebx
xor edx, edx
mov dword [esi + 0x30], ebp
call fcn.005b0470
push str.PathLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
call fcn.005b0220
mov ecx, dword [esi + 4]
push 2
push 0x79923f
push 1
push ebx
xor edx, edx
call fcn.005b0470
mov ebp, eax
push str.PathText
mov edx, str.SoundPropsDialog
mov ecx, ebp
call fcn.005b0220
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_FORMAT
push 1
push ebx
xor edx, edx
mov dword [esi + 0x34], ebp
call fcn.005b0470
push str.FormatLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
call fcn.005b0220
mov ecx, dword [esi + 4]
push 2
push 0x79923f
push 1
push ebx
xor edx, edx
call fcn.005b0470
mov ebp, eax
push str.FormatText
mov edx, str.SoundPropsDialog
mov ecx, ebp
call fcn.005b0220
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_LENGTH
push 1
push ebx
xor edx, edx
mov dword [esi + 0x3c], ebp
call fcn.005b0470
push str.LengthLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
call fcn.005b0220
mov ecx, dword [esi + 4]
push 2
push 0x79923f
push 1
push ebx
xor edx, edx
call fcn.005b0470
mov ebp, eax
push str.LengthText
mov edx, str.SoundPropsDialog
mov ecx, ebp
call fcn.005b0220
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_VARIABLE
push 1
push ebx
xor edx, edx
mov dword [esi + 0x38], ebp
call fcn.005b0470
push str.VarLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
call fcn.005b0220
push ebx
push 0x4e
push str..CSoundPropertiesDialog.cpp
push 0x40
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 2
je 0x62716e
mov ecx, dword [esi + 4]
push ebx
push 0xc
push ecx
mov ecx, eax
call fcn.004156c0
jmp 0x627170
xor eax, eax
push str.VarEdit
mov edx, str.SoundPropsDialog
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x40], eax
call fcn.005b0220
mov ecx, dword [esi + 0x40]
push 1
call fcn.0040b1c0
mov ecx, dword [esi + 0x40]
push 1
push 0x23
call fcn.0040b1d0
mov ecx, dword [esi + 0x40]
push 0x5a
call fcn.0040b090
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_OPTIONS
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.OptionsLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
mov dword [esp + 0x18], eax
call fcn.005b0220
mov ebp, dword [edi + 4]
add ebp, 1
cmp ebp, dword [edi]
jbe 0x62720a
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x6271f0
push ebp
mov ecx, edi
call fcn.00522200
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
cmp edx, ebx
je 0x627200
sub ecx, edx
add ecx, ebp
jmp 0x627202
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push ebx
lea ecx, [edx + eax*4]
add eax, 1
push 0x59
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
push str..CSoundPropertiesDialog.cpp
push 0x3c
mov dword [ecx], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 3
je 0x627251
mov ecx, dword [esi + 4]
push 0xd
push ecx
mov ecx, eax
call fcn.00415720
jmp 0x627253
xor eax, eax
push str.LoopCheck
mov edx, str.SoundPropsDialog
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x44], eax
call fcn.005b01f0
push ebx
push 0x104
lea edx, [esp + 0x2c]
mov ecx, str.WESTRING_SNDPROPS_LOOPING
call fcn.004da2f0
mov ecx, dword [esi + 0x44]
lea edx, [esp + 0x24]
push edx
call fcn.00413280
push ebx
push 0x5e
push str..CSoundPropertiesDialog.cpp
push 0x3c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 4
je 0x6272c2
mov ecx, dword [esi + 4]
push 0xe
push ecx
mov ecx, eax
call fcn.00415720
jmp 0x6272c4
xor eax, eax
push str.ThreeDCheck
mov edx, str.SoundPropsDialog
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x48], eax
call fcn.005b01f0
push ebx
push 0x104
lea edx, [esp + 0x2c]
mov ecx, str.WESTRING_SNDPROPS_3DSOUND
call fcn.004da2f0
mov ecx, dword [esi + 0x48]
lea edx, [esp + 0x24]
push edx
call fcn.00413280
push ebx
push 0x63
push str..CSoundPropertiesDialog.cpp
push 0x3c
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 5
je 0x627333
mov ecx, dword [esi + 4]
push 0xf
push ecx
mov ecx, eax
call fcn.00415720
jmp 0x627335
xor eax, eax
push str.StopOORCheck
mov edx, str.SoundPropsDialog
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x4c], eax
call fcn.005b01f0
push ebx
push 0x104
lea edx, [esp + 0x2c]
mov ecx, str.WESTRING_SNDPROPS_STOPOOR
call fcn.004da2f0
mov ecx, dword [esi + 0x4c]
lea edx, [esp + 0x24]
push edx
call fcn.00413280
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_VOLUME
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.VolumeLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.005b0220
mov ebp, dword [edi + 4]
add ebp, 1
cmp ebp, dword [edi]
jbe 0x6273d0
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x6273b6
push ebp
mov ecx, edi
call fcn.00522200
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
cmp edx, ebx
je 0x6273c6
sub ecx, edx
add ecx, ebp
jmp 0x6273c8
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
mov edx, dword [esp + 0x18]
push ebx
push 0x6e
lea ecx, [ecx + eax*4]
add eax, 1
push str..CSoundPropertiesDialog.cpp
mov dword [edi + 4], eax
push 0x58
mov dword [ecx], edx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 6
je 0x627424
mov ecx, dword [esi + 4]
push ebx
push 0x16
push 0x15
push 0x7e55ac
push str.SoundPropsDialog
push ecx
mov ecx, eax
call fcn.006439e0
jmp 0x627426
xor eax, eax
fldz
push ecx
mov ecx, eax
fstp dword [esp]
mov byte [esp + 0x138], 1
mov dword [esi + 0x60], eax
call fcn.006437b0
fld dword [0x7e55a8]
mov ecx, dword [esi + 0x60]
push ecx
fstp dword [esp]
call fcn.006437f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_FADEINRATE
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.FadeInLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.005b0220
mov ebp, dword [edi + 4]
add ebp, 1
cmp ebp, dword [edi]
jbe 0x6274ae
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x627494
push ebp
mov ecx, edi
call fcn.00522200
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
cmp edx, ebx
je 0x6274a4
sub ecx, edx
add ecx, ebp
jmp 0x6274a6
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push ebx
lea ecx, [edx + eax*4]
add eax, 1
push 0x78
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
push str..CSoundPropertiesDialog.cpp
push 0x58
mov dword [ecx], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 7
je 0x627502
mov ecx, dword [esi + 4]
push ebx
push 0x11
push 0x10
push str.FadeInEdit
push str.SoundPropsDialog
push ecx
mov ecx, eax
call fcn.006439e0
jmp 0x627504
xor eax, eax
fld1
push ecx
mov ecx, eax
fstp dword [esp]
mov byte [esp + 0x138], 1
mov dword [esi + 0x50], eax
call fcn.006437b0
fild dword [0x7a7f88]
mov ecx, dword [esi + 0x50]
push ecx
fstp dword [esp]
call fcn.006437f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_FADEOUTRATE
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.FadeOutLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.005b0220
mov ebp, dword [edi + 4]
add ebp, 1
cmp ebp, dword [edi]
jbe 0x62758c
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x627572
push ebp
mov ecx, edi
call fcn.00522200
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
cmp edx, ebx
je 0x627582
sub ecx, edx
add ecx, ebp
jmp 0x627584
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push ebx
lea ecx, [edx + eax*4]
add eax, 1
push 0x82
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
push str..CSoundPropertiesDialog.cpp
push 0x58
mov dword [ecx], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 8
je 0x6275e3
mov ecx, dword [esi + 4]
push ebx
push 0x13
push 0x12
push str.FadeOutEdit
push str.SoundPropsDialog
push ecx
mov ecx, eax
call fcn.006439e0
jmp 0x6275e5
xor eax, eax
fld1
push ecx
mov ecx, eax
fstp dword [esp]
mov byte [esp + 0x138], 1
mov dword [esi + 0x54], eax
call fcn.006437b0
fild dword [0x7a7f88]
mov ecx, dword [esi + 0x54]
push ecx
fstp dword [esp]
call fcn.006437f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_PITCH
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.PitchLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.005b0220
mov ebp, dword [edi + 4]
add ebp, 1
cmp ebp, dword [edi]
jbe 0x62766d
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x627653
push ebp
mov ecx, edi
call fcn.00522200
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
cmp edx, ebx
je 0x627663
sub ecx, edx
add ecx, ebp
jmp 0x627665
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push ebx
lea ecx, [edx + eax*4]
add eax, 1
push 0x8c
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
push str..CSoundPropertiesDialog.cpp
push 0x58
mov dword [ecx], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 9
je 0x6276c4
mov ecx, dword [esi + 4]
push ebx
push 0x18
push 0x17
push 0x7e5504
push str.SoundPropsDialog
push ecx
mov ecx, eax
call fcn.006439e0
jmp 0x6276c6
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x64], eax
call fcn.00643750
fld dword [0x7bdb38]
mov eax, dword [esi + 0x64]
fst dword [eax + 0x24]
push ecx
mov ecx, dword [esi + 0x64]
fstp dword [esp]
call fcn.006437b0
fld dword [0x7e5500]
push ecx
mov ecx, dword [esi + 0x64]
fstp dword [esp]
call fcn.006437f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_EFFECT
push 1
push ebx
xor edx, edx
call fcn.005b0470
push str.EffectLabel
mov edx, str.SoundPropsDialog
mov ecx, eax
mov dword [esp + 0x1c], eax
call fcn.005b0220
mov ebp, dword [edi + 4]
add ebp, 1
cmp ebp, dword [edi]
jbe 0x627762
mov ecx, dword [edi + 0xc]
cmp ecx, ebx
jne 0x627748
push ebp
mov ecx, edi
call fcn.00522200
mov ecx, eax
xor edx, edx
mov eax, ebp
div ecx
cmp edx, ebx
je 0x627758
sub ecx, edx
add ecx, ebp
jmp 0x62775a
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov edx, dword [edi + 8]
push ebx
lea ecx, [edx + eax*4]
add eax, 1
push 0x99
mov dword [edi + 4], eax
mov eax, dword [esp + 0x20]
push str..CSoundPropertiesDialog.cpp
push 0x3c
mov dword [ecx], eax
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x134], 0xa
je 0x6277ac
mov ecx, dword [esi + 4]
push 0x14
push ecx
mov ecx, eax
call fcn.004139e0
jmp 0x6277ae
xor eax, eax
push str.EffectMenu
mov edx, str.SoundPropsDialog
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x58], eax
call fcn.005b0220
mov ecx, dword [esp + 0x1c]
call fcn.004e5050
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x62780a
jmp 0x6277e0
mov ecx, dword [esp + 0x1c]
push 0x104
lea edx, [esp + 0x28]
push edx
push ebp
call fcn.004e5080
mov ecx, dword [esi + 0x58]
push 0xffffffffffffffff
lea eax, [esp + 0x28]
push eax
call fcn.00413a60
add ebp, 1
cmp ebp, ebx
jl 0x6277e0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_CHANNEL
push 1
push 0
xor edx, edx
call fcn.005b0470
mov ebx, eax
push str.ChannelLabel
mov edx, str.SoundPropsDialog
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.005b0220
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, dword [edi]
jbe 0x627892
mov ebp, dword [edi + 0xc]
test ebp, ebp
jne 0x627876
cmp ecx, 0x40
mov ebp, ecx
jae 0x62786a
lea eax, [ecx - 1]
and eax, ecx
je 0x62785e
mov ebp, eax
lea eax, [ebp - 1]
and eax, ebp
jne 0x627855
cmp ebp, 1
jae 0x627876
mov ebp, 1
jmp 0x627876
mov dword [edi + 0xc], 0x40
mov ebp, 0x40
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
je 0x627886
sub ebp, edx
add ebp, ecx
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push 0
push 0xa9
lea ecx, [ecx + eax*4]
add eax, 1
push str..CSoundPropertiesDialog.cpp
mov dword [edi + 4], eax
push 0x3c
mov dword [ecx], ebx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x134], 0xb
je 0x6278d9
mov edx, dword [esi + 4]
push 0x1f
push edx
mov ecx, eax
call fcn.004139e0
jmp 0x6278db
xor eax, eax
push str.ChannelMenu
mov edx, str.SoundPropsDialog
mov ecx, eax
mov byte [esp + 0x138], 1
mov dword [esi + 0x5c], eax
call fcn.005b0220
mov ecx, dword [esp + 0x1c]
call fcn.004e5010
mov ebx, eax
xor ebp, ebp
test ebx, ebx
jle 0x627924
mov ecx, dword [esp + 0x1c]
push 0xffffffffffffffff
push ebp
call fcn.004e5030
mov ecx, dword [esi + 0x5c]
push eax
call fcn.00413a60
add ebp, 1
cmp ebp, ebx
jl 0x627908
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_MINDIST
push 1
push 0
xor edx, edx
call fcn.005b0470
mov ebx, eax
push str.MinDistLabel
mov edx, str.SoundPropsDialog
mov ecx, ebx
mov dword [esp + 0x18], ebx
call fcn.005b0220
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, dword [edi]
jbe 0x6279ad
mov ebp, dword [edi + 0xc]
test ebp, ebp
jne 0x627991
cmp ecx, 0x40
mov ebp, ecx
jae 0x627985
lea eax, [ecx - 1]
and eax, ecx
je 0x627979
nop
mov ebp, eax
lea eax, [ebp - 1]
and eax, ebp
jne 0x627970
cmp ebp, 1
jae 0x627991
mov ebp, 1
jmp 0x627991
mov dword [edi + 0xc], 0x40
mov ebp, 0x40
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
je 0x6279a1
sub ebp, edx
add ebp, ecx
mov ecx, ebp
push ecx
mov ecx, edi
call fcn.00522260
mov ebx, dword [esp + 0x14]
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push 0
push 0xb7
lea ecx, [ecx + eax*4]
add eax, 1
push str..CSoundPropertiesDialog.cpp
mov dword [edi + 4], eax
push 0x58
mov dword [ecx], ebx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x134], 0xc
je 0x627a02
mov edx, dword [esi + 4]
push 0
push 0x1a
push 0x19
push 0x7e545c
push str.SoundPropsDialog
push edx
mov ecx, eax
call fcn.006439e0
jmp 0x627a04
xor eax, eax
fldz
push ecx
mov ecx, eax
fstp dword [esp]
mov byte [esp + 0x138], 1
mov dword [esi + 0x68], eax
call fcn.006437b0
fld dword [0x7e5458]
mov ecx, dword [esi + 0x68]
push ecx
fstp dword [esp]
call fcn.006437f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_MAXDIST
push 1
push 0
xor edx, edx
call fcn.005b0470
mov ebx, eax
push str.MaxDistLabel
mov edx, str.SoundPropsDialog
mov ecx, ebx
call fcn.005b0220
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, dword [edi]
jbe 0x627ab0
mov ebp, dword [edi + 0xc]
test ebp, ebp
jne 0x627a96
cmp ecx, 0x40
mov ebp, ecx
jae 0x627a8a
lea eax, [ecx - 1]
and eax, ecx
je 0x627a7e
mov ebp, eax
lea eax, [ebp - 1]
and eax, ebp
jne 0x627a75
cmp ebp, 1
jae 0x627a96
mov ebp, 1
jmp 0x627a96
mov dword [edi + 0xc], 0x40
mov ebp, 0x40
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
je 0x627aa6
sub ebp, edx
add ebp, ecx
jmp 0x627aa8
mov ebp, ecx
push ebp
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push 0
push 0xc1
lea ecx, [ecx + eax*4]
add eax, 1
push str..CSoundPropertiesDialog.cpp
mov dword [edi + 4], eax
push 0x58
mov dword [ecx], ebx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x134], 0xd
je 0x627b05
mov edx, dword [esi + 4]
push 0
push 0x1c
push 0x1b
push str.MaxDistEdit
push str.SoundPropsDialog
push edx
mov ecx, eax
call fcn.006439e0
jmp 0x627b07
xor eax, eax
fldz
push ecx
mov ecx, eax
fstp dword [esp]
mov byte [esp + 0x138], 1
mov dword [esi + 0x6c], eax
call fcn.006437b0
fld dword [0x7e5458]
mov ecx, dword [esi + 0x6c]
push ecx
fstp dword [esp]
call fcn.006437f0
mov ecx, dword [esi + 4]
push 3
push str.WESTRING_SNDPROPS_DISTCUT
push 1
push 0
xor edx, edx
call fcn.005b0470
mov ebx, eax
push str.DistCutLabel
mov edx, str.SoundPropsDialog
mov ecx, ebx
call fcn.005b0220
mov ecx, dword [edi + 4]
add ecx, 1
cmp ecx, dword [edi]
jbe 0x627bb3
mov ebp, dword [edi + 0xc]
test ebp, ebp
jne 0x627b99
cmp ecx, 0x40
mov ebp, ecx
jae 0x627b8d
lea eax, [ecx - 1]
and eax, ecx
je 0x627b81
mov ebp, eax
lea eax, [ebp - 1]
and eax, ebp
jne 0x627b78
cmp ebp, 1
jae 0x627b99
mov ebp, 1
jmp 0x627b99
mov dword [edi + 0xc], 0x40
mov ebp, 0x40
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
je 0x627ba9
sub ebp, edx
add ebp, ecx
jmp 0x627bab
mov ebp, ecx
push ebp
mov ecx, edi
call fcn.00522260
mov eax, dword [edi + 4]
mov ecx, dword [edi + 8]
push 0
push 0xcb
lea ecx, [ecx + eax*4]
add eax, 1
push str..CSoundPropertiesDialog.cpp
mov dword [edi + 4], eax
push 0x58
mov dword [ecx], ebx
call sub.Storm.dll_Ordinal_401
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x134], 0xe
je 0x627c08
mov edx, dword [esi + 4]
push 0
push 0x1e
push 0x1d
push str.DistCutEdit
push str.SoundPropsDialog
push edx
mov ecx, eax
call fcn.006439e0
jmp 0x627c0a
xor eax, eax
fldz
push ecx
mov ecx, eax
fstp dword [esp]
mov byte [esp + 0x138], 1
mov dword [esi + 0x70], eax
call fcn.006437b0
fld dword [0x7e5458]
push ecx
mov ecx, dword [esi + 0x70]
fstp dword [esp]
call fcn.006437f0
mov eax, esi
mov ecx, dword [esp + 0x12c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.00735f58
add esp, 0x124
ret 4