Function at 0x4bb2d4
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 0x4bb36f
cmp ebp, 8
je 0x4bb9df
lea edx, [esi + 1]
test eax, eax
jbe 0x4bb9d8
xor edi, edi
xor ecx, ecx
movzx ebx, byte [edx]
cmp ebx, 0x80
jl 0x4bb34d
neg ebx
add ebx, 0x100
add edi, ebx
add edx, 1
add ecx, 1
cmp ecx, eax
jb 0x4bb33a
mov ebx, dword [esp + 0x5c]
movzx ecx, byte [ebx + 0x1f8]
cmp ecx, 2
je 0x4bb940
jmp 0x4bb374
mov edi, DirectSoundCreate
cmp ebp, 0x10
je 0x4bc2fc
test ebp, 0x10
je 0x4bb4a0
movzx ecx, byte [ebx + 0x1f8]
mov dword [esp + 0x40], edi
cmp ecx, 2
je 0x4bbad1
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 0x4bbac8
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 0x4bb3ef
neg eax
add eax, 0x100
add edx, eax
add ecx, 1
add ebx, 1
add ebp, 1
cmp ecx, edi
jb 0x4bb3db
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 0x4bb484
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 0x4bb452
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x40]
cmp edx, eax
ja 0x4bbaaf
mov eax, dword [esp + 0x1c]
add ecx, 1
add ebp, 1
add esi, 1
add ebx, 1
cmp ecx, eax
jb 0x4bb436
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 0x4bb9e9
cmp edx, edi
jae 0x4bb4a0
mov esi, dword [ebx + 0xf0]
mov edi, edx
cmp ebp, 0x20
je 0x4bc291
test ebp, 0x20
je 0x4bb581
movzx edx, byte [ebx + 0x1f8]
mov dword [esp + 0x40], edi
cmp edx, 2
je 0x4bbc7f
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 0x4bbc78
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 0x4bb53f
neg eax
add eax, 0x100
add ecx, eax
mov eax, dword [esp + 0x40]
cmp ecx, eax
ja 0x4bbc58
mov eax, dword [esp + 0x1c]
cmp edx, eax
jb 0x4bb514
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 0x4bbb94
cmp ecx, edi
jae 0x4bb581
mov esi, dword [ebx + 0xf4]
mov edi, ecx
cmp ebp, 0x40
je 0x4bc1a2
test ebp, 0x40
je 0x4bb702
movzx ecx, byte [ebx + 0x1f8]
mov dword [esp + 0x40], edi
cmp ecx, 2
je 0x4bbe45
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 0x4bbe3c
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 0x4bb626
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x38]
add ecx, 1
cmp ecx, eax
jb 0x4bb5fd
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 0x4bb6e6
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 0x4bb6bd
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x40]
cmp edx, eax
ja 0x4bbe23
mov eax, dword [esp + 0x1c]
add ecx, 1
cmp ecx, eax
jb 0x4bb673
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 0x4bbd5e
cmp edx, edi
jae 0x4bb702
mov esi, dword [ebx + 0xf8]
mov edi, edx
cmp ebp, 0x80
je 0x4bc078
test ebp, 0x80
je 0x4bb8ef
movzx ecx, byte [ebx + 0x1f8]
mov ebp, edi
cmp ecx, 2
je 0x4bbfcd
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 0x4bbfc4
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 0x4bb7aa
neg eax
add eax, 0x100
add edx, eax
mov eax, dword [esp + 0x38]
add ecx, 1
cmp ecx, eax
jb 0x4bb783
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 0x4bb8d5
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 0x4bbfb0
mov dword [esp + 0x2c], ebp
test ebx, ebx
jl 0x4bbfa3
mov dword [esp + 0x28], ebx
add ebp, ebx
test ebp, ebp
jl 0x4bbfbd
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
cmp ebx, edi
jg 0x4bb865
cmp ebx, ebp
jg 0x4bb865
mov esi, dword [esp + 0x38]
jmp 0x4bb86f
mov ebx, edi
cmp ebx, ebp
jle 0x4bb86f
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 0x4bb898
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 0x4bbf90
mov ebx, dword [esp + 0x30]
mov ebp, dword [esp + 0x1c]
add ebx, 1
mov dword [esp + 0x30], ebx
cmp ebx, ebp
jb 0x4bb803
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 0x4bbf08
cmp edx, edi
jae 0x4bb8ef
mov esi, dword [ebx + 0xfc]
mov eax, ebx
mov edx, esi
call fcn.004bc44c
movzx ecx, byte [ebx + 0x1f9]
test ecx, ecx
jle 0x4bb938
mov ecx, dword [esp + 0x10]
cmp ecx, 1
jle 0x4bc06e
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 0x4bb917
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 0x4bb9a6
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 0x4bb996
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 0x4bb974
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 0x4bb9cd
mov edi, DirectSoundCreate
jmp 0x4bb374
shl ecx, 0xa
lea edi, [edx + ecx]
jmp 0x4bb374
xor edi, edi
jmp 0x4bb35d
mov edi, DirectSoundCreate
jmp 0x4bb374
movzx ecx, dx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
shr edx, 0xa
and edx, 0x3fffc0
test ecx, ecx
jle 0x4bba62
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 0x4bba4a
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 0x4bba27
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 0x4bba9e
mov edx, DirectSoundCreate
jmp 0x4bb494
mov edx, ecx
mov ecx, dword [esp + 8]
shl edx, 0xa
lea edx, [ecx + edx]
jmp 0x4bb494
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 0x4bb484
xor edx, edx
xor ecx, ecx
jmp 0x4bb416
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 0x4bbb52
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 0x4bbb36
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 0x4bbb13
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 0x4bbb88
mov ecx, DirectSoundCreate
mov dword [esp + 0x40], ecx
jmp 0x4bb39d
shl edx, 0xa
add dword [esp + 0x40], edx
jmp 0x4bb39d
movzx edx, cx
mov dword [esp + 8], edx
mov edx, dword [esp + 0x10]
shr ecx, 0xa
and ecx, 0x3fffc0
test edx, edx
jle 0x4bbc0d
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 0x4bbbf5
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 0x4bbbd2
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 0x4bbc49
mov ecx, DirectSoundCreate
jmp 0x4bb575
mov ecx, dword [esp + 8]
shl edx, 0xa
lea ecx, [ecx + edx]
jmp 0x4bb575
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 0x4bb56c
xor ecx, ecx
jmp 0x4bb56c
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 0x4bbd10
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 0x4bbcf0
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 0x4bbccd
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 0x4bbd52
mov ecx, DirectSoundCreate
mov dword [esp + 0x40], ecx
jmp 0x4bb4c9
shl ecx, 0xa
add dword [esp + 0x40], ecx
jmp 0x4bb4c9
movzx ecx, dx
mov dword [esp + 8], ecx
mov ecx, dword [esp + 0x10]
shr edx, 0xa
and edx, 0x3fffc0
test ecx, ecx
jle 0x4bbdd6
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 0x4bbdbe
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 0x4bbd9c
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 0x4bbe12
mov edx, DirectSoundCreate
jmp 0x4bb6f6
mov edx, ecx
mov ecx, dword [esp + 8]
shl edx, 0xa
lea edx, [ecx + edx]
jmp 0x4bb6f6
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 0x4bb6e6
xor edx, edx
xor ecx, ecx
jmp 0x4bb653
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 0x4bbec6
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 0x4bbeaa
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 0x4bbe87
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 0x4bbefc
mov ecx, DirectSoundCreate
mov dword [esp + 0x40], ecx
jmp 0x4bb5aa
shl edx, 0xa
add dword [esp + 0x40], edx
jmp 0x4bb5aa
mov ecx, dword [esp + 0x10]
movzx eax, dx
shr edx, 0xa
and edx, 0x3fffc0
test ecx, ecx
jle 0x4bbf5d
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 0x4bbf51
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 0x4bbf2e
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 0x4bbf85
mov edx, DirectSoundCreate
jmp 0x4bb8e5
shl ecx, 0xa
lea edx, [eax + ecx]
jmp 0x4bb8e5
mov esi, dword [esp + 0x14]
mov edx, ebp
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x5c]
jmp 0x4bb8d5
mov edi, ebx
neg edi
mov dword [esp + 0x28], edi
jmp 0x4bb845
mov edi, ebp
neg edi
mov dword [esp + 0x2c], edi
jmp 0x4bb839
neg ebp
jmp 0x4bb84f
xor edx, edx
xor ecx, ecx
jmp 0x4bb7d7
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 0x4bc03a
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 0x4bc026
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 0x4bc003
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 0x4bc064
mov ebp, DirectSoundCreate
jmp 0x4bb72c
shl ecx, 0xa
add ebp, ecx
jmp 0x4bb72c
mov ecx, 1
jmp 0x4bb92c
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 0x4bc19b
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 0x4bc0ab
mov eax, dword [esp + 0x1c]
mov ebx, dword [esp + 0x5c]
cmp ecx, eax
jae 0x4bc17c
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 0x4bc195
mov esi, eax
test ecx, ecx
jl 0x4bc18b
mov dword [esp + 0x20], ecx
add eax, ecx
test eax, eax
jl 0x4bc187
mov ecx, dword [esp + 0x20]
cmp esi, ecx
jg 0x4bc144
cmp esi, eax
jg 0x4bc144
mov ebp, dword [esp + 0x18]
jmp 0x4bc14c
cmp ecx, eax
jle 0x4bc14c
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 0x4bc0ec
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xfc]
jmp 0x4bb8ef
neg eax
jmp 0x4bc132
mov edi, ecx
neg edi
mov dword [esp + 0x20], edi
jmp 0x4bc12c
mov esi, eax
neg esi
jmp 0x4bc124
xor ecx, ecx
jmp 0x4bc0d0
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 0x4bc28d
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 0x4bc1e7
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 0x4bc282
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 0x4bc23a
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xf8]
jmp 0x4bb702
xor edx, edx
jmp 0x4bc222
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 0x4bb581
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 0x4bc2c8
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xf4]
jmp 0x4bb581
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 0x4bc3ce
mov ecx, dword [esp + 0x38]
sub ecx, 1
mov ecx, 0
sbb ecx, 0
jl 0x4bc369
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 0x4bc345
or ecx, edx
je 0x4bc345
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 0x4bc3c3
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 0x4bc39d
mov edi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
mov ebx, dword [esp + 0x5c]
mov esi, dword [ebx + 0xf0]
jmp 0x4bb4a0
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 0x4bc31d
mov edx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x44]
push edx
push ecx
mov dword [esp + 0x28], eax
call fcn.0045ca50
mov eax, dword [esp + 0x28]
add esp, 0xc
jmp 0x4bc369