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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50ef69
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x551644]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
call fcn.004a0fc0
xor ebx, ebx
mov dword [edi + 0x4c], ebx
mov dword [edi + 0x50], ebx
mov dword [edi + 0x54], ebx
lea esi, [edi + 0x58]
mov dword [edi], vtable.ModeSoundScene::CSoundBtn.0
mov dword [ebp - 4], ebx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [edi + 0x64], ebx
mov dword [edi + 0x68], ebx
mov dword [edi + 0x6c], ebx
mov dword [edi + 0x70], ebx
mov dword [edi + 0x74], ebx
mov dword [edi + 0x78], ebx
mov dword [edi + 0x80], ebx
mov dword [edi + 0x84], ebx
mov dword [edi + 0x88], ebx
mov dword [edi + 0x90], ebx
mov dword [edi + 0x94], ebx
mov dword [edi + 0x98], ebx
mov eax, dword [0x5538cc]
mov ecx, 0x55380c
mov byte [ebp - 4], 6
mov dword [ebp - 0x18], eax
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
cmp edx, ebx
jne 0x4b1071
xor ecx, ecx
jmp 0x4b1087
mov eax, dword [ecx + 0x20]
cmp eax, ebx
je 0x4b107d
mov eax, dword [eax + 0xc]
jmp 0x4b107f
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
mov edx, dword [ebp - 0x18]
push edx
push esi
call fcn.0043d890
test al, al
jne 0x4b10aa
push 0x533160
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 1
call fcn.004f4775
xor ebx, ebx
lea esp, [esp]
cmp ebx, 0x12
jae 0x4b1147
mov ecx, edi
call fcn.004a0e80
mov ecx, 0x55380c
mov esi, eax
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x4b10dd
xor ecx, ecx
jmp 0x4b10f3
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4b10e9
mov eax, dword [eax + 0xc]
jmp 0x4b10eb
xor eax, eax
mov ecx, dword [ecx + 0x1c]
imul ecx, eax
add ecx, edx
lea edx, [ebx + ebx*4]
push 0
lea eax, [edx*8 + 0x521a88]
push eax
push esi
call fcn.0048b850
test al, al
jne 0x4b111f
push 0x533160
lea ecx, [ebp - 0x20]
push ecx
mov dword [ebp - 0x20], 2
call fcn.004f4775
xor eax, eax
xor ecx, ecx
mov dword [esi + 0xc], eax
xor edx, edx
xor edi, edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], edi
mov edi, dword [ebp - 0x14]
mov dword [esi + 0x1c], 1
mov byte [esi + 8], 0
inc ebx
jmp 0x4b10b0
mov edx, dword [0x5538d0]
mov ecx, 0x55380c
mov dword [ebp - 0x18], edx
call fcn.004174f0
mov ecx, dword [0x552af0]
mov edx, dword [ecx + 0x18]
test edx, edx
jne 0x4b116b
xor ebx, ebx
jmp 0x4b1181
mov eax, dword [ecx + 0x20]
test eax, eax
je 0x4b1177
mov eax, dword [eax + 0xc]
jmp 0x4b1179
xor eax, eax
mov ebx, dword [ecx + 0x1c]
imul ebx, eax
add ebx, edx
mov ecx, dword [edi + 0x64]
test ecx, ecx
jne 0x4b11c3
push 0xa4
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 7
test eax, eax
je 0x4b11a9
mov ecx, eax
call fcn.00478430
jmp 0x4b11ab
xor eax, eax
push eax
lea ecx, [edi + 0x64]
mov byte [ebp - 4], 6
call fcn.00469d10
mov ecx, dword [edi + 0x64]
test ecx, ecx
jne 0x4b11c3
xor eax, eax
jmp 0x4b11d9
mov eax, dword [edi + 0x6c]
test eax, eax
je 0x4b11cf
mov edx, dword [eax + 0xc]
jmp 0x4b11d1
xor edx, edx
mov eax, dword [edi + 0x68]
imul eax, edx
add eax, ecx
mov ecx, dword [ebp - 0x18]
push 0
push ecx
push eax
mov ecx, ebx
call fcn.0048ee40
test al, al
jne 0x4b1200
push 0x533160
lea edx, [ebp - 0x24]
push edx
mov dword [ebp - 0x24], 3
call fcn.004f4775
lea esi, [edi + 0x70]
push 0x12
mov ecx, esi
call fcn.0049b8e0
xor ecx, ecx
mov edi, edi
mov eax, dword [esi + 8]
test eax, eax
je 0x4b121a
mov eax, dword [eax + 0x10]
cmp ecx, eax
jge 0x4b1265
mov edx, dword [esi]
mov eax, dword [ecx*8 + 0x521d5c]
mov edi, dword [ecx*8 + 0x521d58]
mov dword [ebp - 0x28], eax
test edx, edx
jne 0x4b1242
mov edx, dword [ebp - 0x28]
xor eax, eax
mov dword [eax], edi
mov dword [eax + 4], edx
inc ecx
jmp 0x4b1210
mov eax, dword [esi + 8]
test eax, eax
je 0x4b124e
mov ebx, dword [eax + 0xc]
jmp 0x4b1250
xor ebx, ebx
mov eax, dword [esi + 4]
add eax, ecx
imul eax, ebx
add eax, edx
mov edx, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [eax + 4], edx
inc ecx
jmp 0x4b1210
mov edi, dword [ebp - 0x14]
push 0x12
lea ecx, [edi + 0x80]
call fcn.00407010
xor ebx, ebx
mov eax, dword [edi + 0x88]
mov dword [ebp - 0x18], ebx
test eax, eax
je 0x4b1287
mov eax, dword [eax + 0x10]
cmp ebx, eax
jge 0x4b12e9
mov edx, dword [edi + 0x80]
test edx, edx
jne 0x4b1299
xor ecx, ecx
jmp 0x4b12b7
mov eax, dword [edi + 0x88]
test eax, eax
je 0x4b12a8
mov eax, dword [eax + 0xc]
jmp 0x4b12aa
xor eax, eax
mov ecx, dword [edi + 0x84]
add ecx, ebx
imul ecx, eax
add ecx, edx
mov esi, dword [ebx*4 + 0x521de8]
test esi, esi
jne 0x4b12ce
xor eax, eax
push eax
push esi
call fcn.004048b0
inc ebx
jmp 0x4b1277
mov eax, esi
lea ebx, [eax + 1]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x4b12d3
sub eax, ebx
mov ebx, dword [ebp - 0x18]
push eax
push esi
call fcn.004048b0
inc ebx
jmp 0x4b1277
mov eax, dword [ebp - 0x14]
mov dword [eax + 0x48], 2
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov ebx, 0x5452c8
mov ecx, ebx
mov dword [ebp - 0x38], vtable.CCriticalLock.0
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], 0
call eax
mov edi, 1
mov dword [ebp - 0x30], edi
mov eax, dword [0x552af0]
mov byte [ebp - 4], 8
test eax, eax
jne 0x4b1352
push 0x1f0
call fcn.004f4b27
add esp, 4
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 9
test eax, eax
je 0x4b134b
mov ecx, eax
call fcn.00415650
jmp 0x4b134d
xor eax, eax
mov dword [0x552af0], eax
mov byte [ebp - 4], 6
xor esi, esi
cmp esi, edi
jge 0x4b136d
mov edx, dword [ebx]
mov eax, dword [edx + 4]
mov ecx, ebx
call eax
mov eax, dword [0x552af0]
inc esi
jmp 0x4b1358
mov esi, dword [eax + 0x30]
test esi, esi
jne 0x4b1378
xor ecx, ecx
jmp 0x4b138e
mov ecx, dword [eax + 0x38]
test ecx, ecx
je 0x4b1384
mov edx, dword [ecx + 0xc]
jmp 0x4b1386
xor edx, edx
mov ecx, dword [eax + 0x34]
imul ecx, edx
add ecx, esi
call fcn.0046eb80
mov esi, dword [ebp - 0x14]
mov ebx, eax
add esi, 0x4c
or edi, 0xffffffff
cmp esi, ebx
je 0x4b13ee
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b13d7
add dword [ecx + 4], edi
jne 0x4b13ca
cmp byte [ecx + 8], 0
je 0x4b13ba
mov edx, dword [ecx]
mov eax, dword [edx]
call eax
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4b13ca
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov dword [esi + 8], 0
mov dword [esi], 0
mov ecx, dword [ebx]
mov dword [esi], ecx
mov edx, dword [ebx + 4]
mov dword [esi + 4], edx
mov eax, dword [ebx + 8]
mov dword [esi + 8], eax
test eax, eax
je 0x4b13ee
inc dword [eax + 4]
mov esi, dword [ebp - 0x14]
mov ecx, dword [esi + 0x18]
sub ecx, dword [esi + 0x14]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
xor ebx, ebx
mov dword [esi + 0x44], eax
mov dword [esi + 0x7c], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0x24], 0x54ec58
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov edx, dword [vtable.CCriticalSection.0]
mov eax, dword [edx]
mov edi, 0x5452ec
mov ecx, edi
mov dword [ebp - 0x38], vtable.CCriticalLock.0
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], ebx
call eax
mov dword [ebp - 0x30], 1
mov byte [ebp - 4], 0xa
cmp dword [0x552af4], ebx
jne 0x4b14c4
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xb
cmp esi, ebx
je 0x4b14bc
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x10], eax
mov edx, dword [0x5515b0]
mov eax, dword [edx + 0xc]
mov ecx, 0x5515b0
call eax
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x4b14be
xor esi, esi
mov dword [0x552af4], esi
mov byte [ebp - 4], 6
xor esi, esi
lea ebx, [ebx]
cmp esi, dword [ebp - 0x30]
jge 0x4b14e1
mov edx, dword [edi]
mov eax, dword [edx + 4]
mov ecx, edi
call eax
inc esi
jmp 0x4b14d0
mov ecx, dword [0x552af4]
mov edx, dword [ecx + 0x1c]
mov eax, dword [vtable.CCriticalSection.0]
mov dword [ebp - 0x18], edx
mov edx, dword [eax]
mov ecx, 0x5452ec
mov dword [ebp - 0x38], vtable.CCriticalLock.0
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x30], ebx
call edx
mov edi, 1
mov dword [ebp - 0x30], edi
mov byte [ebp - 4], 0xc
cmp dword [0x552af4], ebx
jne 0x4b158b
push 0x64
call fcn.004f4b27
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 0xd
cmp esi, ebx
je 0x4b1583
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x10], eax
mov eax, dword [0x5515b0]
mov edx, dword [eax + 0xc]
mov ecx, 0x5515b0
call edx
add eax, 0x10
mov dword [esi + 0x14], eax
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x4c], ebx
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
jmp 0x4b1585
xor esi, esi
mov dword [0x552af4], esi
mov byte [ebp - 4], 6
xor esi, esi
cmp esi, edi
jge 0x4b15a2
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
inc esi
jmp 0x4b1591
mov eax, dword [0x552af4]
mov eax, dword [eax + 0x18]
xor edx, edx
xor ecx, ecx
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x18]
lea edx, [ebp - 0x3c]
push edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call dword [sym.imp.USER32.dll_IsRectEmpty]
mov esi, dword [ebp - 0x14]
test eax, eax
jne 0x4b15fa
mov edx, dword [esi + 0x28]
cmp edx, ebx
jne 0x4b15d9
xor ecx, ecx
jmp 0x4b15ef
mov eax, dword [esi + 0x30]
cmp eax, ebx
je 0x4b15e5
mov eax, dword [eax + 0xc]
jmp 0x4b15e7
xor eax, eax
mov ecx, dword [esi + 0x2c]
imul ecx, eax
add ecx, edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
lea edx, [ebp - 0x3c]
push edx
call eax
mov ecx, esi
call fcn.0049fbc0
mov byte [esi + 0x8c], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret