Function at 0x4c2bb8
Capabilities:
Enumerate pe sections

Disassembly:
push edi
push esi
push ebp
push ebx
sub esp, 0x48
mov ebx, dword [esp + 0x5c]
movzx ebp, byte [ebx + 0x125]
movzx edx, byte [ebx + 0x1f9]
mov ecx, dword [esp + 0x60]
mov eax, dword [ecx + 4]
mov esi, dword [ebx + 0xec]
mov dword [esp + 0x10], edx
movzx edx, byte [ecx + 0xb]
mov dword [esp + 0x34], esi
add edx, 7
sar edx, 3
test ebp, 8
mov dword [esp + 0x38], edx
mov edx, dword [ebx + 0xe8]
mov dword [esp + 0xc], edx
je 0x4c2c53
cmp ebp, 8
je 0x4c32c3
lea edx, [esi + 1]
test eax, eax
jbe 0x4c32bc
xor edi, edi
xor ecx, ecx
movzx ebx, byte [edx]
cmp ebx, 0x80
jl 0x4c2c31
neg ebx
add ebx, 0x100
add edi, ebx
add edx, 1
add ecx, 1
cmp ecx, eax
jb 0x4c2c1e
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [ebx + 0x1f8]
cmp ecx, 2
je 0x4c3224
jmp 0x4c2c58
mov edi, DirectSoundCreate
cmp ebp, 0x10
je 0x4c3be0
test ebp, 0x10
je 0x4c2d84
movzx ecx, byte [ebx + 0x1f8]
mov dword [esp + 0x40], edi
cmp ecx, 2
je 0x4c33b5
lea ecx, [esi + 1]
mov dword [esp + 0x24], ecx
mov dword [esp + 8], ecx
mov ecx, dword [ebx + 0xf0]
add ecx, 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c33ac
mov ebx, dword [esp + 8]
mov dword [esp + 0x18], edi
mov edi, ecx
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x3c]
movzx eax, byte [ebx]
mov byte [ebp], al
cmp eax, 0x80
jl 0x4c2cd3
neg eax
add eax, 0x100
add edx, eax
add ecx, 1
add ebx, 1
add ebp, 1
cmp ecx, edi
jb 0x4c2cbf
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x5c]
cmp ecx, eax
jae 0x4c2d68
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 8]
movzx eax, byte [ebp]
movzx edi, byte [esi]
sub eax, edi
movzx eax, al
mov byte [ebx], al
cmp eax, 0x80
jl 0x4c2d36
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x40]
cmp edx, eax
ja 0x4c3393
mov eax, dword [esp + 0x1c]
add ecx, 1
add ebp, 1
add esi, 1
add ebx, 1
cmp ecx, eax
jb 0x4c2d1a
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [ebx + 0x1f8]
cmp ecx, 2
je 0x4c32cd
cmp edx, edi
jae 0x4c2d84
mov esi, dword [ebx + 0xf0]
mov edi, edx
cmp ebp, 0x20
je 0x4c3b75
test ebp, 0x20
je 0x4c2e65
movzx edx, byte [ebx + 0x1f8]
mov dword [esp + 0x40], edi
cmp edx, 2
je 0x4c3563
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + 1]
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0xf4]
add ecx, 1
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + 1]
test eax, eax
mov dword [esp + 8], ecx
jbe 0x4c355c
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 8]
add ebp, 1
movzx edi, byte [ebp - 1]
add esi, 1
movzx eax, byte [esi - 1]
sub eax, edi
movzx eax, al
mov edi, ebx
add ebx, 1
mov byte [edi], al
add edx, 1
cmp eax, 0x80
jl 0x4c2e23
neg eax
add eax, 0x100
add ecx, eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
ja 0x4c353c
mov eax, dword [esp + 0x1c]
cmp edx, eax
jb 0x4c2df8
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
movzx edx, byte [ebx + 0x1f8]
cmp edx, 2
je 0x4c3478
cmp ecx, edi
jae 0x4c2e65
mov esi, dword [ebx + 0xf4]
mov edi, ecx
cmp ebp, 0x40
je 0x4c3a86
test ebp, 0x40
je 0x4c2fe6
movzx ecx, byte [ebx + 0x1f8]
mov dword [esp + 0x40], edi
cmp ecx, 2
je 0x4c3729
mov ecx, dword [esp + 0x34]
lea ecx, [ecx + 1]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x24], ecx
mov ecx, dword [ebx + 0xf8]
add ecx, 1
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + 1]
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c3720
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
movzx edi, byte [esi]
movzx eax, byte [ebp]
sar edi, 1
sub eax, edi
movzx eax, al
mov edi, ebx
add ebx, 1
mov byte [edi], al
add ebp, 1
add esi, 1
cmp eax, 0x80
jl 0x4c2f0a
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x38]
add ecx, 1
cmp ecx, eax
jb 0x4c2ee1
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x30], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x24], ebp
mov ebp, dword [esp + 0x20]
cmp ecx, eax
jae 0x4c2fca
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
mov eax, dword [esp + 0x3c]
movzx ebx, byte [esi]
mov edi, eax
add eax, 1
add esi, 1
mov dword [esp + 0x3c], eax
movzx eax, byte [edi]
add ebx, eax
movzx eax, byte [ebp]
mov edi, ebx
shr edi, 0x1f
add ebx, edi
sar ebx, 1
sub eax, ebx
movzx eax, al
add ebp, 1
mov ebx, dword [esp + 0x30]
mov edi, ebx
add ebx, 1
mov dword [esp + 0x30], ebx
mov byte [edi], al
cmp eax, 0x80
jl 0x4c2fa1
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x40]
cmp edx, eax
ja 0x4c3707
mov eax, dword [esp + 0x1c]
add ecx, 1
cmp ecx, eax
jb 0x4c2f57
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [ebx + 0x1f8]
cmp ecx, 2
je 0x4c3642
cmp edx, edi
jae 0x4c2fe6
mov esi, dword [ebx + 0xf8]
mov edi, edx
cmp ebp, 0x80
je 0x4c395c
test ebp, 0x80
je 0x4c31d3
movzx ecx, byte [ebx + 0x1f8]
mov ebp, edi
cmp ecx, 2
je 0x4c38b1
mov ecx, dword [esp + 0x34]
add ecx, 1
mov dword [esp + 0x34], ecx
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebx + 0xfc]
add ecx, 1
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0xc]
add ecx, 1
mov dword [esp + 0xc], ecx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4c38a8
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x18], edi
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], eax
movzx eax, byte [ebp]
movzx edi, byte [esi]
sub eax, edi
movzx eax, al
mov edi, ebx
add ebx, 1
mov byte [edi], al
add ebp, 1
add esi, 1
cmp eax, 0x80
jl 0x4c308e
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x38]
add ecx, 1
cmp ecx, eax
jb 0x4c3067
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], ebx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x3c], ebp
mov ebp, dword [esp + 0x40]
cmp ecx, eax
jae 0x4c31b9
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], edx
mov edx, dword [esp + 0xc]
mov dword [esp + 0x18], edi
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x40], ebp
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 8]
mov ebp, dword [esp + 0x34]
movzx esi, byte [eax]
movzx edi, byte [edx]
mov dword [esp + 0x44], edi
mov ebx, ebp
movzx ebx, byte [ebx]
mov dword [esp + 0x38], ebx
add ebp, 1
mov dword [esp + 0x34], ebp
mov ebp, esi
sub ebp, edi
sub ebx, edi
add eax, 1
add edx, 1
test ebp, ebp
jl 0x4c3894
mov dword [esp + 0x2c], ebp
test ebx, ebx
jl 0x4c3887
mov dword [esp + 0x28], ebx
add ebp, ebx
test ebp, ebp
jl 0x4c38a1
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
jg 0x4c3149
cmp ebx, ebp
jg 0x4c3149
mov esi, dword [esp + 0x38]
jmp 0x4c3153
mov ebx, edi
cmp ebx, ebp
jle 0x4c3153
mov esi, dword [esp + 0x44]
mov ebp, dword [esp + 0x24]
movzx ebx, byte [ecx]
sub ebx, esi
movzx ebx, bl
mov byte [ebp], bl
add ecx, 1
add ebp, 1
mov dword [esp + 0x24], ebp
cmp ebx, 0x80
jl 0x4c317c
neg ebx
add ebx, 0x100
mov ebp, dword [esp + 0x20]
add ebp, ebx
mov ebx, dword [esp + 0x40]
mov dword [esp + 0x20], ebp
cmp ebp, ebx
ja 0x4c3874
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
add ebx, 1
mov dword [esp + 0x30], ebx
cmp ebx, ebp
jb 0x4c30e7
mov esi, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [ebx + 0x1f8]
cmp ecx, 2
je 0x4c37ec
cmp edx, edi
jae 0x4c31d3
mov esi, dword [ebx + 0xfc]
mov eax, ebx
mov edx, esi
call fcn.004c3d30
movzx ecx, byte [ebx + 0x1f9]
test ecx, ecx
jle 0x4c321c
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jle 0x4c3952
mov edi, ecx
mov ecx, 1
mov ebp, dword [ebx + 0x1fc]
movzx eax, byte [ecx + ebp - 1]
mov byte [ecx + ebp], al
add ecx, 1
cmp ecx, edi
jl 0x4c31fb
mov ebx, dword [ebx + 0x1fc]
movzx eax, byte [esi]
mov byte [ecx + ebx], al
add esp, 0x48
pop ebx
pop ebp
pop esi
pop edi
ret
mov ecx, dword [esp + 0x10]
movzx edx, di
shr edi, 0xa
and edi, 0x3fffc0
test ecx, ecx
jle 0x4c328a
mov ecx, dword [ebx + 0x1fc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
xor ecx, ecx
mov ebp, dword [esp + 0x24]
movzx eax, byte [ecx + ebp]
add ecx, 1
test eax, eax
jne 0x4c327a
mov eax, dword [ebx + 0x200]
movzx eax, word [eax + ecx*2 - 2]
imul edx, eax
imul edi, eax
shr edx, 8
shr edi, 8
cmp ecx, esi
jl 0x4c3258
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 0x208]
movzx ecx, word [ecx]
imul edx, ecx
imul ecx, edi
shr edx, 3
shr ecx, 3
cmp ecx, 0x3fffc0
jbe 0x4c32b1
mov edi, DirectSoundCreate
jmp 0x4c2c58
shl ecx, 0xa
lea edi, [edx + ecx]
jmp 0x4c2c58
xor edi, edi
jmp 0x4c2c41
mov edi, DirectSoundCreate
jmp 0x4c2c58
movzx ecx, dx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
shr edx, 0xa
and edx, 0x3fffc0
test ecx, ecx
jle 0x4c3346
mov ecx, dword [ebx + 0x1fc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 8]
movzx eax, byte [ecx + esi]
add ecx, 1
cmp eax, 1
jne 0x4c332e
mov eax, dword [ebx + 0x204]
movzx eax, word [eax + ecx*2 - 2]
imul ebp, eax
imul edx, eax
shr ebp, 8
shr edx, 8
cmp ecx, edi
jl 0x4c330b
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 0x20c]
movzx ecx, word [ecx + 2]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
imul esi, ecx
imul ecx, edx
shr esi, 3
shr ecx, 3
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
cmp ecx, 0x3fffc0
jbe 0x4c3382
mov edx, DirectSoundCreate
jmp 0x4c2d78
mov edx, ecx
mov ecx, dword [esp + 8]
shl edx, 0xa
lea edx, [ecx + edx]
jmp 0x4c2d78
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
jmp 0x4c2d68
xor edx, edx
xor ecx, ecx
jmp 0x4c2cfa
movzx ecx, di
mov dword [esp + 0x40], ecx
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x4c3436
mov edx, dword [ebx + 0x1fc]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
xor ecx, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x40]
movzx eax, byte [ecx + edx]
add ecx, 1
cmp eax, 1
jne 0x4c341a
mov eax, dword [ebx + 0x204]
movzx eax, word [eax + ecx*2 - 2]
imul ebp, eax
imul esi, eax
shr ebp, 8
shr esi, 8
cmp ecx, edi
jl 0x4c33f7
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 0x20c]
movzx edx, word [ecx + 2]
mov ecx, dword [esp + 0x40]
imul ecx, edx
imul edx, dword [esp + 8]
shr ecx, 3
mov dword [esp + 0x40], ecx
shr edx, 3
cmp edx, 0x3fffc0
jbe 0x4c346c
mov ecx, DirectSoundCreate
mov dword [esp + 0x40], ecx
jmp 0x4c2c81
shl edx, 0xa
add dword [esp + 0x40], edx
jmp 0x4c2c81
movzx edx, cx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
shr ecx, 0xa
and ecx, 0x3fffc0
test edx, edx
jle 0x4c34f1
mov edx, dword [ebx + 0x1fc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], esi
mov esi, edx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 8]
movzx eax, byte [edx + esi]
add edx, 1
cmp eax, 2
jne 0x4c34d9
mov eax, dword [ebx + 0x200]
movzx eax, word [eax + edx*2 - 2]
imul ebp, eax
imul ecx, eax
shr ebp, 8
shr ecx, 8
cmp edx, edi
jl 0x4c34b6
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x20]
mov edx, dword [ebx + 0x208]
movzx edx, word [edx + 4]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
imul esi, edx
imul edx, ecx
shr esi, 3
shr edx, 3
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], edx
cmp edx, 0x3fffc0
jbe 0x4c352d
mov ecx, DirectSoundCreate
jmp 0x4c2e59
mov ecx, dword [esp + 8]
shl edx, 0xa
lea ecx, [ecx + edx]
jmp 0x4c2e59
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
movzx edx, byte [ebx + 0x1f8]
jmp 0x4c2e50
xor ecx, ecx
jmp 0x4c2e50
movzx ecx, di
mov dword [esp + 0x40], ecx
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x4c35f4
mov ecx, dword [ebx + 0x1fc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x24]
movzx eax, byte [ecx + ebp]
add ecx, 1
cmp eax, 2
jne 0x4c35d4
mov eax, dword [ebx + 0x204]
movzx eax, word [eax + ecx*2 - 2]
imul edx, eax
imul esi, eax
shr edx, 8
shr esi, 8
cmp ecx, edi
jl 0x4c35b1
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], edx
mov edx, dword [esp + 0x30]
mov ecx, dword [ebx + 0x20c]
movzx ecx, word [ecx + 4]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x40]
imul esi, ecx
imul ecx, dword [esp + 8]
shr esi, 3
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x14]
shr ecx, 3
mov dword [esp + 0x3c], ecx
cmp ecx, 0x3fffc0
jbe 0x4c3636
mov ecx, DirectSoundCreate
mov dword [esp + 0x40], ecx
jmp 0x4c2dad
shl ecx, 0xa
add dword [esp + 0x40], ecx
jmp 0x4c2dad
movzx ecx, dx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
shr edx, 0xa
and edx, 0x3fffc0
test ecx, ecx
jle 0x4c36ba
mov ecx, dword [ebx + 0x1fc]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], esi
mov esi, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 8]
movzx eax, byte [ecx + esi]
add ecx, 1
test eax, eax
jne 0x4c36a2
mov eax, dword [ebx + 0x200]
movzx eax, word [eax + ecx*2 - 2]
imul ebp, eax
imul edx, eax
shr ebp, 8
shr edx, 8
cmp ecx, edi
jl 0x4c3680
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 0x208]
movzx ecx, word [ecx + 6]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
imul esi, ecx
imul ecx, edx
shr esi, 3
shr ecx, 3
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], ecx
cmp ecx, 0x3fffc0
jbe 0x4c36f6
mov edx, DirectSoundCreate
jmp 0x4c2fda
mov edx, ecx
mov ecx, dword [esp + 8]
shl edx, 0xa
lea edx, [ecx + edx]
jmp 0x4c2fda
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
jmp 0x4c2fca
xor edx, edx
xor ecx, ecx
jmp 0x4c2f37
movzx ecx, di
mov dword [esp + 0x40], ecx
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x4c37aa
mov edx, dword [ebx + 0x1fc]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
xor ecx, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x40]
movzx eax, byte [ecx + edx]
add ecx, 1
cmp eax, 3
jne 0x4c378e
mov eax, dword [ebx + 0x204]
movzx eax, word [eax + ecx*2 - 2]
imul ebp, eax
imul esi, eax
shr ebp, 8
shr esi, 8
cmp ecx, edi
jl 0x4c376b
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov dword [esp + 0x40], ebp
mov ebp, dword [esp + 0x20]
mov ecx, dword [ebx + 0x20c]
movzx edx, word [ecx + 6]
mov ecx, dword [esp + 0x40]
imul ecx, edx
imul edx, dword [esp + 8]
shr ecx, 3
mov dword [esp + 0x40], ecx
shr edx, 3
cmp edx, 0x3fffc0
jbe 0x4c37e0
mov ecx, DirectSoundCreate
mov dword [esp + 0x40], ecx
jmp 0x4c2e8e
shl edx, 0xa
add dword [esp + 0x40], edx
jmp 0x4c2e8e
mov ecx, dword [esp + 0x10]
movzx eax, dx
shr edx, 0xa
and edx, 0x3fffc0
test ecx, ecx
jle 0x4c3841
mov ebp, dword [ebx + 0x1fc]
mov dword [esp + 0x14], esi
mov esi, ecx
xor ecx, ecx
mov dword [esp + 0x18], edi
movzx edi, byte [ecx + ebp]
add ecx, 1
cmp edi, 4
jne 0x4c3835
mov edi, dword [ebx + 0x200]
movzx edi, word [edi + ecx*2 - 2]
imul eax, edi
imul edx, edi
shr eax, 8
shr edx, 8
cmp ecx, esi
jl 0x4c3812
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x208]
movzx ecx, word [ecx + 8]
imul eax, ecx
imul ecx, edx
shr eax, 3
shr ecx, 3
cmp ecx, 0x3fffc0
jbe 0x4c3869
mov edx, DirectSoundCreate
jmp 0x4c31c9
shl ecx, 0xa
lea edx, [eax + ecx]
jmp 0x4c31c9
mov esi, dword [esp + 0x14]
mov edx, ebp
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
jmp 0x4c31b9
mov edi, ebx
neg edi
mov dword [esp + 0x28], edi
jmp 0x4c3129
mov edi, ebp
neg edi
mov dword [esp + 0x2c], edi
jmp 0x4c311d
neg ebp
jmp 0x4c3133
xor edx, edx
xor ecx, ecx
jmp 0x4c30bb
movzx ebp, di
mov ecx, edi
shr ecx, 0xa
and ecx, 0x3fffc0
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
test ecx, ecx
jle 0x4c391e
mov edx, dword [ebx + 0x1fc]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 8]
xor ecx, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
movzx eax, byte [ecx + edx]
add ecx, 1
cmp eax, 4
jne 0x4c390a
mov eax, dword [ebx + 0x204]
movzx eax, word [eax + ecx*2 - 2]
imul ebp, eax
imul esi, eax
shr ebp, 8
shr esi, 8
cmp ecx, edi
jl 0x4c38e7
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], esi
mov esi, dword [esp + 0x14]
mov ecx, dword [ebx + 0x20c]
movzx ecx, word [ecx + 8]
imul ebp, ecx
imul ecx, dword [esp + 8]
shr ebp, 3
shr ecx, 3
cmp ecx, 0x3fffc0
jbe 0x4c3948
mov ebp, DirectSoundCreate
jmp 0x4c3010
shl ecx, 0xa
add ebp, ecx
jmp 0x4c3010
mov ecx, 1
jmp 0x4c3210
mov edx, dword [esp + 0x34]
mov ebp, dword [esp + 0xc]
mov ecx, dword [esp + 0x38]
mov esi, dword [ebx + 0xfc]
add edx, 1
add esi, 1
mov dword [esp + 0x34], edx
add ebp, 1
mov dword [esp + 0xc], ebp
test ecx, ecx
je 0x4c3a7f
mov ebx, ecx
mov dword [esp + 0x1c], eax
xor ecx, ecx
movzx eax, byte [edx]
movzx edi, byte [ebp]
sub eax, edi
mov edi, esi
add esi, 1
mov byte [edi], al
add ecx, 1
add edx, 1
add ebp, 1
cmp ecx, ebx
jb 0x4c398f
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
cmp ecx, eax
jae 0x4c3a60
mov ebx, dword [esp + 0xc]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], eax
mov edi, dword [esp + 0x24]
mov eax, dword [esp + 0x34]
movzx ebp, byte [edi]
movzx esi, byte [ebx]
mov ecx, eax
movzx ecx, byte [ecx]
mov dword [esp + 0x38], esi
mov dword [esp + 0x18], ecx
add eax, 1
mov dword [esp + 0x34], eax
mov eax, ebp
sub eax, esi
sub ecx, esi
add edi, 1
add ebx, 1
mov dword [esp + 0x24], edi
test eax, eax
jl 0x4c3a79
mov esi, eax
test ecx, ecx
jl 0x4c3a6f
mov dword [esp + 0x20], ecx
add eax, ecx
test eax, eax
jl 0x4c3a6b
mov ecx, dword [esp + 0x20]
cmp esi, ecx
jg 0x4c3a28
cmp esi, eax
jg 0x4c3a28
mov ebp, dword [esp + 0x18]
jmp 0x4c3a30
cmp ecx, eax
jle 0x4c3a30
mov ebp, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
movzx eax, byte [edx]
sub eax, ebp
mov ebp, dword [esp + 0x30]
mov byte [ecx], al
add ebp, 1
mov dword [esp + 0x30], ebp
add edx, 1
add ecx, 1
cmp ebp, esi
mov dword [esp + 0x14], ecx
jb 0x4c39d0
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xfc]
jmp 0x4c31d3
neg eax
jmp 0x4c3a16
mov edi, ecx
neg edi
mov dword [esp + 0x20], edi
jmp 0x4c3a10
mov esi, eax
neg esi
jmp 0x4c3a08
xor ecx, ecx
jmp 0x4c39b4
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0xc]
lea esi, [ecx + 1]
mov ecx, dword [ebx + 0xf8]
add ecx, 1
lea edx, [edx + 1]
mov dword [esp + 0x14], esi
mov dword [esp + 8], edx
mov edx, dword [esp + 0x38]
test edx, edx
je 0x4c3b71
mov ebx, esi
mov dword [esp + 0x24], esi
mov esi, edx
xor edx, edx
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 8]
movzx edi, byte [ebp]
movzx eax, byte [ebx]
sar edi, 1
sub eax, edi
mov edi, ecx
add ecx, 1
mov byte [edi], al
add edx, 1
add ebx, 1
add ebp, 1
cmp edx, esi
jb 0x4c3acb
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0x20]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x5c]
cmp edx, eax
jae 0x4c3b66
mov ebx, dword [esp + 8]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov ebp, dword [esp + 0x14]
mov edi, esi
movzx eax, byte [edi]
add esi, 1
mov dword [esp + 0x24], esi
movzx esi, byte [ebx]
add esi, eax
movzx eax, byte [ebp]
mov edi, esi
shr edi, 0x1f
add esi, edi
sar esi, 1
sub eax, esi
mov esi, ecx
add ecx, 1
mov byte [esi], al
mov eax, dword [esp + 0x1c]
add edx, 1
add ebp, 1
mov esi, dword [esp + 0x24]
add ebx, 1
cmp edx, eax
jb 0x4c3b1e
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xf8]
jmp 0x4c2fe6
xor edx, edx
jmp 0x4c3b06
mov ecx, dword [esp + 0x34]
mov esi, dword [ebx + 0xf4]
lea ecx, [ecx + 1]
lea edx, [esi + 1]
test eax, eax
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0xc]
lea edx, [edx + 1]
mov dword [esp + 0x40], edx
jbe 0x4c2e65
mov esi, edx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x3c]
xor edx, edx
mov dword [esp + 0x20], ebp
add edi, 1
add esi, 1
movzx ebp, byte [esi - 1]
add ecx, 1
movzx ebx, byte [ecx - 1]
sub ebx, ebp
mov byte [edi - 1], bl
add edx, 1
cmp edx, eax
jb 0x4c3bac
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xf4]
jmp 0x4c2e65
mov ecx, dword [ebx + 0xf0]
mov dword [esp + 8], ecx
lea ecx, [ecx + 1]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0x38]
cmp ecx, 0xc80
jg 0x4c3cb2
mov ecx, dword [esp + 0x38]
sub ecx, 1
mov ecx, 0
sbb ecx, 0
jl 0x4c3c4d
mov ebx, dword [esp + 8]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ebp
mov edx, 1
mov ebp, dword [esp + 0x38]
mov eax, edx
movzx ecx, byte [eax + esi]
mov byte [eax + ebx], cl
add eax, 1
cdq
mov ecx, eax
sub ecx, ebp
sbb edx, 0
jl 0x4c3c29
or ecx, edx
je 0x4c3c29
mov eax, dword [esp + 0x1c]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
add edx, ecx
add edx, 0xffffffff
add edx, 1
mov dword [esp + 0x30], edx
mov edx, ecx
add edx, esi
add edx, 1
add ecx, 0xffffffff
add ecx, 1
add esi, 1
cmp ecx, eax
jae 0x4c3ca7
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x20], ebp
movzx ebx, byte [edx]
movzx ebp, byte [esi]
sub ebx, ebp
mov byte [edi], bl
add ecx, 1
add edx, 1
add esi, 1
add edi, 1
cmp ecx, eax
jb 0x4c3c81
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xf0]
jmp 0x4c2d84
mov edx, ecx
mov dword [esp + 0x18], edi
mov edi, dword [esp + 0x30]
mov dword [esp + 0x14], esi
add edi, 1
add edi, 0xffffffff
mov dword [esp + 0x2c], edi
add esi, 1
mov dword [esp + 0x40], esi
mov ecx, edi
sub ecx, esi
cmp ecx, edx
mov ecx, 0
setg cl
mov dword [esp + 0x28], ecx
sub esi, edi
mov edi, dword [esp + 0x18]
xor ecx, ecx
cmp esi, edx
mov esi, dword [esp + 0x14]
mov edx, ecx
setg dl
mov ecx, dword [esp + 0x28]
or ecx, edx
mov ecx, dword [esp + 0x2c]
je 0x4c3c01
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push edx
push ecx
mov dword [esp + 0x28], eax
call fcn.00464be0
mov eax, dword [esp + 0x28]
add esp, 0xc
jmp 0x4c3c4d